Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-13Default message for ShareNotFound exceptionJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-15send share notification instead of erroring on duplicate shareRobin Appelman
when creating a share that already exists, instead of erroring, resend the notifications Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling
group Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11Restrict autocompletion also based on the phonebook known usersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-30Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23Move to single share event. Just emit more if neededRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-23cs fixMaxence Lange
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-12-23+ShareDeletedEventMaxence Lange
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-09Address minor commentsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09Add internal DECK_USER type to allow unsharing for individual usersJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09Add share type for deckJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09Allow apps to register their share providers from outsideJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26Remove @package annotations from public namespaceJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26Remove wrongly annotated package namesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-08Always sort shares in a reliable wayJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Remove unused importsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-20Expose enumeration config though share managerJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-17Allow to overwrite share target mountpointsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-20Update license headers for 18Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-16config.php setting to always accept internal sharesRoeland Jago Douma
Part of #18255 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-22Some php-cs fixesRoeland Jago Douma
* 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>
2019-11-12Only restrict loading of group and user shares for nowJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-12Allow to accept group sharesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-12Respect the accepted flag for group and user sharesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-30fixup! Get all shares as iterableDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-30Get all shares as iterableRoeland Jago Douma
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>
2019-10-29Having the contructor in the interface makes no sense...Roeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-26Merge pull request #16723 from nextcloud/fix/sharing/unshare-messageJoas Schilling
Add expiration event for shares
2019-08-23Make the sharing constants publicly availableJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-21Add expiration event for sharesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01allow to add labels to sharesBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-30Extend IShare to show hide download stateRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-24Add "sendPasswordByTalk" property to sharesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-21allow to add a personal note to a shareBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-07-13Merge pull request #5280 from nextcloud/shared-with-display-nameMorris Jobke
sharedWithDisplayName & sharedWithAvatar
2018-07-11implement federated group sharesBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-07-05Fix PHPDocMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-07-05getDeletedSharedWith methodJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-05Add API to undelete delete group sharesRoeland Jago Douma
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>
2018-07-02replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle
\OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-07-02implement accept share notificationBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-05-21SharedWithDisplayName + SharedWithAvatarMaxence Lange
Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-09-10Add exceptions to PHPDoc of interfaceLukas Reschke
Improves static code analysis here and also keeps expectations proper. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>