Girish Ramakrishnan
89127e1df7
reverseproxy: rework cert logic
...
9c8f78a059 already fixed many of the cert issues.
However, some issues were caught in the CI:
* The TLS addon has to be rebuilt and not just restarted. For this reason, we now
move things to a directory instead of mounting files. This way the container is just restarted.
* Cleanups must be driven by the database and not the filesystem . Deleting files on disk or after a restore,
the certs are left dangling forever in the db.
* Separate the db cert logic and disk cert logic. This way we can sync as many times as we want and whenever we want.
2022-11-29 11:07:23 +01:00
Girish Ramakrishnan
9477e0bbb5
Fix crash when accessing memory_stats
2022-11-24 00:40:40 +01:00
Girish Ramakrishnan
ca44f47af3
replace split with our own LogStream
...
split module is archived
2022-11-06 13:44:47 +01:00
Girish Ramakrishnan
549cb92ce7
return swap listing in the disk route
2022-11-04 15:25:12 +01:00
Girish Ramakrishnan
4015afc69c
graphs: send service graphs
2022-10-13 20:52:22 +02:00
Girish Ramakrishnan
9d35756db5
graphs: just query graphite IP instead of localhost mapping
2022-10-11 12:44:37 +02:00
Girish Ramakrishnan
bcf474aab6
redis: rebuild
2022-06-23 15:52:59 -07:00
Girish Ramakrishnan
6de198eaad
sendmail: check for supportsDisplayName
...
it seems quite some apps don't support this. so, we need a way for the
ui to hide the field so that users are not confused.
2022-06-08 09:43:58 -07:00
Girish Ramakrishnan
dddc5a1994
migrate app dataDir to volumes
2022-06-02 16:29:01 -07:00
Girish Ramakrishnan
8fc8128957
Make apps.getDataDir async
2022-06-02 11:19:33 -07:00
Girish Ramakrishnan
c76b211ce0
localstorage: remove usage of docker volumes
...
just move bind mounts. the initial idea was to use docker volume backends
but we have no plans for this. in addition, usage of volumes means that
files get copied from the image and into volume on first run which is
not desired. people are putting /app/data stuff into images which ideally
should break.
2022-06-02 11:09:27 -07:00
Girish Ramakrishnan
85af0d96d2
sendmail: allow display name to be set
2022-06-01 01:38:16 -07:00
Girish Ramakrishnan
7ed8678d50
mongodb: fix import timeout
2022-05-09 17:20:16 -07:00
Girish Ramakrishnan
05d7a7f496
constness
2022-04-14 17:50:41 -05:00
Johannes Zellner
47e45808a3
Give the addons a lot more time to initiate a connection
2022-04-06 13:05:09 +02:00
Girish Ramakrishnan
de84cbc977
add note on turn container host mode
2022-02-11 23:08:56 -08:00
Girish Ramakrishnan
944d364e1a
turn: secret is a string
2022-02-01 17:36:51 -08:00
Girish Ramakrishnan
eada292ef3
email addon: add additional env vars
2022-01-09 16:03:35 -08:00
Girish Ramakrishnan
be8ab3578b
update mysql container
...
* remove 'request' module usage entirely
* http based service
2021-12-20 10:52:42 -08:00
Girish Ramakrishnan
7aded4aed7
switch status api to http as well
2021-12-17 13:39:06 -08:00
Girish Ramakrishnan
d37652d362
postgresql container update
...
* makes the service http based
* no more request module usage
2021-12-17 13:26:34 -08:00
Girish Ramakrishnan
54bb7edf3b
asyncify importAppDatabase
2021-12-17 07:47:20 -08:00
Girish Ramakrishnan
34d11f7f6e
mongodb container update
...
* upgrades mongodb to 4.4
* makes the service http based
* no more request module usage
2021-12-16 22:49:38 -08:00
Girish Ramakrishnan
26dc63553e
update redis addon to use pipeline+http api
2021-12-15 17:54:50 -08:00
Girish Ramakrishnan
013f5d359d
pass debug to promise-retry
2021-12-07 11:18:26 -08:00
Girish Ramakrishnan
683ac9b16e
remove support for manifest version 1
...
this is long untested by now
2021-12-06 17:44:09 -08:00
Girish Ramakrishnan
2415e1ca4b
Prefix email addon variables with CLOUDRON_EMAIL instead of CLOUDRON_MAIL
...
otherwise, it's conflicting with the sendmail and recvmail addons
2021-12-06 17:39:29 -08:00
Girish Ramakrishnan
b7c5c99301
move turn secret generation
2021-11-16 22:37:42 -08:00
Girish Ramakrishnan
b6ee1fb662
mail: add non-tls ports for recvmail addon
2021-11-16 17:21:34 -08:00
Johannes Zellner
48574ce350
Add missing await
2021-11-16 18:48:13 +01:00
Girish Ramakrishnan
e0edfbf621
services: better status for sftp and turn
2021-10-19 16:02:18 -07:00
Girish Ramakrishnan
f01764617c
mail: fix rebuild
...
also fixes dangerous code that downloads mail backup if infra version is 'none'
2021-10-09 08:15:10 -07:00
Girish Ramakrishnan
54bcfe92b9
recvmail: inject POP3 port
2021-10-08 15:24:38 -07:00
Girish Ramakrishnan
a3fc5f226a
make recvmail work
...
unlike sendmail, recvmail is always optional. this is the case because
the cloudron may not receive emails at all, so app always has to be
prepared for it.
part of #804
2021-10-02 03:11:47 -07:00
Girish Ramakrishnan
e31cf4cbfe
do not wait for container in recovery mode
2021-10-01 14:38:47 -07:00
Girish Ramakrishnan
6a3cec3de8
services: add recoveryMode
2021-10-01 14:01:30 -07:00
Girish Ramakrishnan
b34d642490
get rid of debugApp
2021-10-01 09:20:19 -07:00
Girish Ramakrishnan
7ea9252059
services: simplify startup logic
2021-09-26 22:48:14 -07:00
Girish Ramakrishnan
d90beb18d4
eventlog: add service rebuild/restart/configure events
2021-09-24 10:22:45 -07:00
Girish Ramakrishnan
e2fc785e80
rename getServiceIds to listServices
2021-09-20 09:15:49 -07:00
Girish Ramakrishnan
949b2e2530
postgresql: bump shm size and disable parallel queries
...
https://forum.cloudron.io/topic/5604/nextcloud-take-very-long-time-to-respond/5
2021-09-03 08:02:06 -07:00
Girish Ramakrishnan
6754409ee2
Add missing safe()
2021-08-30 18:52:02 -07:00
Girish Ramakrishnan
7d8cca0ed4
Fix typo
2021-08-30 11:42:46 -07:00
Girish Ramakrishnan
d2c2b8e680
Fix shell.sudo usage
2021-08-30 09:28:16 -07:00
Girish Ramakrishnan
7413ccd22e
Fix some more crashes
2021-08-26 21:29:40 -07:00
Girish Ramakrishnan
f5c169f881
Fix service status
2021-08-26 21:18:20 -07:00
Girish Ramakrishnan
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
77f5cb183b
merge appdb.js into apps.js
2021-08-23 15:35:38 -07:00
Girish Ramakrishnan
62eb4ab90e
Fix addon crash
...
getAddonConfigByName returns null now when not found
2021-08-22 15:41:42 -07:00
Girish Ramakrishnan
c5fff756d1
move addon config db code to addonconfigs.js
2021-08-19 22:08:31 -07:00