summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix logo path in personal federated sharing settingsJulius Härtl2018-10-291-6/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-3/+3
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* handle unshare request from ownerBjoern Schiessle2018-07-111-18/+25
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* accept/decline group sharesBjoern Schiessle2018-07-111-0/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix notification when a group share is receivedBjoern Schiessle2018-07-111-9/+15
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement federated group sharesBjoern Schiessle2018-07-114-49/+122
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add setting to enable/disable federated group sharingBjoern Schiessle2018-07-112-1/+47
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add API to undelete delete group sharesRoeland Jago Douma2018-07-051-0/+5
| | | | | | | | | | | When a group share is deleted we keep track of this in the DB. Right now it is only possible for a recipient to get back the share by asking the sharer to delete it and to share it again. This doesn't scale. This endpoint makes it possible to get back the share. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove unused codeBjoern Schiessle2018-07-021-24/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* remove debug outputBjoern Schiessle2018-07-021-1/+0
|
* add support for different share typesBjoern Schiessle2018-07-021-0/+10
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make sure that remote url gets stored with a trailing '/'Bjoern Schiessle2018-07-021-0/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* remove unused methodBjoern Schiessle2018-07-021-24/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some minor fixes and clode cleanupBjoern Schiessle2018-07-022-17/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle2018-07-023-32/+22
| | | | | | \OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix check for reshare permissionsBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send RESHARE_CHANGE_PERMISSION messageBjoern Schiessle2018-07-022-45/+114
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement RESHARE_UNDO notificationBjoern Schiessle2018-07-023-5/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* - Don't remove share before all notifications are created, otherwise we miss ↵Bjoern Schiessle2018-07-021-13/+3
| | | | | | | | information necessary to create the notifications - Don't send message to owner/sharer about revoked re-shares twice. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement unshare notificationBjoern Schiessle2018-07-024-63/+145
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-024-42/+147
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement decline shareBjoern Schiessle2018-07-024-46/+115
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement accept share notificationBjoern Schiessle2018-07-023-72/+168
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-023-6/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send accept share notification (WIP)Bjoern Schiessle2018-07-021-5/+15
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-024-16/+94
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement receiving of federated sharesBjoern Schiessle2018-07-025-181/+338
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* start implementing federated sharing 2.0Bjoern Schiessle2018-07-023-1/+100
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* move log constants to ILoggerArthur Schiwon2018-04-263-3/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix DI for federated file sharing controllerMorris Jobke2018-04-232-6/+12
| | | | 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>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-2/+1
|\ | | | | Return value immediately instead of assigning to a one-time variable
| * Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove useless return statementsMorris Jobke2018-01-251-3/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-233-22/+34
| | | | 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-0610-2/+23
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add |null to PHPDocLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* 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>
* Simplified Nextcloud logo iconMarin Treselj2017-07-021-1/+1
| | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* We're on 13 now…Arthur Schiwon2017-06-261-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adapt federatedfilesharingArthur Schiwon2017-06-233-7/+187
| | | | | | also drops IE8 switch Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add new config switched for the global scale architectureBjoern Schiessle2017-05-293-3/+39
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove unused use statementsMorris Jobke2017-04-222-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>