summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(mime-types): adjust compiled mime types and signbackport/51434/stable29Ferdinand Thiessen8 days2-3/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen10 days1-15/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen10 days1-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: update babel and fix karmaskjnldsv2025-03-062-0/+18
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #51201 from nextcloud/backport/51194/stable29Stephan Orbaugh2025-03-041-18/+7
|\ | | | | [stable29] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
| * refactor(TempManager): Simplify and unify implementations and remove legacy ↵backport/51194/stable29provokateurin2025-03-041-18/+7
| | | | | | | | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix: make sure we process mime extensions as stringskjnldsv2025-03-041-0/+35
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor: convert sanitize account properties repair step to background jobFerdinand Thiessen2025-02-272-13/+58
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Optimize repair step performanceFerdinand Thiessen2025-02-271-1/+26
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: validate account properties as a repair stepFerdinand Thiessen2025-02-271-0/+89
| | | | | | | | Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step, `ValidateAccountProperties` which validates and sanitizes all account properties. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Change UserAgent to *cloudbackport/50053/stable29Johannes Endres2025-02-211-1/+1
| | | | | Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Johannes Endres <je@johannes-endres.de>
* fix(Mailer): Fix sendmail binary fallbackbackport/46480/stable29Josh2025-02-171-1/+2
| | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* test(View): Copy preserves contentbackport/48651/stable29Louis Chemineau2025-02-131-0/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2025-02-131-0/+1
| | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me>
* test:(PasswordConfirmationMiddleware): Fix constructor callLouis Chemineau2025-02-111-5/+21
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(FediverseAction): Ensure valid fediverse links are generatedFerdinand Thiessen2025-02-091-0/+186
| | | | | | Harden also for existing values of the profile. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(AccountManager): Sanitize social media handlesFerdinand Thiessen2025-02-091-50/+200
| | | | | | Ensure to only accept valid X and fediverse handles. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: improve checks for moving shares/storages into other mountsRobin Appelman2025-02-051-9/+42
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(sharing): Move permission validation to share managerFerdinand Thiessen2025-01-311-5/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Exclude non accepted shares when computing access listbackport/50519/stable29Louis Chemineau2025-01-301-0/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Do not array access null valuebackport/50437/stable29Ferdinand Thiessen2025-01-291-0/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Correctly return app id and app version for `core` styles and imagesFerdinand Thiessen2025-01-292-21/+125
| | | | | | fix(TemplateLayout): `core` is not an app but the server itself Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Metadata field searchbackport/50273/stable29Louis Chemineau2025-01-271-2/+7
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* test: fix periodic `Test\Group\DatabaseTest::testSearchGroups` failurebackport/50319/stable29Josh2025-01-221-2/+2
| | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* chore: Remove syntax incompatible with PHP 8.0backport/49629/stable29Côme Chilliet2024-12-191-2/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use getRelativePath method to check if node is inside folderCôme Chilliet2024-12-191-10/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix promotion of reshares from subsubfoldersCôme Chilliet2024-12-191-16/+84
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Fix share tests to test new reshare promotion systemCôme Chilliet2024-12-191-17/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Tidy up code for reshare deletionCôme Chilliet2024-12-191-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: delete re-shares when deleting the parent shareLuka Trovic2024-12-191-4/+116
| | | | | | | | Note: Removed part about fix command from original PR Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> (cherry picked from commit 42181c2f490025860e22907255b6917583c798af)
* fix(tests): Adapt ManagerTest to change in Exception class usedbackport/49822/stable29Côme Chilliet2024-12-121-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: fix mimetype not being updated when changing file extention on object storebackport/40394/stable29Robin Appelman2024-12-111-0/+35
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(migration): Decrypt ownCloud secrets v2Christoph Wurst2024-11-281-0/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: do not query CNAME if A succeeded alreadygeorglauterbach2024-11-141-2/+3
| | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
* Merge pull request #49097 from nextcloud/backport/48933/stable29Richard Steinmetz2024-11-131-0/+58
|\ | | | | [stable29] Clear pending two factor tokens also from configuration
| * fix: Handle exception when clearing previously removed two factor tokensbackport/48933/stable29Daniel Calviño Sánchez2024-11-051-0/+32
| | | | | | | | | | | | | | | | If a token was already removed from the database but not from the configuration clearing the tokens will try to remove it again from the database, which caused a DoesNotExistException to be thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * fix: Clear pending two factor tokens also from configurationDaniel Calviño Sánchez2024-11-051-0/+26
| | | | | | | | | | | | | | | | | | Otherwise as the tokens were removed from the database but not from the configuration the next time that the tokens were cleared the previous tokens were still got from the configuration, and trying to remove them again from the database ended in a DoesNotExistException being thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | fix: conflicts resolved in apps.php loadDirectorybackport/38630/stable29yemkareems2024-11-131-1/+1
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: Clean-up some remaining readdir calls with undesirable false evaluation ↵Josh Richards2024-11-133-4/+4
|/ | | | | | | | potential Signed-off-by: Josh Richards <josh.t.richards@gmail.com> [skip ci]
* Merge pull request #48998 from nextcloud/backport/47986/stable29Louis2024-10-313-0/+182
|\ | | | | [stable29] perf(ObjectStoreStorage): Improve (slow) move on same object bucket
| * fix(tests): Fix most obvious errors in ObjectStore testsbackport/47986/stable29Côme Chilliet2024-10-313-56/+60
| | | | | | | | | | | | Some are still failing Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * perf(ObjectStoreStorage): Improve (slow) move on same object bucketChristoph Fiehe2024-10-303-0/+178
| | | | | | | | | | | | | | | | | | This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage. The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder. Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
* | Merge pull request #48488 from nextcloud/backport/48235/stable29Benjamin Gaussorgues2024-10-301-0/+15
|\ \ | |/ |/|
| * test: re-add object store primary storage phpunit testsRobin Appelman2024-10-091-0/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | test: add test for nested jail cross-storage movebackport/47847/stable29Robin Appelman2024-10-291-0/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: crypto added manually as expectedyemkareems2024-10-281-1/+1
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: crypto type made not nullable and tests run using ICryptoyemkareems2024-10-281-4/+3
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | fix: encrypt and store password, decrypt and retrieve the sameyemkareems2024-10-281-2/+19
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | Merge pull request #48764 from nextcloud/backport/48539/stable29Joas Schilling2024-10-171-5/+5
|\ \ | | | | | | [stable29] fix(message): Fix logic of Mail test
| * | fix(message): Fix logic of Mail testbackport/48539/stable29Joas Schilling2024-10-171-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>