Johannes Zellner
37f066f2b0
Fix user signup when profile is locked and add tests
2021-11-22 20:42:51 +01:00
Johannes Zellner
1a9cfd046a
Update invite route tests
2021-11-22 19:32:42 +01:00
Girish Ramakrishnan
31523af5e1
ami: fix instance id check
2021-11-17 19:05:26 -08:00
Girish Ramakrishnan
e71d932de0
eventlog: add Json suffix to json fields
2021-11-17 12:31:46 -08:00
Girish Ramakrishnan
7f45e1db06
send new login location to user email
2021-11-17 11:53:03 -08:00
Girish Ramakrishnan
2ab2255115
fix dhparam generation
...
it cannot be created in default config creation time since it is
already run pre-VM snapshot time
2021-11-17 11:48:06 -08:00
Girish Ramakrishnan
515b1db9d0
Fix tests
2021-11-17 11:35:44 -08:00
Girish Ramakrishnan
a7fe7b0aa3
boxerror: add acme error code
2021-11-17 10:54:26 -08:00
Girish Ramakrishnan
89389258d7
pass correct auditSource when raising notifications
...
this fixes the bug where automatic app update notification were not
raised.
2021-11-17 10:42:53 -08:00
Girish Ramakrishnan
1aacf65372
apps: pass the auditSource to addTask()
...
this is required for the notification logic to know what caused the
task (cron or manual, for example)
2021-11-17 10:38:02 -08:00
Girish Ramakrishnan
7ffcfc5206
auditSource: add PLATFORM
2021-11-17 10:33:28 -08:00
Girish Ramakrishnan
5ab2d9da8a
notifications: remove dead code
2021-11-17 10:26:47 -08:00
Girish Ramakrishnan
cd302a7621
add missing await
2021-11-17 09:38:01 -08:00
Girish Ramakrishnan
1c8e699a71
generate dhparams per server
...
this way we don't need to save/restore it from the database.
2021-11-16 23:03:16 -08:00
Girish Ramakrishnan
c4db0d746d
acme: if account key was revoked, generate new account key
...
the plan was to migrate only specific keys but this allows us the
flexibility to revoke keys after the release (since we have not
gotten response from DO about access to old 1-click images so far).
2021-11-16 22:57:40 -08:00
Girish Ramakrishnan
b7c5c99301
move turn secret generation
2021-11-16 22:37:42 -08:00
Girish Ramakrishnan
132c1872f4
sftp: move key generation to sftp code
2021-11-16 21:52:39 -08:00
Girish Ramakrishnan
0f04933dbf
backups: fix issue where mail backups were not cleaned up
2021-11-16 19:52:51 -08:00
Girish Ramakrishnan
6d864d3621
ensure we have atleast 1GB before making an update
2021-11-16 18:20:40 -08:00
Girish Ramakrishnan
b6ee1fb662
mail: add non-tls ports for recvmail addon
2021-11-16 17:21:34 -08:00
Girish Ramakrishnan
649cd896fc
throw error and not return
2021-11-16 14:46:58 -08:00
Girish Ramakrishnan
39be267805
restore: secrets must be copied over after downloading box backup
2021-11-16 11:14:41 -08:00
Girish Ramakrishnan
f6356b2dff
speed up dhparam creation
2021-11-16 09:53:43 -08:00
Johannes Zellner
48574ce350
Add missing await
2021-11-16 18:48:13 +01:00
Girish Ramakrishnan
01a1803625
provision: delay initialization of secrets until provision time
...
when we create the DO 1-click image, the key also gets snapshotted.
https://community.letsencrypt.org/t/receiving-expiration-emails-for-dozens-of-domains/165441
2021-11-15 23:33:54 -08:00
Girish Ramakrishnan
9c096b18e1
demo: limit to 20 apps
2021-11-15 13:55:29 -08:00
Johannes Zellner
3826ae64c6
Ensure the main login route is rate-limited
2021-11-12 11:14:21 +01:00
Johannes Zellner
dcdafda124
Remove deprecated developer/login route
2021-11-12 11:12:15 +01:00
Girish Ramakrishnan
68db4524f1
remove unused httpPaths from manifest
2021-11-09 21:50:33 -08:00
Girish Ramakrishnan
9897b5d18a
appstore: fix crash if account already registered
2021-11-08 10:45:57 -08:00
Johannes Zellner
2ae77a5ab7
Provide dashboardOrigin to proxy auth for stylesheet sourcing
2021-11-03 22:12:30 +01:00
Johannes Zellner
e36d7665fa
The profile based password reset does not return a resetLink
2021-11-03 22:03:08 +01:00
Girish Ramakrishnan
c7ddbea8ed
restore: download mail backup in restore phase
...
if we download it in the platform start phase, there is no way to
give feedback to the user. so it's best to show the restore UI and
not redirect to the dashboard.
2021-11-03 12:10:40 -07:00
Girish Ramakrishnan
af2a8ba07f
add retry to platform.start instead
...
this is because it holds a lock and cannot be re-tried
See also 0c0aeeae4c which tried to
make it for all startup tasks
2021-11-02 23:35:53 -07:00
Girish Ramakrishnan
4ffe03553a
database: sqlMessage can be undefined for connection errors
2021-11-02 23:23:59 -07:00
Girish Ramakrishnan
f505fdd5cb
remove the space
2021-11-02 18:07:45 -07:00
Girish Ramakrishnan
ce4f5c0ad6
backups: print the app index/total
2021-11-02 18:07:19 -07:00
Girish Ramakrishnan
de2c596394
backups: typo
...
this resulted in incomplete backups when there is an app with backups disabled
2021-11-02 18:00:04 -07:00
Girish Ramakrishnan
6cb041bcb2
Print readable sizes in the log
2021-11-02 17:51:27 -07:00
Girish Ramakrishnan
0c0aeeae4c
retry startup tasks on database error
...
https://forum.cloudron.io/topic/5909/cloudron-7-0-1-gitlab-stuck-after-update
2021-11-02 14:05:51 -07:00
Girish Ramakrishnan
8bfb3d6b6d
mail: save message-id in eventlog
2021-11-02 01:42:07 -07:00
Girish Ramakrishnan
f803754e08
mail: fix eventlog search
2021-11-02 01:00:28 -07:00
Girish Ramakrishnan
09cfce79fb
mail: fix direction field in eventlog of deferred mails
2021-11-02 00:48:01 -07:00
Girish Ramakrishnan
6479e333de
pop3: fix crash when authenticating non-existent mailbox
2021-11-01 19:54:39 -07:00
Girish Ramakrishnan
28d1d5e960
ldap: make mailbox app passwords work with sogo
2021-11-01 19:17:30 -07:00
Girish Ramakrishnan
15d8f4e89c
ldap: remove legacy sogo search route
2021-11-01 17:08:23 -07:00
Girish Ramakrishnan
7b5ed0b2a1
support: set filePath when user is root
2021-11-01 12:20:47 -07:00
Johannes Zellner
63f6f065ba
Add and fixup invite link related tests
2021-10-28 11:18:31 +02:00
Johannes Zellner
92f0f56fae
do not strictly require fallbackEmail on user creation but provide a fallback
2021-10-28 10:29:02 +02:00
Johannes Zellner
cb8aa15e62
Do not allow setting ghost password for user without username
2021-10-27 23:36:44 +02:00