summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* refactor: make share manager buildableRobin Appelman2024-06-131-176/+19
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* test: add tests for ProfilePageControllerDaniel Kesselberg2024-06-121-0/+78
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #45817 from nextcloud/backport/45698/stable28John Molakvoæ2024-06-121-2/+13
|\
| * fix(files_sharing): dark avatar supportskjnldsv2024-06-121-2/+13
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Merge pull request #45704 from nextcloud/backport/43942/stable28Arthur Schiwon2024-06-122-1/+63
|\ \ | |/ |/| [stable28] fix(Session): avoid password confirmation on SSO
| * 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-122-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-112-9/+33
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #45294 from nextcloud/backport/44791/stable28John Molakvoæ2024-06-071-5/+16
|\ \ | |/ |/|
| * test: adjust test to new permissions check logicRobin Appelman2024-05-131-5/+16
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(groups): allows to save group names with more than 64 charactersBenjamin Gaussorgues2024-05-312-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(session): Do not update authtoken last_check for passwordlessChristoph Wurst2024-05-291-0/+78
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix: Extend SVG reference checkJoas Schilling2024-05-161-0/+29
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: add check for app_api_system session flag to bypass rate limitFlorian Klinger2024-04-171-1/+5
| | | | | Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* Merge pull request #44446 from nextcloud/backport/43057/stable28Benjamin Gaussorgues2024-04-172-17/+13
|\
| * feat(perf): add cache for authtoken lookupBenjamin Gaussorgues2024-03-252-17/+13
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | test: add test for jail watcherRobin Appelman2024-04-101-0/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | test: Update testsChristopher Ng2024-04-081-0/+16
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(tests): Fix tests when daytime saving time change happened recentlyCôme Chilliet2024-04-021-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(config): Make sure user keys are stringsChristoph Wurst2024-03-191-0/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix xml ocs response for serializable objectsKlaus2024-03-181-0/+39
| | | | | Signed-off-by: sualko <klaus@jsxc.org> Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: update logincontroller testsEduardo Morales2024-03-111-5/+12
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(JSResourceLocator): Consider configured app roots for filesFerdinand Thiessen2024-03-071-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Fetch custom app store url without internet connectionJulius Härtl2024-03-042-3/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #43833 from nextcloud/backport/43428/stable28John Molakvoæ2024-02-291-22/+76
|\
| * feat(share): save date and time for expirationBenjamin Gaussorgues2024-02-261-22/+76
| | | | | | | | | | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Add "-i" to MailTest's pipe FedericoHeichou2024-02-231-1/+1
|/ | | Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
* fix(tests): Fix remaining testsJoas Schilling2024-02-221-1/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix tests after slow logout fixLouis Chemineau2024-02-221-1/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Cancel PR #37405, remove regression codeGaspard d'Hautefeuille2024-02-221-4/+25
| | | | Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
* Merge pull request #43181 from nextcloud/backport/42930/stable28Ferdinand Thiessen2024-02-031-3/+4
|\ | | | | [stable28] Fix: config param 'overwritecondaddr' not working
| * test(unit): fix RequestTestArthur Schiwon2024-01-291-3/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #43133 from nextcloud/backport/43099/stable28Ferdinand Thiessen2024-02-011-1/+1
|\ \ | | | | | | [stable28] fix(tests): Make PostgreSQL unit tests less flacky by ordering
| * | fix(tests): Make PostgreSQL unit tests less flacky by orderingJoas Schilling2024-02-011-1/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | add test for updating etag with unchanged mtime in child folderRobin Appelman2024-01-311-0/+25
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add test for updating etag with unchanged mtimeRobin Appelman2024-01-311-0/+19
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(session): Avoid two useless authtoken DB queries for every anonymous requestGit'Fellow2024-01-171-0/+50
| | | | | | Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-161-2/+93
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* perf: Use more performant way to obtain and check the email as a login name ↵Julius Härtl2024-01-091-1/+1
| | | | | | with token login Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #42450 from nextcloud/backport/37469/stable28Robin Appelman2024-01-022-1/+24
|\ | | | | [stable28] restore shared lock ttl to previous value when releasing
| * adjust redis compareSetTTL to use a lua scriptRobin Appelman2023-12-221-0/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * restore shared lock ttl when releasingRobin Appelman2023-12-221-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | AppAPI: allowed to bypass Two-FactorAlexander Piskun2023-12-291-4/+19
|/ | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* fix(security): Handle idn_to_utf8 returning falseJoas Schilling2023-12-042-3/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [stable28] enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-281-29/+61
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(dav): dispatch out-of-office started and ended eventsRichard Steinmetz2023-11-231-6/+12
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2343-150/+150
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behaviorFerdinand Thiessen2023-11-221-0/+38
|\ | | | | fix(ObjectStore): Make copying behavior consistent with local storage
| * fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-0/+38
| | | | | | | | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Fix linkToOCSRouteAbsolute() without index.php and subfolderJoas Schilling2023-11-201-7/+15
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>