Commit Graph

19659 Commits

Author SHA1 Message Date
Girish Ramakrishnan
c15e342bb8 webadmin: remove the implicit flow
we now use pkce . main advantage is that we don't see the access token
in the url anymore.

in pkce, the auth code by itself is useless. need the verifier.

fixes #844
2026-03-15 17:38:27 +05:30
Girish Ramakrishnan
dc1449c7b6 oidcserver: convert to trace 2026-03-15 17:32:03 +05:30
Girish Ramakrishnan
0b305caf58 sites: add conflict detection
Fixes #863
2026-03-15 14:59:35 +05:30
Girish Ramakrishnan
8f1f3645b2 app update: if backup fails, provide a notification
fixes #851
2026-03-15 14:48:07 +05:30
Girish Ramakrishnan
0079162efe notifications: only title is bold 2026-03-15 14:26:30 +05:30
Girish Ramakrishnan
7afec06d4c apps: operators can now view backup logs and manage the backup task
we spun off the app backup as a separate task and this is not tracked
by app.taskId .

fixes #856
2026-03-15 10:18:31 +05:30
Girish Ramakrishnan
29f85a8fd2 test: fix debug 2026-03-15 09:54:55 +05:30
Girish Ramakrishnan
6e0dc24eca rsync: escape U+2028/U+2029
JSON strings can contain unescaped U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR
characters while ECMAScript strings cannot. ES2019 now allows those unescaped.

The integrity code assumes that each JSON is a single line but that assumption does
not hold true when these characters are there in the string. Fix is to escape them.
2026-03-15 09:20:40 +05:30
Girish Ramakrishnan
cee1180aa7 9.1.4 changes 2026-03-14 19:10:04 +05:30
Girish Ramakrishnan
6db2b55e63 oidcserver: custom templates for device login
the default one uses google fonts :/
2026-03-13 13:25:57 +05:30
Girish Ramakrishnan
a3c038781f oidc: implement Device Authorization Grant 2026-03-13 12:44:39 +05:30
Girish Ramakrishnan
59c9e5397e ldapserver, directoryserver: all traces 2026-03-12 23:30:12 +05:30
Girish Ramakrishnan
a4c253b9a9 users: modify verify log calls to trace
this is only useful when we are debugging and not useful to end user
without further context
2026-03-12 23:27:13 +05:30
Girish Ramakrishnan
f12b4faf34 lint 2026-03-12 23:23:23 +05:30
Girish Ramakrishnan
ff49759f42 promise-retry: rename api to log 2026-03-12 23:11:16 +05:30
Girish Ramakrishnan
01d0c738bc replace debug() with our custom logger
mostly we want trace() and log(). trace() can be enabled whenever
we want by flipping a flag and restarting box
2026-03-12 23:08:35 +05:30
Girish Ramakrishnan
d57554a48c backup logs: make them much terse and concise
these are making the rsync logs massive. instead resort to reporting
progress based on file count. there is also a heartbeat timer for
"stuck" or "long downloading" files, every minute.
2026-03-12 19:40:46 +05:30
Girish Ramakrishnan
b16b57f38b rsync: throttle log messages during download 2026-03-12 13:47:26 +05:30
Girish Ramakrishnan
12177446a2 backupcleaner: remove cleanupSnapshotSuperfluous
this removes the workaround for the rsync bug to make integrity
checks work. see ec15f29e40 and
2c12bee79b
2026-03-12 08:07:25 +05:30
Girish Ramakrishnan
61b15db958 Update translations 2026-03-12 07:39:45 +05:30
Girish Ramakrishnan
349e8f5139 notifications: add empty text, progress bar and inifinite scroll 2026-03-12 07:33:22 +05:30
Johannes Zellner
f30482808b Workaround chrome quirks on file drop handling 2026-03-11 15:11:16 +01:00
Girish Ramakrishnan
79cdecdff6 graphite: fix aggregation of block/network read/write 2026-03-10 22:56:00 +05:30
Girish Ramakrishnan
336dee53cd metrics: pick last item in series
picking the first item for "max" is not correct
2026-03-10 22:25:15 +05:30
Girish Ramakrishnan
77022bbd7f restore: apply blocklist 2026-03-10 21:34:26 +05:30
Johannes Zellner
df96df776d Wait for dashboard reload when version has changed 2026-03-10 16:28:17 +01:00
Girish Ramakrishnan
67bc803859 troubleshoot: ignore package.json 2026-03-10 20:24:32 +05:30
Girish Ramakrishnan
8ef56c6d91 reverseproxy: fix restore of trusted ips 2026-03-10 17:28:06 +05:30
Girish Ramakrishnan
d377d1e1cf remove deprecated url 2026-03-10 15:15:17 +05:30
Girish Ramakrishnan
4209e4d90d Some progressbars for various views 2026-03-08 19:14:30 +05:30
Girish Ramakrishnan
83c85d02ee services: load all the view services together
box/cloudron service was appearing first and the rest were appearing
a while later
2026-03-08 18:56:57 +05:30
Girish Ramakrishnan
866b72d029 services: distinguish error state and idle state for stopped containers 2026-03-08 18:36:24 +05:30
Girish Ramakrishnan
4bc0f44789 services: lazy start services / on demand services
services are now stopped when no app is using them.

on start up, services are always created and run. they are later
stopped when unused. it's this way to facilitate the upgrade code
path. the database meta files have to be upgraded even if no app is using them.
the other hook to stop unused services is at the end of an app task.

maybe mail container is a candidate for the future where all sending is no-op.
But give this is rare, it's not implemented.
2026-03-08 18:35:50 +05:30
Girish Ramakrishnan
99c55cb22f services: enforce min memory limit v9.1.3 2026-03-05 21:25:31 +05:30
Girish Ramakrishnan
74c73c695f mongodb: set min memory to 2GB 2026-03-05 21:25:31 +05:30
Johannes Zellner
b972891337 If we have no released version of an app also show an error instead of the app install dialog 2026-03-05 16:27:59 +01:00
Girish Ramakrishnan
57515d54db 9.1.3 changes 2026-03-05 16:43:53 +05:30
Johannes Zellner
0ff8dcc8e9 Remove 'Dashboard' from dashboard page title 2026-03-05 12:09:23 +01:00
Girish Ramakrishnan
38efa6a2ba integrity: show failure messages 2026-03-05 16:24:46 +05:30
Johannes Zellner
6306625184 Add vue/no-root-v-if linter rule 2026-03-05 11:53:53 +01:00
Johannes Zellner
1803ab303f Do not use v-if in toplevel nodes of a component 2026-03-05 11:41:23 +01:00
Johannes Zellner
e72dd7c845 Fix warning about missing dom id 2026-03-05 11:40:50 +01:00
Johannes Zellner
87288caeb9 Stop using vue-i18n legacy api 2026-03-05 11:14:18 +01:00
Elias Hackradt
79b519e462 Fix: add label to user.value object 2026-03-05 10:05:02 +00:00
Girish Ramakrishnan
5f8ea2aecc integrity: skip check of backups with no integrity info 2026-03-04 21:18:20 +05:30
Girish Ramakrishnan
94bc52a0c3 rsync: typo 2026-03-04 20:48:00 +05:30
Girish Ramakrishnan
fed51bdcd9 backupintegrity: add percent progress 2026-03-04 18:30:16 +05:30
Girish Ramakrishnan
5fc9689645 backup: fix alignment of progressbar and logs button 2026-03-04 17:24:46 +05:30
Girish Ramakrishnan
7c6a783fc8 tasks: fix progress percents
mostly rebalancing the percents
2026-03-04 16:37:34 +05:30
Girish Ramakrishnan
764d479d7f 9.1.2 changes v9.1.2 2026-03-04 15:26:45 +05:30