Commit Graph

9498 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan 85d9c91e5e metrics: no need AbortController 2025-07-08 17:50:20 +02:00
Girish Ramakrishnan 0952b6d68f metrics: group the metrics when sending live stats
without this the tooltip doesn't work. it needs to have the same
consistent timestamps
2025-07-08 17:41:00 +02:00
Girish Ramakrishnan 6b2e98b9be metrics: fix up app graphs after api changes 2025-07-07 20:09:09 +02:00
Girish Ramakrishnan 4cf1739604 metrics: overlay app metrics over system metrics 2025-07-07 19:12:57 +02:00
Girish Ramakrishnan 369474a0bc metrics: add route to query app metrics with the system 2025-07-07 19:12:57 +02:00
Girish Ramakrishnan 2317c17b4b metrics: interval is not configurable, unnecessary 2025-07-04 23:20:38 +02:00
Girish Ramakrishnan fb02bdb445 unify the metrics API 2025-07-04 22:58:35 +02:00
Girish Ramakrishnan 53d85ac7a2 metrics: set objectMode to avoid lots of JSON 2025-07-04 22:42:05 +02:00
Girish Ramakrishnan f25534ff0f metrics: add comment 2025-07-04 22:36:57 +02:00
Girish Ramakrishnan 463369f283 metrics: various formatting issues 2025-07-04 21:53:25 +02:00
Girish Ramakrishnan 5fd86b781b metrics: use "/" instead of ps 2025-07-04 14:26:09 +02:00
Girish Ramakrishnan 0d28292cfb metrics: tooltip label 2025-07-04 13:18:23 +02:00
Girish Ramakrishnan 8bf9d38711 metrics: show legend with multiple datasets 2025-07-04 12:51:51 +02:00
Girish Ramakrishnan 82ea2cd86d metrics: store app metrics by appid and not container id 2025-07-04 10:05:07 +02:00