Michael Gapczynski
2f1a990cad
Add search, limit, and offset parameters to getUsers() and getGroups()
13 years ago
Tom Needham
0836366d87
Methods to disable and enable users
13 years ago
Arthur Schiwon
fdcbc23ed6
define an interface for the User Backend
13 years ago
Robin Appelman
e49666d36b
add option to clear user backends
13 years ago
Robin Appelman
33b8de91ea
allow a more flexible way of using user backends
13 years ago
Michael Gapczynski
72ebc2a32a
Delete old session files, suggested by Torben Nehmer, see bug oc-736
13 years ago
Bjoern Schiessle
82a57f0ce3
revert performance improvements in userExists() because it breaks new user creation
13 years ago
Lukas Reschke
b46d3019ca
Uninitialized variable
13 years ago
Lukas Reschke
ec7bb86b28
Fixes a problem with the user creation ("User already existed" even if the user don't exists.) Thanks to Phil Reinhardt for pointing this out.
13 years ago
Bjoern Schiessle
5bf050b13b
moved performance improvement from isLoggedIn() to userExists() to avoid webdav problems
13 years ago
Bart Visscher
4b6f6291c5
Remember result of OC_User::isLoggedIn, can be very expensive to check
13 years ago
Arthur Schiwon
dfc90021ca
load authentication apps before checking wether user exists. fixes oc-910
13 years ago
Michael Gapczynski
993ebc4c90
Verify user exists when checking if logged in, fix for bug oc-863
13 years ago
Sam Tuke
7203f6951e
Extended class comment
13 years ago
Frank Karlitschek
ad6562d14f
sort users and groups. fixes oc-779
13 years ago
Frank Karlitschek
a945fa10a6
update copyright
13 years ago
Robin Appelman
5fe7200a7f
update documentation of oc_user::checkpassword
13 years ago
Robin Appelman
1a2ab2ef68
prevent user creation with empty password
13 years ago
Bart Visscher
ac2e0cd6e4
Implement default functions in OC_User backend
...
Simplifies calling these functions, and makes code simpler
functions:
deleteUser
getUsers
userExists
13 years ago
Michael Gapczynski
e0db22cc07
Provide feedback when user creation fails
13 years ago
Frank Karlitschek
e2fb094693
some more porting
13 years ago
Arthur Schiwon
d3ce2cacd6
OC_User: handle success properly
13 years ago
Arthur Schiwon
8a69116e94
OC_User: don't say password changed when it is not true
13 years ago
Frank Karlitschek
f0701f75a9
tiny typo
13 years ago
Florian Preinstorfer
b86f2069ff
Fix a session fixation vulnerability
...
- regenerate the session for every successful login
- properly destroy a session
Further information can be found on:
https://en.wikipedia.org/wiki/session_fixation
13 years ago
Robin Appelman
e039015ca1
prevent errors when a user backends gives an invalid result
13 years ago
Robin Appelman
b3a974d8bb
only trigger hooks for the default filesystem view
13 years ago
Robin Appelman
f1cbb9effc
initial integration of encryption
13 years ago
Michael Gapczynski
b6d66c4727
Remove the keys in preferences when a user is deleted - Thanks rogerc
13 years ago
Georg Ehrke
534b6f3a09
Fix whitespace username
13 years ago
Florian Pritz
c7d4e72341
set cookie secure if forcessl is enabled
...
This also moves session_start in lib/base.php down a bit because we need
OC::$SERVERROOT to get the config settings.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
14 years ago
Bartek Przybylski
94696ea7de
remember changed not to store password in cookie
14 years ago
Bartek Przybylski
68e7666293
Changed behaviour of remember checkbox
14 years ago
Robin Appelman
ee0954b236
fix issue with login being case insensitve
14 years ago
Frank Karlitschek
aa582ec43a
more work on encryption
14 years ago
Robin Appelman
1f1498ceca
remove Log completely
14 years ago
Jakob Sack
bafd684eb6
Renaming classes :-)
14 years ago
Jakob Sack
e69079f935
Further improvements
14 years ago
Jakob Sack
f5c0dbd947
Use autoload
14 years ago
Bartek Przybylski
c5776fdae4
remember login added
14 years ago
Robin Appelman
8b76590f5d
fix creating users
14 years ago
Dominik Schmidt
3b2fcd356f
Use new user backend API
14 years ago
Robin Appelman
83958ebd4b
add oc_user::getUser to get the user id of the loggedin user
14 years ago
Robin Appelman
ee0f1490e1
Multiply changes to user system
...
keeping tracked of the logged in user is no longer done by the active backend but by oc_user directly instead
multiply backends can be active at the same time, allowing alternative authentication procedures like openid or tokens to be used next to the regular user system
14 years ago
Jakob Sack
da30671ec4
More error checking in user management
14 years ago
Jakob Sack
f22c05deab
Check for existance of group- and usernames, don't mix OC_USER and OC_GROUP!
14 years ago
Jakob Sack
b37fb9142f
Added tons of Hooks to OC_USER and OC_GROUP
14 years ago
Jakob Sack
1fe5f5a2df
Better documentation for OC_USER
14 years ago
Jakob Sack
c4287162c4
Some work on the fancy user management
14 years ago
Jakob Sack
8465f76e7e
Use OC_CONFIG where possible
14 years ago