Johannes Zellner
804464c304
Add apps.getByIpAddress()
2016-02-18 15:43:46 +01:00
Johannes Zellner
ecf7f442ba
Add docker.getContainerIdByIp()
2016-02-18 15:39:27 +01:00
Johannes Zellner
9ddd3aeb07
Show app id and fix naked domain in debugApp()
2016-02-18 12:51:25 +01:00
Johannes Zellner
864e3ff217
Give form feedback if group name is invalid
...
Fixes #583
2016-02-15 13:09:58 +01:00
Johannes Zellner
9bf1fe3b7d
Show naked_domain for healthtask summary
2016-02-14 17:42:52 +01:00
Johannes Zellner
b32a48c212
Add changelog for 0.9.0
v0.9.0
2016-02-14 13:19:12 +01:00
Johannes Zellner
22a3dd7653
Disable advanced accessControl ui
...
This is working, from a configuration standpoint.
However not all auth methods support this yet, so
we hide it until that is done, otherwise it is just
confusing
2016-02-14 13:15:09 +01:00
Johannes Zellner
132b463e0a
Hide memoryLimit ui
2016-02-14 13:14:03 +01:00
Johannes Zellner
7aefe5226a
Properly layout the group labels
2016-02-14 13:12:04 +01:00
Johannes Zellner
656c1bfd3a
Make Admin group members visible
2016-02-14 13:11:49 +01:00
Johannes Zellner
e237b609f5
Make admin group buttons red
2016-02-14 13:08:50 +01:00
Johannes Zellner
057b9e954e
Support btn-admin
2016-02-14 13:08:40 +01:00
Johannes Zellner
f79c00d9be
Special case admin group button in user profile
2016-02-14 12:51:58 +01:00
Johannes Zellner
5f96d862ab
Move default memory limit to constants.js
2016-02-14 12:13:49 +01:00
Johannes Zellner
79199bf023
Ensure we stash and restore the memoryLimit
2016-02-14 12:10:22 +01:00
girish@cloudron.io
beec4dddca
my -> our
2016-02-13 11:22:47 -08:00
Johannes Zellner
7c243cb219
Warn the user on group deletion if it still has members
2016-02-13 12:42:41 +01:00
Johannes Zellner
754e33af2a
do not allow removing the admin group
2016-02-13 12:42:41 +01:00
Johannes Zellner
63cab7d751
Allow non-empty groups to be deleted
2016-02-13 12:42:41 +01:00
Johannes Zellner
503714a10b
Special case admin group in group listing
2016-02-13 12:42:41 +01:00
girish@cloudron.io
ada5be6ae0
Add 0.9.0 changes
2016-02-13 03:27:21 -08:00
girish@cloudron.io
2112494b43
bump mysql image version
2016-02-13 03:26:29 -08:00
girish@cloudron.io
c0b45ad71e
update manifestformat to 2.3.0
2016-02-12 17:40:00 -08:00
girish@cloudron.io
5669d387af
check app state before exec
2016-02-12 12:32:58 -08:00
Johannes Zellner
957f20a9a8
Always store the memory limit in the app db record and adjust on update if needed
2016-02-11 18:14:16 +01:00
Johannes Zellner
71bfc1cbda
Ensure we never go below minimum memoryLimit
2016-02-11 18:13:42 +01:00
Johannes Zellner
489ea3a980
Add memoryLimit validation
2016-02-11 17:39:15 +01:00
Johannes Zellner
8c6f655628
Ensure we deal with byte values for memoryLimit
2016-02-11 17:29:00 +01:00
Johannes Zellner
75d22d7988
Introduce memoryLimit to apps routes
2016-02-11 17:00:21 +01:00
Johannes Zellner
a7bf043a9e
Improve memory limit ui
2016-02-11 16:31:11 +01:00
Johannes Zellner
402385faca
Remove unused linter options
2016-02-11 14:35:51 +01:00
Johannes Zellner
cdd82fa456
Add access restriction by group ui to app configure dialog
2016-02-11 14:14:51 +01:00
Johannes Zellner
2f7d99f3f6
Do not allow to remove the user from the admin group
2016-02-11 13:43:02 +01:00
Johannes Zellner
e4799991ec
Remove reference to non-existing css selector form-signin
2016-02-11 12:53:35 +01:00
Johannes Zellner
66167e74dc
Cleanup the user forms
2016-02-11 12:50:02 +01:00
Johannes Zellner
5643d49bef
Check if user deletion actually affected a row
2016-02-11 12:07:43 +01:00
Johannes Zellner
81ec26e45c
Ensure we can delete users which belong to a group
2016-02-11 12:02:35 +01:00
Johannes Zellner
72c5ebcc06
Add user api tests for adding/removing from admin group
2016-02-11 11:39:19 +01:00
Johannes Zellner
ecf7575dd3
UserError.NOT_ALLOWED is not unused
2016-02-11 11:32:48 +01:00
Johannes Zellner
98a7f44dc1
Check for last admin not required anymore
...
This is now prevented by the fact that an admin
cannot remove itself from the admin group. There
remains a race, just like before, where two admins could
trigger an admin group removal of the other admin in parallel
and the calls are in a state after admin flag check of
the used tokens. This can only be prevented with a db constraint
in the end.
2016-02-11 11:30:21 +01:00
Johannes Zellner
5fce9c8d1f
Do not allow an admin remove itself from admins group
2016-02-11 11:29:04 +01:00
Johannes Zellner
0ea89fccb8
Remove admin api route tests
2016-02-11 11:26:35 +01:00
Johannes Zellner
2c2922d725
Make tests succeed for now
...
We still have to bring back the sending of email when admins are changed
2016-02-11 11:26:35 +01:00
Johannes Zellner
fbeefeca7d
setGroups() has no result
2016-02-11 11:26:35 +01:00
Johannes Zellner
163ceef527
Remove the admin toggle route
2016-02-11 11:26:35 +01:00
Girish Ramakrishnan
db5cc1f694
dropping groupMembers table makes not much sense
2016-02-10 08:57:06 -08:00
Johannes Zellner
a3b9a7365c
No need to check for admin, the whole view is admin only
2016-02-10 17:35:40 +01:00
Johannes Zellner
213b2a2802
show groups of each user
2016-02-10 17:34:29 +01:00
Johannes Zellner
229d09bb9e
Give the group buttons some space
2016-02-10 17:26:51 +01:00
Johannes Zellner
f127680c8c
Fixup the group delete dialog title
2016-02-10 17:23:42 +01:00