summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make sure all sharing tests extend the testcaseJoas Schilling2015-10-131-1/+5
|
* Unit test for etag update on custom share folderVincent Petry2015-07-011-8/+36
|
* Added unit test to verify link password removealRoeland Jago Douma2015-06-251-1/+23
|
* Disable video preview if previews are disabledMorris Jobke2015-06-101-0/+1
|
* Merge pull request #16496 from owncloud/stable8-share-readonlyfile-permissionsBjörn Schießle2015-05-261-2/+1
|\ | | | | [stable8] Do not automatically add "update" permission to shared mounts
| * Do not automatically add "update" permission to shared mountsVincent Petry2015-05-211-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 aswellJoas Schilling2015-05-041-3/+15
| |
* | check the called URLJoas Schilling2015-05-041-3/+13
| |
* | Merge the two tests into oneJoas Schilling2015-05-042-154/+67
| |
* | *cough*Joas Schilling2015-05-041-4/+13
| |
* | Add a unit test for the naming conflict on the mountpoint nameJoas Schilling2015-05-041-0/+130
| |
* | Do not make setupMounts() public just because of testingJoas Schilling2015-05-041-11/+11
| |
* | Add unit tests for external share manangerRobin Appelman2015-05-041-0/+142
|/
* Revert "Revert "[stable8] Properly add trailing slash to mount point""Morris Jobke2015-04-161-3/+9
|
* Revert "[stable8] Properly add trailing slash to mount point"Thomas Müller2015-04-161-9/+3
|
* Properly add trailing slash to mount pointVincent Petry2015-04-131-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-partfilepermissionsMorris Jobke2015-03-271-0/+152
|\ | | | | [stable8] Fix share permission checks
| * Fix share permission related unit testsVincent Petry2015-03-261-9/+13
| |
| * Fix shared storage permission checksVincent Petry2015-03-261-0/+148
| |
* | always fall back to default share folderBjoern Schiessle2015-03-261-2/+4
| |
* | Merge pull request #14860 from owncloud/stable8-fix-sizepropagationwithsharesMorris Jobke2015-03-261-0/+90
|\ \ | |/ |/| [stable8] Fix size propagation over shared storage boundary
| * Add unit test for size propagation across share boundariesVincent Petry2015-03-131-0/+90
| |
* | Merge pull request #15193 from owncloud/stable8-15145Vincent Petry2015-03-261-2/+60
|\ \ | | | | | | Stable8: 15145
| * | Properly catch whether a share is `null`Lukas Reschke2015-03-251-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 #15025Roeland Jago Douma2015-03-201-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 Reschke2015-02-071-201/+0
|
* Updated unit testsRoeland Jago Douma2015-02-061-43/+123
|
* Split up unit testsRoeland Jago Douma2015-02-041-16/+24
|
* Added unit test to test getCapabilities for files_sharingRoeland Jago Douma2015-02-041-0/+113
|
* Merge pull request #13561 from owncloud/trash-finaldeletewhencrossstoragefixVincent Petry2015-01-272-0/+4
|\ | | | | Call final unlink in trash wrapper's storage
| * Unregister trashbin storage wrapper at the end of testsVincent Petry2015-01-232-0/+4
| | | | | | | | Some more tests that uses the storage wrapper now remove it afterwards
* | Merge pull request #13679 from owncloud/public-disablesharejspluginThomas Müller2015-01-271-1/+25
|\ \ | | | | | | Disable JS plugin for sharing in public mode
| * | Disable JS plugin for sharing in public modeVincent Petry2015-01-261-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 returnsVincent Petry2015-01-261-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 Schiessle2015-01-261-2/+3
| | | | | | | | user object
* | by default send mail for new server-to-server shareBjoern Schiessle2015-01-231-0/+65
| |
* | delete all server-to-server shares if a user gets deletedBjoern Schiessle2015-01-211-0/+76
| |
* | Merge pull request #13432 from owncloud/animate_gifs_public_sharingThomas Müller2015-01-211-1/+3
|\ \ | | | | | | show animated gifs on public sharing page
| * | show animated gifs on public sharing pageGeorg Ehrke2015-01-191-1/+3
| | |
* | | Merge pull request #13540 from owncloud/s2s-fixpasswordfromdialogThomas Müller2015-01-211-0/+123
|\ \ \ | | | | | | | | External share dialog must properly read entered password
| * | | Add unit test for external share JS dialogVincent Petry2015-01-211-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 namespaceVincent Petry2015-01-211-1/+3
| | |
* | | Fix webdav mkdir for remote sharesVincent Petry2015-01-211-0/+112
|/ /
* / replace hook with storage wrapperBjoern Schiessle2015-01-194-7/+9
|/
* remove deprecated code - fixes #13119Thomas Müller2015-01-141-18/+18
|
* set accept to 1 (=true) for all server-to-server shares on update, at this ↵Bjoern Schiessle2015-01-131-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 Schiessle2015-01-071-0/+32
| | | | was removed
* Merge pull request #12942 from owncloud/favs-missingsharedsubdirsMorris Jobke2014-12-211-1/+56
|\ | | | | Fix issues with searchByTag in shared storage
| * Fix issues with searchByTag in shared storageVincent Petry2014-12-181-1/+56
| |
* | Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-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.