summaryrefslogtreecommitdiffstats
path: root/lib/private/connector
Commit message (Collapse)AuthorAgeFilesLines
* don't allow to create a file or folder named 'Shared' in the root folder, ↵Bjoern Schiessle2014-03-052-2/+5
| | | | also exclude all combinations of lower and upper case letters
* Merge pull request #6714 from owncloud/files-newfileinvalidcharsfixLukas Reschke2014-02-203-4/+20
|\ | | | | Added extra checks for invalid file chars in newfile.php and newfolder.php
| * Added file name check in webdav connectorVincent Petry2014-02-183-4/+20
| | | | | | | | | | | | | | - added file name check for the put, rename and setNames() methods which throw a "Bad Request" whenever invalid characters are used - replaced \OC\Filesystem usage with $this->getFS() to be able to write unit tests
* | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-065-5/+7
|/
* Merge pull request #6081 from owncloud/partfilewebdavfixVincent Petry2014-02-041-1/+14
|\ | | | | Allow getting info or renaming part files through WebDAV
| * Allow getting info or renaming part files through WebDAVVincent Petry2014-01-231-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When mounting an ownCloud (backend OC) inside another ownCloud (frontend OC), the frontend OC will use WebDAV to upload file, which will create part files. These part files need to be accessible for the frontend OC to rename them to the actual file name. This fix leaves the file cache untouched but gives direct access to part file info when requested. This means that part file can be accessed only when their path and name are known. These won't appear in file listtings. Fixes #6068
* | Added exception logger plugin for sabre connectorVincent Petry2014-01-272-3/+53
|/ | | | | | | | | | | Whenever an exception occurs in the sabre connector code or code called by it, it will be logged. This plugin approach is needed because Sabre already catches exceptions to return them to the client in the XML response, so they don't appear logged in the web server log. This will make it much easier to debug syncing issues.
* Removed special handling of part files in shared storage renameVincent Petry2014-01-081-1/+4
| | | | | | This fixes the issue introduced by the transfer id which itself wasn't taken into account by the shortcut code for part file in the shared storage class.
* in order to work properly with encryption ocTransferId is added to the file ↵Thomas Müller2014-01-071-1/+1
| | | | path - questionable usage of magic string
* Adding a random postfix to the part file.Thomas Müller2013-12-201-1/+1
|
* Fixed touch after chunk assemblingVincent Petry2013-11-291-1/+1
| | | | | | | Fixed touch after chunk assembling which was using the wrong path, resulting in the creation of an extra file. Fixes #6007
* adding chunked upload handlingThomas Müller2013-11-251-0/+12
|
* always get the right node for the given file pathThomas Müller2013-11-201-0/+2
|
* Merge pull request #5447 from owncloud/fixing-5117-masterVincent Petry2013-11-131-3/+25
|\ | | | | No data corruption duriing parallel upload
| * make it possible to detect transferID partBjoern Schiessle2013-11-111-1/+1
| |
| * adding oc-mtime handling to chunked uploadThomas Müller2013-10-211-0/+9
| |
| * chunked files are assembled into a part file on the target storage followed ↵Thomas Müller2013-10-211-3/+16
| | | | | | | | by an atomic rename operation.
* | add header 'OC-FileId' on PUTThomas Müller2013-10-251-0/+16
| |
* | switch instance id and file idThomas Müller2013-10-251-1/+1
| |
* | Merge pull request #5494 from owncloud/fixing-3593-masterThomas Müller2013-10-242-1/+95
|\ \ | | | | | | introducing new dav property {xmlns:oc="http://owncloud.org/ns}id
| * | - fixing namespaceThomas Müller2013-10-241-2/+4
| | | | | | | | | | | | - remove property only if present
| * | handle case where fileid is not setThomas Müller2013-10-232-4/+12
| | |
| * | introducing new dav property {xmlns:oc="http://owncloud.org/ns}idThomas Müller2013-10-232-1/+85
| | |
* | | Merge pull request #5402 from owncloud/fixing-5367-masterThomas Müller2013-10-241-1/+1
|\ \ \ | | | | | | | | fixes chunked upload
| * | | fixes #5367Thomas Müller2013-10-171-1/+1
| | |/ | |/|
* | | Merge pull request #5464 from owncloud/fixing-5456-masterThomas Müller2013-10-232-3/+18
|\ \ \ | |_|/ |/| | Fixing 5456 master
| * | creating and deleting of file and folder 'Shared' in root is not allowedThomas Müller2013-10-222-3/+18
| |/
* / - delete properties on node deleteThomas Müller2013-10-223-0/+19
|/ | | | - move properties on node move
* Move OC_Connector_Sabre_Server to expected location.Andreas Fischer2013-10-171-0/+235
|
* Merge pull request #5325 from owncloud/setup-fs-on-apache-auth-backendThomas Müller2013-10-161-5/+1
|\ | | | | file system is now initialized with apache authentication as well
| * there shall be tabsThomas Müller2013-10-141-1/+1
| |
| * file system is now initialized with apache authentication as wellThomas Müller2013-10-141-6/+2
| |
* | Merge branch 'master' into fixing-4546-masterThomas Müller2013-10-146-9/+87
|\| | | | | | | | | Conflicts: lib/private/connector/sabre/file.php
| * Merge pull request #5207 from owncloud/fixing-4011-part2-masterThomas Müller2013-10-113-1/+59
| |\ | | | | | | [OC6] file upload exception handling
| | * fixing status code and formattingThomas Müller2013-10-082-18/+17
| | |
| | * catch specific file exceptions and convert them to proper http status code ↵Thomas Müller2013-10-081-5/+12
| | | | | | | | | | | | via webdav
| | * adding additional exceptions for special cases where creating a file might ↵Thomas Müller2013-10-073-0/+52
| | | | | | | | | | | | not be allowed
| * | due to internal implementations touch will always be successful - $mtime ↵Thomas Müller2013-10-091-6/+0
| | | | | | | | | | | | | | | | | | will be stored in the cache from desktop client perspective it is necessary to set the mtime under every condition
| * | Merge pull request #5194 from owncloud/fixing-5172-masterThomas Müller2013-10-081-0/+3
| |\ \ | | | | | | | | adding check isDeletable() on $sourcePath
| | * | adding check isDeletable() on $sourcePathThomas Müller2013-10-081-0/+3
| | | |
| * | | part file needs to have .part extensionBjoern Schiessle2013-10-081-1/+1
| | | |
| * | | updating a existing large file creates new file chunks. Therefore ↵Bjoern Schiessle2013-10-081-2/+16
| | | | | | | | | | | | | | | | createFile() needs to check not only if we can write to the parent folder but also if we can update the existing file"
| * | | If a existing file in Shared/ with update permissions gets updated we need ↵Bjoern Schiessle2013-10-081-0/+11
| |/ / | | | | | | | | | to write the .part file to a different place because we can't create new files in the Shared folder
| * | the path for reassembling was created the wrong wayThomas Müller2013-10-071-2/+2
| | |
* | | moving createFileChunked() to OC_Connector_Sabre_FileThomas Müller2013-10-071-15/+34
| | |
* | | Merge branch 'master' into fixing-4546-masterThomas Müller2013-10-071-1/+1
|/ / | | | | | | | | Conflicts: lib/private/connector/sabre/directory.php
* | Merge pull request #5072 from owncloud/apache-auth-masterThomas Müller2013-10-071-0/+5
|\ \ | |/ |/| OC6 Apache Authentication
| * code cleanup - remove special case for webdav in handleApacheAuth()Thomas Müller2013-10-021-1/+2
| |
| * Merge branch 'master' into apache-auth-masterThomas Müller2013-10-021-0/+4
| |