aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat: don't count failed CSRF as failed login attemptBenjamin Gaussorgues2024-07-111-1/+0
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.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>
* Merge pull request #44977 from nextcloud/backport/44745/stable29Arthur Schiwon2024-06-121-3/+6
|\ | | | | [stable29] fix(auth): Keep redirect URL during 2FA setup and challenge
| * fix(auth): Keep redirect URL during 2FA setup and challengeChristoph Wurst2024-04-231-3/+6
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #45821 from nextcloud/backport/45811/stable29Daniel2024-06-121-0/+78
|\ \ | | | | | | [stable29] test: add tests for ProfilePageController
| * | test: add tests for ProfilePageControllerDaniel Kesselberg2024-06-121-0/+78
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #45809 from nextcloud/fix/noid/fix-new-token-scope-nameArthur Schiwon2024-06-121-1/+1
|\ \ \ | |/ / |/| | [stable29] fix(Token): make new scope future compatible
| * | 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(files_sharing): dark avatar supportskjnldsv2024-06-121-2/+13
|/ / | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | 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-0411-12/+12
| | | | 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>
* Merge pull request #44438 from nextcloud/feat/login-form-timeoutFerdinand Thiessen2024-03-251-19/+9
|\ | | | | feat(login): Clear login form (password) after IDLE timeout
| * feat(login): Clear login form (password) after IDLE timeoutFerdinand Thiessen2024-03-251-19/+9
| | | | | | | | | | | | | | | | | | For security reasons it is recommended to stop the login process at a defined time, this could prevent password leaks by e.g. user forgetting that they entered their password on public devices. Enforced e.g. by the BSI ORP.4.A13 rule. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | 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 #41684 from nextcloud/feat/rst-mimetypeAnupam Kumar2024-03-152-2/+3
|\ | | | | feat(mimetypes): Add mimetype for ReStructuredText
| * feat(mimetypes): Add mimetype for ReStructuredTextAnupam Kumar2024-03-152-2/+3
| | | | | | | | Signed-off-by: Anupam Kumar <kyteinsky@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-15202-14136/+6929
| |\| | | | | | | 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-15123-1651/+5288
| |\| | | | | | | | | | 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>