summaryrefslogtreecommitdiffstats
path: root/lib/private/user
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11229 from kofemann/for-upstreamLukas Reschke2014-09-241-9/+8
|\ | | | | user/backed: use pow of two for backed action constants
| * user/backed: use pow of two for backed action constantsTigran Mkrtchyan2014-09-231-9/+8
| | | | | | | | | | | | | | | | the current implementation limits number of possible backed actions to 8 as it uses pow of 16 for constants. This change introduces pow of two and allows up-to 32 actions to be defined. The old values are preserved for backward compatibility.
* | Do only follow HTTP and HTTPS redirectsLukas Reschke2014-09-221-0/+2
|/ | | | | | | | We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server) Get final redirect manually using get_headers() Migrate to HTTPHelper class and add unit tests
* Use proper RNG generatorLukas Reschke2014-09-031-1/+1
| | | | | OC_Util::generateRandomBytes() only returns lowercase alphanumeric values. We should use the new RNG which has a broader characterset.
* Use public api for getting l10nRobin Appelman2014-08-311-1/+1
|
* retrieve local users, groups and group members in a sorted wayArthur Schiwon2014-08-291-2/+2
|
* kill OC::$sessionJörn Friedrich Dreyer2014-08-291-3/+41
| | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
* Fix unit testLukas Reschke2014-08-151-1/+4
|
* Move authentication failed logging to checkPasswordLukas Reschke2014-08-151-0/+2
| | | | Fixes https://github.com/owncloud/core/issues/10366
* Merge pull request #10144 from owncloud/issue/9972Thomas Müller2014-08-061-1/+1
|\ | | | | Issue/9972 Fix issues with group and username `0`
| * Fix isLoggedIn() check for user '0'Joas Schilling2014-08-041-1/+1
| | | | | | | | Fix #9972
* | - adding default value for $recoveryPasswordThomas Müller2014-07-241-1/+1
| | | | | | | | - set password correctly in lost password
* | Add public interfaces for User, UserManager and UserSessionRobin Appelman2014-07-143-3/+6
| |
* | loop over usernames, not passwordsArthur Schiwon2014-06-301-1/+1
| |
* | extend Dummy user and group implementation to pass testsArthur Schiwon2014-06-251-1/+10
| |
* | search term for users and groups may occur anywhere in the name or ↵Arthur Schiwon2014-06-231-2/+2
|/ | | | displayname, not just in the beginning
* drop superflous statement in phpdocArthur Schiwon2014-05-261-2/+0
|
* add preRememberedLogin hook and document this and postRememberedLogin in ↵Arthur Schiwon2014-05-261-1/+4
| | | | class descripttion. Also fixes documentation of postLogin hook
* increase scrutinizer happyiness by removing minor/informational issuesArthur Schiwon2014-05-231-1/+1
|
* clean up tryRememberLogin and save the timestamp of users last loginArthur Schiwon2014-05-213-0/+65
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-196-40/+40
| | | | * test case added to avoid adding them later
* Merge pull request #7363 from owncloud/optimize-startup-queriesMorris Jobke2014-05-191-5/+7
|\ | | | | Optimize some queries that are always executed when loading base.php
| * Merge branch 'master' into optimize-startup-queriesBart Visscher2014-05-072-65/+69
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files_sharing/lib/sharedstorage.php tests/lib/group/manager.php removed hasFilesSharedWith from lib/public/share.php and sharedstorage.php to fix merge
| * | Delay fetching the display name until it is requestedBart Visscher2014-02-211-5/+7
| | |
* | | Fix Scrutinizer errorsRobin McCorkell2014-05-131-3/+3
| | |
* | | Use OC_User_Interface instead of OC_User_BackendRobin McCorkell2014-05-132-6/+6
| | |
* | | Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-134-35/+31
| | |
* | | Squash 'a | b' into 'a|b', in /libRobin McCorkell2014-05-134-4/+4
| | |
* | | Fix @return array PHPDocs, in /libRobin McCorkell2014-05-134-7/+7
| | |
* | | Replace @returns with @return, in /libRobin McCorkell2014-05-135-19/+19
| | |
* | | Use strict type comparisonLukas Reschke2014-05-071-2/+2
| |/ |/| | | We certainly don't want to have type juggling on that.
* | Group Database backend must not gather user details itself but ask userArthur Schiwon2014-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backends. This is a port to master from PR #7745 remove OC_GROUP_BACKEND_GET_DISPLAYNAME option for group backends Conflicts: lib/private/group/backend.php LDAP: getDisplayNamesInGroup is not an option for group backends anymore Conflicts: apps/user_ldap/group_ldap.php apps/user_ldap/group_proxy.php clean up group backends Conflicts: lib/private/group/database.php remove now unnecessary test implement getDisplayNames in group manager adjust user manager tests test for group manager's displayNamesInGroup trim must not be used in empty in PHP < 5.5 keep the constant to not provoke PHP warnings Conflicts: lib/private/group/backend.php
* | Merge pull request #7617 from nishiki/cache_userThomas Müller2014-04-231-43/+60
|\ \ | | | | | | Cache user
| * | remove cache all useradrien2014-03-211-70/+22
| | |
| * | fix remove cache when deleteadrien2014-03-111-6/+3
| | |
| * | remove static variable, add limit and offsetadrien2014-03-111-29/+51
| | |
| * | fix cache when remove an useradrien2014-03-101-1/+8
| | |
| * | fix undifined uidnishiki2014-03-091-1/+2
| | |
| * | add query result (boolean) for update or deletenishiki2014-03-091-9/+6
| | |
| * | minor clean codenishiki2014-03-091-1/+1
| | |
| * | fix undefined in loadUsersadrien2014-03-071-8/+10
| | |
| * | update the cache when add useradrien2014-03-061-13/+16
| | |
| * | upgrade the cache useradrien2014-03-061-14/+38
| | |
| * | add cache for single usersadrien2014-03-061-33/+45
| |/
* | Merge pull request #8205 from owncloud/fix-8202Morris Jobke2014-04-171-1/+1
|\ \ | | | | | | Add one more LOWER.
| * | remove unneeded LOWER. Fixes #8202Victor Dubiniuk2014-04-141-1/+1
| | |
* | | Remove limit and offset manipulation when getting users or groups, because ↵Arthur Schiwon2014-04-151-14/+0
|/ / | | | | | | it does not work when more than one user or group backend. Fixing it would be too costly performancewise, so we switch back to the model used in OC 5: limit and offset are effective per backend, and not a general constraint
* / Make hardcoded exception messages translatableVolkan Gezer2014-04-081-5/+6
|/
* Remove `session_id_regenerate` from hereLukas Reschke2014-02-211-1/+0
| | | Jenkins somewhat complains that there are already sent headers.
* Merge pull request #6519 from nhirokinet/masterLukas Reschke2014-02-201-0/+1
|\ | | | | Security Update: session fixation