aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manageryemkareems2024-07-081-0/+11
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: limit and fixLimit removed. negative limit handled in controller. ↵yemkareems2024-07-081-5/+0
| | | | | | removed getUsersSortedByLastLogin from Manager and instead used the config in controller Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed the params related to sortMode and order since it sorts by ↵yemkareems2024-07-081-1/+1
| | | | | | lastLogin Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: since added to doc blocksyemkareems2024-07-081-0/+1
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: doc blocks addedyemkareems2024-07-081-0/+3
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: search and searchDisplayNames reverted to how it was initially as sort ↵yemkareems2024-07-081-1/+1
| | | | | | and order are not required here Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: rebased the branch with master and resolved conflictsyemkareems2024-07-081-0/+1
| | | | | | fix: added a new endpoint users/recent and getting users based on last login info in the same. Reverted old code that was breaking LDAP Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: change orderBy and sort to sortMode and sortOrder. default it to uid ↵yemkareems2024-07-081-1/+1
| | | | | | asc. enable email search by changing query Signed-off-by: yemkareems <yemkareems@gmail.com>
* feat: add ability to sort users by last_login, uid or displayName. one of ↵yemkareems2024-07-081-1/+1
| | | | | | these needs to be passed as orderBy and sort can be ASC or DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-26/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: Add back searching in disabled user listCôme Chilliet2024-05-231-1/+2
| | | | | | | | When disabled users where moved to their own endpoint we overlooked search, so adding it back. The search is done case-insensitive in uid and display name. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add endpoint for getting disabled user listCôme Chilliet2023-10-091-0/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a const for the max user password lengthJoas Schilling2023-01-041-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate if the user part of a "cloud id" can even be a valid user idJoas Schilling2022-12-091-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make DisplayNameCache return null if user doesn't existsCarl Schwan2022-08-161-4/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge branch 'master' into display-name-cache-publicCarl Schwan2022-08-151-4/+4
|\ | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Fix psalm issues related to the user backendCarl Schwan2022-05-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | - Reflect the actual return value returned by the implementation in the the interface. E.g. IUser|bool -> IUser|false - Remove $hasLoggedIn parameter from private countUser implementation. Replace the two call with the equivalent countSeenUser - getBackend is nuallable, add this to the interface - Use backend interface to make psalm happy about call to undefined methods. Also helps with getting rid at some point of the old implementActions Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | expose displayname cache trough a public interfaceRobin Appelman2022-05-181-0/+11
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-091-0/+2
| | | | | | | - specific getters and setters on IUser and implementation - new notify_email field in provisioning API Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-171-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Type the \OCP\IUserManager::callForSeenUsers closure with PsalmChristoph Wurst2020-10-281-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Type the \OCP\IUserManager::callForAllUsers closure with PsalmChristoph Wurst2020-10-281-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove wrongly annotated package namesJulius Härtl2020-08-261-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-6/+6
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix typo in IUserManager::createUser docChristoph Wurst2018-08-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* more consistent namingArthur Schiwon2018-04-051-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-051-0/+3
| | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-061-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* UserManager can now count disabled usersArthur Schiwon2017-04-291-0/+8
| | | | | | 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-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create a user for a specific backendJoas Schilling2017-04-261-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-151-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Proper DI of configRoeland Jago Douma2016-10-281-3/+2
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-281-0/+15
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-0/+152