aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): Check if the target path is a descendant of the shared folder pathbackport/47756/stable29Git'Fellow2024-09-061-1/+9
| | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: add tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests
* fix(files): Create non-existent parents of mountpointsprovokateurin2024-09-041-0/+31
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(tests): Fix PHP 8.0 compatibilityCôme Chilliet2024-08-131-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Adapt tests to change of DefaultShareProvider constructorCôme Chilliet2024-08-131-6/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #46889 from nextcloud/backport/46476/stable29Andy Scherzinger2024-08-081-0/+209
|\ | | | | [stable29] Migration Attributes
| * feat(upgrade): migration attributesMaxence Lange2024-08-061-0/+209
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(session): Log when session_* calls are slowChristoph Wurst2024-08-073-17/+17
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: `OCP\Files\Node\Folder::search` was not setting the ownerFerdinand Thiessen2024-07-301-3/+11
| | | | | | The owner was not set on the file info causing e.g. webdav searches to never return the known owner. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-192-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: run tests in child processDaniel Kesselberg2024-07-101-0/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(tests): Strong type property $router in RouterTestCôme Chilliet2024-07-101-2/+1
| | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle ↵Steve Mokris2024-07-101-5/+15
| | | | | | redirected root Signed-off-by: Steve Mokris <steve@kosada.com>
* test: update DummyJobListRobin Appelman2024-07-101-4/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(tests): Remove output when running testsJoas Schilling2024-07-031-0/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(federation): Fix missing protocol on CloudID remoteJoas Schilling2024-06-272-16/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat: add setup check for needed mimetype migrationsRobin Appelman2024-06-191-2/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(Token): make new scope future compatibleArthur Schiwon2024-06-121-1/+1
| | | | | | | - "password-unconfirmable" is the effective name for 30, but a draft name was backported. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix(Session): avoid password confirmation on SSOArthur Schiwon2024-06-112-1/+63
| | | | | | | | | | | SSO backends like SAML and OIDC tried a trick to suppress password confirmations as they are not possible by design. At least for SAML it was not reliable when existing user backends where used as user repositories. Now we are setting a special scope with the token, and also make sure that the scope is taken over when tokens are regenerated. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix(Mailer): Allow to enforce strict email formatFerdinand Thiessen2024-06-072-9/+33
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44894 from nextcloud/backport/44644/stable29John Molakvoæ2024-06-071-0/+15
|\
| * fix(appconfig): format app valuesMaxence Lange2024-04-171-0/+15
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(session): Do not update authtoken last_check for passwordlessChristoph Wurst2024-06-031-0/+78
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(db): Prevent two connections for single node databasesChristoph Wurst2024-05-281-0/+101
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(groups): allows to save group names with more than 64 charactersBenjamin Gaussorgues2024-05-162-5/+37
| | | | | | | | | | | | Mimic behaviour from LDAP users and add a hard limit to 255 characters Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | fix: Extend SVG reference checkJoas Schilling2024-05-161-0/+29
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: adjust test to new permissions check logicRobin Appelman2024-05-131-6/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(appconfig): returns correct value on detailsMaxence Lange2024-04-171-1/+1
|/ | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #44737 from nextcloud/backport/stable29/44736Andy Scherzinger2024-04-171-0/+16
|\ | | | | [stable29] fix: Fix avatar images
| * test: Update testsChristopher Ng2024-04-111-0/+16
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(tests): Fix tests when daytime saving time change happened recentlyCôme Chilliet2024-04-111-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* test: add test for jail watcherRobin Appelman2024-04-091-0/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-0410-11/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(federation): ICloudId->getRemote() should contain the protocolJoas Schilling2024-04-021-5/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(federation): Fix creating local cloudIds with http:// protocolJoas Schilling2024-03-251-6/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(config): Make sure user keys are stringsChristoph Wurst2024-03-191-0/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(AppDiscoverFetcher): Do not remove entries as expired that have no ↵Ferdinand Thiessen2024-03-191-0/+133
| | | | | | expiry date Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: add check for app_api_system session flag to bypass rate limitFlorian Klinger2024-03-181-1/+5
| | | | | Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* Merge pull request #40117 from summersab/refactor/OC-Server-getCommentsManagerJohn Molakvoæ2024-03-152-2/+3
|\
| * Refactor `OC\Server::getCommentsManager`Andrew Summers2024-03-152-2/+3
| | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | feat(files_sharing): allow to specify allowed groups to share instead of ↵Corentin Damman2024-03-151-2/+9
| | | | | | | | | | | | | | | | excluded groups Relates to #3387 Signed-off-by: Corentin Damman <c.damman@intopix.com>
* | Merge pull request #40131 from summersab/refactor/OC-Server-getShareManagerJohn Molakvoæ2024-03-153-5/+8
|\ \
| * | Merge branch 'master' into refactor/OC-Server-getShareManagerJohn Molakvoæ2024-03-15126-1840/+6485
| |\| | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | Refactor `OC\Server::getShareManager`Andrew Summers2023-08-293-7/+10
| | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | Merge pull request #40138 from summersab/refactor/OC-Server-getHasherJohn Molakvoæ2024-03-151-1/+1
|\ \ \
| * | | Refactor `OC\Server::getHasher`Andrew Summers2024-03-151-1/+1
| | |/ | |/| | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | Merge pull request #40123 from summersab/refactor/OC-Server-getRootFolderJohn Molakvoæ2024-03-153-6/+7
|\ \ \
| * | | Merge branch 'master' into refactor/OC-Server-getRootFolderJohn Molakvoæ2024-03-15109-1558/+4967
| |\| | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | Refactor `OC\Server::getRootFolder`Andrew Summers2023-11-103-6/+7
| | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | | Merge pull request #40143 from summersab/refactor/OC-Server-getLockdownManagerJohn Molakvoæ2024-03-151-2/+2
|\ \ \ \
| * | | | Refactor `OC\Server::getLockdownManager`Andrew Summers2024-03-151-2/+2
| | |/ / | |/| | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>