aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* refactor(TempManager): Simplify and unify implementations and remove legacy ↵backport/51194/stable30provokateurin2025-03-041-18/+7
| | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: convert sanitize account properties repair step to background jobbackport/50985/stable30Ferdinand Thiessen2025-02-242-10/+55
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Optimize repair step performanceFerdinand Thiessen2025-02-241-1/+26
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: validate account properties as a repair stepFerdinand Thiessen2025-02-241-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/stable30Johannes Endres2025-02-211-1/+1
| | | | | Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Johannes Endres <je@johannes-endres.de>
* test(View): Copy preserves contentbackport/48651/stable30Louis 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: re-add object store primary storage phpunit testsbackport/48235/stable30Robin Appelman2025-02-131-0/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #50704 from nextcloud/backport/50660/stable30Andy Scherzinger2025-02-131-0/+35
|\ | | | | [stable30] fix: make sure we process mime extensions as string
| * fix: make sure we process mime extensions as stringskjnldsv2025-02-061-0/+35
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(Mailer): Fix sendmail binary fallbackbackport/46480/stable30Josh2025-02-121-1/+2
| | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | fix(FediverseAction): Ensure valid fediverse links are generatedFerdinand Thiessen2025-02-071-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-071-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/stable30Louis Chemineau2025-01-301-0/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #50437 from nextcloud/fix/encoding-wrapper-scanner-stable30Kate2025-01-291-0/+8
|\
| * fix(files): Do not array access null valuefix/encoding-wrapper-scanner-stable30Ferdinand Thiessen2025-01-281-0/+8
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(TemplateLayout): `core` is not an app but the server itselfbackport/50398/stable30Ferdinand Thiessen2025-01-292-46/+27
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Correctly return app id and app version for `core` styles and imagesFerdinand Thiessen2025-01-291-0/+111
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #50418 from nextcloud/backport/50331/stable30Marcel Klehr2025-01-281-0/+2
|\ \ | |/ |/| [stable30] fix(taskprocessing): More caching
| * fix(taskprocessing): Fix testsMarcel Klehr2025-01-271-0/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: Metadata field searchbackport/50273/stable30Louis Chemineau2025-01-271-2/+7
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(preview): Filter for folders in cleanup old preview jobbackport/48581/stable30Dario Mehlich2025-01-271-0/+31
| | | | | | | | | | | | | Fixes #35936. When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop in `run()` expects a folder, however, `getOldPreviewLocations()` currently does not filter by mimetype and therefore can yield a non-folder entry which causes an Exception when constructing the Folder impl. Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()` already does, fixes this issue. Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
* test: fix periodic `Test\Group\DatabaseTest::testSearchGroups` failurebackport/50319/stable30Josh2025-01-221-2/+2
| | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix: Use getRelativePath method to check if node is inside folderbackport/47425/stable30Cô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/49361/stable30Côme Chilliet2024-12-121-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #49165 from nextcloud/backport/48563/stable30John Molakvoæ2024-12-121-0/+98
|\
| * test: add some minimal testing for metadata storagebackport/48563/stable30Robin Appelman2024-12-051-0/+98
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: fix mimetype not being updated when changing file extention on object storebackport/40394/stable30Robin Appelman2024-12-111-0/+35
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* test:(PasswordConfirmationMiddleware): Fix constructor callLouis Chemineau2024-11-281-5/+14
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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 #49098 from nextcloud/backport/48933/stable30Richard Steinmetz2024-11-131-0/+58
|\ | | | | [stable30] Clear pending two factor tokens also from configuration
| * fix: Handle exception when clearing previously removed two factor tokensbackport/48933/stable30Daniel 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/stable30yemkareems2024-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>
* | fix(tests): Add IpAddressClassifier v6 zone ID testbackport/49039/stable30Josh2024-11-071-0/+1
| | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | fix(tests): Add RemoteAddress v6 zone ID testJosh2024-11-061-0/+2
|/ | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix(appinfo): Make sure screenshot, author and category are always arraysbackport/48912/stable30Joas Schilling2024-11-015-1/+78
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(users): improve recently active searchBenjamin Gaussorgues2024-10-301-3/+64
| | | | | | | | | - Remove DISTINCT clause to fix PgSQL - Join user table only if necessary - Don't show people who never connected in active list - Add test Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* test: add test for nested jail cross-storage movebackport/47847/stable30Robin Appelman2024-10-291-0/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: crypto added manually as expectedbackport/48915/stable30yemkareems2024-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>