Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | get correct user for paths to the trash bin, needed for remote shares if the ↵ | Bjoern Schiessle | 2015-01-30 | 1 | -0/+1 |
| | | | | size of of trash gets calculated | ||||
* | Fix intendation | Joas Schilling | 2015-01-29 | 1 | -3/+3 |
| | |||||
* | Fix more assertions | Joas Schilling | 2015-01-29 | 1 | -26/+26 |
| | |||||
* | Fix 2 assertions | Joas Schilling | 2015-01-29 | 1 | -3/+3 |
| | |||||
* | make sure that we always create a public share key for remote shares | Bjoern Schiessle | 2015-01-29 | 1 | -31/+92 |
| | |||||
* | Call final unlink in trash wrapper's storage | Vincent Petry | 2015-01-23 | 1 | -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 Jobke | 2015-01-19 | 1 | -2/+11 |
|\ | | | | | | | | | owncloud/reauthenticate-if-session-differs-from-basic-auth Prioritise Basic Auth header over Cookie | ||||
| * | Prioritise Basic Auth header over Cookie | Lukas Reschke | 2015-01-17 | 1 | -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 wrapper | Bjoern Schiessle | 2015-01-19 | 1 | -21/+19 |
|/ | |||||
* | Merge pull request #13288 from owncloud/enc_fix_public_download | Lukas Reschke | 2015-01-14 | 1 | -12/+1 |
|\ | | | | | [encryption] fix download of public shared files | ||||
| * | if we download a public shared file we need to retrieve the user from the path | Bjoern Schiessle | 2015-01-13 | 1 | -12/+1 |
| | | |||||
* | | adapt decrypt all and restore/delete key backups to the new folder structure ↵ | Bjoern Schiessle | 2015-01-13 | 1 | -14/+83 |
|/ | | | | for encryption key introduced with OC8 | ||||
* | Merge pull request #13182 from owncloud/download_versions | Björn Schießle | 2015-01-12 | 4 | -63/+262 |
|\ | | | | | make versions of shared files downloadable | ||||
| * | make versions of shared files downloadable | Bjoern Schiessle | 2015-01-09 | 4 | -63/+262 |
| | | |||||
* | | unit tests | Bjoern Schiessle | 2015-01-09 | 1 | -4/+86 |
|/ | |||||
* | Merge pull request #12961 from owncloud/try_to_cache_keys | Morris Jobke | 2014-12-22 | 3 | -9/+45 |
|\ | | | | | cache keys to read them only once from the hard disc | ||||
| * | cache keys to read them only once from the hard disc | Bjoern Schiessle | 2014-12-19 | 3 | -9/+45 |
| | | |||||
* | | Next step in server-to-server sharing next generation, see #12285 | Bjoern Schiessle | 2014-12-19 | 1 | -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 IConfig | Morris Jobke | 2014-12-17 | 1 | -7/+12 |
|/ | |||||
* | Correctly namespace encryption tests | Joas Schilling | 2014-12-09 | 12 | -185/+181 |
| | |||||
* | Use self:: instead of the class name in encryption tests | Joas Schilling | 2014-12-09 | 10 | -361/+361 |
| | |||||
* | Update OCA\Encryption to OCA\Files_Encryption in the encryption app itself | Joas Schilling | 2014-12-09 | 12 | -124/+126 |
| | |||||
* | reduce OC_Preferences, OC_Config and \OCP\Config usage | Morris Jobke | 2014-12-08 | 1 | -1/+3 |
| | | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container | ||||
* | upgrade to new folder structure | Bjoern Schiessle | 2014-12-02 | 12 | -305/+211 |
| | |||||
* | change private/public key names for consistency reasons | Bjoern Schiessle | 2014-11-26 | 4 | -16/+21 |
| | |||||
* | new folder structure for keys | Bjoern Schiessle | 2014-11-26 | 8 | -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 constant | Joas Schilling | 2014-11-25 | 2 | -12/+12 |
| | |||||
* | Fix file upload to ext storage when recovery key is enabled | Vincent Petry | 2014-11-20 | 1 | -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 methods | Joas Schilling | 2014-11-19 | 1 | -3/+7 |
| | |||||
* | Fix single run of encryption tests and usages of uniqid() and fopen() | Joas Schilling | 2014-11-17 | 11 | -259/+375 |
| | |||||
* | Skip some more tests on Windows which just can not work at all | Joas Schilling | 2014-11-17 | 1 | -0/+7 |
| | |||||
* | remove unnecessary require calls - the ownCloud class loader is supposed to ↵ | Thomas Müller | 2014-10-30 | 10 | -71/+0 |
| | | | | take care of this | ||||
* | Properly register sharing hooks and proxies | Vincent Petry | 2014-10-30 | 1 | -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-owner | Vincent Petry | 2014-10-29 | 1 | -2/+15 |
| | |||||
* | make tests compatible with hook based skeleton generation | Jörn Friedrich Dreyer | 2014-10-20 | 10 | -7/+84 |
| | |||||
* | we also encrypt/decrypt files in the versions folder for previews and if ↵ | Bjoern Schiessle | 2014-10-06 | 1 | -0/+38 |
| | | | | encryption is enabled/disabled | ||||
* | Merge pull request #11137 from owncloud/enc-pregfix | Vincent Petry | 2014-09-23 | 6 | -70/+313 |
|\ | | | | | Fix share key pattern matching | ||||
| * | Fix share key finding algorithm in various cases | Vincent Petry | 2014-09-23 | 6 | -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 recovery | Bjoern Schiessle | 2014-09-19 | 1 | -0/+42 |
|/ | |||||
* | login as user1 before performing a test | Bjoern Schiessle | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9754 from owncloud/enc_support_aes_256 | Vincent Petry | 2014-08-13 | 4 | -83/+164 |
|\ | | | | | [encryption] support aes 256 | ||||
| * | add unit test for aes256/aes128 | Bjoern Schiessle | 2014-07-23 | 2 | -0/+192 |
| | | |||||
| * | update existing unit tests | Bjoern Schiessle | 2014-07-23 | 4 | -126/+15 |
| | | |||||
* | | fixes from git push force | Morris Jobke | 2014-08-12 | 1 | -2/+0 |
| | | |||||
* | | add unit tests | Bjoern Schiessle | 2014-08-12 | 1 | -0/+49 |
| | | |||||
* | | Disable encryption migration tests | Morris Jobke | 2014-08-05 | 1 | -0/+8 |
| | | |||||
* | | Minor fixes | Morris Jobke | 2014-08-05 | 1 | -1/+1 |
| | | | | | | | | | | | | * instanceof \OC\Files\View * fix misplaced paranthesis * remove misplaced character in comment | ||||
* | | add unit test for rename and copy operation | Bjoern Schiessle | 2014-07-30 | 1 | -0/+52 |
|/ | |||||
* | check that the file proxies are enabled after each test | Bjoern Schiessle | 2014-07-17 | 1 | -0/+2 |
| | |||||
* | update keys recursively if a folder was moved | Bjoern Schiessle | 2014-07-17 | 1 | -0/+48 |
| |