summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests/webdav.php
Commit message (Collapse)AuthorAgeFilesLines
* Removed broken webdav testsVincent Petry2015-02-231-272/+0
| | | | | | | The encryption webdav tests are too broad and do not qualify as unit test. Also, since the sabre upgrade they are not fixable. The matching functionality is already tested in other classes on a smaller scale.
* Sabre Update to 2.1Vincent Petry2015-02-231-7/+5
| | | | | | | | | | | | | | | | | | - 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-13/+19
|
* Prioritise Basic Auth header over CookieLukas Reschke2015-01-171-2/+11
| | | | | | | | | | | | | 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.
* Correctly namespace encryption testsJoas Schilling2014-12-091-13/+13
|
* Use self:: instead of the class name in encryption testsJoas Schilling2014-12-091-6/+6
|
* Update OCA\Encryption to OCA\Files_Encryption in the encryption app itselfJoas Schilling2014-12-091-2/+2
|
* upgrade to new folder structureBjoern Schiessle2014-12-021-22/+0
|
* new folder structure for keysBjoern Schiessle2014-11-261-4/+4
| | | | | | all keys are now in files_encryption/key/path_to_file/filename/ share keys are named: user.shareKey file key is named: fileKey
* Fix single run of encryption tests and usages of uniqid() and fopen()Joas Schilling2014-11-171-8/+14
|
* remove unnecessary require calls - the ownCloud class loader is supposed to ↵Thomas Müller2014-10-301-7/+0
| | | | take care of this
* make tests compatible with hook based skeleton generationJörn Friedrich Dreyer2014-10-201-0/+8
|
* remove unused codeBjoern Schiessle2014-06-181-1/+1
|
* Fix moving movablemount over webdavRobin Appelman2014-06-171-1/+2
|
* Upgrade SabreDAV to 1.8.10Thomas Müller2014-06-041-4/+4
| | | | Updating SabreDAV namespaces
* get the storage from the viewBjoern Schiessle2014-06-041-4/+5
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-5/+5
| | | | * test case added to avoid adding them later
* remove legacy aka deprecated code: OC_FilesystemViewThomas Müller2014-05-121-2/+2
|
* Prevent error if previously cached data doesn't have an etagRobin Appelman2014-04-221-0/+1
|
* Fix encryption webdav testsRobin Appelman2014-03-051-5/+14
|
* Replaced time() with uniqid() to make sure the file name is uniqueVincent Petry2014-01-211-1/+1
| | | | | | | | | The cache isn't cleared properly because unlink() doesn't remove the cache entry which caused side-effects when reusing the same file name (which randomly happens when time() returns the same value) This fix first makes sure the unit tests don't fail any more. The unlink() case with the cache will be investigated separately.
* Merge pull request #4537 from owncloud/no-realpathThomas Müller2013-08-221-8/+8
|\ | | | | Do not use realpath() on includes.
| * Use __DIR__ instead of dirname(__FILE__).Andreas Fischer2013-08-211-8/+8
| | | | | | | | This is possible because we require PHP 5.3 or higher.
| * Do not use realpath() on includes.Andreas Fischer2013-08-211-8/+8
| | | | | | | | | | | | | | If the file does not exist, realpath() returns false and "include false;" produces "Failed opening '' for inclusion" which is a useless error message. 'include' works just fine with symlinks, "./" and "../".
* | Merge pull request #4239 from owncloud/decrypt_files_againBjörn Schießle2013-08-181-1/+1
|\ \ | | | | | | Enable user to decrypt files again after encryption app was disabled
| * | adapt unit tests to the modified stream wrapperBjoern Schiessle2013-07-301-1/+1
| |/
* / Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|/
* Merge branch 'master' into file_encryption_external_storage_fixesFlorin Peter2013-05-301-3/+3
|\ | | | | | | | | Conflicts: apps/files_encryption/hooks/hooks.php
| * changed basic auth to test userFlorin Peter2013-05-271-3/+3
| |
* | fixed typoFlorin Peter2013-05-291-1/+1
|/
* added users for testsFlorin Peter2013-05-261-67/+79
| | | | reformat code to meet coding guidelines
* improved testFlorin Peter2013-05-261-52/+51
| | | | | | - fixed testPermanentDeleteFile sometimes failed - speed optimization - reformat code
* added webdav testFlorin Peter2013-05-211-0/+251