Johannes Zellner
7155856b08
Allocate the mailbox db record for apps in a transaction with appdb.add()
2017-02-08 23:52:14 +01:00
Girish Ramakrishnan
e35dbd522f
More debugMode fixes
2017-01-20 09:56:44 -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
319632e996
add readonlyRootfs to the database
2017-01-19 15:11:40 -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
1b291365d5
Fix appdb.add to set sso
2016-11-19 21:59:06 +05:30
Girish Ramakrishnan
94037e5266
remove oauth proxy backend logic
2016-11-19 17:13:08 +05:30
Girish Ramakrishnan
6064db9467
read sso field in db code
2016-11-19 17:10:54 +05:30
Girish Ramakrishnan
5014ca7742
Simply check app.oauthProxy
...
Part of #6
2016-09-07 00:53:13 -07:00
Girish Ramakrishnan
408dd61408
Send and receive oauthProxy in REST routes
...
Part of #6
2016-09-06 23:32:42 -07:00
Johannes Zellner
a49e1b5117
Set xFrameOptions fallback
2016-07-15 11:08:11 +02:00
Johannes Zellner
7f6360361f
Fixup the appsdb tests
2016-07-14 16:28:59 +02:00
Johannes Zellner
37563ee8cb
Add xFrameOptions to appsdb.js
2016-07-14 16:28:59 +02:00
Girish Ramakrishnan
8412db0796
add missing brackets
2016-06-20 09:50:03 -05:00
Girish Ramakrishnan
7e93c23110
set the lastBackupId to backup from
2016-06-17 18:41:29 -05:00
Girish Ramakrishnan
0609a90d2a
add CLONE installation state
2016-06-17 16:56:15 -05:00
Girish Ramakrishnan
fe62aba4d7
make appdb.add take a data object
2016-06-17 16:43:35 -05:00
Girish Ramakrishnan
fee6f3de0f
configure/restoreInstalledApps must always succeed
2016-06-16 06:50:34 -07:00
Girish Ramakrishnan
a5a1526023
Allow configure command when in configuration state
...
Currently, we only allow restore (from backup) and uninstall. If configure
is taking very long (like external domain) and someone wants to reconfigure
we should let them.
We are sort of trying to think of 'reconfigure' as 'retry' in case of
external errors.
2016-06-14 14:13:47 -07:00
Girish Ramakrishnan
5f3378878e
remove lastBackupConfig
2016-06-13 19:19:28 -07:00
Johannes Zellner
da8de173a6
Remove appdb.getBySubdomain()
2016-05-06 14:52:33 +02:00
Girish Ramakrishnan
d2a3925e04
add altDomain to install route
2016-04-26 14:45:58 -07:00
Girish Ramakrishnan
ef12740060
add altDomain to appdb fields
2016-04-25 10:52:12 -07:00
Johannes Zellner
d4480ec407
Remove oauthProxy usage in the database wrapper
2016-02-19 16:12:58 +01:00
Johannes Zellner
1a13128ae1
Ensure accessRestriction is either an object or an empty string
2016-02-18 17:28:00 +01:00
Johannes Zellner
ab003bf81f
adjust appdb.js and unit tests to support memoryLimit
2016-02-10 12:25:26 +01:00
Johannes Zellner
10c09d9def
Fix wrong conditional in appdb
2016-01-17 16:01:17 +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
d0dfe1ef7f
remove unused variable
2015-10-15 17:35:47 -07:00
Johannes Zellner
c3bf672c2a
Ensure we deal with booleans
2015-10-13 12:29:40 +02:00
Johannes Zellner
4eab101b78
use app.oauthProxy instead of app.accessRestriction
2015-10-13 10:41:57 +02:00
Girish Ramakrishnan
f48a2520c3
remove RSTATE_ERROR
...
if startContainer failed, it will still returning success because
it running the db update result
2015-10-11 11:18:30 -07:00
Girish Ramakrishnan
c147d8004b
Add appdb.getByContainerId
2015-09-14 17:01:04 -07:00
Girish Ramakrishnan
288de7e03a
Add RSTATE_ERROR
2015-08-24 21:58:19 -07:00
Girish Ramakrishnan
45d444df0e
leave a note about force_update
2015-08-17 21:30:56 -07:00
Girish Ramakrishnan
df9d321ac3
app.portBindings and newManifest.tcpPorts may be null
2015-07-20 00:10:36 -07:00