Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Johannes Zellner
2d60901b6e memoryLimit has to be BIGINT 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
e39d7750c5 add group membership table 2016-02-08 08:55:37 -08:00
Girish Ramakrishnan
7ef92071c5 add groups table 2016-02-07 20:11:37 -08:00
girish@cloudron.io
613985a17c Set default displayName as empty 2016-01-19 23:47:29 -08:00
Johannes Zellner
093150d4e3 Add displayName to users table 2016-01-19 12:37:22 +01:00
Johannes Zellner
6f5408f0d6 Make all json blobs in db TEXT fields 2015-11-26 12:17:02 +01:00
Johannes Zellner
d9bfcc7c8a Change manifestJson column from VARCHAR to TEXT 2015-11-13 10:21:03 +01:00
Johannes Zellner
373db25077 Make accessRestriction a JSON format to prepare for group access control 2015-10-16 15:32:19 +02:00
Girish Ramakrishnan
9c157246b7 add type field to clients table 2015-10-15 17:35:47 -07:00
Johannes Zellner
e460d6d15b Add apps.oauthProxy 2015-10-13 10:41:57 +02:00
Girish Ramakrishnan
10142cc00b make a note of appid format 2015-10-11 14:19:38 -07:00
Girish Ramakrishnan
9229dd2fd5 Add oldConfigJson in schema file 2015-10-09 11:08:16 -07:00
Girish Ramakrishnan
df9d321ac3 app.portBindings and newManifest.tcpPorts may be null 2015-07-20 00:10:36 -07:00