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
girish@cloudron.io
85085ae0b2
implement getAllAdmins based on groups
2016-02-08 16:10:44 -08:00
girish@cloudron.io
c14cf9c260
migrate admin flag to group membership
2016-02-08 16:07:44 -08:00
girish@cloudron.io
a47c6f0774
make requires alphabetical
2016-02-08 15:17:54 -08:00
girish@cloudron.io
888955bd9b
add groups.isMember
2016-02-08 10:53:01 -08:00
girish@cloudron.io
6abf5e2c44
group members: add/remove/get
2016-02-08 10:48:21 -08:00
girish@cloudron.io
b1935c3550
restrict group names
2016-02-08 09:41:25 -08:00
girish@cloudron.io
1d83a48a1a
make group id distinct from name
2016-02-08 08:44:18 -08:00
Girish Ramakrishnan
802ee6c456
more group tests
2016-02-07 20:49:55 -08:00
Girish Ramakrishnan
278085ba22
initial tests for adding group
2016-02-07 20:34:05 -08:00
Girish Ramakrishnan
b945a8a04c
add groups model and db code
2016-02-07 20:25:08 -08:00
Girish Ramakrishnan
c5e2d9a9cc
download new app image as the first thing in update
...
this will reduce downtime.
2016-02-04 22:49:22 -08:00
Johannes Zellner
1395d2971b
Send app update changelog with email
...
Fixes #579
2016-02-04 15:31:40 +01:00
girish@cloudron.io
fa871c7ada
some apache configs require Host header to be set
2016-02-03 20:18:59 -08:00
girish@cloudron.io
fa1f5cc454
call the multi methods if multipleDatabases is set
2016-02-02 08:41:41 -08:00
Johannes Zellner
84c3b367d5
Actually wait for apps to be stopped
2016-01-29 17:24:18 +01:00
Johannes Zellner
793aa6512d
Rework parts of the apps tests to be more reliable
...
No need to create and tear down the addons everytime.
Docker proxy can also be just injected once.
Wait explicitly for apptasks to be terminated.
2016-01-29 16:27:37 +01:00
Johannes Zellner
98ab99ab34
Add callback to config._reset() for convenience
2016-01-29 16:27:04 +01:00
Johannes Zellner
24a826bdd1
Reduce from 20 to 10 sec wait for addons
...
Since that is reliable already with 10 on my laptop
I assume this is fine for any other more modern machine
2016-01-29 16:26:15 +01:00
Johannes Zellner
05245f5fc7
Add a way to wait and stop pending tasks
2016-01-29 16:25:31 +01:00
Johannes Zellner
b718c8d044
Cleanup config before and after apps tests
2016-01-29 14:30:40 +01:00
Johannes Zellner
2888a85081
Remove cloudron side migrate api
...
This is some old api when we had a migrate view in the webadmin
This is entirely handled on the appstore for now.
2016-01-29 14:17:33 +01:00
Johannes Zellner
307262244a
Also cleanup the config file on config._reset()
2016-01-29 14:17:10 +01:00
Johannes Zellner
9a875634f8
Improve error message in mailer
2016-01-29 12:40:34 +01:00
Johannes Zellner
4af33486ae
Add missing fi in shell script
2016-01-29 12:31:59 +01:00
Johannes Zellner
28ffd01cf4
Invoke BACKUP_APP_CMD with the additional backupConfig.url
2016-01-29 11:55:52 +01:00
Johannes Zellner
09c7aa4440
Remove whitespace
2016-01-29 11:54:58 +01:00
Johannes Zellner
ea4862d351
Strictly assert on app
2016-01-29 11:54:40 +01:00
Johannes Zellner
3e4d62329e
Also copy the backup config json
2016-01-29 11:54:15 +01:00
Johannes Zellner
d12366576b
Add backup config url to backupapp.sh
2016-01-29 11:44:24 +01:00
Johannes Zellner
7b1d906494
Add backups.getAppBackupConfigUrl()
2016-01-29 11:44:24 +01:00
girish@cloudron.io
9464a26a7e
put version in the mail
2016-01-27 10:35:48 -08:00
girish@cloudron.io
48305f0e95
call retire after sending off the http response
2016-01-26 10:29:32 -08:00
girish@cloudron.io
8170b490f2
add retire.sh
...
this is a sudo script that retires the box
2016-01-26 09:37:25 -08:00
girish@cloudron.io
072962bbc3
add internal route to retire
2016-01-26 08:46:48 -08:00
girish@cloudron.io
33bc1cf7d9
Add cloudron.retire
2016-01-26 08:39:42 -08:00
Johannes Zellner
8083362e71
Ensure we enforce the password pattern for setup view
2016-01-26 15:55:02 +01:00
Johannes Zellner
9b4c385a64
Ensure we send proper password requirements on password reset
2016-01-26 15:21:03 +01:00
girish@cloudron.io
02d17dc2e4
fix typo
2016-01-25 16:51:14 -08:00
girish@cloudron.io
4b54e776cc
reset update info after short-circuit
2016-01-25 16:46:54 -08:00
girish@cloudron.io
ba6f05b119
Clear the progress for web ui to work
2016-01-25 16:35:03 -08:00
girish@cloudron.io
1d9ae120dc
strip prerelease from box version and not the released version
2016-01-25 16:27:22 -08:00
girish@cloudron.io
3ce841e050
add test for checkDiskSpace
2016-01-25 16:03:12 -08:00
girish@cloudron.io
436fc2ba13
checking capacity does not work well for /
...
Just check if we have around 1.25GB left.
/root (data image file) is 26G
/home (our code) is 1G
/apps.swap is 2G
/backup.swap is 1G
/var is 6.2G (docker)
Rest of the system is 1.5G
Fixes #577
2016-01-25 15:56:46 -08:00