Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure all sharing tests extend the testcase | Joas Schilling | 2015-10-13 | 1 | -1/+5 |
| | |||||
* | Unit test for etag update on custom share folder | Vincent Petry | 2015-07-01 | 1 | -8/+36 |
| | |||||
* | Added unit test to verify link password removeal | Roeland Jago Douma | 2015-06-25 | 1 | -1/+23 |
| | |||||
* | Disable video preview if previews are disabled | Morris Jobke | 2015-06-10 | 1 | -0/+1 |
| | |||||
* | Merge pull request #16496 from owncloud/stable8-share-readonlyfile-permissions | Björn Schießle | 2015-05-26 | 1 | -2/+1 |
|\ | | | | | [stable8] Do not automatically add "update" permission to shared mounts | ||||
| * | Do not automatically add "update" permission to shared mounts | Vincent Petry | 2015-05-21 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | In the past it seems the update permission was needed to be able to rename shared mounts, but it doesn't seem to be the case any more. Removing the "update" permission that used to be added automatically fixes the read-only permission check when trying to overwrite a read-only file over WebDAV. | ||||
* | | Add tests for the correct share id on the call aswell | Joas Schilling | 2015-05-04 | 1 | -3/+15 |
| | | |||||
* | | check the called URL | Joas Schilling | 2015-05-04 | 1 | -3/+13 |
| | | |||||
* | | Merge the two tests into one | Joas Schilling | 2015-05-04 | 2 | -154/+67 |
| | | |||||
* | | *cough* | Joas Schilling | 2015-05-04 | 1 | -4/+13 |
| | | |||||
* | | Add a unit test for the naming conflict on the mountpoint name | Joas Schilling | 2015-05-04 | 1 | -0/+130 |
| | | |||||
* | | Do not make setupMounts() public just because of testing | Joas Schilling | 2015-05-04 | 1 | -11/+11 |
| | | |||||
* | | Add unit tests for external share mananger | Robin Appelman | 2015-05-04 | 1 | -0/+142 |
|/ | |||||
* | Revert "Revert "[stable8] Properly add trailing slash to mount point"" | Morris Jobke | 2015-04-16 | 1 | -3/+9 |
| | |||||
* | Revert "[stable8] Properly add trailing slash to mount point" | Thomas Müller | 2015-04-16 | 1 | -9/+3 |
| | |||||
* | Properly add trailing slash to mount point | Vincent Petry | 2015-04-13 | 1 | -3/+9 |
| | | | | | Fixes resolving mount points when shared mount point's target name has the same prefix as the source name | ||||
* | Merge pull request #15246 from owncloud/stable8-share-partfilepermissions | Morris Jobke | 2015-03-27 | 1 | -0/+152 |
|\ | | | | | [stable8] Fix share permission checks | ||||
| * | Fix share permission related unit tests | Vincent Petry | 2015-03-26 | 1 | -9/+13 |
| | | |||||
| * | Fix shared storage permission checks | Vincent Petry | 2015-03-26 | 1 | -0/+148 |
| | | |||||
* | | always fall back to default share folder | Bjoern Schiessle | 2015-03-26 | 1 | -2/+4 |
| | | |||||
* | | Merge pull request #14860 from owncloud/stable8-fix-sizepropagationwithshares | Morris Jobke | 2015-03-26 | 1 | -0/+90 |
|\ \ | |/ |/| | [stable8] Fix size propagation over shared storage boundary | ||||
| * | Add unit test for size propagation across share boundaries | Vincent Petry | 2015-03-13 | 1 | -0/+90 |
| | | |||||
* | | Merge pull request #15193 from owncloud/stable8-15145 | Vincent Petry | 2015-03-26 | 1 | -2/+60 |
|\ \ | | | | | | | Stable8: 15145 | ||||
| * | | Properly catch whether a share is `null` | Lukas Reschke | 2015-03-25 | 1 | -2/+60 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Despite it's PHPDoc the function might return `null` which was not properly catched and thus in some situations the share was resolved to the sharing users root directory. To test this perform the following steps: * Share file in owncloud 7 (7.0.4.2) * Delete the parent folder of the shared file * The share stays is in the DB and the share via the sharelink is inaccessible. (which is good) * Upgrade to owncloud 8 (8.0.2) (This step is crucial. The bug is not reproduceable without upgrading from 7 to 8. It seems like the old tokens are handled different than the newer ones) * Optional Step: Logout, Reset Browser Session, etc. * Access the share via the old share url: almost empty page, but there is a dowload button which adds a "/download" to the URL. * Upon clicking, a download.zip is downloaded which contains EVERYTHING from the owncloud directory (of the user who shared the file) * No exception is thrown and no error is logged. This will add a check whether the share is a valid one and also adds unit tests to prevent further regressions in the future. Needs to be backported to ownCloud 8. Adding a proper clean-up of the orphaned shares is out-of-scope and would probably require some kind of FK or so. Fixes https://github.com/owncloud/core/issues/15097 | ||||
* / | Backport of #15025 | Roeland Jago Douma | 2015-03-20 | 1 | -0/+18 |
|/ | | | | | | | | When the expiration date is enforced respect this - Make sure that we do not allow removing of the expiration date when this is enforced in the settings. - Added unit test | ||||
* | Revert "Add OCS sharing info to capabilities" | Lukas Reschke | 2015-02-07 | 1 | -201/+0 |
| | |||||
* | Updated unit tests | Roeland Jago Douma | 2015-02-06 | 1 | -43/+123 |
| | |||||
* | Split up unit tests | Roeland Jago Douma | 2015-02-04 | 1 | -16/+24 |
| | |||||
* | Added unit test to test getCapabilities for files_sharing | Roeland Jago Douma | 2015-02-04 | 1 | -0/+113 |
| | |||||
* | Merge pull request #13561 from owncloud/trash-finaldeletewhencrossstoragefix | Vincent Petry | 2015-01-27 | 2 | -0/+4 |
|\ | | | | | Call final unlink in trash wrapper's storage | ||||
| * | Unregister trashbin storage wrapper at the end of tests | Vincent Petry | 2015-01-23 | 2 | -0/+4 |
| | | | | | | | | Some more tests that uses the storage wrapper now remove it afterwards | ||||
* | | Merge pull request #13679 from owncloud/public-disablesharejsplugin | Thomas Müller | 2015-01-27 | 1 | -1/+25 |
|\ \ | | | | | | | Disable JS plugin for sharing in public mode | ||||
| * | | Disable JS plugin for sharing in public mode | Vincent Petry | 2015-01-26 | 1 | -1/+25 |
| | | | | | | | | | | | | | | | This removes the logic that registers the share action and modifies the rows. Share actions aren't needed in the public file list. | ||||
* | | | Only reload file list after remote share accept request returns | Vincent Petry | 2015-01-26 | 1 | -2/+120 |
|/ / | | | | | | | | | When accepting a remote share, an ajax request is sent to the server. Only once this request returns should the file list be reloaded. | ||||
* | | certificate manager only needs the user-id, no need to pass on the complete ↵ | Bjoern Schiessle | 2015-01-26 | 1 | -2/+3 |
| | | | | | | | | user object | ||||
* | | by default send mail for new server-to-server share | Bjoern Schiessle | 2015-01-23 | 1 | -0/+65 |
| | | |||||
* | | delete all server-to-server shares if a user gets deleted | Bjoern Schiessle | 2015-01-21 | 1 | -0/+76 |
| | | |||||
* | | Merge pull request #13432 from owncloud/animate_gifs_public_sharing | Thomas Müller | 2015-01-21 | 1 | -1/+3 |
|\ \ | | | | | | | show animated gifs on public sharing page | ||||
| * | | show animated gifs on public sharing page | Georg Ehrke | 2015-01-19 | 1 | -1/+3 |
| | | | |||||
* | | | Merge pull request #13540 from owncloud/s2s-fixpasswordfromdialog | Thomas Müller | 2015-01-21 | 1 | -0/+123 |
|\ \ \ | | | | | | | | | External share dialog must properly read entered password | ||||
| * | | | Add unit test for external share JS dialog | Vincent Petry | 2015-01-21 | 1 | -0/+123 |
| | |/ | |/| | | | | | | | | | | | | | Moved external share JS code into a small plugin to make it testable. Added unit test for the external share dialog logic + ajax calls. | ||||
* | | | Fixed external cache test namespace | Vincent Petry | 2015-01-21 | 1 | -1/+3 |
| | | | |||||
* | | | Fix webdav mkdir for remote shares | Vincent Petry | 2015-01-21 | 1 | -0/+112 |
|/ / | |||||
* / | replace hook with storage wrapper | Bjoern Schiessle | 2015-01-19 | 4 | -7/+9 |
|/ | |||||
* | remove deprecated code - fixes #13119 | Thomas Müller | 2015-01-14 | 1 | -18/+18 |
| | |||||
* | set accept to 1 (=true) for all server-to-server shares on update, at this ↵ | Bjoern Schiessle | 2015-01-13 | 1 | -0/+76 |
| | | | | point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table | ||||
* | don't delete share table entries for the unique name if re-share permission ↵ | Bjoern Schiessle | 2015-01-07 | 1 | -0/+32 |
| | | | | was removed | ||||
* | Merge pull request #12942 from owncloud/favs-missingsharedsubdirs | Morris Jobke | 2014-12-21 | 1 | -1/+56 |
|\ | | | | | Fix issues with searchByTag in shared storage | ||||
| * | Fix issues with searchByTag in shared storage | Vincent Petry | 2014-12-18 | 1 | -1/+56 |
| | | |||||
* | | Next step in server-to-server sharing next generation, see #12285 | Bjoern Schiessle | 2014-12-19 | 1 | -4/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. |