aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* test: fix testsJana Peper4 days1-0/+5
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix: revive always storing lowercased email addressesRichard Steinmetz13 days2-0/+34
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: unbloc ffmpeg on some broken videosbackport/53000/stable31Arthur Schiwon2025-06-123-4/+25
| | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* test: add test that object store folder copy preserves folder sizebackport/52242/stable31Robin Appelman2025-06-021-0/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(UserMountCache): Emit events for added, removed and updated mountsbackport/50157/stable31provokateurin2025-05-251-17/+68
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* test: Speed up comments testbackport/52932/stable31Joas Schilling2025-05-211-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add an autoload.php file for tests relying on core classbackport/52951/stable31Côme Chilliet2025-05-192-1/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: log requests exceeding the rate limitingbackport/52798/stable31Daniel Kesselberg2025-05-161-5/+18
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #52823 from nextcloud/backport/52775/stable31Kate2025-05-161-0/+11
|\
| * test: add test for nested cache jail unjailedrootRobin Appelman2025-05-151-0/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: check if properties exist before using thembackport/52778/stable31SebastianKrupinski2025-05-151-176/+804
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* perf(Share20): Add interface to query all shares in a folder without ↵backport/52634/stable31provokateurin2025-05-121-15/+8
| | | | | | filtering by user Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(blurhash): Use preview API to generate the previewsbackport/52360/stable31Louis Chemineau2025-05-061-22/+10
| | | | | | | This allows to benefit from all the checks done by the preview API. This also use the newly introduced `cacheResult` argument to limit disk usage. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(loginflow): Fix type error when password could not be decryptedJoas Schilling2025-05-051-2/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(navigation): Fix default app entry registered as closureJoas Schilling2025-04-281-3/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(occ): Fix autocompletion of config:app:* commandsbackport/52429/stable31Joas Schilling2025-04-253-115/+68
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor: Thumbnail Generator logging and testsbackport/52299/stable31nfebe2025-04-242-46/+30
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(federation): allows equal signs in federation idbackport/51994/stable31Maxence Lange2025-04-231-0/+4
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #52233 from nextcloud/backport/52223/stable31Ferdinand Thiessen2025-04-231-4/+4
|\ | | | | [stable31] feat(security): add configurable IPv6 subnet for BFP and throttling
| * feat(ip): add configurable IPv6 subnet for BFP and throttlingbackport/52223/stable31Benjamin Gaussorgues2025-04-171-4/+4
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | feat: add logging to preview generationbackport/52221/stable31nfebe2025-04-221-1/+6
| | | | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | Merge pull request #52256 from nextcloud/backport/52224/stable31Joas Schilling2025-04-211-0/+29
|\ \ | | | | | | [stable31] fix(usermanager): Don't throw when checking if a too long user id is an existing user
| * | fix(usermanager): Don't throw when checking if a too long user id is an ↵backport/52224/stable31Joas Schilling2025-04-171-0/+29
| | | | | | | | | | | | | | | | | | existing user Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(mail): use matching text color for primary elementsbackport/52240/stable31Ferdinand Thiessen2025-04-171-12/+12
|/ / | | | | | | | | | | | | when we use the default primary as background color we have to use the default primary text color as well. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / fix: Transfer ownership with S3 as primarybackport/51020/stable31Louis Chemineau2025-04-161-0/+18
|/ | | | | | | | | | | | | | | | | | | | | | When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error: `SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-45b963397aa40d4a0063e0d85e4fe7a1' for key 'fs_storage_path_hash'` The `--move` option moves the entire home folder from one account to another. The error means that the move failed because the destination folder already exist in `oc_filecache`. - With S3 as primary storage, folders only exists as entries in `oc_filecache`. - With S3 as primary storage, `moveFromStorage(...)` only moves the cache entry, as nothing needs to be moved on disk. This cache move does not delete potentially pre-existing destination folder. - With Local storage, `moveFromStorage(...)` calls `rename(...)` which delete pre-existing folder. - `transfer(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/apps/files/lib/Service/OwnershipTransferService.php#L112 - `oneTimeUserSetup(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/SetupManager.php#L261-L262 - `mkdir(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L91-L135 - `moveFromStorage(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L635-L636 Delete pre-existing folder in `moveFromStorage(...)` Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #52068 from nextcloud/backport/52066/stable31Joas Schilling2025-04-112-14/+67
|\ | | | | [stable31] fix(federation): Don't load the addressbook when resolving a cloud ID
| * fix(federation): Fix returning "no display name" after cache resultbackport/52066/stable31Joas Schilling2025-04-111-0/+28
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(federation): Don't load the addressbook when resolving a cloud IDJoas Schilling2025-04-112-14/+39
| | | | | | | | | | | | Instead we delay the lookup of the display name until it is actually used Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52078 from nextcloud/backport/52075/stable31John Molakvoæ2025-04-111-1/+1
|\ \ | |/ |/|
| * fix(files_sharing): fix share creation error handlingskjnldsv2025-04-091-1/+1
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(taskprocessing): use the event for AppAPI to get list of AI providersbackport/52050/stable31Oleksander Piskun2025-04-111-1/+319
|/ | | | Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
* Revert "refactor(RichObjectStrings): Only log error if key or value is not ↵revert/52038Joas Schilling2025-04-091-0/+5
| | | | | | | | string in validator" This reverts commit 23a61a2b42ce9b48ced31d05dba3dff281d37cf7. Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor(RichObjectStrings): Only log error if key or value is not string in ↵backport/52035/stable31provokateurin2025-04-081-5/+0
| | | | | | validator Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(ip): use larger IPv6 range by defaultBenjamin Gaussorgues2025-04-081-5/+5
| | | | | | | Some providers assign `/48` IPv6 blocks instead of `/64` so it sounds safer to use this mask by default. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: ensure enabled themes are set on the templateFerdinand Thiessen2025-04-041-0/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(session): Only mark sessions of permanent tokens as app passwordsbackport/51905/stable31Christoph Wurst2025-04-031-0/+40
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(oauth2): retain support for legacy ownCloud clientsbackport/50858/stable31Richard Steinmetz2025-04-021-2/+8
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* perf(cron): Delay (re)checking timed jobsbackport/50768/stable31Christoph Wurst2025-03-313-17/+52
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* test: Adapt tests to properly use valid email addressesbackport/51707/stable31Julius Knorr2025-03-281-25/+25
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix(IFilenameValidator): correctly handle case insensitivitybackport/51611/stable31Ferdinand Thiessen2025-03-281-1/+91
| | | | | | | | - forbidden names and forbidden base names are case **insensitive** so we need to check all lowercase here. - add test that config value is also read case insensitive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Do not build encrypted password if there is nonebackport/51130/stable31Julius Knorr2025-03-281-0/+40
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix: add event status and participant statusbackport/51501/stable31SebastianKrupinski2025-03-283-0/+7
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(database): Cast users count to integerbackport/51490/stable31Git'Fellow2025-03-251-0/+13
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* test: fix CI when running Karma testsFerdinand Thiessen2025-03-201-3/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cardav): only show useres from enabled addressBooks in contacts menubackport/51380/stable31Hamza Mahjoubi2025-03-191-18/+64
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* fix(RichObjectStrings): Make exception messages for invalid parameters more ↵backport/51442/stable31provokateurin2025-03-171-2/+2
| | | | | | useful for debugging Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(mime-types): adjust compiled mime types and signbackport/51434/stable31Ferdinand Thiessen2025-03-122-3/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-14/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(TempManager): Simplify and unify implementations and remove legacy ↵backport/51194/stable31provokateurin2025-03-031-18/+7
| | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>