Johannes Zellner
19982b1815
Add Client.getGroups()
2016-02-10 14:25:08 +01:00
Johannes Zellner
459d5b8f60
Adjust user action buttons
2016-02-10 14:07:37 +01:00
Johannes Zellner
8ba5dc2352
Fix indentation
2016-02-10 13:55:49 +01:00
Johannes Zellner
8c73a7c7c2
Send admin flag with user profile
2016-02-10 13:35:16 +01:00
Johannes Zellner
e78dd41e88
Replace deprecated gulp-minify-css with gulp-cssnano
2016-02-10 13:13:08 +01:00
Johannes Zellner
59ecb056d0
Fixup the oauth tests to set memoryLimit
2016-02-10 12:49:02 +01:00
Johannes Zellner
11b17fec3a
Ensure groupMembers table is created first
2016-02-10 12:38:00 +01:00
Johannes Zellner
5ea81d0fd3
Ensure default minimum memory limit
2016-02-10 12:30:19 +01:00
Johannes Zellner
19cbd1f394
Ensure we never go below 256mb memoryLimit
2016-02-10 12:30:19 +01:00
Johannes Zellner
1b7265f866
Fixup the merge
2016-02-10 12:28:57 +01:00
Johannes Zellner
1cdb64e78d
Use memoryLimit from app object instead of manifest in docker.js
2016-02-10 12:25:26 +01:00
Johannes Zellner
eec8708249
Set memory limit on app installation to the default or the one specified in the manifest
2016-02-10 12:25:26 +01:00
Johannes Zellner
ab003bf81f
adjust appdb.js and unit tests to support memoryLimit
2016-02-10 12:25:26 +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 Ramakrishnan
3ac326e766
try upto 5 minutes to download the tarball
...
DO/S3 can be really slow at times
2016-02-09 21:07:03 -08:00
Girish Ramakrishnan
4770f9ddf6
add hasAccessTo tests
2016-02-09 21:07:03 -08:00
girish@cloudron.io
7e60fd554a
add some failing groups for good measure
2016-02-09 18:55:42 -08:00
girish@cloudron.io
c1cd7ac129
fix typo
2016-02-09 18:53:14 -08:00
girish@cloudron.io
aab62263a7
add accessRestriction group test in oauth2
2016-02-09 18:52:27 -08:00
girish@cloudron.io
79889a0aac
test simple auth accessRestriction
2016-02-09 18:40:20 -08:00
Girish Ramakrishnan
f413bfb3a0
Add route to set the users groups
2016-02-09 16:43:32 -08:00
Girish Ramakrishnan
2b0791f4a3
rename vars
2016-02-09 16:19:00 -08:00
Girish Ramakrishnan
d95339534f
rename test file
2016-02-09 16:17:01 -08:00
Girish Ramakrishnan
82cf667f3b
Add groups route tests
2016-02-09 15:26:46 -08:00
girish@cloudron.io
e20b3f75e4
Handle NOT_EMPTY group deletion
2016-02-09 13:45:28 -08:00
girish@cloudron.io
6cca7b3e0e
initial rest API for groups
2016-02-09 13:34:36 -08:00
girish@cloudron.io
0b814af206
Add api to get groups
2016-02-09 13:33:30 -08:00
girish@cloudron.io
bfdabf9272
check groups property in accessRestriction
2016-02-09 13:03:52 -08:00
girish@cloudron.io
60988ff7f3
make hasAccessTo take a callback
2016-02-09 12:48:21 -08: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
girish@cloudron.io
00c5aa041f
clear database in backups test
2016-02-09 12:21:36 -08:00
girish@cloudron.io
4569b67007
make users and admins groups as reserved
2016-02-09 12:16:30 -08:00
girish@cloudron.io
1fb26bc441
make startAppTask take a callback
2016-02-09 12:14:04 -08:00
girish@cloudron.io
e6d23a9701
stop previous task explicitly
...
there is a race:
1. task is running
2. new task is created overwriting the installationState
3. new task kills the old task of step 1. this results in installationState getting overwritten by 'error' because of the sigkill
4. new task that is launched loses the installationState that was step in 2.
2016-02-09 12:09:20 -08:00
girish@cloudron.io
0785266741
kill immediately. by default, it sends SIGTERM
2016-02-09 12:03:21 -08:00
girish@cloudron.io
e752949752
make all tests work after group changes
2016-02-09 11:29:32 -08:00
girish@cloudron.io
199eb2b3e1
set the admin flag in user object
2016-02-09 09:25:17 -08:00
Girish Ramakrishnan
49cbea93fb
fix ldap test
2016-02-09 08:52:16 -08:00
girish@cloudron.io
451c410547
make user test pass
2016-02-08 21:17:21 -08:00
girish@cloudron.io
f6541720c4
pass owner flag in createUser
2016-02-08 21:05:02 -08:00
girish@cloudron.io
5e5435e869
send email for userAded
2016-02-08 20:51:20 -08:00
girish@cloudron.io
0d4f113d7d
add groupIds to user object
2016-02-08 20:38:50 -08:00
girish@cloudron.io
14fab0992f
make user test mostly work
2016-02-08 16:53:20 -08:00
girish@cloudron.io
d7eb004bc1
remove admin arg from user.create
2016-02-08 16:36:45 -08:00
girish@cloudron.io
c34f3ee653
null invitor is ok
2016-02-08 16:36:26 -08:00
girish@cloudron.io
96d595de39
fix database test
2016-02-08 16:25:29 -08:00
girish@cloudron.io
b1f4508313
remove admin references from userdb
2016-02-08 16:18:51 -08:00
girish@cloudron.io
52ce59faaf
createUser does not take admin anymore
2016-02-08 16:14:43 -08:00