aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-092-0/+251
| | | | | | | | 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 #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>
* | fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manageryemkareems2024-07-082-45/+43
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: return type doc block added as per psalmyemkareems2024-07-081-6/+7
| | | | | | | | 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: 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-081-11/+13
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: limit and fixLimit removed. negative limit handled in controller. ↵yemkareems2024-07-082-25/+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-082-3/+12
| | | | | | | | | | | | 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-082-34/+13
| | | | | | | | | | | | 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-082-19/+13
| | | | | | | | | | | | lastLogin Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: doc blocks addedyemkareems2024-07-082-0/+11
| | | | | | | | 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-085-30/+82
| | | | | | | | | | | | 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-084-38/+43
| | | | | | | | | | | | 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-082-10/+70
|/ | | | | | these needs to be passed as orderBy and sort can be ASC or DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore: More explicit splitHash typingChristopher Ng2024-07-041-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Add method to validate an IHasher hashChristopher Ng2024-07-041-0/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #45353 from nextcloud/feat/excalidraw-file-supportJulius Härtl2024-07-041-23/+97
|\ | | | | feat: support excalidraw file
| * feat: support excalidraw fileHoang Pham2024-07-041-23/+97
| | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* | Merge pull request #46276 from nextcloud/3rdparty/patch-mp3infoDaniel2024-07-041-4/+4
|\ \ | | | | | | chore(mp3info): apply upstream patch for invalid array access
| * | feat: log file id and path when extracting the mp3 cover failsDaniel Kesselberg2024-07-041-4/+4
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #46251 from nextcloud/feat/taskprocessing-more-tasktypesJoas Schilling2024-07-041-0/+3
|\ \ | | | | | | feat(TaskProcessing): Add more task types
| * | feat(TaskProcessing): Add more task typesMarcel Klehr2024-07-041-0/+3
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Merge pull request #46286 from nextcloud/fix/tp/sync-bg-job-statusMarcel Klehr2024-07-042-0/+13
|\ \ \ | |_|/ |/| | fix(TaskProcessing): Set task status to running when processing via ISynchronousProvider
| * | fix(TaskProcessing): Set task status to running when processing via ↵Marcel Klehr2024-07-042-0/+13
| | | | | | | | | | | | | | | | | | ISynchronousProvider Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Merge pull request #46174 from nextcloud/fix/integrity-checkJohn Molakvoæ2024-07-041-5/+10
|\ \ \ | |/ / |/| | fix(IntegrityCheck): Ensure the check is run if no results are available
| * | fix(IntegrityCheck): Ensure the check is run if no results are availableFerdinand Thiessen2024-07-031-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | If there are no cached results the current implementation was also returning an empty array, but this was the same as when there was a successful run. So to distinguish this we return `null` if there are *no* results. In this case we need to rerun the integrity checker. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #46273 from nextcloud/fix/make-ooo-replacement-nullableHamza2024-07-031-4/+4
|\ \ \ | |/ / |/| | Fix: Make out of office replacement nullable
| * | Fix: Make out of office replacement nullableHamza Mahjoubi2024-07-031-4/+4
| | | | | | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | | Merge pull request #46194 from nextcloud/schema-export-cmndRobin Appelman2024-07-022-3/+7
|\ \ \ | |/ / |/| | feat: add commands for exporting current and expected database schema
| * | feat: add commands for exporting current and expected database schemaRobin Appelman2024-07-022-3/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #45766 from nextcloud/feat/ooo-replacementDaniel2024-07-012-1/+17
|\ \ \ | | | | | | | | Feat: Allow users to select another user as their out-of-office replacement
| * | | 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 #46169 from nextcloud/enh/support-profiler-in-occRobin Appelman2024-07-011-4/+2
|\ \ \ \ | | | | | | | | | | Support profiler in occ commands
| * | | | fix(profiler): Remove bogus profiler event startCôme Chilliet2024-06-271-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes profiler event graph by removing an event start which had no matching end() call. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | feat(TaskProcessingApi): Add endpoint for getting the next taskprovokateurin2024-07-013-24/+53
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | feat(AppFramework): Add ExAppRequired attributeprovokateurin2024-07-012-1/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | fix(taskprocessing): in removeSuperfluousArrayKeys, don't try to keep ↵Julien Veyssier2024-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | input/output keys that are not in the task values Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | | fix(taskprocessing): input validation was dropping some optional inputsJulien Veyssier2024-07-011-1/+1
| |/ / / |/| | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | feat: reduce available languages per config value "reduce_to_languages"Misha M.-Kupriyanov2024-07-011-0/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: restrict to en, de, es, fr, it' languages ./occ config:system:set reduce_to_languages 0 --value en ./occ config:system:set reduce_to_languages 1 --value de ./occ config:system:set reduce_to_languages 2 --value es ./occ config:system:set reduce_to_languages 3 --value fr ./occ config:system:set reduce_to_languages 4 --value it Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
* | | Merge pull request #46133 from ↵Joas Schilling2024-06-272-4/+14
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fix-missing-protocol-on-remotes fix(federation): Fix missing protocol on CloudID remote
| * | | fix(federation): Fix missing protocol on CloudID remoteJoas Schilling2024-06-272-4/+14
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #45951 from nextcloud/chore/comments-event-legacyArthur Schiwon2024-06-271-0/+3
|\ \ \ \ | | | | | | | | | | chore: Move comments event handler to use proper event dispatcher