summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use group display name in sharing API + UIVincent Petry2016-12-222-12/+21
|
* Merge pull request #2759 from nextcloud/kill-appconfig-delete-share-linkMorris Jobke2016-12-222-48/+0
|\ | | | | Remove config change hook that deletes link shares (#26612)
| * Remove config change hook that deletes link shares (#26612)Vincent Petry2016-12-192-48/+0
| | | | | | | | | | | | | | | | | | Seems broken. But also if link shares are not allowed, the link shares will continue to exist but will be denied. A future cleanup could be done through a background job. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | When grouping shares, sort by stime then id (#26777)Vincent Petry2016-12-191-1/+1
|/ | | | | | | If share times are equal, the first share should still win instead of having the shares swapped. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #2695 from nextcloud/remove-leading-slashes-on-share-activityLukas Reschke2016-12-164-4/+4
|\ | | | | Remove leading slash from sharing activity
| * Remove leading slash from sharing activityJoas Schilling2016-12-154-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2673 from nextcloud/shared-scanner-unmaskedLukas Reschke2016-12-152-3/+9
|\ \ | |/ |/| use unmasked permissions in shared scanner
| * use unmasked permissions in shared scannerRobin Appelman2016-12-142-3/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix overwriting parameterRoeland Jago Douma2016-12-131-3/+3
| | | | | | | | | | | | Fixes #2641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2637 from nextcloud/mount-cache-storageidLukas Reschke2016-12-131-15/+19
|\ \ | | | | | | also compare storage ids when checking for changed mounts
| * | reuse cacheentryRobin Appelman2016-12-131-15/+19
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | update phpdocMaxence Lange2016-12-121-0/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@pontapreta.net>
* | Download a file in a subfolder in a sharedlink is not workingMaxence Lange2016-12-111-3/+3
|/ | | the $node created using the path (GET) parameter is not used when executing fileListDownloaded()
* apply permissions mask for shared storageRobin Appelman2016-12-021-4/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adjust all implementations in the server repoJoas Schilling2016-12-015-22/+55
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix image_src linkLukas Reschke2016-11-281-1/+1
| | | | | | The link in the image_src link (used for previews on Social Media such as Facebook) was still using the old route. This changes it to use the new route. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix placeholder typo in public link activityJoas Schilling2016-11-231-1/+1
| | | https://www.transifex.com/nextcloud/nextcloud/translate/#152/files_sharing/101548786/
* Merge pull request #2281 from nextcloud/fix-translationMorris Jobke2016-11-232-4/+4
|\ | | | | Fix language typo
| * Fix language typoJoas Schilling2016-11-232-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2262 from nextcloud/specify-parameters-on-public-downloadLukas Reschke2016-11-231-3/+9
|\ \ | | | | | | Specify the parameters on public download
| * | Specify the parameters on public downloadJoas Schilling2016-11-221-3/+9
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Only do stuff when its a remote-share activityJoas Schilling2016-11-221-2/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2165 from nextcloud/sharing-activities-updateRoeland Jago Douma2016-11-2211-500/+1602
|\ | | | | Move file sharing activities to the new API
| * Move file sharing activities to the new APIJoas Schilling2016-11-1611-500/+1602
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add config switchLukas Reschke2016-11-211-14/+28
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix lookup urlRoeland Jago Douma2016-11-211-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Search on lookup serverRoeland Jago Douma2016-11-211-4/+40
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2196 from nextcloud/cache-owner-displaynameLukas Reschke2016-11-181-1/+10
|\ \ | | | | | | cache the displayname of the share owner
| * | cache the displayname of the share ownerRobin Appelman2016-11-181-1/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix getting root entry when not provided by the share providerRobin Appelman2016-11-171-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | let the share backend get the node cacheentry to save queriesRobin Appelman2016-11-172-8/+27
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | dont use the source cache/storage until neededRobin Appelman2016-11-171-15/+9
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / reuse the known rootinfo in the shared cache when possibleRobin Appelman2016-11-173-2/+35
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fixes not allowed increasing of link share permissionsRoeland Jago Douma2016-11-131-0/+1
| | | | | | | | | | | | | | | Fixes the following: 1. user0 shares folder with user1 (RO but with sharing permissions) 2. user1 shares by link 3. user1 send 'publicUpload=true' OCS request to the link share before this increased the permissions of the link share. Which should not happen. now: API reponds with an error that the permissions can't be increased. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Only check the sharing backends for file/folder itemsJoas Schilling2016-11-101-13/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add activity if a file was shared by mailBjoern Schiessle2016-11-081-5/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add activity for share by mailBjoern Schiessle2016-11-082-45/+103
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* More testsRoeland Jago Douma2016-11-031-20/+14
| | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move publicpreview overRoeland Jago Douma2016-11-031-0/+108
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1978 from nextcloud/remove-send-mail-optionMorris Jobke2016-11-022-3/+16
|\ | | | | Remove send mail option
| * remove the 'shareapi_allow_mail_notification' settingBjoern Schiessle2016-11-021-1/+14
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-2/+2
| | | | | | | | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Remove upload_limit in files app as it is not needed with PUT upload (#26069)Vincent Petry2016-11-021-3/+1
| | | | | | | | | | | | | | The web UI now uses for PUT uploads which aren't restricted by PHP's upload_max_filesize and post_max_size Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #1887 from nextcloud/downstream-26370Morris Jobke2016-11-021-2/+8
|\ \ | |/ |/| Added functions to check etag of elements - integration tests
| * Fix OCS API to be able to remove group shares from self as recipientRoeland Jago Douma2016-11-021-2/+8
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | remove unused variableBjoern Schiessle2016-11-011-1/+0
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | unit tests updated and new addedBjoern Schiessle2016-11-012-11/+16
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | don't show 'notify by mail' option or permissions not available for mail sharesBjoern Schiessle2016-11-011-1/+2
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | if we have a exact match, either for the federated cloud id or for theBjoern Schiessle2016-11-011-26/+41
| | | | | | | | | | | | | | email address we only return the exact match. It is highly unlikely that the exact same email address and federated cloud id exists Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | unified way to display remote shares and mail sharesBjoern Schiessle2016-11-011-2/+2
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>