aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manageryemkareems2024-07-081-0/+43
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: limit and fixLimit removed. negative limit handled in controller. ↵yemkareems2024-07-081-15/+0
| | | | | | | | | | | | removed getUsersSortedByLastLogin from Manager and instead used the config in controller Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: removed default limit of 25. if null is given all users are fetched or ↵yemkareems2024-07-081-1/+1
| | | | | | | | | | | | if limit is given limit number of users are fetched Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: removed references to old disabled users code. refactored query as per ↵yemkareems2024-07-081-18/+3
| | | | | | | | | | | | getDisplayNames function. limit and offset added to query. default limit set to 25. Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: removed the params related to sortMode and order since it sorts by ↵yemkareems2024-07-081-2/+2
| | | | | | | | | | | | lastLogin 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-2/+1
| | | | | | | | | | | | and order are not required here Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: search and searchDisplayNames reverted to how it was initially as sort ↵yemkareems2024-07-081-68/+9
| | | | | | | | | | | | and order are not required here Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: rebased the branch with master and resolved conflictsyemkareems2024-07-083-28/+37
| | | | | | | | | | | | 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-083-36/+41
| | | | | | | | | | | | asc. enable email search by changing query Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: cs fix and psalm ci related changesyemkareems2024-07-082-3/+5
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: sort the user getDisplayNames based on lastLogin. Default sort order is ↵yemkareems2024-07-083-14/+25
| | | | | | | | | | | | lastLogin DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* | feat: cs fix run on the changed files and default order by last_login desc. ↵yemkareems2024-07-081-5/+5
| | | | | | | | | | | | Also last_login sort logic changed Signed-off-by: yemkareems <yemkareems@gmail.com>
* | feat: add ability to sort users by last_login, uid or displayName. one of ↵yemkareems2024-07-081-8/+68
|/ | | | | | these needs to be passed as orderBy and sort can be ASC or DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* Fix: Make out of office replacement nullableHamza Mahjoubi2024-07-031-4/+4
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* Feat: Allow users to select another user as their out-of-office replacementHamza Mahjoubi2024-07-012-1/+17
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* Merge pull request #40147 from ↵John Molakvoæ2024-05-311-2/+3
|\ | | | | | | summersab/refactor/OC-Server-getNotificationManager
| * chore: php lint fix importJohn Molakvoæ2024-05-301-1/+1
| | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Merge branch 'master' into refactor/OC-Server-getNotificationManagerJohn Molakvoæ2024-05-3013-350/+408
| |\ | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | Refactor `OC\Server::getNotificationManager`Andrew Summers2023-08-291-2/+3
| | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | Merge branch 'master' into refactor/OC-Server-getCsrfTokenManagerJohn Molakvoæ2024-05-3013-349/+407
|\ \ \ | | |/ | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | Merge pull request #45411 from ↵Daniel2024-05-291-0/+4
| |\ \ | | | | | | | | | | | | | | | | nextcloud/fix/auth/selective-token-activity-update fix(auth): Update authtoken activity selectively
| | * | fix(auth): Update authtoken activity selectivelyChristoph Wurst2024-05-211-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | chore: Add SPDX headerAndy Scherzinger2024-05-2413-300/+38
| | | | | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | | fix: Also search in email field for disabled usersCôme Chilliet2024-05-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | To match what is done for Database backend for enabled users Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | feat: Add back searching in disabled user listCôme Chilliet2024-05-231-2/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | 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>
| * | fix: delete user credentials stored in storages_credentials when user gets ↵yemkareems2024-05-161-1/+6
| | | | | | | | | | | | | | | | | | deleted Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | fix(User\Manager): Avoid future collisions with updater/audit logsJosh2024-05-061-0/+2
| | | | | | | | | | | | | | | Avoid future collisions for not yet created updater and audit log files (at least using default names). Signed-off-by: Josh <josh.t.richards@gmail.com>
| * | fix: Fix newly spotted psalm issues, add exhaustive typed magic properties ↵Côme Chilliet2024-04-301-19/+10
| | | | | | | | | | | | | | | | | | for LDAP classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(session): Do not update authtoken last_check for passwordlessChristoph Wurst2024-04-261-2/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-2/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Implement option to temporarily set the user sessionJulius Härtl2024-03-191-0/+9
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Merge pull request #40117 from summersab/refactor/OC-Server-getCommentsManagerJohn Molakvoæ2024-03-151-2/+3
| |\ \
| | * | Refactor `OC\Server::getCommentsManager`Andrew Summers2024-03-151-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | | Merge pull request #40138 from summersab/refactor/OC-Server-getHasherJohn Molakvoæ2024-03-151-3/+4
| |\ \ \
| | * | | Refactor `OC\Server::getHasher`Andrew Summers2024-03-151-3/+4
| | |/ / | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * / / Refactor `OC\Server::getTwoFactorAuthManager`Andrew Summers2024-03-151-1/+2
| |/ / | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | Merge pull request #43461 from nextcloud/fix/get-rid-of-getloggerF. E Noel Nfebe2024-02-141-1/+2
| |\ \ | | | | | | | | chore: Migrate away from OC::$server->getLogger
| | * | chore: Migrate away from OC::$server->getLoggerCôme Chilliet2024-02-131-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: replace `Account name` by `Login`John Molakvoæ2024-02-131-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | feat: rename users to account or personVincent Petry2024-02-132-8/+8
| |/ / | | | | | | | | | | | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some appsCôme Chilliet2024-02-052-3/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-301-0/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(auth): Fix logging in with email, password and login name mismatchChristoph Wurst2024-01-191-13/+24
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | fix(session): Avoid two useless authtoken DB queries for every anonymous requestGit'Fellow2024-01-171-2/+5
| | | | | | | | | | | | | | | | | | Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Always catch OCP versions of authentication exceptionsCôme Chilliet2024-01-111-2/+2
| | | | | | | | | | | | | | | | | | And always throw OC versions for BC Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Merge pull request #41927 from nextcloud/perf/login-with-email-tokenJulius Härtl2023-12-051-2/+11
| |\ \
| | * | perf: Use more performant way to obtain and check the email as a login name ↵Julius Härtl2023-11-301-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | with token login Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | fix(dav): Make current ooo info time-dependentChristoph Wurst2023-12-051-0/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | * If there is an out of office absence info and it happens now -> return data * Else: return no data Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-281-19/+31
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>