aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #46763 from nextcloud/backport/46672/stable28Andy Scherzinger2024-07-281-0/+1
|\ | | | | [stable28] Avoid using partial file info as valid one
| * fix: Ignore preview requests for invalid file idsJulius Härtl2024-07-251-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | feat: support excalidraw fileHoang Pham2024-07-251-3/+3
| | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* | feat: support excalidraw fileHoang Pham2024-07-252-3/+5
|/ | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-195-3/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-111-0/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #45955 from nextcloud/backport/45228/stable28Andy Scherzinger2024-07-101-5/+14
|\ | | | | [stable28] fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
| * 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>
* | Merge pull request #45920 from nextcloud/backport/45582/stable28Andy Scherzinger2024-07-101-4/+18
|\ \ | |/ |/| [stable28] delete background jobs by id when cleaning up
| * test: update DummyJobListRobin Appelman2024-06-171-4/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: add setup check for needed mimetype migrationsRobin Appelman2024-06-211-2/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>