Girish Ramakrishnan
9c8f78a059
reverseproxy: simplify certificate renewal
...
An issue was that mail container was not getting refreshed with the up to
date certs. The root cause is that it is refreshed only in the renewCerts()
cron job. If cert renewal was caused by an app task, then the cron job will
skip the restart (since cert is fresh).
The other issue is that we keep hitting 0 length certs when we run out of disk
space. The root cause is that when out of disk space, a cert renewal will
cause cert to be written but since it has no space it is 0 length. Then, when
the user tries to restart the server, the box code does not write the cert again.
This change fixes the above two including:
* To simplify, we use the fallback cert only if we failed to get a LE cert. Expired LE certs
will continue to be used. nginx is fine with this.
* restart directory as well on renewal
2022-11-13 11:55:12 +01:00
Girish Ramakrishnan
440504a6e9
add tests for both the stream
2022-11-06 15:44:04 +01:00
Girish Ramakrishnan
d0b7097706
rimraf is gone
2022-11-06 11:48:56 +01:00
Girish Ramakrishnan
549cb92ce7
return swap listing in the disk route
2022-11-04 15:25:12 +01:00
Girish Ramakrishnan
17c7cc5ec7
Remove external df module
...
It has some parsing issues with locale
2022-10-18 19:56:18 +02:00
Girish Ramakrishnan
7cb326cfff
no camel case in filenames
2022-10-14 08:22:04 +02:00
Girish Ramakrishnan
62d68e2733
graphs: remove the disk info
2022-10-12 10:30:02 +02:00
Girish Ramakrishnan
a3f7ce15ab
system: rework disks api to return by filesystem
2022-10-12 09:42:14 +02:00
Girish Ramakrishnan
4348556dc7
Fix applinks test
2022-10-12 09:37:25 +02:00
Girish Ramakrishnan
3c963329e9
du: exclude option
2022-10-11 23:14:50 +02:00
Girish Ramakrishnan
656f3fcc13
add system.du
2022-10-11 23:06:54 +02:00
Girish Ramakrishnan
760301ce02
Add docker.df
2022-10-11 23:06:51 +02:00
Girish Ramakrishnan
d51b022721
applinks: make get return null
...
this style matches rest of the code base
2022-10-06 11:32:42 +02:00
Johannes Zellner
a7b056a84c
Some tweaks for better app link detection logic
2022-09-28 14:23:45 +02:00
Johannes Zellner
6d7f7fbc9a
Add some more token scope tests
2022-09-24 18:52:41 +02:00
Johannes Zellner
858c85ee85
Fixup more tests
2022-09-24 18:26:31 +02:00
Johannes Zellner
15d473d506
Fixup some token tests and error handling
2022-09-24 17:29:42 +02:00
Johannes Zellner
81b59eae36
improve applink businesslogic tests and fixup api
2022-09-19 21:00:44 +02:00
Johannes Zellner
3fcc3ea1aa
Fixup reverseproxy tests
2022-09-19 17:04:44 +02:00
Girish Ramakrishnan
4e75694ac6
mail: require catch all to be absolute
2022-09-11 12:56:58 +02:00
Girish Ramakrishnan
1591541c7f
mail: allow aliases to have wildcard
...
this came out of https://forum.cloudron.io/topic/6350/disposable-email-prefixes-for-existing-mailboxes/
2022-08-18 15:22:00 +02:00
Girish Ramakrishnan
6124323d52
improve mailbox.update
2022-08-18 12:38:46 +02:00
Girish Ramakrishnan
b23189b45c
mail: quota support
2022-08-18 11:31:40 +02:00
Girish Ramakrishnan
20d722f076
Fix test
2022-08-15 20:45:55 +02:00
Girish Ramakrishnan
edd284fe0b
rename user directory to directory server
2022-08-15 20:45:51 +02:00
Johannes Zellner
1534eaf6f7
Fixup applink tests
2022-08-03 14:57:58 +02:00
Johannes Zellner
e1ac2b7b00
Add initial applink support
2022-07-06 20:37:52 +02:00
Johannes Zellner
50b2eabfde
Also fixup userdirectory tests
2022-06-03 13:59:21 +02:00
Johannes Zellner
591067ee22
Fixup ldap group search tests
2022-06-03 13:54:31 +02:00
Girish Ramakrishnan
f78dabbf7e
mail: add display name validation tests
2022-06-01 22:04:36 -07:00
Girish Ramakrishnan
9fcd6f9c0a
cron: add @service which is probably clearer than @reboot in app context
2022-05-20 10:57:44 -07:00
Girish Ramakrishnan
17910584ca
cron: add extensions
...
https://www.man7.org/linux/man-pages/man5/crontab.5.html#EXTENSIONS
2022-05-20 10:53:30 -07:00
Girish Ramakrishnan
ea01586b52
storage: make copy async
2022-04-30 16:24:45 -07:00
Girish Ramakrishnan
7123ec433c
split up backupformat logic into separate files
2022-04-28 19:10:57 -07:00
Girish Ramakrishnan
e097b79f65
godaddy: do not remove all the records of type
2022-04-28 17:46:03 -07:00
Girish Ramakrishnan
c83c151e10
remove recursive-readdir
2022-04-15 11:34:16 -05:00
Girish Ramakrishnan
9a886111ad
inline chunk.js
2022-04-15 09:25:54 -05:00
Girish Ramakrishnan
555f914537
remove lodash.chunk
2022-04-15 08:07:46 -05:00
Girish Ramakrishnan
43f86674b4
Remove delay module
2022-04-15 07:52:35 -05:00
Girish Ramakrishnan
f7ed044a40
fix storage test
2022-04-15 07:49:38 -05:00
Girish Ramakrishnan
185d5d66ad
even more constness
2022-04-14 20:30:00 -05:00
Girish Ramakrishnan
01ce251596
constness
2022-04-14 18:03:43 -05:00
Girish Ramakrishnan
ea3fd27123
backups: recursively update the dep preserveSecs
...
One idea was to compute this at cleanup time, but this has two problems:
* the UI won't reflect this value. can be good or bad
* the cleaner has no easy way to find out the "parent". I guess we should
change our data structure, if we want to go down this route...
2022-04-04 21:29:35 -07:00
Girish Ramakrishnan
452a4d9a75
backups: add remotePath
...
the main motivation is that id can be used in REST API routes. previously,
the id was a path and this had a "/" in it. This made /api/v1/backups/:backupId
not work.
2022-04-04 20:40:40 -07:00
Girish Ramakrishnan
70695b1b0f
backups: set label of backup and control it's retention
2022-04-02 19:30:54 -07:00
Girish Ramakrishnan
656dca7c66
rename cloudron_token to appstore_api_token
2022-03-31 22:18:08 -07:00
Girish Ramakrishnan
638fe2e6c8
ldap: add rootDSE test
2022-03-31 21:18:56 -07:00
Girish Ramakrishnan
1a87856655
eventlog: log event on alias update
2022-02-24 20:30:42 -08:00
Girish Ramakrishnan
91dc91a390
fix dns tests
2022-02-18 11:36:14 -08:00
Girish Ramakrishnan
c6da8c8167
make ipv4 and ipv6 settings separate
2022-02-15 12:36:05 -08:00