Johannes Zellner
e1ac2b7b00
Add initial applink support
2022-07-06 20:37:52 +02:00
Girish Ramakrishnan
55e2139c69
restore: encrypted filenames
2022-06-27 09:49:58 -07:00
Johannes Zellner
34ff3462e9
Fixup backup_config migration script
2022-06-27 17:16:04 +02:00
Girish Ramakrishnan
c9f7b9a8a6
backups: make filename encryption optional
2022-06-26 09:37:22 -07:00
Girish Ramakrishnan
dea74f05ab
remove bogus logic
...
db-migrate always runs a migration in a transaction. so no volume
was created in case of a failure
2022-06-23 10:31:13 -07:00
Girish Ramakrishnan
d9c47efe1f
Fix storage volume migration
...
Patch the migration so it runs again properly in 7.2.5
https://forum.cloudron.io/topic/7256/app-data-regression-in-v7-2-4
(cherry picked from commit c2fdb9ae3f )
2022-06-22 17:16:47 -07:00
Johannes Zellner
e818e5f7d5
Reload volumes in case one was created in the for loop
2022-06-22 15:32:50 +02:00
Johannes Zellner
6a7379e64c
Add apps.upstreamUri support
2022-06-09 10:48:54 +02:00
Girish Ramakrishnan
7952a67ed2
guess the volume type better
2022-06-03 07:54:16 -07: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
Girish Ramakrishnan
85af0d96d2
sendmail: allow display name to be set
2022-06-01 01:38:16 -07:00
Girish Ramakrishnan
3eead2fdbe
Fix possible duplicate key issue
...
console_server_origin in injected by the new setup script even for
7.1.x
2022-05-22 20:48:29 -07:00
Johannes Zellner
6bd478b8b0
Add profile backgroundImage api
2022-05-15 12:08:11 +02:00
Girish Ramakrishnan
ce054820a6
add migration to add consoleServerOrigin
2022-05-05 09:59:22 -07:00
Girish Ramakrishnan
78824b059e
turn off sso flag if an update removes sso options
...
ff-iii used to have LDAP but we removed it. in the database, 'sso'
is still true. the migration here will reset it back to false.
for future situations like these, we sync the sso flag on app update itself.
this ensures correct behavior when yet another update add back sso support.
in ff-iii case, a future update is bringing in proxyAuth based sso!
we don't store the 'sso' bit in backupdb, so user choice of sso is
lost if restore changes sso addons.
2022-04-25 23:36:58 -07:00
Girish Ramakrishnan
21b900258a
backup: fix format of id
...
the id is used in dependsOn by the UI to find the linked apps. if we
had it as an uuid, we have to query the db a lot
2022-04-08 16:23:27 -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
ad2221350f
Add appstore web token
...
* For existing installs, migrate using the soon to be obsoleted user_token route
* For new installs, the token post login is stashed during registration time
2022-03-31 22:35:45 -07:00
Girish Ramakrishnan
656dca7c66
rename cloudron_token to appstore_api_token
2022-03-31 22:18:08 -07:00
Girish Ramakrishnan
3295d2b727
settings: remove licenseKey
...
this is unused
2022-03-31 12:47:45 -07:00
Girish Ramakrishnan
8b5b13af4d
leave note on br0ken usage of async
2022-02-19 14:26:48 -08:00
Girish Ramakrishnan
dfd51aad62
ensure dkim keys
...
a previous migration moved dkim keys into the database but looks like
sometimes the domain has empty dkim keys. this could be because we do not
add mail domain and domain in a transaction, so it's possible dkim was not
generated?
2022-02-19 14:23:30 -08:00
Girish Ramakrishnan
75c0caaa3d
rename subdomains table to locations
2022-02-07 14:04:11 -08:00
Girish Ramakrishnan
aeef815bf7
proxyAuth: persist the secret token
2022-02-01 17:35:21 -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
d35f948157
rename directory config to profile config
2022-01-13 14:39:49 -08:00
Girish Ramakrishnan
f4a21bdeb4
sysinfo: fixed provider now takes ipv6 optionally
...
part of #264
2022-01-06 21:39:28 -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
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
40a3145d92
Add more bad account keys and fix fresh cloudron migration
2021-11-16 00:56:59 -08:00
Girish Ramakrishnan
f42430b7c4
regenerate acme key of DO 1-click image
...
https://community.letsencrypt.org/t/receiving-expiration-emails-for-dozens-of-domains/165441
2021-11-16 00:25:59 -08:00
Girish Ramakrishnan
716951a3f1
dkim: ignore any spurious errors
...
in one of our cloudrons, we had a random dangling symlink in that directory
2021-10-22 17:26:12 -07:00
Girish Ramakrishnan
b18c4d3426
migration: wellKnown is {} or NULL
2021-10-22 16:29:32 -07:00
Girish Ramakrishnan
98949d6360
dkim: typo when importing private key
2021-10-12 09:38:33 -07:00
Girish Ramakrishnan
004a264993
mail: dkim key update
2021-10-11 22:56:34 -07: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
b642bc98a5
ensure fallback certificates of all domains
...
https://forum.cloudron.io/topic/5683/data-argument-must-be-of-type-received-null-error-during-restore-process
2021-10-06 13:34:06 -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
b86d5ea0ea
apps: add crontab
...
crontab is a text field, so we can have comments
part of #793
2021-09-27 21:33:00 -07:00
Girish Ramakrishnan
bb2ad0e986
Implement operator role for apps
...
There are two main use cases:
* A consultant/contractor/external developer is given access to just an app.
* A "service" personnel (say upstream app author) is to be given access to single app
for debugging.
Since, this is an "app admin", they are also given access to apps to be consistent with
the idea that Cloudron admin has access to all apps.
part of #791
2021-09-21 12:30:02 -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