summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused use statementsMorris Jobke2017-04-222-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4350 from ↵Roeland Jago Douma2017-04-191-1/+3
|\ | | | | | | | | nextcloud/adjust-old-bruteforce-protection-annotations Adjust existing bruteforce protection code
| * Adjust existing bruteforce protection codeLukas Reschke2017-04-141-1/+3
| | | | | | | | | | | | | | - Moves code to annotation - Adds the `throttle()` call on the responses on existing annotations Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2834 from nextcloud/accesListToShareManagerMorris Jobke2017-04-151-0/+40
|\ \ | |/ |/| Access list to share manager
| * Adjust docs and make !$currentAccess simplerJoas Schilling2017-04-131-0/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix returned paths for remote sharesJoas Schilling2017-04-131-2/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Return the token as wellJoas Schilling2017-04-131-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Return the paths for the users without setting them all upJoas Schilling2017-04-131-4/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add mail element to access listRoeland Jago Douma2017-04-131-1/+1
| | | | | | | | | | | | | | | | * Each provider just returns what they have so adding an element won't require changing everything * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Offload acceslist creation to providersRoeland Jago Douma2017-04-131-0/+25
| | | | | | | | | | | | | | | | * This allows for effective queries. * Introduce currentAccess parameter to speciy if the users needs to have currently acces (deleted incomming group share). (For notifications) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add support for ratelimiting via annotationsLukas Reschke2017-04-131-1/+1
|/ | | | | | | | | | | | | This allows adding rate limiting via annotations to controllers, as one example: ``` @UserRateThrottle(limit=5, period=100) @AnonRateThrottle(limit=1, period=100) ``` Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-126-182/+21
|\ | | | | Discover federatedsharing endpoints
| * Do proper DIRoeland Jago Douma2017-04-114-5/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-116-182/+21
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Update comments to NextcloudMorris Jobke2017-04-111-1/+1
|/ | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* properly quota table names in getSharesInFolderRobin Appelman2017-04-101-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* simplify return statementBjoern Schiessle2017-04-101-4/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to disable upload to lookup server, by default it is enabledBjoern Schiessle2017-04-072-0/+12
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add api to change the remote of an incoming federated shareRobin Appelman2017-03-101-21/+58
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix DI of the cloud id manager into appsJoas Schilling2017-02-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* clean cloud idsRobin Appelman2017-02-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a single public api for resolving a cloud id to a user and remote and backRobin Appelman2017-02-087-90/+78
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* some code cleanup while working on the fileBjoern Schiessle2017-01-191-19/+26
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add brute force protection to 'mount public link' operationBjoern Schiessle2017-01-191-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add an icon to the federated sharing notificationJoas Schilling2016-11-281-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2165 from nextcloud/sharing-activities-updateRoeland Jago Douma2016-11-221-15/+23
|\ | | | | Move file sharing activities to the new API
| * Move file sharing activities to the new APIJoas Schilling2016-11-161-15/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add config switchLukas Reschke2016-11-212-0/+11
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* catch all exception and return a user friendly exception messageBjoern Schiessle2016-11-021-4/+11
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use https by default if no protocol is given. Only use unsecure connection ↵Bjoern Schiessle2016-11-022-32/+43
| | | | | | if it is explicitely given Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix merging backend resultsRoeland Jago Douma2016-11-011-1/+1
| | | | | | | | * Merge share types correctly * Filter share types * Order share types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add remoteprovider getsharesinfolder functionRoeland Jago Douma2016-10-311-2/+40
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add getShareTypesInFolder to optimize folder listeningRobin Appelman2016-10-311-0/+5
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* Move federated share notifications to ROSJoas Schilling2016-10-201-5/+127
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix some more sniffsJoas Schilling2016-09-121-1/+0
|
* Move federated sharing routes to the federatedfilesharingappRoeland Jago Douma2016-08-282-71/+132
| | | | | | | | * Move routes to app * Move routes over to the AppFramework * Fix tests There is plenty of stuff to fix properly here. But out of scope for now.
* HTTPHelper is deprecatedRoeland Jago Douma2016-08-242-2/+2
| | | | Use the IClientService instead
* adjust federatedfilesharingArthur Schiwon2016-08-112-1/+69
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-2110-14/+32
|
* don't convert link share to federated share if outgoing federated shares are ↵Bjoern Schiessle2016-07-141-1/+11
| | | | forbidden
* rename SaveToNextcloudController to MountPublicLinkControllerBjoern Schiessle2016-07-141-8/+15
|
* adjust copyright noticesBjoern Schiessle2016-07-141-0/+2
|
* allow to mount public link from Nextclouds <= 9Bjoern Schiessle2016-07-141-4/+130
|
* move some stuff over to the federatedfilesharing appBjoern Schiessle2016-07-141-5/+70
|
* s/ownCloud/NextcloudBjoern Schiessle2016-07-141-4/+4
|
* continue to accept the URL of the remote server instead of the federated ↵Bjoern Schiessle2016-07-141-7/+33
| | | | cloud id
* create a real federated share if a user add a public link to his ownCloudBjörn Schießle2016-07-143-4/+96
| | | | this way the owner sees all mounted public links and control them individually
* Merge branch 'master' into sync-masterMorris Jobke2016-07-073-4/+4
|\
| * Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-06-271-2/+2
| |\