Girish Ramakrishnan
514341172c
Add name to appAddonConfigs
...
Part of #109
2017-03-25 18:06:56 -07:00
Johannes Zellner
3b9144ba4d
Alter the backups.dependsOn field to store as TEXT
...
Fixes #239
2017-02-23 17:56:34 +01:00
Johannes Zellner
1b43ccca6f
Use new db-migrate which allows to specify the db backend
...
We use only mysql, so updating this means a lot of unused db backends
like sqlite do not need to be built with gyp anymore.
Note that this version is not yet released as stable, but works fine for
us. The outstanding issues are not related to our use-case from what I
can tell.
Fixes #82
2017-02-07 12:49:28 +01:00
Girish Ramakrishnan
711fe37dad
Add note on dnsRecordId
2017-02-02 10:43:04 -08:00
Girish Ramakrishnan
db6474ef2a
Merge readonlyRootfs and development mode into debug mode
...
The core issue we want to solve is to debug a running app.
Let's make it explicit that it is in debugging mode because
functions like update/backup/restore don't work.
Part of #171
2017-01-20 09:29:32 -08:00
Girish Ramakrishnan
a71323f8b3
Add developmentMode flag to appdb
...
Part of #171
2017-01-19 15:57:24 -08:00
Girish Ramakrishnan
7ef6bd0d3f
Add readonlyRootfs flag to apps table
...
When turned off, it will put the app in a writable rootfs. This
allows us to debug live/production apps (like change start.sh) and
just get them up and running. Once turned off, this app cannot be
updated anymore (unless the force flag is set). This way we can
then update it using the CLI if we are convinced that the upcoming
update fixes the problem.
Part of #171
2017-01-19 11:55:25 -08:00
Girish Ramakrishnan
02f0bb3ea5
Add readonly flag
...
Part of #171
2017-01-19 10:55:13 -08:00
Girish Ramakrishnan
536c16929b
Remove showTutorial
2017-01-17 09:11:34 -08:00
Girish Ramakrishnan
94037e5266
remove oauth proxy backend logic
2016-11-19 17:13:08 +05:30
Girish Ramakrishnan
8cb8510d72
Add sso db field
...
SSO field tracks whether the user wants to enable SSO integration
or not.
2016-11-19 17:10:26 +05:30
Girish Ramakrishnan
f9c6fbee72
Fix field name in migration script
2016-09-28 19:37:04 -07:00
Girish Ramakrishnan
d5b50f48fd
Fix crash in migration script
2016-09-28 17:51:43 -07:00
Girish Ramakrishnan
c357efe4da
just ignore error if we cannot import mailbox
...
this allows the box code to not crash if the user already has existing
conflicting group and user names
2016-09-28 11:09:53 -07:00
Johannes Zellner
519dd2b889
Fix typo in schema
2016-09-27 21:48:39 +02:00
Girish Ramakrishnan
f24eee026e
add ownerId, ownerType to mailboxes table
...
ownerId is the app id or user id or the group id.
2016-09-22 15:51:16 -07:00
Girish Ramakrishnan
cf039b7964
Fix typo
2016-09-20 14:14:04 -07:00
Girish Ramakrishnan
11b89f473e
s/done/callback
2016-08-31 07:19:24 -07:00
Girish Ramakrishnan
0e935580b6
enable email for existing cloudrons
2016-08-31 05:34:06 -07:00
Girish Ramakrishnan
344908b5b1
add default mailconfig (false)
2016-08-30 22:17:04 -07:00
Johannes Zellner
e902e11024
Add apps.xFrameOptions column
2016-07-14 16:28:59 +02:00
Girish Ramakrishnan
a9b91591b4
Make installationProgress TEXT
...
Some error messages from apptask can be very long! This cases the db
update to fail. In turn causing the installationState to not be set.
2016-06-20 22:30:17 -05:00
Girish Ramakrishnan
5f3378878e
remove lastBackupConfig
2016-06-13 19:19:28 -07:00
Girish Ramakrishnan
6d8f1f90d4
add note to change expires to TIMESTAMP type
2016-06-03 10:07:30 -07:00
Girish Ramakrishnan
76fe2bf531
add note to fix precision at some point
2016-06-02 19:43:23 -07:00
Girish Ramakrishnan
b03e4db8d5
check for null username
2016-05-31 21:38:51 -07:00
Girish Ramakrishnan
75c1731443
do not add app mailboxes to database
...
a) we don't allow .app pattern in database for aliases and mailboxes
b) the addons already know about app names separately
2016-05-30 01:38:43 -07:00
Girish Ramakrishnan
d5b5289e0c
Add mailbox importer for existing users and apps
...
this should prevent conflicts of mailboxes from the get-go.
2016-05-28 02:07:43 -07:00
Girish Ramakrishnan
cf93a99a4e
add a note about mailboxes
2016-05-27 22:28:56 -07:00
Girish Ramakrishnan
ce927bfa22
alias
...
also remove id since it's not useful for mailbox case (not like
mailbox can be renamed and we need a fixed it)
2016-05-27 22:20:08 -07:00
Girish Ramakrishnan
53e28db1d6
add note on accessRestriction
2016-05-27 11:10:36 -07:00
Girish Ramakrishnan
161b7cf76b
add mailboxes table
2016-05-26 21:08:20 -07:00
Johannes Zellner
b0f4396389
Add showTutorial field to users table
2016-05-06 13:55:03 +02:00
Girish Ramakrishnan
d811115f21
update schema.sql
2016-05-01 13:17:27 -07:00
Girish Ramakrishnan
ca8731c282
add source to events table
2016-04-30 12:56:23 -07:00
Girish Ramakrishnan
c1df22f079
use JSON type (nice for querying)
2016-04-30 10:15:33 -07:00
Girish Ramakrishnan
db89784af8
add eventlog table
2016-04-29 23:58:20 -07:00
Girish Ramakrishnan
415902d68e
add altDomain to apps table
2016-04-25 10:52:12 -07:00
Johannes Zellner
544c1474d1
Allow multiple empty usernames in the db
2016-04-05 10:54:09 +02:00
Girish Ramakrishnan
bbff195863
rename filename to id
2016-04-04 12:20:56 -07:00
Girish Ramakrishnan
16a65fb185
drop configJson
...
The initial idea was to store exactly where the backups are stored.
But this only causes problems for migrations where the bucket might
change and clones where the prefix (box.id) changes.
Thus, it's best to leave the url creation to the caas side. (That
has to be done in another change)
2016-04-03 22:55:08 -07:00
Girish Ramakrishnan
ba69316c14
add note that filename is reused as id
2016-03-30 15:17:04 -07:00
Girish Ramakrishnan
c097651a88
store backup configuration as part of backups table
2016-03-30 15:04:39 -07:00
Girish Ramakrishnan
89f54245f7
Add backups table
2016-03-07 09:27:10 -08:00
Girish Ramakrishnan
db5cc1f694
dropping groupMembers table makes not much sense
2016-02-10 08:57:06 -08:00
Johannes Zellner
11b17fec3a
Ensure groupMembers table is created first
2016-02-10 12:38:00 +01:00
Johannes Zellner
2d60901b6e
memoryLimit has to be BIGINT
2016-02-10 12:25:26 +01:00
Johannes Zellner
3fc9bde4f4
Make memoryLimit step in 8s
2016-02-10 12:25:26 +01:00
Johannes Zellner
4fc0df31fe
Add apps.memoryLimit
2016-02-10 12:25:26 +01:00
girish@cloudron.io
3649fd0c31
drop the gid: prefix for group id
...
like the username, id and name is same in groups.
2016-02-09 12:28:50 -08:00