Commit Graph

9419 Commits

Author SHA1 Message Date
Girish Ramakrishnan 3364e5c876 ldapserver: fix crash when app not found 2025-10-03 11:55:20 +02:00
Girish Ramakrishnan a6355e1945 remove spammy log 2025-10-03 11:49:40 +02:00
Girish Ramakrishnan 6c1b07a7f1 add comment on why checkSubscription 2025-10-02 11:37:26 +02:00
Girish Ramakrishnan b511b0c39a restore: get subscription info after a restore 2025-10-02 11:20:00 +02:00
Girish Ramakrishnan 5b43de944d activation: update features after registering cloudron 2025-10-02 11:18:42 +02:00
Girish Ramakrishnan 832eca2d9c backup size: display stats correctly 2025-10-01 17:43:27 +02:00
Johannes Zellner f69bdd1ac4 This aint the real superagent 2025-10-01 17:16:21 +02:00
Johannes Zellner 01f10baa18 subscription POST api is /subscription3 2025-10-01 16:46:30 +02:00
Johannes Zellner 23178b24c6 Send cloudron state along with fetching subscription state 2025-10-01 16:44:53 +02:00
Johannes Zellner 295aafddf0 Use appUpdates feature flag 2025-10-01 14:35:14 +02:00
Girish Ramakrishnan ab0f8fc081 backupsite: remove bc- prefix from id 2025-10-01 10:27:20 +02:00
Girish Ramakrishnan 53de61330f remove debug 2025-10-01 10:09:32 +02:00
Girish Ramakrishnan 54cd9c7afa Use JSON query to remove the app id from site
the original regexp does not work for leading comma like [ "box", "appid" ]
2025-09-30 19:43:08 +02:00
Girish Ramakrishnan edcffd3417 Remove app from backup sites when uninstalled 2025-09-30 18:22:22 +02:00
Girish Ramakrishnan f7c85d8aa2 mail: add api to list domains 2025-09-30 17:11:10 +02:00
Johannes Zellner e05fef18a0 Only check subscription once a day again 2025-09-29 16:26:01 +02:00
Johannes Zellner 38267a26c1 Send some metrics 2025-09-29 16:16:22 +02:00
Girish Ramakrishnan 5dd5a20fc1 code -> sqlCode 2025-09-29 12:18:26 +02:00
Girish Ramakrishnan 73ddf48d12 Do not put sensitive config into the eventlog 2025-09-26 11:14:47 +02:00
Girish Ramakrishnan 4962597f58 Remove forum message from installation notification 2025-09-25 08:31:16 +02:00
Girish Ramakrishnan 8a20c1812f Fix cloudron appstore link 2025-09-24 22:11:43 +02:00
Girish Ramakrishnan 98d4d99c1b appstore: add unlink account route 2025-09-24 21:49:24 +02:00
Girish Ramakrishnan 5723717576 appstore: add note on token check 2025-09-24 20:56:54 +02:00
Girish Ramakrishnan f8e5a65f95 Fix test 2025-09-24 14:09:06 +02:00
Girish Ramakrishnan 379066c782 eventlog: remove private fields from site 2025-09-24 14:04:49 +02:00
Girish Ramakrishnan 19df2e0baa ER_DUP_ENTRY is passed as code and not in message 2025-09-24 10:50:25 +02:00
Girish Ramakrishnan aefe69c4b5 Fix test 2025-09-23 19:07:45 +02:00
Girish Ramakrishnan f92cdf36f5 system: return the mounted and unmounted block devices (as long as xfs or ext4) 2025-09-23 18:51:23 +02:00
Girish Ramakrishnan 50d37ad752 Fix consistent use of enabledForUpdates -> enableForUpdates 2025-09-23 16:43:17 +02:00
Girish Ramakrishnan 08f7685ca3 backupSite: enableForUpdates in add 2025-09-23 10:21:43 +02:00
Johannes Zellner 49de124fc0 Fix typo 2025-09-22 20:24:29 +02:00
Girish Ramakrishnan cc939de641 Fixup tests 2025-09-22 20:17:34 +02:00
Girish Ramakrishnan 5157789774 backups: add per site enabledForUpdates flag
previously, we had a singleton 'main' flag to indicate a site can
be used for updates. with this new approach, we can get rid of the
'primary' concept. each site can be used for updates or not.
2025-09-22 18:03:01 +02:00
Girish Ramakrishnan 305441ea28 backups: remove noop backend
the noop backend is migrated into 0 sites config.

when the updater code sees that there is no site to backup, it will
just fail. user has to manually update with skipBackup flag.
2025-09-22 16:44:12 +02:00
Girish Ramakrishnan 4c3a8e1fd7 backup site: add contents
it is a json that can be one of the three:

* null - include everything
* include - only include these ids
* exclude - everything except these ids
2025-09-22 13:28:16 +02:00
Johannes Zellner 7df7fd635b Allow any format for noop backup site 2025-09-21 18:06:32 +02:00
Girish Ramakrishnan 1cac2f6170 add timestamp to the log 2025-09-16 17:58:30 +02:00
Girish Ramakrishnan e45af9b611 sqlite: disable docker logging when backing up
The redirection > ${outputFile} applies to the docker run client process, not to the container itself.
The Docker daemon is still collecting the container’s stdout and logging it.

https://forum.cloudron.io/topic/13361/after-ubuntu-22-24-upgrade-syslog-getting-spammed-and-grows-way-to-much-clogging-up-the-diskspace/
2025-09-15 15:46:27 +02:00
Girish Ramakrishnan 43cc91aca2 fix tests 2025-09-13 15:22:01 +02:00
Girish Ramakrishnan c5b7264f1a rename backupTargets to backupSites 2025-09-12 10:32:37 +02:00
Girish Ramakrishnan 82c8fa2640 Revert "Add generic 412 http response handler to ask for dashboard refresh"
This reverts commit 11a6cf8236.

It's unclear in what situations a 412 handler that refreshes the dashboard will help.

We use BoxError.INVALID_CREDENTIALS to be 412.

* Used as internal error code for failed password, app password and totp check
* When password is wrong in external ldap syncing
* appstore token is invalid

In all cases, a dashboard refresh will do nothing afaict. For good measure, I have
converted appstore token case into LICENSE_ERROR which is a 402.
2025-09-11 12:42:12 +02:00
Girish Ramakrishnan 2f4766af9d Fix update progress display 2025-09-10 21:46:03 +02:00
Girish Ramakrishnan c2e5f19226 very possible code path 2025-09-10 21:10:56 +02:00
Girish Ramakrishnan 60a3ea0cea docker registry: fix typo in eventlog 2025-09-10 17:45:52 +02:00
Girish Ramakrishnan ba14d1e846 block devices: filter the root disk 2025-09-10 11:52:05 +02:00
Girish Ramakrishnan 33c75076da quote the value in error message 2025-09-08 18:59:47 +02:00
Girish Ramakrishnan ac7001b96e reverseproxy: remove OCSP support
OCSP is getting deprecated in favor CRLs. Lets Encrypt has already
removed the OCSP URL in the certs and the OCSP validation server
is being decommissioned .

https://letsencrypt.org/2024/12/05/ending-ocsp/
2025-09-04 09:43:49 +02:00
Girish Ramakrishnan 4381809959 docker: container id cannot be null 2025-08-27 08:33:25 +02:00
Girish Ramakrishnan f7b40d5f92 backupTargets: increase name length 2025-08-26 07:40:58 +02:00
Girish Ramakrishnan 31df40a841 storage: add copyDir
we changed listDir in c44863a9bb to list
a directory . this broke copy for files since a '/' is added when listing
the file.
2025-08-26 00:01:14 +02:00