summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix typoSergej Pupykin2020-07-161-1/+1
|
* Set proper share type when converting link shares to federated sharesJulius Härtl2020-05-261-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Default value of lookupServerEnabled should be the same everywhereGeorg Ehrke2020-03-171-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use proper andwhere clauseRoeland Jago Douma2020-02-031-1/+1
| | | | | | Fixes #19248 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove non-circles-generated shares onlyMaxence Lange2020-01-071-1/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Update license headers for 18Christoph Wurst2019-12-203-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* confirm auth on share generated by CirclesMaxence Lange2019-12-163-1/+19
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> returns true Signed-off-by: Maxence Lange <maxence@artificial-owl.com> DI Signed-off-by: Maxence Lange <maxence@artificial-owl.com> DI Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* revert protectedJohn Molakvoæ2019-12-061-1/+1
|
* Fix external sharing loading scriptJohn Molakvoæ (skjnldsv)2019-12-061-2/+19
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2019-12-0513-17/+26
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-227-12/+7
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #17985 from nextcloud/enh/use_displayname_federated_shareRoeland Jago Douma2019-11-182-12/+24
|\ | | | | Use the displayname for federated notifications
| * Use the displayname for federated notificationsRoeland Jago Douma2019-11-182-12/+24
| | | | | | | | | | | | | | Since we have the showing this is a lot nicer. Especially on alrge isntances where the uid can be totally random. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add the notifier and the API endpoint for user sharesJoas Schilling2019-11-121-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Get all shares as iterableRoeland Jago Douma2019-10-301-0/+27
| | | | | | | | | | | | Sometimes we need all shares or rather a specific subset of shares but creating dedicated functions is a pain. This just returns an iterable object for all shares so we can loop over them without allocating all the memory on the system. It should not be used by any user called code. But in an occ command or background job it is fine IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow removing federated shares of locally reshared filesRoeland Jago Douma2019-10-031-0/+5
| | | | | | | | | | | | * UserA shares a folder to UserB * UserB does a federated share to userC@serverC * UserB now tries to revoke the federated share Before we always tried to notify the remote cloud. The case that the file was reshared locally was not considered. This patch makes sure not to try to notify a federated server if both users are local users. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update Federated sharing notifierJoas Schilling2019-07-151-1/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Show share settings only if incoming federated shares are allowedMorris Jobke2019-05-311-4/+4
| | | | | | Fixes #15802 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Only show sharing section if it has contentJulius Härtl2019-05-201-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* update URL for federationJos Poortvliet2018-12-271-1/+1
|
* 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>