aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | dont re-query fileinfo when getting dav quotaRobin Appelman2022-03-281-8/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-221-12/+12
|\ \ | | | | | | Extract request id handling to dedicated class so it can be injected without DB dependency
| * | Fix testsJoas Schilling2022-02-231-12/+12
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / adjust tests to new fs setupRobin Appelman2022-03-041-5/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #29948 from nextcloud/enh/webdav-creationdateJohn Molakvoæ2021-12-281-1/+14
|\
| * Expose DAV:creationdate for propfind/proppatchJulius Härtl2021-11-291-1/+14
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Prevent writing invalid mtimeJohn Molakvoæ2021-12-072-14/+58
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix dav application tests and code for PHP 8.1Côme Chilliet2021-11-231-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* use specific email getter where necessaryArthur Schiwon2021-09-091-17/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Improve PrincipalTest test fileThomas Citharel2021-08-161-56/+58
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Expose user language through DAVThomas Citharel2021-08-161-1/+28
| | | | | | | | | Introduces the '{http://nextcloud.com/ns}language' prop that gives the user's language Closes #28449 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make sure that the dav propfind plugins always use the proper user idJulius Härtl2021-07-222-17/+16
| | | | | | | | For old android versions it could happen that the requests are performed with a login name instead of the actual user id, so before this change the property methods used the wrong value for fetching their information Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Reference correct private variableLukas Reschke2021-06-221-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Throttle on public DAV endpointLukas Reschke2021-06-221-1/+8
| | | | | | We should throttle whenever an invalid request is sent to the public WebDAV endpoint. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0434-36/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testValdnet2021-05-041-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Only set copy etag if the destination source can be foundChristoph Wurst2021-04-231-0/+14
| | | | | | | | | | The etag is only set for files, but it's also possible that in edge cases the copy destination node can't be found. In that case we don't need to set any etag. Required for #26083 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-0/+51
| | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-1/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-1611-11/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add $secureRandom to test caseDaniel Kesselberg2020-12-101-6/+13
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>