aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-2835-836/+135
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(tests): Replace deprecated methods in `FileTest`Ferdinand Thiessen2024-05-021-16/+30
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44332 from nextcloud/fix/fix-chunkupload-quota-checkCôme Chilliet2024-04-021-3/+2
|\ | | | | fix(dav): Fix quota check for chunk upload
| * chore(dav): Fix tests for length headers on uploadCôme Chilliet2024-04-021-3/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-3/+3
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-6/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(dav): update a principal's schedule-default-calendar-URLRichard Steinmetz2024-02-281-0/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Refactors "substr" calls to improve code readabilityHamid Dehnavi2024-02-231-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* fix: improve typing and use \OCP\Server::getJohn Molakvoæ2024-01-091-12/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-092-5/+438
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-236-12/+9
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-0/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): fix report testsJohn Molakvoæ (skjnldsv)2023-09-181-3/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* reuse l10n and request in dav folder listingRobin Appelman2023-09-042-34/+63
| | | | | | instead of having to query those once for every node Signed-off-by: Robin Appelman <robin@icewind.nl>
* techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25Joas Schilling2023-08-282-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix share roots always being marked as writableRobin Appelman2023-07-281-22/+54
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPluginJoas Schilling2023-07-171-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Use IRequest constant to match versionJoas Schilling2023-07-112-49/+18
| | | | | | The pattern matches since a 10 year old client version Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: cominbation of small fixesArthur Schiwon2023-06-211-3/+20
| | | | | | | | - possible null return - parameter name mismatch in implementation - incomplete unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix: include invisible tags for adminsArthur Schiwon2023-06-211-45/+59
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix: search with more than one search tagsArthur Schiwon2023-06-211-108/+302
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* tests: Adapt node related unit tests mocks to required root viewJulius Härtl2023-04-171-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Use proper path when creating node instancesJulius Härtl2023-04-171-2/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix dav application testsCôme Chilliet2023-04-031-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Tidy up typing in OC\Files\ViewCôme Chilliet2023-04-031-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* fix: Use proper path for quota fetchingJulius Härtl2023-03-061-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-215-14/+470
|
* Do not set up filesystem on every callAnna Larch2023-02-175-470/+14
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* perf(dav): Do not call general setupFS on ever dav authJulius Härtl2023-02-091-6/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix Sabre connector testCôme Chilliet2023-02-071-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(dav): Add void return type to test methodsChristoph Wurst2023-01-2029-182/+182
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Get rid of deprecated at matcher in dav application testsCôme Chilliet2023-01-056-181/+171
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use display name cache on getStorageInfoJulius Härtl2022-12-161-0/+15
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Adapt test to also run isolated Signed-off-by: Julius Härtl <jus@bitgrid.net>
* More fixingJoas Schilling2022-11-251-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-5/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix duplicate event email notificationsRichard Steinmetz2022-11-041-0/+31
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* add test for trying to fopen a file which no longer exists on diskRobin Appelman2022-09-291-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add nc:share-attributes Webdav propertyVincent Petry2022-07-281-0/+62
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix typos in apps/dav subdirectoryluz paz2022-07-261-1/+1
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./apps/dav` Signed-off-by: luz paz <luzpaz@github.com>
* Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-101-0/+49
|\ | | | | Expose additional emails in {DAV:}alternate-URI-set
| * Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-171-0/+49
| | | | | | | | | | | | | | | | | | This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Don't spam the log with fatals when maintenance mode is enabled or an ↵Joas Schilling2022-06-101-2/+5
|/ | | | | | upgrade has to be done Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_searchLouis2022-05-041-0/+4
|\ | | | | Use share setting in DAV search
| * Use email settings in DAV searchLouis Chemineau2022-04-191-0/+4
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-022-26/+20
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #25747 from nextcloud/XAccelBufferingblizzz2022-04-071-2/+5
|\ | | | | Add X-Accel-Buffering header to downloads
| * Add X-Accel-Buffering header to downloadsUnpublished2022-01-171-2/+5
| | | | | | | | Signed-off-by: Unpublished <unpublished@gmx.net>
* | use existing node in SharesPluginRobin Appelman2022-04-064-47/+80
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>