Lukas Reschke
fef73d96d1
CP fail
2013-01-14 19:51:16 +01:00
Lukas Reschke
31b1a73e1f
Check if user is admin - bool
...
There was no "isAdminUser()" function which returned bool. This is
irritiating as there were a loooooooot of places in the code which
checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not
use a function for this?
(Especially if you consider that we might change the group name in the
future, which would lead to problems then)
Additionally, @Raydiation needed such a method for his AppFramework :)
2013-01-14 19:45:17 +01:00
Felix Moeller
30d7993e01
Checkstyle fixes: NoSpaceAfterComma
2012-11-04 11:10:46 +01:00
Bart Visscher
bb136b9adf
Make the settings ajax calls use the router
2012-10-02 18:00:23 +02:00
Thomas Müller
a570cc7b60
Update settings/ajax/setquota.php
...
respect coding style
2012-09-04 12:36:21 +03:00
Georg Ehrke
6cf418f2fa
fix copy&paste fail and deny subadmins to set the default qouta
2012-07-19 18:00:33 +02:00
Georg Ehrke
2fc834230a
fix setqouta for subadmins
2012-07-19 16:37:41 +02:00
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
2012-07-09 16:51:16 +02:00
Lukas Reschke
777eb1d8b1
CSRF check in the settings
2012-07-07 15:27:04 +02:00
Robin Appelman
797e921b9a
improve log browsing
2012-02-26 03:10:29 +01:00
Robin Appelman
0d3181b6d1
add configure option for default quota
2012-02-24 23:54:38 +01:00
Robin Appelman
4230e217af
new config widget for user quota
2012-02-24 23:54:38 +01:00
Robin Appelman
9f5bce81b0
add a default user quota
2012-02-24 23:54:38 +01:00
Robin Appelman
835d6a9b6e
save quota in human readable format (42 MB), should prevent some of the overflow related problems
2011-12-14 01:16:14 +01:00
Robin Appelman
b41ca8bacb
after editing a user quota, set the value of the quota field to how the server parsed the input, not the user input
...
this way the user can see when an invalid input is given
2011-12-11 23:23:59 +01:00
Bart Visscher
17e631bc5e
Use OC_JSON for json responses
...
Create OC_JSON class, for single point of creating json responses.
No real logic change, this just cleans up the code a bit.
2011-09-25 22:19:28 +02:00
Robin Appelman
523b0966d2
add option to set user quota
2011-08-15 21:09:13 +02:00