Commit Graph

9612 Commits

Author SHA1 Message Date
Johannes Zellner ed288317c4 Use the same app label in login and app grid 2025-07-16 18:21:34 +02:00
Johannes Zellner 3754021ae8 Make the proxyauth login visually distinctive from oidc login 2025-07-16 18:20:43 +02:00
Girish Ramakrishnan 7214ce2ede support: remove ssh manipulation routes
this is now moved entirely to cloudron-support --enable-remote-access.

this emphasizes more that users have to get ssh access to the server before
we can do anything about it. it's far too simple for people to click this
button.

we have now also added clear terms to understand what remote access entails.
(what happens if support personnel makes a mistake. who is liable? etc)
2025-07-16 17:53:19 +02:00
Johannes Zellner d1dcbd97b7 Build proxyauth entrypoint as a single inlined html file 2025-07-16 17:45:33 +02:00
Johannes Zellner 30c0690e90 Bring back proxyauth proceed-to-login view 2025-07-16 17:45:33 +02:00
Girish Ramakrishnan 4b79881472 system: route to get filesystem 2025-07-16 17:20:28 +02:00
Girish Ramakrishnan b42be9899e tasks: add completed flag
in some cases, the tasks are setting percent to 100 and crashing later
2025-07-16 15:40:46 +02:00
Girish Ramakrishnan 5548ed1b57 s3: fix malformed endpoint URL from older versions
this is specifically for linode, but may apply for other storages too
2025-07-16 09:12:57 +02:00
Johannes Zellner 4eed77e123 Do not crash in gcs if remote path has zero objects 2025-07-15 20:39:38 +02:00
Girish Ramakrishnan 56e4af58d3 fix comment 2025-07-15 11:20:05 +02:00
Girish Ramakrishnan 622aecfd6d users: add unset route for avatar
also add missing tests for avatar and profile locking
2025-07-15 10:06:26 +02:00
Girish Ramakrishnan be9adb64bb fix tests 2025-07-15 09:07:23 +02:00
Girish Ramakrishnan bb257f2bf2 s3: make delete objects work again again 2025-07-15 01:11:23 +02:00
Girish Ramakrishnan 76f365f7e8 s3: make delete objects work again 2025-07-15 00:13:40 +02:00
Girish Ramakrishnan 499336e752 s3: fix debug 2025-07-14 22:24:23 +02:00
Girish Ramakrishnan e53ec3e43c s3: add debugging code 2025-07-14 21:59:56 +02:00
Girish Ramakrishnan 8b5fe714e1 rsync: throw on del error 2025-07-14 21:59:56 +02:00
Girish Ramakrishnan 11e9f0eaf2 progress-stream: handle destroy 2025-07-14 16:29:18 +02:00
Girish Ramakrishnan 6f653a603b rsync: first try with one file. if that works, go faster
this works better if encryption fails. intead of downloading many files
and erroring non-stop
2025-07-14 16:29:18 +02:00
Johannes Zellner a7bba61b6a Better error message if hostPath is already used in a volume 2025-07-14 16:15:01 +02:00
Girish Ramakrishnan 15ac81c1cd s3: format errors with .Code 2025-07-14 15:54:31 +02:00
Girish Ramakrishnan 26637c0f1c backuptask: improve the debugs 2025-07-14 15:16:28 +02:00
Johannes Zellner 93db7ec71e Set the system language as the default for user profiles 2025-07-14 12:02:23 +02:00
Johannes Zellner f15909c814 Pickup system language from template 2025-07-14 11:43:28 +02:00
Johannes Zellner 7adae569f5 Remove last usage of auth/branding route 2025-07-14 11:12:05 +02:00
Girish Ramakrishnan b42a51cc56 typo 2025-07-13 17:02:35 +02:00
Girish Ramakrishnan 9eee7b2582 proxyauth: fix client id 2025-07-13 15:53:46 +02:00
Girish Ramakrishnan bf8a5e6a11 oidc: separate clients for oidc and proxyAuth
in e2e, our test app has both. in such cases, the auth fails because
the redirect URI does not match
2025-07-13 15:51:39 +02:00
Girish Ramakrishnan a7e507a137 oidc: some comments 2025-07-13 15:28:47 +02:00
Girish Ramakrishnan 04de621e37 Fix crash when req.query handling
https://expressjs.com/en/5x/api.html#req.query

"As req.query’s shape is based on user-controlled input, all properties and values in this object
are untrusted and should be validated before trusting"

In essence, req.query.xx can be an array OR an array of strings.
2025-07-13 13:21:38 +02:00
Girish Ramakrishnan 22e23e1e65 auth: add logs when auth fails or succeeds 2025-07-11 18:14:27 +02:00
Girish Ramakrishnan 8e8b635769 oidc: remove user.active check for owner user 2025-07-11 17:36:46 +02:00
Johannes Zellner 83b056738f Always use name for ejs template title 2025-07-11 16:56:20 +02:00
Johannes Zellner e1433cbf2a Always share the same meta info headers in dashboard views 2025-07-11 15:29:46 +02:00
Johannes Zellner 93e48fabdf Move oidc views to ejs templating 2025-07-11 14:47:44 +02:00
Johannes Zellner 8b9017224f Only load dashboard templates once on startup 2025-07-11 12:45:30 +02:00
Johannes Zellner 3b50a732b5 Replace branding route calling for name and footer in views 2025-07-11 12:42:21 +02:00
Johannes Zellner 5852fe54a7 Do not serve up oidc_ templates when accessed directly 2025-07-11 12:32:02 +02:00
Johannes Zellner 2fe84293b3 Rename oidc rendered login.html to oidc_login.html 2025-07-11 12:28:02 +02:00
Johannes Zellner 66d1de0821 Add initial dashboard entrypoint server side rendering routes 2025-07-11 12:28:02 +02:00
Girish Ramakrishnan 820aeee659 oidcserver: fix login events not being raised for webadmin
we should remove implicit flow at some point . also #844
2025-07-10 13:43:25 +02:00
Girish Ramakrishnan 313256adff use @cloudron/manifest-format 2025-07-10 11:17:04 +02:00
Girish Ramakrishnan bba48f455e use @connect-lastmile 2025-07-10 11:00:31 +02:00
Girish Ramakrishnan 6ac0cd421a use the @cloudron/superagent module 2025-07-10 10:56:05 +02:00
Girish Ramakrishnan 1a471a7c20 metrics: disable debugs 2025-07-09 19:09:05 +02:00
Girish Ramakrishnan e851abb5a5 superagent: typo 2025-07-09 19:04:14 +02:00
Girish Ramakrishnan 85eb88a4a6 system: show the kernel version 2025-07-09 18:32:28 +02:00
Girish Ramakrishnan fd61a0bfbf proxyauth: oidc server returns username now
See 846986987d
2025-07-09 18:07:05 +02:00
Girish Ramakrishnan c73e24c3a2 metrics: can safely throw now 2025-07-08 18:08:57 +02:00
Girish Ramakrishnan e3bec5039b fix crash 2025-07-08 18:07:19 +02:00