summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* remove unused methodBjoern Schiessle2018-07-021-24/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle2018-07-021-15/+6
| | | | | | \OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send RESHARE_CHANGE_PERMISSION messageBjoern Schiessle2018-07-021-45/+32
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement RESHARE_UNDO notificationBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement unshare notificationBjoern Schiessle2018-07-021-58/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-021-32/+22
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement decline shareBjoern Schiessle2018-07-021-37/+13
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement accept share notificationBjoern Schiessle2018-07-021-62/+16
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement receiving of federated sharesBjoern Schiessle2018-07-021-87/+49
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* move log constants to ILoggerArthur Schiwon2018-04-262-2/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix DI for federated file sharing controllerMorris Jobke2018-04-231-5/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Less deprecated calls to OCP\Util::writeLogMorris Jobke2018-04-221-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not use \OCP\DB anymoreRoeland Jago Douma2018-03-261-5/+24
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove old code to be compatible with Nextcloud 9 and beforeMorris Jobke2018-03-121-114/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-232-21/+29
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup OC_User and OCP\UserMorris Jobke2018-01-161-1/+1
| | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* use OCSv2 to make sure that the error also arrives at the web front-endBjoern Schiessle2017-07-211-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* sent, an invitation, - successfulAllan Nordhøy2017-07-141-2/+2
|
* Fix owner cloud id in unshare activityJoas Schilling2017-07-101-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix activity emails for accept/decline of remote sharesJoas Schilling2017-07-101-6/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-222-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* 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>
* Do proper DIRoeland Jago Douma2017-04-112-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-112-17/+9
| | | | 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>
* Add a single public api for resolving a cloud id to a user and remote and backRobin Appelman2017-02-082-6/+20
| | | | 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>
* Move file sharing activities to the new APIJoas Schilling2016-11-161-15/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move federated sharing routes to the federatedfilesharingappRoeland Jago Douma2016-08-281-0/+608
| | | | | | | | * 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-241-1/+1
| | | | Use the IClientService instead
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* 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-141-0/+88
this way the owner sees all mounted public links and control them individually