Girish Ramakrishnan
31af6c64d0
Expire existing webadmin token so that the UI gets a new token
2018-05-06 13:08:22 -07:00
Girish Ramakrishnan
97acd40829
remove obsolete roleSdk from the database
...
the file is renamed because cloudron.io was patched by mistake and we want to run this
migration there
2018-05-01 14:53:46 -07:00
Girish Ramakrishnan
9cf51ef680
Update cid-webadmin to have all the scopes possible
2018-04-29 16:57:49 -07:00
Girish Ramakrishnan
561d2d9f8b
admin column is no more in users table
2018-04-26 19:55:26 -07:00
Johannes Zellner
9e66adb6d0
Add 2fa db record fields to users table
2018-04-25 17:03:16 +02:00
Girish Ramakrishnan
0a537029bc
add mailbox domain to the constraint
2018-04-23 10:14:16 -07:00
Girish Ramakrishnan
bf0dd935e5
mail: add type field
2018-04-07 21:29:44 -07:00
Johannes Zellner
878940edae
Fix sql syntax
2018-04-06 15:54:55 +02:00
Johannes Zellner
15648a3ab2
fix typo name -> username
2018-04-06 14:53:20 +02:00
Girish Ramakrishnan
605dc00422
mail: add members field for lists
...
we have to track the members of a list in the mail app separately
from groups. this is required because users can now have multiple
mailboxes. and because of that we cannot do a 1-1 mapping of group
members to mailboxes anymore. the ui is changed to select mailboxes
when creating a list.
2018-04-05 16:07:38 -07:00
Girish Ramakrishnan
07601d1292
Fix schema
2018-03-22 18:41:10 -07:00
Johannes Zellner
60e924d5b8
We do require a domain entry in the mails table always
2018-03-09 14:26:33 +01:00
Johannes Zellner
c0ea91a688
We have to parse the JSON data from the raw db results
2018-03-09 10:27:13 +01:00
Girish Ramakrishnan
d69c8f49e5
Migrate daily update pattern
2018-03-06 21:29:08 -08:00
Girish Ramakrishnan
b83eb993d8
Add sso and robotsTxt to app backup config.json
2018-03-05 15:03:03 -08:00
Girish Ramakrishnan
0b6846787e
The mailboxes domain column must reference the mail domain column
2018-02-10 21:31:50 -08:00
Johannes Zellner
1b3450e3a2
update the altDomain migration to also generate certs with SAN
2018-02-10 15:55:22 +01:00
Johannes Zellner
5140dee81d
Generate a fallback cert for domains added during altDomain migration
2018-02-09 13:08:45 +01:00
Johannes Zellner
b1939e73f4
Remove all occurances of altDomain in the code
...
Tests are pending
2018-02-08 09:00:31 +01:00
Johannes Zellner
28f5f62414
Add altDomain migration script
2018-02-08 09:00:31 +01:00
Johannes Zellner
63d06d7024
Use fresh settings key for app autoupdate pattern
2018-02-07 16:51:53 +01:00
Johannes Zellner
3b4ff18881
Keep the invite email for users, which have not yet setup a username
2018-02-07 16:27:49 +01:00
Johannes Zellner
19fafca9df
Drop users email unique constraint for the migration timeframe
2018-02-06 12:14:11 +01:00
Girish Ramakrishnan
087f14643a
catch_all_address in settings table is JSON
2018-02-04 01:27:40 -08:00
Girish Ramakrishnan
de1af3ac72
typo
2018-02-02 16:01:20 -08:00
Girish Ramakrishnan
8e258f11ec
caas: import appstore and caas configs for existing caas
2018-02-02 13:29:57 -08:00
Girish Ramakrishnan
8014cc8ae1
le -> letsencrypt
2018-01-31 18:53:29 -08:00
Girish Ramakrishnan
7dc7c56e97
Fix tests
2018-01-31 18:23:49 -08:00
Johannes Zellner
2db35e42de
Add migration script for tlsConfig in domains
2018-01-31 16:53:00 +01:00
Johannes Zellner
a3caad46a2
Add unique constraint to our schema description file
2018-01-24 10:51:46 +01:00
Johannes Zellner
4a7b26f940
mail_relay from settings table is also JSON
2018-01-23 16:29:15 +01:00
Johannes Zellner
147c728743
Rename maildb table to mail
2018-01-23 15:45:30 +01:00
Johannes Zellner
32152a8b88
Add missing migration file
2018-01-21 14:50:55 +01:00
Johannes Zellner
1e8aa209b1
Add fallbackEmail to user data model
2018-01-21 14:25:39 +01:00
Girish Ramakrishnan
f93963540e
Add maildb
...
also, migrate values from settings table to maildb
2018-01-20 23:47:08 -08:00
Girish Ramakrishnan
081b596ebf
add note that the migration is br0ken
2018-01-15 20:18:32 -08:00
Johannes Zellner
0d4f963756
Ensure we use the same collation on all tables
...
This is required since some older cloudrons have a mixed bag of
collations and thus charsets and we add foreign keys across those, which
require the same collation
2018-01-15 11:01:35 +01:00
Girish Ramakrishnan
92b6464cd7
caas: fix migration of zoneName into domains table
2018-01-09 17:50:04 -08:00
Girish Ramakrishnan
2ac12de204
Add domains.provider
2018-01-09 15:32:49 -08:00
Girish Ramakrishnan
91ede59241
cloudron-setup: move backupConfig default as migration script
...
if in autoprovision, then the backupConfig ends up being overwritten
after a restore.
2017-12-05 18:21:25 +05:30
Girish Ramakrishnan
2bebed2c19
Add fqdn to caas domain config
2017-12-05 07:16:00 +05:30
Girish Ramakrishnan
693bc094cc
caas: make fqdn part of dns and s3 credentials
2017-11-28 22:44:40 -08:00
Girish Ramakrishnan
6ed7a91cf9
rename migration timestamps so they appear in correct order
...
The following migrations are already released in 1.8.3:
20171116203507-apps-rename-newConfigJson-to-updateConfigJson.js
20171116224051-apps-rename-lastBackupId-to-restoreConfigJson.js
2017-11-24 22:39:29 -08:00
Johannes Zellner
ba49c1e30c
Remove accidentally commited debug lines
2017-11-25 00:39:44 +01:00
Johannes Zellner
34ec09588a
no need for a special test setup handling in the migration script
2017-11-24 23:48:59 +01:00
Johannes Zellner
4091315589
Make migration down fail if the table cannot be dropped
2017-11-24 23:48:39 +01:00
Girish Ramakrishnan
48df8b713d
add note on enableBackup
2017-11-21 18:09:44 -08:00
Johannes Zellner
2e06724927
Add mailboxes unique name/domain constraint
2017-11-20 20:01:50 +01:00
Johannes Zellner
635426c37e
Drop mailboxes primary key in favor of name+domain constraint
2017-11-20 20:01:50 +01:00
Johannes Zellner
33e7c8e904
Create the admin group only on owner creation
...
For new cloudrons this will first remove the previously added group and
mailbox entry from the db migration scripts and readds it once we have a
domain on owner creation
2017-11-20 20:01:50 +01:00