Johannes Zellner
c4eeebdfbe
Enable admin change test
2016-03-09 06:18:39 +01:00
Johannes Zellner
b1004de358
Notify admins about newly added admin
2016-03-09 06:16:21 +01:00
Girish Ramakrishnan
fbca0fef38
fix missing assert
2016-03-08 18:51:40 -08:00
Girish Ramakrishnan
d658530e66
fix failing tests
2016-03-08 18:44:51 -08:00
Girish Ramakrishnan
21d4cc9cb2
getAllPaged -> getPaged
2016-03-08 18:10:39 -08:00
Girish Ramakrishnan
e2b7ec3ffd
store filename with tar.gz extension
2016-03-08 16:47:53 -08:00
Girish Ramakrishnan
8014e2eaf8
add route to download backup
2016-03-08 16:28:42 -08:00
girish@cloudron.io
a10ed73af2
get zoneName using tldjs
2016-03-08 09:52:13 -08:00
girish@cloudron.io
8b2903015d
list app backups from db
2016-03-08 08:57:28 -08:00
girish@cloudron.io
d157bf30f3
remove box backups from the database
2016-03-08 08:52:20 -08:00
girish@cloudron.io
7996b32022
add backups to the database
...
ideally, these should be done _after_ the backup is successful and not when
the backup url is generated.
we had a discussion on why need backupdb to start with. Some rationale includes:
1. we can use it as a FK constraint (like make sure you delete backups when you delete app)
2. have labels for backups
3. dependancy relation from box backup to apps
4. s3 reverse sort is little painful and requires us to get all items in bulk and sort in JS
(also requires us to change our backup filename format)
5. any metadata storage requires database
The cons include:
1. s3 and this db go out of sync
2. db entry is useless if s3 file is missing
2016-03-08 08:42:00 -08:00
girish@cloudron.io
4b77703902
export getByAppIdPaged
2016-03-07 17:52:13 -08:00
Girish Ramakrishnan
4dd82d10ad
backup: ensure same timestamp for app data and config
2016-03-07 12:13:54 -08:00
Girish Ramakrishnan
83d05c99d3
mount manually instead of fstab because of race
...
I cannot figure how to make the box-setup.service run before the mounting
of a specific mount point. adding a dep on mount.target locks up the system.
2016-03-07 10:48:09 -08:00
Girish Ramakrishnan
b0acdfb908
use truncate instead of fallocate
2016-03-07 10:44:35 -08:00
Girish Ramakrishnan
b062dab65c
mysql also uses the data partition
2016-03-07 10:38:59 -08:00
Girish Ramakrishnan
eadcdeee1c
not being mounted is the normal case
2016-03-07 10:37:26 -08:00
Girish Ramakrishnan
9de6f9c1c2
add backupdb
...
mostly same code as the appstore side
2016-03-07 09:30:44 -08:00
Girish Ramakrishnan
89f54245f7
Add backups table
2016-03-07 09:27:10 -08:00
Girish Ramakrishnan
5fbd1dae30
bump the mysql memory limit
...
we hit this memory limit often in phabricator backup. this is all
very crude but should suffice for now.
2016-03-05 18:35:28 -08:00
girish@cloudron.io
486ced0946
fix LDAP debug
2016-03-04 17:52:27 -08:00
girish@cloudron.io
d1c1fb8786
fix ldap debug ("ldap" already appears as part of debug)
2016-03-04 17:51:18 -08:00
Johannes Zellner
57ff8b6770
fix feedback test
2016-03-04 22:27:18 +01:00
Johannes Zellner
d12d8f5c0b
Properly extract referrers, which contain queries on their own and are not properly encoded
2016-03-03 15:06:14 +01:00
Johannes Zellner
17deac756b
Also log app manifest id for alive apps
2016-03-03 09:30:46 +01:00
Johannes Zellner
f7bb3bac98
Log app manifest id in healthmonitor
2016-03-03 09:30:46 +01:00
girish@cloudron.io
744c721000
use docker 1.10.2 (untested)
2016-03-01 10:13:44 -08:00
girish@cloudron.io
0500bae221
install aufs tools
...
https://github.com/docker/docker/issues/915
2016-03-01 10:13:04 -08:00
girish@cloudron.io
a7b5b49d96
fix language
v0.9.3
2016-02-26 10:14:37 -08:00
Johannes Zellner
93ef1919c2
Hide superuser checkbox for the user himself
2016-02-26 18:08:56 +01:00
girish@cloudron.io
254d6ac92e
handle singular case as well
2016-02-26 08:43:59 -08:00
girish@cloudron.io
3a12265f42
Do not preallocate data volume
...
This is not tested but will get tested in the next upgrade
2016-02-26 08:27:13 -08:00
Johannes Zellner
71eeb47f0f
Hide groups in user listing if the screen is too tiny
2016-02-26 13:10:29 +01:00
Johannes Zellner
5ea5023d97
Better encapsulate the form related functions in install view
2016-02-26 12:50:05 +01:00
Johannes Zellner
1148e21cd4
Add more changes
2016-02-26 12:29:52 +01:00
Johannes Zellner
e9a2b2a7cf
Disable group access control and show info if there are no groups
2016-02-26 11:59:18 +01:00
Johannes Zellner
7a34f40611
Allow to specify accessRestrictions on app install
2016-02-26 11:47:20 +01:00
Johannes Zellner
c630de1003
Fetch groups in appstore.js
2016-02-26 11:24:01 +01:00
Johannes Zellner
74da8f5af8
Add 0.9.3 changes
2016-02-26 11:19:45 +01:00
girish@cloudron.io
b758be5ae2
0.9.2 changes
2016-02-26 11:17:36 +01:00
Johannes Zellner
c585be4eec
Adjust group length error message
2016-02-26 11:07:31 +01:00
Johannes Zellner
3ebc569438
Avoid using superuser in the ui, but describe what it is
2016-02-26 11:03:39 +01:00
Johannes Zellner
5a2cf3cbfe
Move superuser checkbox at the bottom of the form
2016-02-26 11:02:43 +01:00
Johannes Zellner
715c5f9f61
Do not set admin group multiple times
2016-02-26 10:56:33 +01:00
Johannes Zellner
6843fda601
Show group names and make sure we don't break layout right away
2016-02-26 10:53:41 +01:00
Johannes Zellner
a78f3b1db3
Give more space to some views
2016-02-26 10:52:47 +01:00
girish@cloudron.io
1419108a86
umount is for unmounting
2016-02-25 20:13:16 -08:00
girish@cloudron.io
7a8b457ce9
truncate to shrink the file if required
2016-02-25 19:26:46 -08:00
girish@cloudron.io
10967ff8ce
allow 1.2 times RAM
...
This is basically to allow 2 phabricators and another small app with
no warning on a 4gb droplet :-)
2016-02-25 18:34:28 -08:00
girish@cloudron.io
1fdfd3681c
Revert "Display group ids"
...
This reverts commit d80ce25363061f95cb14e223efd4ab9828739eea.
Didn't mean to commit this
2016-02-25 18:11:25 -08:00