aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/file.php
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate webdav code - move all to one appThomas Müller2015-10-161-499/+0
|
* prevent 0 byte downloads when storage returns falseJörn Friedrich Dreyer2015-09-171-2/+5
|
* allow hook cancelRobin Appelman2015-09-141-4/+9
|
* use the correct path for cache updates when doing chunked assemblyRobin Appelman2015-09-141-7/+13
|
* work directly on storages when doing a chunked upload assemblyRobin Appelman2015-09-141-43/+74
|
* wrap the entire put operation in a read lockRobin Appelman2015-09-141-9/+2
|
* add test framework for doing full request webdav testsRobin Appelman2015-08-111-1/+1
|
* go trough the updater when uploading over webdavRobin Appelman2015-08-031-2/+1
|
* Remove OC_LogThomas Müller2015-07-031-3/+3
|
* Only delete part file on error if it is really a part fileVincent Petry2015-07-011-2/+6
|
* Clean up part file only once, not twice on errorVincent Petry2015-07-011-2/+2
|
* Cleanup part file after upload exceptionVincent Petry2015-06-291-31/+63
| | | | | | | | | | | | Added unit tests for checking for stray part files. Convert exception to sabre exception in upload put method. Also added unit test for exception mapping, which also indirectly tests that the part file is being deleted on exception. This applies to both chunking and non-chunking mode. Added some unit tests for chunk upload.
* update license headers and authorsMorris Jobke2015-06-251-3/+0
|
* keep a read lock while scanning a file or folderRobin Appelman2015-06-151-5/+4
|
* Webdav PUT small file lock must be shared during hooksVincent Petry2015-06-121-2/+14
| | | | | | | | Fixed code path for Webdav PUT of small files to use shared locks during hook execution, and exclusive during the file operation This makes it possible for versions to be copied by accessing the file in a post_write hook.
* Convert LockedException to FileLocked in Sabre connectorVincent Petry2015-06-011-1/+13
| | | | | | For Sabre to be able to return the proper error code instead of 500, the LockedException is now rethrown as FileLocked exception in the Sabre connector
* add locking for non-chunking webdav uploadRobin Appelman2015-06-011-0/+5
|
* Fire prehooks when uploading directly to storageVincent Petry2015-05-131-6/+28
|
* use cross storage move when renaming the part file during webdav putRobin Appelman2015-05-071-10/+12
|
* triger propagation for webdav uploadsRobin Appelman2015-04-271-0/+1
| | | | use post hooks for share etag propagator
* Do not trash part files, delete directlyVincent Petry2015-04-211-2/+2
|
* Keep phpdoc updated.Robin Appelman2015-04-141-1/+1
|
* pass a stream to the testsRobin Appelman2015-04-141-6/+0
|
* rewind and update error messageRobin Appelman2015-04-131-1/+2
|
* use our own stream copy insteadRobin Appelman2015-04-131-1/+1
|
* update testsRobin Appelman2015-04-091-22/+33
|
* Work directly on the storage when uploading over webdavRobin Appelman2015-04-081-23/+43
|
* In case of encryption exceptions we return 503 - this will allow the client ↵Thomas Müller2015-04-071-55/+69
| | | | to retry
* cleaning up exception messThomas Müller2015-04-071-2/+2
|
* Removing left overs from old encryption appThomas Müller2015-04-071-16/+6
|
* Further cleanup of files_encryptionThomas Müller2015-04-071-1/+3
|
* Removing files_encryption left oversThomas Müller2015-04-071-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-12/+25
|
* adding storage specific filename verification - refs #13640Thomas Müller2015-03-091-6/+4
|
* Revert "Updating license headers"Morris Jobke2015-02-261-0/+21
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Sabre Update to 2.1Vincent Petry2015-02-231-71/+13
| | | | | | | | | | | | | | | | | | - VObject fixes for Sabre\VObject 3.3 - Remove VObject property workarounds - Added prefetching for tags in sabre tags plugin - Moved oc_properties logic to separate PropertyStorage backend (WIP) - Fixed Sabre connector namespaces - Improved files plugin to handle props on-demand - Moved allowed props from server class to files plugin - Fixed tags caching for files that are known to have no tags (less queries) - Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin - Replace OC\Connector\Sabre\Request with direct call to httpRequest->setUrl() - Fix exception detection in DAV client when using Sabre\DAV\Client - Added setETag() on Node instead of using the static FileSystem - Also preload tags/props when depth is infinity
* Updating license headersJenkins for ownCloud2015-02-231-14/+25
|
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-12/+18
| | | | | | | | | | This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
* Revert "adding OC-ETag header"Vincent Petry2015-02-051-0/+15
| | | | This reverts commit 96a931929ea837a40a7e9b836252587c949a8127.
* Fix webdav put for single file webdav sharesRobin Appelman2015-01-291-3/+3
|
* remove unused variable and fix undefined variableThomas Müller2015-01-081-5/+4
|
* Disable part files for OC ext storage backend + s2s backendVincent Petry2015-01-071-28/+61
| | | | | | | | | | | When uploading files to an OC ext storage backend or when using server to server sharing storage, part files aren't needed because the backend already has its own part files and takes care of the final atomic rename operation. This also fixes issues when using two encrypted ownCloud instances where one mounts the other either as external storage (ownCloud backend) or through server to server sharing.
* Improve debugging for ServiceUnavailable exceptionsChris Wilson2015-01-061-8/+8
| | | | | | | | | | | | | I was getting a lot of these in my logs for no apparent reason, and file uploads were failing: {"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: ","level":4,"time":"2015-01-06T15:33:39+00:00"} In order to debug it, I had to add unique messages to all the places where this exception was thrown, to identify which one it was, and that made the logs much more useful: {"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: Encryption is disabled","level":4,"time":"2015-01-06T15:36:47+00:00"}
* Adding basement for the direct download urlThomas Müller2014-12-281-0/+13
|
* Fix namespace of Files_Encryption outside of the appJoas Schilling2014-12-091-2/+2
|
* Return real mime type on PROPFINDVincent Petry2014-11-111-0/+4
| | | | Return the real (insecure) mime type on PROPFIND
* Merge pull request #12072 from ↵Vincent Petry2014-11-101-58/+78
|\ | | | | | | | | owncloud/sabre-convertstoragenotavailableexception-secondtry Convert StorageNotAvailableException to SabreDAV exception
| * Convert StorageNotAvailableException to SabreDAV exceptionVincent Petry2014-11-101-58/+78
| | | | | | | | | | | | | | | | | | Convert \OCP\Files\StorageNotAvailableException to \Sabre\DAV\Exception\ServiceUnavailable for every file/directory operation happening inside of SabreDAV. This is necessary to avoid having the exception bubble up to remote.php which would return an exception page instead of an appropriate response.
* | clean up encryption exceptionsBjoern Schiessle2014-11-071-2/+2
|/
* throw exception if private key is missingBjoern Schiessle2014-11-051-1/+7
|