summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/application.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersJenkins for ownCloud2015-03-261-5/+19
|
* Properly catch whether a share is `null`Lukas Reschke2015-03-241-1/+4
| | | | | | | | | | | | | | | | | | | | | 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
* Revert "Updating license headers"Morris Jobke2015-02-261-18/+6
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-6/+18
|
* use uid provided by setupfs hook to mount server2server shares, otherwise ↵Bjoern Schiessle2015-01-261-2/+4
| | | | mount will fail for public link shares
* remove deprecated code - fixes #13119Thomas Müller2015-01-141-17/+18
|
* add activity if public shared file/folder was downloadedBjoern Schiessle2014-12-221-1/+2
|
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-0/+21
| | | | | | | | | | | | | | 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.
* Refactor file sharing public link handlingLukas Reschke2014-11-141-0/+73
fixes download issue introduced by #10755 Conflicts: apps/files_sharing/public.php