aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests
Commit message (Collapse)AuthorAgeFilesLines
* remove old encryption appBjoern Schiessle2015-04-0716-5109/+0
|
* replace share proxy with hookRobin Appelman2015-03-261-3/+0
|
* Update license headersJenkins for ownCloud2015-03-2611-95/+221
|
* Add wrapper for GuzzleLukas Reschke2015-03-251-2/+2
|
* Revert "Updating license headers"Morris Jobke2015-02-2611-218/+106
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* 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-2312-119/+237
|
* get correct user for paths to the trash bin, needed for remote shares if the ↵Bjoern Schiessle2015-01-301-0/+1
| | | | size of of trash gets calculated
* Fix intendationJoas Schilling2015-01-291-3/+3
|
* Fix more assertionsJoas Schilling2015-01-291-26/+26
|
* Fix 2 assertionsJoas Schilling2015-01-291-3/+3
|
* make sure that we always create a public share key for remote sharesBjoern Schiessle2015-01-291-31/+92
|
* Call final unlink in trash wrapper's storageVincent Petry2015-01-231-0/+2
| | | | | | | | | | | | | | | In the case of cross-storage delete, the files are copied to the trash, then deleted. The final delete on the source storage would still reach the trash wrapper. This fix makes forwards that second call to the wrapped storage to make the final delete work. It fixes the issue with remote shares, local shares and external storage. Also, it uses a new function "renameRecursive" that renames the files and preserves the mtimes (like "copy_recursive" did in the past))
* Merge pull request #13416 from ↵Morris Jobke2015-01-191-2/+11
|\ | | | | | | | | owncloud/reauthenticate-if-session-differs-from-basic-auth Prioritise Basic Auth header over Cookie
| * 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.
* | replace hook with storage wrapperBjoern Schiessle2015-01-191-21/+19
|/
* Merge pull request #13288 from owncloud/enc_fix_public_downloadLukas Reschke2015-01-141-12/+1
|\ | | | | [encryption] fix download of public shared files
| * if we download a public shared file we need to retrieve the user from the pathBjoern Schiessle2015-01-131-12/+1
| |
* | adapt decrypt all and restore/delete key backups to the new folder structure ↵Bjoern Schiessle2015-01-131-14/+83
|/ | | | for encryption key introduced with OC8
* Merge pull request #13182 from owncloud/download_versionsBjörn Schießle2015-01-124-63/+262
|\ | | | | make versions of shared files downloadable
| * make versions of shared files downloadableBjoern Schiessle2015-01-094-63/+262
| |
* | unit testsBjoern Schiessle2015-01-091-4/+86
|/
* Merge pull request #12961 from owncloud/try_to_cache_keysMorris Jobke2014-12-223-9/+45
|\ | | | | cache keys to read them only once from the hard disc
| * cache keys to read them only once from the hard discBjoern Schiessle2014-12-193-9/+45
| |
* | Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-7/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* | first step to drop \OCP\Config:: in favour of IConfigMorris Jobke2014-12-171-7/+12
|/
* Correctly namespace encryption testsJoas Schilling2014-12-0912-185/+181
|
* Use self:: instead of the class name in encryption testsJoas Schilling2014-12-0910-361/+361
|
* Update OCA\Encryption to OCA\Files_Encryption in the encryption app itselfJoas Schilling2014-12-0912-124/+126
|
* reduce OC_Preferences, OC_Config and \OCP\Config usageMorris Jobke2014-12-081-1/+3
| | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container
* upgrade to new folder structureBjoern Schiessle2014-12-0212-305/+211
|
* change private/public key names for consistency reasonsBjoern Schiessle2014-11-264-16/+21
|
* new folder structure for keysBjoern Schiessle2014-11-268-513/+306
| | | | | | all keys are now in files_encryption/key/path_to_file/filename/ share keys are named: user.shareKey file key is named: fileKey
* Replace deprecated constant with new class constantJoas Schilling2014-11-252-12/+12
|
* Fix file upload to ext storage when recovery key is enabledVincent Petry2014-11-201-0/+37
| | | | | | | | Fixes an issue when uploading files to external storage when recovery keys are enabled The Util class only works with real users, so instantiating it with the virtual recovery key user or public key user can cause issues.
* Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-191-3/+7
|
* Fix single run of encryption tests and usages of uniqid() and fopen()Joas Schilling2014-11-1711-259/+375
|
* Skip some more tests on Windows which just can not work at allJoas Schilling2014-11-171-0/+7
|
* remove unnecessary require calls - the ownCloud class loader is supposed to ↵Thomas Müller2014-10-3010-71/+0
| | | | take care of this
* Properly register sharing hooks and proxiesVincent Petry2014-10-301-1/+7
| | | | | | | This will fix failing tests when shares weren't cleant up on delete due to missing hooks. Added login for user1 in setUp().
* Added encryption test when moving file as non-ownerVincent Petry2014-10-291-2/+15
|
* make tests compatible with hook based skeleton generationJörn Friedrich Dreyer2014-10-2010-7/+84
|
* we also encrypt/decrypt files in the versions folder for previews and if ↵Bjoern Schiessle2014-10-061-0/+38
| | | | encryption is enabled/disabled
* Merge pull request #11137 from owncloud/enc-pregfixVincent Petry2014-09-236-70/+313
|\ | | | | Fix share key pattern matching
| * Fix share key finding algorithm in various casesVincent Petry2014-09-236-70/+313
| | | | | | | | | | | | | | | | | | | | | | Instead of inaccurate pattern matching, use the list of users who we know have access to the file to build the list of share keys. This covers the following cases: - Move/copy files into a subfolder within a share - Unsharing from a user - Deleting files directlry / moving share keys to trashbin
* | create backup from all keys before recoveryBjoern Schiessle2014-09-191-0/+42
|/
* login as user1 before performing a testBjoern Schiessle2014-08-151-1/+1
|
* Merge pull request #9754 from owncloud/enc_support_aes_256Vincent Petry2014-08-134-83/+164
|\ | | | | [encryption] support aes 256
| * add unit test for aes256/aes128Bjoern Schiessle2014-07-232-0/+192
| |