aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore(files_sharing): refactor mail handlingskjnldsv2024-07-121-24/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): implement IShareProviderWithNotification and refactor ↵skjnldsv2024-07-126-162/+177
| | | | | | sendMailNotification Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-07-1218-0/+18
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* docs: correct return type for findAppInDirectoriesDaniel Kesselberg2024-07-111-2/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #46448 from ↵Andy Scherzinger2024-07-113-5/+24
|\ | | | | | | | | nextcloud/bugfix/noid/fix-missing-dashboard-widget-icon fix(dashboard): Unify widget icon colors and document it's behaviour
| * fix(dashboard): Document expected icon behaviourJoas Schilling2024-07-113-5/+24
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | feat: Add new forbidden filename options to CapabilitiesFerdinand Thiessen2024-07-113-3/+12
|/ | | | | | | | | Allow clients to access the new filename validation options and make frontend name validation possible. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #46398 from nextcloud/fix/46165/token-raceArthur Schiwon2024-07-113-46/+19
|\ | | | | fix(Session): avoid race conditions on clustered setups
| * fix(Session): avoid race conditions on clustered setupsArthur Schiwon2024-07-103-46/+19
| | | | | | | | | | | | | | | | - re-stablishes old behaviour with cache to return null instead of throwing an InvalidTokenException when the token is cached as non-existing - token invalidation and re-generation are bundled in a DB transaction now Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #46371 from nextcloud/feat/filename-validatorFerdinand Thiessen2024-07-105-0/+294
|\ \ | |/ |/| feat: Add `IFilenameValidator` to have one consistent place for filename validation
| * feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-095-0/+294
| | | | | | | | | | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #46320 from nextcloud/perf/php-session-cache-limiterJoas Schilling2024-07-101-0/+1
|\ \ | | | | | | perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
| * | perf: Set session.cache_limiter at runtime to avoid clients caching static ↵Julius Härtl2024-07-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assets served by PHP By default there is a Pragma: no-cache header set due to the default value `no-cache` of session.cache-limiter, which will cause Chrome and iOS to not cache even with a different Cache-Control header set on the response. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-07-102-0/+46
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | chore: Make active apps initial state consistent with OCS APIFerdinand Thiessen2024-07-101-1/+1
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #46004 from nextcloud/perf/noid/log-slow-capabilitiesFerdinand Thiessen2024-07-091-0/+26
|\ \ \ | | | | | | | | perf(capabilities): Log capabilities providers that are slow
| * | | perf(capabilities): Log capabilities providers that are slowJoas Schilling2024-06-211-0/+26
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #46123 from nextcloud/feat/user-password-hashPytal2024-07-097-1/+110
|\ \ \ \ | |_|_|/ |/| | | feat: Allow getting/setting the password hash of a user
| * | | feat: Validate password hashChristopher Ng2024-07-081-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | perf: Return cached password hashChristopher Ng2024-07-081-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | docs: Add info for the password hashesChristopher Ng2024-07-082-0/+8
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | feat: Allow getting/setting the password hash of a userChristopher Ng2024-07-083-0/+37
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | feat: Implement IPasswordHashBackend in database user backendChristopher Ng2024-07-081-1/+31
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | feat: Add IPasswordHashBackendChristopher Ng2024-07-083-0/+27
| | |/ | |/| | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #46317 from nextcloud/s3InsertTimeoutGit'Fellow2024-07-091-29/+37
|\ \ \ | | | | | | | | fix(s3): Don't wait indefinitely for S3 to return
| * | | fix(s3): Don't wait indefinitely for S3 to returnGit'Fellow2024-07-051-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: use AwsException Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Throw on connection failure Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Wrap all in try catch block Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: use RequestTimeout error message Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> log: use OCP Server class Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Handle connect timeout only Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Handle errors more generically Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | Merge pull request #45249 from ↵yemkareems2024-07-092-0/+54
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/feature/add-ability-to-sort-by-last-login feat: add ability to sort by last login
| * | | | fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manageryemkareems2024-07-084-56/+54
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: doc block correctedyemkareems2024-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: return type doc block added as per psalmyemkareems2024-07-082-7/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: return type doc block added as per psalmyemkareems2024-07-082-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: return type doc block added as per psalmyemkareems2024-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: second join and where conditions added only when search param is availableyemkareems2024-07-081-11/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: query refactored to support both the search by email and sort by loginyemkareems2024-07-082-12/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: limit and fixLimit removed. negative limit handled in controller. ↵yemkareems2024-07-083-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-35/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-084-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lastLogin Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: since added to doc blocksyemkareems2024-07-082-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: doc blocks addedyemkareems2024-07-084-0/+22
| | | | | | | | | | | | | | | | | | | | 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-082-69/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and order are not required here Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: rebased the branch with master and resolved conflictsyemkareems2024-07-088-34/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-086-43/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asc. enable email search by changing query Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: cs fix and psalm ci related changesyemkareems2024-07-083-4/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * | | | fix: sort the user getDisplayNames based on lastLogin. Default sort order is ↵yemkareems2024-07-084-16/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-11/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | these needs to be passed as orderBy and sort can be ASC or DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2024-07-094-0/+94
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #46115 from nextcloud/enh/add-a-universal-debug-option-to-occCôme Chilliet2024-07-084-0/+33
|\ \ \ \ | |/ / / |/| | | feat(occ): Add a --debug option to output all log levels to the output