aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/share/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\Share to PSR-4Roeland Jago Douma2016-05-031-326/+0
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-081-2/+2
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-141-0/+34
|
* Merge pull request #17163 from owncloud/update-licensesLukas Reschke2015-06-271-0/+1
|\ | | | | Update license headers
| * update license headers and authorsMorris Jobke2015-06-251-0/+1
| |
* | Use \OC\HintException and translate the hintJoas Schilling2015-06-221-4/+8
| |
* | Merge spliteUserRemote with fixRemoteUrlInShareWithJoas Schilling2015-06-221-21/+39
| |
* | make sure that we split username and server address at the first '@' from ↵Bjoern Schiessle2015-06-221-0/+22
|/ | | | the right to allow usernames containing '@'
* Merge pull request #13896 from owncloud/share-generatetarget-remove-excludeBjörn Schießle2015-04-091-17/+2
|\ | | | | Dont create exclude list for generating the share target
| * Dont create exclude list for generating the share targetRobin Appelman2015-02-041-17/+2
| |
* | Merge pull request #13938 from owncloud/deprecate-iappconfigThomas Müller2015-03-271-3/+5
|\ \ | | | | | | Deprecated \OCP\IAppConfig - add missing methods to IConfig
| * | migrate share helper method to IConfigMorris Jobke2015-03-181-3/+5
| | |
* | | Update license headersJenkins for ownCloud2015-03-261-12/+18
|/ /
* / Extract the remote host from user input in share dropdownJoas Schilling2015-02-231-0/+30
|/ | | | Fix #13678
* Fix reshare permission change to not impair other deletion codeVincent Petry2015-01-221-8/+19
| | | | | | | | | | | | | | A recent change that prevents reshare permission changes to delete group share children had the side-effect of also preventing group share children deletion when it needed to be done. This fix adds an extra flag to isolate the "reshare permission change" deletion case and keep the other ones as they were before, not only to fix the regression but also fix other potential regressions in code that uses this method. Also updated the comment because now Helper::delete() is no longer limited to reshares but also applies to group share children.
* don't delete share table entries for the unique name if re-share permission ↵Bjoern Schiessle2015-01-071-4/+4
| | | | was removed
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-1/+1
| | | | | | | | | | | | | | 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.
* Consolidate if statement, and update unit testMiguel Prokop2014-11-211-4/+2
|
* fix calculation of expiration date if there is a default expiration date set ↵Miguel Prokop2014-11-211-3/+8
| | | | (but not forced) and the user does not want the link to expire.
* some small fixed, suggested by scrutinizerBjoern Schiessle2014-09-291-3/+1
|
* on unshare only unshare childrens if there is no other parent availableBjoern Schiessle2014-09-261-4/+20
|
* call \OCP\Share::getItemsSharedWithUser() to get exclude list, this way all ↵Bjoern Schiessle2014-09-251-29/+5
| | | | checks are executed, e.g. to check if the share is really visible
* generateTarget() will always find a unique targetBjoern Schiessle2014-09-241-77/+40
|
* make sure that during share and unshare the etags get propagated correctlyBjoern Schiessle2014-06-251-4/+18
|
* only expire link sharesBjoern Schiessle2014-06-061-0/+12
|
* make sure that we remove all shares refering to the same parentBjoern Schiessle2014-06-061-21/+0
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* use default expire date only for link sharesBjoern Schiessle2014-05-161-3/+3
|
* fixing typo and missing @throwsThomas Müller2014-05-131-1/+2
|
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-10/+10
|
* add setting to set default expire dateBjoern Schiessle2014-04-241-0/+49
|
* add a "helper" and a "hooks" class. Move constants needed by multiple classesBjoern Schiessle2014-03-251-0/+202
to a "constants" class