kondou
05084e03a0
Use !== and === in settings.
12 years ago
Björn Schießle
9b258929c6
allow to set quota to zero, issue #2696
12 years ago
Bart Visscher
83f161d3f9
Style cleanup settings
12 years ago
Lukas Reschke
fef73d96d1
CP fail
12 years ago
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 :)
12 years ago
Felix Moeller
30d7993e01
Checkstyle fixes: NoSpaceAfterComma
13 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
13 years ago
Bart Visscher
bb136b9adf
Make the settings ajax calls use the router
13 years ago
Thomas Müller
a570cc7b60
Update settings/ajax/setquota.php
...
respect coding style
13 years ago
Lukas Reschke
93579d88dc
CSRF checks
13 years ago
Georg Ehrke
6cf418f2fa
fix copy&paste fail and deny subadmins to set the default qouta
13 years ago
Georg Ehrke
2fc834230a
fix setqouta for subadmins
13 years ago
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
13 years ago
Lukas Reschke
777eb1d8b1
CSRF check in the settings
13 years ago
Georg Ehrke
3fb91a7411
restore require once command for non app files
13 years ago
Georg Ehrke
69ee0efc0b
remove the require_once lib base from all (or nearly all) files
13 years ago
Robin Appelman
797e921b9a
improve log browsing
13 years ago
Robin Appelman
0d3181b6d1
add configure option for default quota
13 years ago
Robin Appelman
4230e217af
new config widget for user quota
13 years ago
Robin Appelman
9f5bce81b0
add a default user quota
13 years ago
Robin Appelman
835d6a9b6e
save quota in human readable format (42 MB), should prevent some of the overflow related problems
13 years ago
Robin Appelman
ccd9b56609
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
13 years ago
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
13 years ago
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.
14 years ago
Robin Appelman
523b0966d2
add option to set user quota
14 years ago
Jan-Christoph Borchardt
4a5ee765cf
merged admin, help and settings to settings
14 years ago
Jakob Sack
bafd684eb6
Renaming classes :-)
14 years ago
Robin Appelman
83958ebd4b
add oc_user::getUser to get the user id of the loggedin user
14 years ago
Jakob Sack
79d8aa871a
User management works good enough for now. Need to do something else ...
14 years ago
Jakob Sack
afa2c4a2c3
User manager still not perfect but the aim is reachable!
14 years ago
Jakob Sack
c4287162c4
Some work on the fancy user management
14 years ago
Jakob Sack
f042e85d41
Beginning of some ajax features and an admin page for files
14 years ago