Girish Ramakrishnan
02c0137dc1
Add a timestamp column to apps table
...
this field can be used in UI to see if more detailed app information
has to be fetched (since it calls the list apps REST API periodically)
2018-06-26 18:16:39 -07:00
Girish Ramakrishnan
7f3114e67d
Rename to get/setMembership (to indicate IDs and not group objects
2018-06-18 13:57:17 -07:00
Girish Ramakrishnan
898cbd01b3
tokens table always has canonical scope
2018-06-17 23:11:36 -07:00
Girish Ramakrishnan
02d5d2f808
Add API to add and update the group roles
2018-06-15 00:28:27 -07:00
Girish Ramakrishnan
a77d45f5de
Add rolesJson to groups table
...
This will contain the roles ('role definition') of a group of
users. We will internally map these to our API scopes.
2018-06-14 22:54:52 -07:00
Girish Ramakrishnan
eb566d28e7
Remove groupdb._addDefaultGroups
...
Putting this in db code causes issues when we merge in the
accesscontrol/roles variables (groupdb needs to source those
variables)
2018-06-14 21:56:34 -07:00
Girish Ramakrishnan
32e6b9024c
Add email query param to reset code path
...
This reduces any attack surface
2018-06-12 17:56:41 -07:00
Girish Ramakrishnan
6534297a5d
Remove hat module
...
It's not been updated for 6 years!
2018-06-11 12:38:29 -07:00
Girish Ramakrishnan
4356df3676
bump timeout
2018-05-07 16:28:11 -07:00
Johannes Zellner
38668937ad
Fixup database tests
2018-04-25 17:03:16 +02:00
Girish Ramakrishnan
b6335a327c
Rename TYPE_* to OWNER_TYPE_*
2018-04-07 18:33:30 -07:00
Girish Ramakrishnan
2c8fa01d6d
mail: split the functions to add list and mailbox
2018-04-05 15:01:28 -07:00
Girish Ramakrishnan
aac914182f
remove options from database.initialize
2018-03-22 20:34:49 -07:00
Girish Ramakrishnan
26d4a11c44
cleanup eventlog more aggressively
...
Those login entries are really adding up on old cloudrons
2018-03-22 20:31:32 -07:00
Johannes Zellner
8340f77e20
Fixup the database tests
2018-03-05 17:17:01 +01:00
Girish Ramakrishnan
baf5cae58a
Fix tests
2018-02-11 00:04:41 -08:00
Johannes Zellner
e710a210fd
Fixup the unit tests
2018-02-08 09:00:31 +01:00
Johannes Zellner
d1ef35ae1d
Fixup all the tests to use domain tlsConfig
2018-01-31 18:09:38 +01:00
Johannes Zellner
7e378b426e
Fixup the database tests
2018-01-26 18:32:13 +01:00
Girish Ramakrishnan
6fdb093595
add and remove maildb entries when domain is created and removed
2018-01-21 20:33:21 -08:00
Johannes Zellner
48d557b242
Replace alternateEmail with fallbackEmail
2018-01-21 14:50:24 +01:00
Girish Ramakrishnan
04868f0983
maildb tests
2018-01-20 23:52:16 -08:00
Girish Ramakrishnan
8da04f6f51
make domaindb.update take object
2018-01-20 10:24:11 -08:00
Girish Ramakrishnan
0eaea12818
make domaindb.add take an object
2018-01-20 10:17:01 -08:00
Girish Ramakrishnan
2ac12de204
Add domains.provider
2018-01-09 15:32:49 -08:00
Girish Ramakrishnan
373c003223
provider is always set in domain config
2018-01-09 14:25:58 -08:00
Girish Ramakrishnan
68d4e70823
Add config._reset to tests
2017-11-27 15:27:54 -08:00
Girish Ramakrishnan
efe75f0c4e
make tests finish
...
database.uninitialize must be called to drop the connection
2017-11-27 11:57:09 -08:00
Girish Ramakrishnan
ca5b69a07d
Fix db export/import
2017-11-24 15:31:06 -08:00
Girish Ramakrishnan
b507ccaa33
Add database.importFileFile
...
Part of #439
2017-11-22 23:08:59 -08:00
Johannes Zellner
de44796b6f
Handle errors if domain is still used on deletion attempt
2017-11-20 20:01:50 +01:00
Johannes Zellner
53e3626e51
More test fixes for config database and settings
2017-11-20 20:01:50 +01:00
Johannes Zellner
6e07a4ec08
Fixup database tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
9155f49d4c
Add domaindb logic
2017-11-20 19:59:26 +01:00
Girish Ramakrishnan
917122c812
display last updated in app info
2017-11-19 13:20:20 -08:00
Girish Ramakrishnan
360fa058ea
store format information for restoring
...
fixes #483
2017-11-16 15:01:27 -08:00
Girish Ramakrishnan
f762d0c0a1
newConfig -> updateConfig
2017-11-16 12:36:07 -08:00
Girish Ramakrishnan
92acb2954f
Rename restoreConfig to manifest in backup table
...
Only the manifest needs to be preserved in the backup table
2017-11-16 11:25:40 -08:00
Girish Ramakrishnan
709c742c46
Fix tests
2017-10-12 21:14:13 -07:00
Girish Ramakrishnan
a34180c27b
Add format to backupsdb
...
Call remove/removeDir based on the format
2017-09-27 18:02:30 -07:00
Girish Ramakrishnan
064c5cf7f2
Fix failing test
2017-08-19 17:41:15 -07:00
Girish Ramakrishnan
acd00222e5
Allow per-app configuration of robots.txt
...
https://developers.google.com/search/reference/robots_txt has
the specification
Part of #344
2017-07-14 15:25:05 -05:00
Girish Ramakrishnan
77641f4b51
Add backupdb.getByState and backupdb.getByTypeAndState
...
part of #330
2017-05-30 14:30:06 -07:00
Johannes Zellner
880f7b4cd3
Allow to get backups by type in backupdb
2017-04-24 12:41:19 +02:00
Johannes Zellner
5460027a49
Add restoreConfig to backupsdb.js
2017-04-18 11:57:59 +02:00
Girish Ramakrishnan
790ad4e74d
Add getAddonConfigByName
2017-03-26 19:06:36 -07:00
Girish Ramakrishnan
f92297cc99
Store env vars as name, value pairs
...
Part of #109
2017-03-26 12:22:19 -07:00
Girish Ramakrishnan
330c9054b4
add/del/update user mailbox as part of transaction
2017-02-14 10:42:32 -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