Johannes Zellner
909fe5dc15
Add appPortBindings port count column
2024-02-23 17:57:24 +01:00
Johannes Zellner
b72a5e9c69
Add notification types
2023-09-22 17:58:13 +02:00
Johannes Zellner
5489285406
oidc: remove now unsupported provider logout handling
2023-07-20 13:26:07 +02:00
Johannes Zellner
8f4c86c1b4
oidc: add clients.tokenSignatureAlgorithm
2023-04-04 16:43:10 +02:00
Johannes Zellner
5d903451fa
Add oidc.name and oidc.appId fields
2023-03-23 09:44:31 +01:00
Johannes Zellner
27ff2316b9
oidc: initial logout redirect URI support
2023-03-19 16:01:22 +01:00
Johannes Zellner
4b7e4731a8
oidc: put clients into the db
2023-03-19 16:01:22 +01:00
Girish Ramakrishnan
8448d28f6f
Implement HSTS preload
...
This allows browsers to query https directly instead of the initial http redirect
https://hstspreload.org/#opt-in says it should be explicitly opt in
2023-03-06 11:46:05 +01:00
Girish Ramakrishnan
03a77ddf01
Fix validation of hostPath
...
When adding a volume, this comes in mountOptions. The hostPath in the
database is the computed host path.
2023-02-25 23:41:11 +01:00
Johannes Zellner
56c567ac86
Add token scopes
2022-09-22 22:28:59 +02:00
Girish Ramakrishnan
b23189b45c
mail: quota support
2022-08-18 11:31:40 +02:00
Johannes Zellner
e1ac2b7b00
Add initial applink support
2022-07-06 20:37:52 +02:00
Johannes Zellner
6a7379e64c
Add apps.upstreamUri support
2022-06-09 10:48:54 +02:00
Girish Ramakrishnan
dddc5a1994
migrate app dataDir to volumes
2022-06-02 16:29:01 -07:00
Girish Ramakrishnan
26ab7f2767
add mailbox display name to schema
2022-06-01 22:06:34 -07:00
Johannes Zellner
6bd478b8b0
Add profile backgroundImage api
2022-05-15 12:08:11 +02: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
75c0caaa3d
rename subdomains table to locations
2022-02-07 14:04:11 -08:00
Girish Ramakrishnan
8f08ed1aed
Fix blobs schema
2022-02-01 17:29:25 -08:00
Girish Ramakrishnan
b34f66b115
add secondary domains
...
note that for updates to work, we keep the secondary domain optional,
even though they are really not.
part of #809
2022-01-16 12:10:48 -08:00
Girish Ramakrishnan
5592dc8a42
schema: add cron to apps table
2021-12-03 13:02:25 -08:00
Girish Ramakrishnan
e71d932de0
eventlog: add Json suffix to json fields
2021-11-17 12:31:46 -08:00
Girish Ramakrishnan
dc8ec9dcd8
mail: move dkim keys into the database
2021-10-11 20:30:42 -07:00
Girish Ramakrishnan
000db4e33d
mail: add flag to enable/disable pop3 access per mailbox
2021-10-08 10:43:17 -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
Johannes Zellner
cb31e5ae8b
Separate invite and password reset token
2021-10-01 12:27:22 +02:00
Girish Ramakrishnan
339fdfbea1
schema: add missing args to tasks table
2021-09-30 09:01:43 -07:00
Girish Ramakrishnan
aa6b845c9c
make loginLocationsJson mediumtext
...
it seems we overflow atleast in the demo cloudron
TEXT – 64KB (65,535 characters)
MEDIUMTEXT – 16MB (16,777,215 characters)
2021-08-20 10:30:14 -07:00
Girish Ramakrishnan
449220eca1
appAddonConfigs: change value to TEXT
...
since the value is used directly as an environment variable, we have to
allow up to max env var size (32767). Use TEXT which has a size of 64k
2021-08-09 13:40:23 -07:00
Johannes Zellner
be0c46ad8e
Revert "Revert "Add avatar field constraint to not be NULL""
...
This reverts commit aafc22511b .
2021-07-07 18:50:09 +02:00
Johannes Zellner
aafc22511b
Revert "Add avatar field constraint to not be NULL"
...
This reverts commit ba86802fc0 .
2021-07-07 18:41:34 +02:00
Johannes Zellner
ba86802fc0
Add avatar field constraint to not be NULL
2021-07-07 18:32:05 +02:00
Girish Ramakrishnan
73917e95c9
rework notifications
...
notifications are now system level instead of user level.
To clarify the use events/notifications/email:
* eventlog - everything that is happenning on server
* notifications - specific important events (alerts)
* email - these are really urgent things that require immediate attention. this is for
the case where an admin does not visit the dashboard often. can also be alerts like
bad backup config or reboot required which are not events per-se.
Notes on notifications
* oom - notification only
* appUpdated - notification only
* cert renewal failure - only raise when < 10 days to go. also send email thereafter (todo).
* Backup failure - only if last 5 backups failed (todo).
* Box update - notification only. we anyway send newsletter.
* box update available - we raise a notification. no email.
* app update available - we already have update indicator on dashboard. so, no notification or email.
Alerts:
* backup config
* disk space
* mail status
* reboot
* box updated
* ubuntu update required
2021-05-28 15:29:53 -07:00
Girish Ramakrishnan
53dce1e7aa
users: rename createdAt to creationTime
2021-05-17 07:54:54 -07:00
Girish Ramakrishnan
2421536c23
add indexes for ORDER BY fields used in code
...
we hit ER_OUT_OF_SORTMEMORY with large tables
2021-05-17 07:06:11 -07:00
Girish Ramakrishnan
50407eba0b
volumes: generate systemd mount files based on mount type
2021-05-12 23:57:12 -07:00
Girish Ramakrishnan
7f6a0555b2
store custom app certificates in subdomains table
...
the REST route and model code is still ununsed as before since there
is no way to set the certs from the UI.
2021-05-05 10:58:20 -07:00
Girish Ramakrishnan
963e92b517
store fallback certs in the database
2021-05-04 22:30:28 -07:00
Girish Ramakrishnan
907ae4f233
secrets -> blobs
...
this will also have certs which are not really "secrets"
2021-04-30 22:34:27 -07:00
Girish Ramakrishnan
130ef72c9a
Add secrets table
...
this will hold keys, certs etc
2021-04-30 22:07:51 -07:00
Girish Ramakrishnan
0062e6d9fe
apps: add icon and appStoreIcon to database
2021-04-30 14:35:21 -07:00
Johannes Zellner
fb5c2a5e52
Properly detect new user agents and location
2021-04-30 15:22:10 +02:00
Girish Ramakrishnan
af2c096975
branding: move logo into database
...
initially, i tried to put this in the current value field but that
is TEXT and has a size limit of 64K. TEXT also stores things with
character encoding, so we have to stash it as base64
2021-04-29 18:28:03 -07:00
Girish Ramakrishnan
b8ea9de439
move profile icons into the database
2021-04-29 13:57:24 -07:00
Girish Ramakrishnan
727e6720e8
schema.sql: fix appPasswords constraint
2021-04-19 21:02:14 -07:00
Girish Ramakrishnan
142af8e700
Fix notifications schema
2021-04-19 21:00:31 -07:00
Girish Ramakrishnan
d29d46d812
mail: add active flag to mailboxes and lists
2021-04-15 11:49:19 -07:00
Girish Ramakrishnan
9960729d6b
Add optional mailbox support
2021-03-16 22:40:38 -07:00
Girish Ramakrishnan
176388111c
tokens: add lastUsedTime
2021-03-16 16:04:17 -07:00