Commit Graph

9540 Commits

Author SHA1 Message Date
Johannes Zellner
d86045c64e Try to consolidate volumes eventlogs 2025-07-02 18:25:14 +02:00
Girish Ramakrishnan
3bd41013c0 profile: avatar cannot be changed when profile locked
admins can now upload user avatars
2025-07-02 13:03:15 +02:00
Girish Ramakrishnan
aa35099a4d metrics: fix crash 2025-07-02 12:54:13 +02:00
Girish Ramakrishnan
4a7aa032c2 system: add network and disk graph 2025-07-02 09:08:05 +02:00
Johannes Zellner
846986987d the oidc module expect accountId and sub to be the same
in our case sub is the username exposed to the app, not the userId
internal to Cloudron

Upstream behavior change 9b89153c0e
2025-07-02 00:38:11 +02:00
Johannes Zellner
6135e83653 Update postgresaddon to support vectorchord 2025-07-01 20:14:16 +02:00
Johannes Zellner
f090bbc1c7 Update postgres addon to include vectorchord 2025-07-01 20:14:16 +02:00
Girish Ramakrishnan
a10d0e45c9 metrics: blockio and network collection for system 2025-07-01 16:29:16 +02:00
Girish Ramakrishnan
6d5671dd0e typo 2025-07-01 15:28:39 +02:00
Girish Ramakrishnan
24d93ea87d test: fix status code 2025-07-01 13:04:21 +02:00
Girish Ramakrishnan
93aa4f086e test: dns. is gone 2025-07-01 12:41:52 +02:00
Girish Ramakrishnan
a357f5a1b8 apps: add live metrics route 2025-07-01 12:23:38 +02:00
Johannes Zellner
39c0af46b0 Show platform status in headerbar 2025-07-01 11:49:40 +02:00
Girish Ramakrishnan
4e4048be4e superagent: disable the log 2025-07-01 11:10:21 +02:00
Girish Ramakrishnan
b5e2c628cd metrics: collect data via docker api instead of cli 2025-07-01 11:10:21 +02:00
Girish Ramakrishnan
6b8b69d324 metrics: rename functions 2025-07-01 11:10:21 +02:00
Johannes Zellner
713f1239c6 Allow admins to set users avatars 2025-06-30 22:44:59 +02:00
Johannes Zellner
c0065765d4 Fix update UI to show progress and allow to cancel update task 2025-06-30 19:31:03 +02:00
Girish Ramakrishnan
37621f8548 typo 2025-06-30 17:39:18 +02:00
Girish Ramakrishnan
0427d08ede mail: dnsbl can give empty records 2025-06-28 16:52:37 +02:00
Girish Ramakrishnan
a7aec70bc1 mail: add rbl6
abuse.ch is using spamhaus
sorbs is dead
2025-06-28 14:17:51 +02:00
Girish Ramakrishnan
ad6918d71e network: fix ipv4/6 detection
bad typo. the request has to be tracked per type
2025-06-28 14:11:53 +02:00
Girish Ramakrishnan
c7d36ac06e mail: fix status variable checks 2025-06-28 12:57:05 +02:00
Girish Ramakrishnan
9428cf0d06 mail: make status a tristate
status can be 'passed', 'failed' or 'skipped'. The motivation for this
change is that when using a relay, we can provide a message indicating
why the check was skipped.
2025-06-28 12:20:25 +02:00
Girish Ramakrishnan
4e54e4c22a Fix relay UI password display 2025-06-27 13:06:55 +02:00
Girish Ramakrishnan
565859b2aa relay: force STARTTLS when testing outbound relay
haraka only supports STARTTLS
2025-06-27 10:23:05 +02:00
Girish Ramakrishnan
6f4a3701e7 apps: clear updateInfo on successful submit 2025-06-26 17:08:14 +02:00
Girish Ramakrishnan
2486aee24d AppsView: updateInfo is now part of app object 2025-06-26 16:57:55 +02:00
Girish Ramakrishnan
19c9d7d59d updateInfo: move updateInfo into apps table
this has many advantages:
* easy to deliver the updateInfo via the apps object
* after updating, the task can clear it
* when apps are deleted, the info is automatically gone

otherwise, it's a mess of deps between apps/updater/apptask/rest routes

box update info is still in a file
2025-06-26 15:47:15 +02:00
Girish Ramakrishnan
abd640d36b merge updatechecker into updater 2025-06-26 14:00:30 +02:00
Girish Ramakrishnan
a085e9ed54 updatechecker: raise app update notifications in the updatechecker job
the updatechecker runs even if auto-updates is disabled. doing notifications
in updatechecker ensures notifications are raised even when auto-update is disabled.
2025-06-26 13:36:21 +02:00
Girish Ramakrishnan
e0af49f638 appstore: automatic is not stableOnly 2025-06-25 18:17:29 +02:00
Johannes Zellner
9be00cd546 Also add media-src csp rule for dashboard to allow videos in filemanager 2025-06-25 14:18:04 +02:00
Girish Ramakrishnan
a02e3d2ebd better log 2025-06-20 22:16:05 +02:00
Girish Ramakrishnan
84297ff473 updater: move app update logic and attach the manual update reason 2025-06-20 22:08:02 +02:00
Girish Ramakrishnan
1ffad1ebaf updater: move the auto update logic into updater 2025-06-20 19:10:25 +02:00
Girish Ramakrishnan
2db99e7807 refactor: rename updater functions to have box in them 2025-06-20 19:04:55 +02:00
Girish Ramakrishnan
d7fdfd6d71 attach app updateInfo to app object 2025-06-20 18:51:12 +02:00
Girish Ramakrishnan
241053e1a8 s3: error handling has changed in v3 api 2025-06-20 16:07:21 +02:00
Girish Ramakrishnan
4d94700375 remove dead comment 2025-06-19 16:12:46 +02:00
Girish Ramakrishnan
1672217dd9 replace mysql module with mysql2
mysql is deprecated since years now
2025-06-19 12:41:49 +02:00
Girish Ramakrishnan
313c90ff85 database: change charset to utf8mb4
part of #836
2025-06-19 10:39:40 +02:00
Girish Ramakrishnan
227da8dce4 test: remove double uninit of db 2025-06-19 10:24:17 +02:00
Girish Ramakrishnan
84111996b4 database: some debugs 2025-06-19 10:12:59 +02:00
Girish Ramakrishnan
fb39aa32bb tasks: fix update failed notification
https://forum.cloudron.io/topic/13408/update-to-cloudron-8.3-error

We get a Task xx crashed with code null in the notification.

The crux of the issue is that we use KillMode=control-group. This ends
up sending SIGTERM signal to box code and all the sudo in parallel. The box
code then sees the sudo die and records the task as failed.

To fix, we switch to KillMode=mixed. This gives box code a chance to handle SIGTERM
first. It cleans out its task list and kills all the sudo.
2025-06-17 23:47:04 +02:00
Girish Ramakrishnan
ca25c6075b tasks: fix grammar and log the completion of sudo 2025-06-17 22:33:30 +02:00
Girish Ramakrishnan
a9f474b24d taskworker: better logs on signal 2025-06-17 22:30:34 +02:00
Girish Ramakrishnan
1354da01e6 platform: remove duplicate stops (already in onDeactivated) 2025-06-17 22:29:29 +02:00
Girish Ramakrishnan
d9c104613c tasks: rework the startTask API
it is now async. change was required to reset the pending flag
2025-06-17 19:32:46 +02:00
Girish Ramakrishnan
4770b32287 tasks: add pending field
this indicates if a task is scheduled. previously, we relied
on task.progress being 1
2025-06-17 17:00:21 +02:00