aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
Commit message (Collapse)AuthorAgeFilesLines
* Allow to pass note when creating a share and send it with directly in the ↵Julius Härtl2021-12-032-2/+12
| | | | | | share mail when set Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix warning about passing null to substr_countCôme Chilliet2021-11-231-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move common logic to share managerJoas Schilling2021-11-091-1/+43
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Patch for master-branchJanBartels2021-10-181-1/+1
|
* Merge pull request #26688 from nextcloud/enh/better-share-exceptiondebugJohn Molakvoæ2021-10-131-1/+1
|\
| * Add proper message to created share not foundJohn Molakvoæ (skjnldsv)2021-08-181-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Let users choose a share_folderHinrich Mahler2021-09-061-1/+10
|/
* Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-221-0/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix share activity dispatchLouis Chemineau2021-06-161-0/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-17/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use noreply@ as email address for share emailsMorris Jobke2021-05-281-1/+1
| | | | | | | | Fixes #26683 Before it used the instance name, which a) doesn't make sense to randomly guess email addresses and b) could contain characters that are not allowed in email addresses like spaces. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-60/+60
|\ | | | | Add option to exclude groups from creating link shares
| * allow excluding groups from creating link sharesRobin Appelman2021-05-121-60/+60
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Rename External storages to External storageszaimen2021-05-201-1/+1
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | l10n: Unify spellingValdnet2021-05-201-13/+13
| | | | | | Spelling unification in Nextcloud applications.
* | l10n: Unify spellingValdnet2021-05-201-5/+5
|/ | | Spelling unification in Nextcloud applications.
* Correclty use plural for share exceptionJoas Schilling2021-04-201-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Separate settings for remote share expirationVincent Petry2021-04-151-8/+47
| | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Implement expiration date for federated sharesVincent Petry2021-04-151-1/+10
| | | | | | | | | Add expiration date field in UI. Save expiration date when creating or updating federated share. Read expiration date from DB in federated share provider. Applies to both federated user and group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* gracefully handle deleteFromSelf when share is already goneArthur Schiwon2021-03-301-1/+2
| | | | | | - handling race conditions Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #25498 from Worteks/feat-federatedfilesharing-loggingMorris Jobke2021-03-221-0/+1
|\ | | | | feat(federatedfilesharing): log errors, as suggested by @maxbes
| * Merge remote-tracking branch 'upstream/master' into ↵Samuel2021-02-111-1/+2
| |\ | | | | | | | | | feat-federatedfilesharing-logging
| * | fix(sahre20): missing ILogger param instantiating NotificationsSamuel2021-02-091-0/+1
| | | | | | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | | Fix sharebymail testsJohn Molakvoæ (skjnldsv)2021-03-221-12/+27
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Remove duplicated query for email sharesDaniel Calviño Sánchez2021-03-222-35/+19
| | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | | Sharing link & mail parityJohn Molakvoæ (skjnldsv)2021-03-222-19/+27
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #23718 from nextcloud/already-shared-error-messageRoeland Jago Douma2021-03-191-3/+5
|\ \ \ | | | | | | | | expand 'path is already shared' error message
| * | | expand 'path is already shared' error messageRobin Appelman2021-03-151-3/+5
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Update user share must use correct expiration validationVincent Petry2021-03-181-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating a user or group share now uses the correct method for the validation of the expiration date. Instead of using the one from links it uses the one for internal shares. To avoid future confusion, the method "validateExpirationDate" has been renamed to "validateExpirationDateLink". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | Merge pull request #25136 from nextcloud/cachejail-search-filterVincent Petry2021-03-151-3/+9
|\ \ \ \ | |/ / / |/| | | do cachejail search filtering in sql
| * | | only use share cacheentry when availableRobin Appelman2021-01-261-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | adjust testsRobin Appelman2021-01-261-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix search in nested jailsRobin Appelman2021-01-261-2/+3
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-0/+4
| | | | | | | | | | | | | | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-0/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | send share notification instead of erroring on duplicate shareRobin Appelman2021-03-091-63/+69
| | | | | | | | | | | | | | | | | | when creating a share that already exists, instead of erroring, resend the notifications Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-4/+4
| |/ |/| | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | revert(comment)Samuel2021-02-051-1/+0
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | revert(exception): keep throwing an exception for nowSamuel2021-02-051-2/+3
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | fix(translation): replace static error messageSamuel2021-02-051-2/+3
|/ | | | | | as suggested by @kesselb in nextcloud/server#25490 Signed-off-by: Samuel <faust64@gmail.com>
* Move to single share event. Just emit more if neededRoeland Jago Douma2020-12-231-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* +ShareDeletedEventMaxence Lange2020-12-231-0/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-163-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-091-0/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Dummy general share checks for deckJulius Härtl2020-12-091-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share type for deckJulius Härtl2020-12-091-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow apps to register their share providers from outsideJulius Härtl2020-12-092-0/+27
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #24103 from ↵Morris Jobke2020-11-191-1/+1
|\ | | | | | | | | nextcloud/bugfix/noid/groupfolder-share-object-storage Only check path for being accessible when the storage is a object home
| * Only check path for being accessible when the storage is a object homeJulius Härtl2020-11-131-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>