aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* Revert "perf(base): Stop setting up the FS for every basic auth request"John Molakvoæ10 days1-6/+2
|
* Merge pull request #53141 from nextcloud/perf/files/setup-fs-basic-auth-requestJohn Molakvoæ10 days1-2/+6
|\
| * fix(dav): Initialize the FS for the user right after authenticatingprovokateurin13 days1-2/+6
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore: Remove calls to OC_App in bootstrap.php files for testsCôme Chilliet11 days1-5/+8
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* test(imip): ensure charset is set for the text/calendar attachmentbug/53811/charset-imipDaniel Kesselberg2025-07-061-0/+193
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #53418 from nextcloud/fix/timedjob-execution-timeJoas Schilling2025-07-031-0/+27
|\ | | | | Fix TimedJob execution time to allow job execution exactly when scheduled
| * test: check that UserStatusAutomation is cleaned upfix/timedjob-execution-timeSalvatore Martire2025-07-011-0/+27
| | | | | | | | Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
* | chore: run rectorrector-phpunit10Robin Appelman2025-07-0181-490/+206
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore: apply new CSFixer rulesFerdinand Thiessen2025-07-0112-292/+293
|/ | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* Merge pull request #53671 from nextcloud/fix/read-only-share-downloadJohn Molakvoæ2025-07-011-9/+19
|\
| * feat(files_sharing): allow viewing files with download disabledskjnldsv2025-06-261-9/+19
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | perf(dav): Preload dav search with tags/favoritesperf/dav-preload-search-tagsJulius Knorr2025-06-271-1/+17
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | feat(files): automatically create directories on uploadSalvatore Martire2025-06-261-0/+135
|/ | | | Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
* refactor(dav): move shared logic to a dedicated example contact servicerefactor/dav/example-contact-serviceRichard Steinmetz2025-06-192-32/+61
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat: create example event when a user logs in for the first timeRichard Steinmetz2025-06-1610-2/+302
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: use correct format for getlastmodified webdav propertybug/noid/expires-date-formatDaniel Kesselberg2025-06-101-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(dav): file drop nicknameskjnldsv2025-06-051-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(caldav): use direct.edit route in event activitiesfix/caldav/use-direct-route-event-activityRichard Steinmetz2025-06-011-10/+2
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* test(dav): adjust test cases for PHPUnit 10Ferdinand Thiessen2025-05-281-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Migrate remaining DAV tests to PHPUnit 10Joas Schilling2025-05-2878-1753/+1050
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Migrate DAV Systemtags tests to PHPUnit 10tests/noid/dav-systemtagJoas Schilling2025-05-2711-386/+250
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Migrate CardDAV tests to PHPUnit10tests/noid/carddav-testsJoas Schilling2025-05-2523-692/+488
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Migrate CalDAV tests to PHPUnit10tests/noid/caldav-testsJoas Schilling2025-05-2571-1117/+829
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #52810 from ↵Louis2025-05-221-18/+16
|\ | | | | | | nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
| * fix: Move CSRF check from base to PublicAuth for public.phpLouis Chemineau2025-05-211-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment. Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF. So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin. We also add a redirect to be helpful to the user. **Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view. Fix #52482 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(caldav): don't send invitations to circlesfix/caldav/no-invitations-to-circlesRichard Steinmetz2025-05-211-0/+110
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(dav): correctly handle uploading folders with same name as a filefix/file-dropFerdinand Thiessen2025-05-161-89/+72
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Apply rector refactoringschore/deps/rector-2.0provokateurin2025-05-142-4/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(caldav): prevent unshare entry creation for owner unsharingDaniel Kesselberg2025-05-147-89/+485
| | | | | | | | | | | | | - Introduces a `unshare` method in `CalDavBackend` to handle user unshares. - Implements check to determine if unshare entry is needed based on group/circle membership. - Ensures `updateShares` is only used when the calendar owner manages shares. - Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`. Related PRs: - https://github.com/nextcloud/server/pull/43117 - https://github.com/nextcloud/server/pull/47737 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(dav): allow uploading folders to public sharesJohn Molakvoæ (skjnldsv)2025-05-131-8/+100
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #52586 from nextcloud/bugfix/noid/remove-sleep-from-throttlerDaniel2025-05-061-1/+1
|\ | | | | fix(throttler): Always use the sleepDelayOrThrowOnMax instead of deprecated sleepDelay
| * fix(throttler): Remove the sleep from the throttler that throwsbugfix/noid/remove-sleep-from-throttlerJoas Schilling2025-05-021-1/+1
| | | | | | | | | | | | | | The sleep is not adding benefit when it's being aborted with 429 in other cases anyway. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52182 from nextcloud/feat/dav/public-share-chunked-uploadJohn Molakvoæ2025-05-063-7/+14
|\ \
| * | feat(dav): Enable chunked upload for public sharesprovokateurin2025-05-051-0/+3
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | refactor(dav): Replace baseuri manipulation with RootCollection for public ↵provokateurin2025-05-052-7/+11
| | | | | | | | | | | | | | | | | | shares Signed-off-by: provokateurin <kate@provokateurin.de>
* | | feat: Calendar Exportfeat/issue-563-calendar-exportSebastianKrupinski2025-05-062-14/+137
|/ / | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* / fix(dav): move orphan cleaning logic to a chunked background jobRichard Steinmetz2025-05-051-0/+171
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(dav): check the owner displayName scope before giving attributeskjnldsv2025-04-302-0/+124
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: check if config is enabled before creating a default contactHamza Mahjoubi2025-04-281-2/+19
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* Merge pull request #51729 from ↵Louis2025-04-151-13/+59
|\ | | | | | | | | nextcloud/artonge/support_oc_checksum_in_bulk_upload feat: Support OC-Checksum in bulk upload
| * feat: Support OC-Checksum in bulk uploadartonge/support_oc_checksum_in_bulk_uploadLouis Chemineau2025-04-011-13/+59
| | | | | | | | | | | | To align with the rest of Nextcloud. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(oauth2): retain support for legacy ownCloud clientsfix/oauth2/retain-legacy-oc-client-supportRichard Steinmetz2025-04-011-1/+7
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat: add example contact on first loginfeat/cardav-example-contactHamza Mahjoubi2025-03-262-0/+153
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* fix(dav): filter user files when updating tagsskjnldsv2025-03-251-0/+10
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(cardav): only show useres from enabled addressBooks in contacts menufix/noid/contactsmenu-ab-enabledHamza Mahjoubi2025-03-172-5/+30
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* fix: skip caching lastSeenQuotaUsage for remote sharesbug/noid/skip-quote-cache-for-remote-sharesDaniel Kesselberg2025-03-141-0/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(dav)!: migrate OCA calendar object events to OCPEdward Ly2025-03-072-2/+2
| | | | Signed-off-by: Edward Ly <contact@edward.ly>
* fix(dav): Create SAB at installationfix/dav/create-sab-installChristoph Wurst2025-03-061-0/+47
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-1316-48/+78
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: re-apply current rector configuration to apps folderCôme Chilliet2025-02-131-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>