aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/connector
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix Principal connector overrideVincent Petry2015-03-171-1/+2
| | |
* | | Merge pull request #15150 from owncloud/sabre-removerangeexceptionforencryptionVincent Petry2015-03-241-14/+0
|\ \ \ | | | | | | | | Remove range header exception for encryption
| * | | Remove range header exception for encryptionjknockaert2015-03-241-14/+0
| | |/ | |/| | | | | | | revert #10422
* / | Soft fail in CustomPropertiesBackend whenever storage not availableVincent Petry2015-03-231-0/+4
|/ / | | | | | | | | When a storage is not available, it will not fail the whole call any more but still return a usable file list.
* / Soft fail in custom properties backendVincent Petry2015-03-181-2/+14
|/ | | | | This makes it possible for clients to still receive a file list (minus the broken files) instead of getting no list at all
* Adding a more meaningful message for sabre dav exception - fixes #14516Thomas Müller2015-03-111-5/+31
|
* fixing namespaces and PHPDocThomas Müller2015-03-093-20/+39
|
* adding storage specific filename verification - refs #13640Thomas Müller2015-03-094-11/+77
|
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-2715-111/+143
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-2615-111/+143
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Merge pull request #14505 from owncloud/dav-copy-fixMorris Jobke2015-02-261-14/+4
|\ \ | |/ |/| Fixes WebDAV copy
| * Removed unused $node variableVincent Petry2015-02-261-1/+1
| |
| * Fixes WebDAV copyVincent Petry2015-02-251-14/+4
| | | | | | | | | | | | - added existence check for source argument - removed extra logic for folders, as $view->copy() already supports that internally
* | using Doctrine\DBAL\Connection::executeUpdate()Thomas Müller2015-02-251-41/+33
|/
* Remove locks plugin.Thomas Müller2015-02-251-171/+0
| | | | | | | Reasoning: - a WebDAV server is not required to implement locking support - WebDAV Locking is know to break the sync algorithm - the current lock implementation is known to be broken (locks are not moved if a file is moved, locks on shared files don't work)
* Show a empty response for GET on non-files instead of the Browser PluginLukas Reschke2015-02-231-0/+43
|
* Sabre Update to 2.1Vincent Petry2015-02-2320-993/+733
| | | | | | | | | | | | | | | | | | - 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
* Merge pull request #14403 from owncloud/update-license-headersThomas Müller2015-02-2319-150/+350
|\ | | | | Update license headers
| * Updating license headersJenkins for ownCloud2015-02-2319-150/+350
| |
* | Merge pull request #14275 from chris-se/masterLukas Reschke2015-02-231-3/+6
|\ \ | |/ |/| DAV authentication: use Owncloud's internal user instead of HTTP auth one
| * DAV authentication: also use Owncloud's internal user for short-circuitChristian Seiler2015-02-161-1/+1
| | | | | | | | | | It still works otherwise, but without this, the performance optimization of #13416 is defeated in these situations.
| * DAV authentication: use Owncloud's internal user instead of HTTP-supplied oneChristian Seiler2015-02-161-2/+5
| | | | | | | | Fixes: #14048, #14104, calendar#712
* | Merge pull request #14207 from owncloud/propfind-optimizeMorris Jobke2015-02-181-18/+27
|\ \ | | | | | | Optimize quota calculation for propfind
| * | pass fileinfo to getStorageInfoRobin Appelman2015-02-131-2/+1
| | |
| * | Cache quota info for directoriesRobin Appelman2015-02-131-16/+26
| |/
* / Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-162-13/+19
|/ | | | | | | | | | 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-053-20/+15
| | | | This reverts commit 96a931929ea837a40a7e9b836252587c949a8127.
* Fix webdav put for single file webdav sharesRobin Appelman2015-01-291-3/+3
|
* let init() take an INode - fixes PHP messageThomas Müller2015-01-271-2/+2
|
* Fix WebDAV auth for session authentication onlyLukas Reschke2015-01-201-2/+4
| | | | | | | | | | \Sabre\DAV\Auth\Backend\AbstractBasic::authenticate was only calling \OC_Connector_Sabre_Auth::validateUserPass when the response of \Sabre\HTTP\BasicAuth::getUserPass was not null. However, there is a case where the value can be null and the user could be authenticated anyways: The authentication via ownCloud web-interface and then accessing WebDAV resources. This was not possible anymore with this patch because it never reached the code path in this scenario. This patchs allows authenticating with a session without isDavAuthenticated value stored (this is for ugly WebDAV clients that send the cookie in any case) and thus the functionality should work again. To test this go to the admin settings and test if the WebDAV check works fine. Furthermore all the usual stuff (WebDAV / Shibboleth / etc...) needs testing as well.
* Close session properlyLukas Reschke2015-01-191-0/+1
|
* Prioritise Basic Auth header over CookieLukas Reschke2015-01-171-11/+32
| | | | | | | | | | | | | There are a lot of clients that support multiple WebDAV accounts in the same application. However, they resent all the cookies they received from one of the accounts also to the other one. In the case of ownCloud this means that we will always show the user from the session and not the user that is specified in the basic authentication header. This patch adds a workaround the following way: 1. If the user authenticates via the Sabre Auth Connector add a hint to the session that this was authorized via Basic Auth (this is to prevent logout CSRF) 2. If the request contains this hint and the username specified in the basic auth header differs from the one in the session relogin the user using basic auth Fixes https://github.com/owncloud/core/issues/11400 and https://github.com/owncloud/core/issues/13245 and probably some other issues as well. This requires proper testing also considering LDAP / Shibboleth and whatever instances.
* 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"}
* Use namespaceLukas Reschke2015-01-051-2/+18
|
* Write unit-tests and use DILukas Reschke2015-01-051-24/+37
|
* Fix code-styleLukas Reschke2015-01-051-2/+4
|
* fix "app":"PHP","message":"Undefined variable: user at/principal.php#66"derkostka2015-01-041-1/+1
| | | changed variable #user to #name
* adding getDirectDownload() to WrapperThomas Müller2014-12-281-2/+2
|
* Adding basement for the direct download urlThomas Müller2014-12-282-0/+23
|
* Merge pull request #12865 from owncloud/files-tags-webdavMorris Jobke2014-12-195-7/+431
|\ | | | | Returns tags through WebDAV
| * Fix code style issues for tags pluginVincent Petry2014-12-183-6/+4
| |
| * Remove obsolete methodVincent Petry2014-12-181-8/+0
| |
| * Returns and update tags through WebDAV PROPFIND and PROPPATCHVincent Petry2014-12-175-7/+441
| | | | | | | | | | | | | | Added oc:tags and oc:favorites in PROPFIND response. It is possible to update them with PROPPATCH. These properties are optional which means they need to be requested explicitly
* | Add getMountPoint to FileInfoRobin Appelman2014-12-172-3/+5
|/
* Fix namespace of Files_Encryption outside of the appJoas Schilling2014-12-091-2/+2
|
* Fix type hinting for app managerRobin Appelman2014-11-181-4/+4
|
* Add sabredav plugin to check if a user has access to an appRobin Appelman2014-11-171-0/+75
|
* Return real mime type on PROPFINDVincent Petry2014-11-111-0/+4
| | | | Return the real (insecure) mime type on PROPFIND