summaryrefslogtreecommitdiffstats
path: root/lib/private/User/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* Move on with the next user if we found the user on one user back-endBjoern Schiessle2018-04-031-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* never translate login names when requiring with a user idArthur Schiwon2018-01-031-10/+0
| | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-061-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Prevent SQL error message in case of errorLukas Reschke2017-08-171-1/+4
| | | | | | | | | | | | | | `\OC\User\Database::createUser` can throw a PHP exception in case the UID is longer than permitted in the database. This is against it's PHPDocs and we should cast this to `false`, so that the regular error handling triggers in. The easiest way to reproduce is on MySQL: 1. Create user `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` in admin panel 2. Create user `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` in admin panel again 3. See SQL exception as error message Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Can not insert auto increment on oracleJoas Schilling2017-08-021-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* null users dont existRobin Appelman2017-07-131-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Create users in non default backends firstJoas Schilling2017-06-201-0/+13
| | | | | | | | | Most of the time, when people have multiple backends or add a custom backend, they want to create the users there and not in the default backend. But since that is registered first, users were always created there. Signed-off-by: Joas Schilling <coding@schilljs.com>
* UserManager can now count disabled usersArthur Schiwon2017-04-291-0/+22
| | | | | | Users page takes advantage of that Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use the new method in the old one to remove duplicate codeJoas Schilling2017-04-271-30/+28
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create a user for a specific backendJoas Schilling2017-04-261-0/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better validation of allowed user namesJoas Schilling2017-04-181-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Dont create a log entry on email loginJoas Schilling2017-04-071-2/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix sorting in the backendMorris Jobke2017-03-231-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-151-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Introduce an event for first time login based on the last login time stampThomas Müller2016-11-141-8/+0
| | | | | | | | | | | | Use firstLogin event to trigger creation of default calendar and default address book Delay login of admin user after setup so that firstLogin event can properly be processed for the admin Fixing tests ... Skeleton files are not copied over -> only 3 cache entries are remaining Use updateLastLoginTimestamp to properly setup lastLogin value for a test user
* Proper DI of configRoeland Jago Douma2016-10-281-12/+13
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-281-19/+116
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* Fix issues where some user settings cannot be loaded when the user id ↵Thomas Müller2016-08-291-0/+10
| | | | differs in case sensitivity - fixes #25684 (#25686)
* Unnecessary fully qualified namesJörn Friedrich Dreyer2016-08-141-3/+3
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-3/+3
|
* Add \OC\User\BackendRoeland Jago Douma2016-05-101-3/+3
| | | | | Since some apps (ldap et al) still depend on OC_User_Backend this seemed like the cleanest approach.
* Move \OC\User to PSR-4Roeland Jago Douma2016-05-101-0/+371