summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/Node.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Use proper path when creating node instancesJulius Härtl2023-04-171-4/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-081-0/+4
| | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-2/+1
|
* fix: Use passed LazyFolder when building sabre nodesJulius Härtl2023-02-171-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix psalm errorsCôme Chilliet2023-02-071-3/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Silence errors of return type mismatch from Sabre for nowCôme Chilliet2023-02-071-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-9/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Allow float sizes in FileInfo for 32bitsCôme Chilliet2023-02-071-5/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Review comment - remove redundant empty() callDariusz Olszewski2022-10-101-1/+1
| | | | Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
* Read notes from share already loaded into memoryDariusz Olszewski2022-10-071-15/+11
| | | | Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
* Move dav utils functions to OCP\Files\DavUtilCôme Chilliet2022-08-301-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move Dav fileid and permissions logic into OCP\Util to be able to use it for ↵Côme Chilliet2022-08-291-33/+3
| | | | | | BulkUpload Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Multiple fixesCarl Schwan2022-07-311-2/+8
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add nc:share-attributes Webdav propertyVincent Petry2022-07-281-0/+20
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* allow reusing known folder info when getting directory contentsRobin Appelman2022-04-061-5/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* save filesystem node in dav nodeRobin Appelman2022-04-061-0/+21
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-111-14/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Prevent writing invalid mtimeJohn Molakvoæ2021-12-071-0/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* always allow dav move for movable mount rootRobin Appelman2021-08-271-1/+1
| | | | | | the root of a movable mountpoint can be moved even if it doesn't have update permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-2/+2
| | | | | | | | | | 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-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update share type constant usageJoas Schilling2020-06-241-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* hookup creation and upload time into davRobin Appelman2019-11-131-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* throw a proper error if rename fails in davRobin Appelman2019-03-141-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update apps/dav/lib/Connector/Sabre/Node.phpChristoph Wurst2019-03-041-1/+1
| | | Co-Authored-By: tobiasKaminsky <tobias@nextcloud.com>
* Add note to dav endpointtobiasKaminsky2019-02-271-0/+31
| | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Fix getting ocs share permissions if a storage is not availableRobin Appelman2018-07-181-5/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* External mount does not get DELETE and UPDATE if readonlyRoeland Jago Douma2018-05-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle OC-Total-Length in new chunkingThomas Müller2017-12-151-0/+14
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #7047 from ↵Björn Schießle2017-11-201-0/+3
|\ | | | | | | | | nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
| * Return whether the file is readable or not in the DAV permissionsDaniel Calviño Sánchez2017-11-021-0/+3
| | | | | | | | | | | | | | | | | | | | Until now it was safe to assume that every file was readable by its owner, so there was no need to return whether the file was readable or not. However, with the introduction of end to end encryption that is no longer the case, and it is now necessary to explicitly provide that information. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Update license headersMorris Jobke2017-11-061-0/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [DAV] Fix URLUtil::splitPath usageRoeland Jago Douma2017-08-011-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Enforce type hints in dav appMorris Jobke2017-05-041-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-2/+2
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Fix checkMove() implementation for dav v2 - fixes #24776 (#24971)Thomas Müller2016-06-061-0/+4
|
* Update license headersLukas Reschke2016-05-261-1/+3
|
* Move dav app to PSR-4 (#24527)Joas Schilling2016-05-121-0/+348
* Move Application to correct namespace and PSR-4 it * Move dav app to PSR-4