aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
Commit message (Collapse)AuthorAgeFilesLines
* feat(share): make sharelink token length configurableernolf/configurable_sharetoken_lengthernolf2024-09-281-7/+37
| | | | | | - ensure unique share token with dynamic length adjustment Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
* fix(l10n): Rephrasing some exceptions to be translatedGit'Fellow2024-09-201-14/+13
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: Fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(ProviderFactory): Remove usage of ILogger and use non-deprecated stuffFerdinand Thiessen2024-09-191-10/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(i18n): Spelling of IDrakekniven2024-09-061-2/+2
| | | | | Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-2/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix: adjust sharing controller exceptions caseJohn Molakvoæ2024-09-041-2/+2
| | | | | Co-authored-by: F. E Noel Nfebe <fenn25.fn@gmail.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(l10n): Translate all share exceptionsGit'Fellow2024-09-041-70/+63
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix drone Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(files_sharing): Add missing check for null & use bool instead of int for ↵Stefan Cherniakov2024-09-031-3/+3
| | | | | | reminder_sent field Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* fix(files_sharing): Make share reminders more stable & fix issuesStefan Cherniakov2024-09-032-3/+6
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* feat(files_sharing): reminder for link shares with expiration dateStefan Cherniakov2024-09-031-0/+11
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* fix: fix share cleanup for deleted groups with shardingRobin Appelman2024-08-281-10/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add option to automatically partition queries by specific tablesRobin Appelman2024-08-281-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-15/+15
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: check for correct storage class when checking for link parentRobin Appelman2024-08-161-1/+2
| | | | | | fixes #39123 Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Remove shares only if there are no more common groups between usersCôme Chilliet2024-08-121-38/+36
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files_sharing): Delete user shares if needed when user is removed from a ↵Louis Chemineau2024-08-122-2/+47
| | | | | | group Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Add `acceptShare` as an interfaceFerdinand Thiessen2024-07-302-4/+6
| | | | | | | | | It was commented out because at that time no other share provider supported the `acceptShare` method. Today it is the same no other provider supports it, but we should make it discoverable by adding it to the public API as an additional interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-121-4/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): phpunit & openapi fixesskjnldsv2024-07-121-5/+9
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: psalm, cs, autoloader and lintskjnldsv2024-07-121-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): allow mixed values in share attributes and allow ↵skjnldsv2024-07-122-8/+8
| | | | | | storing email arrays Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): refactor mail handlingskjnldsv2024-07-121-24/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): implement IShareProviderWithNotification and refactor ↵skjnldsv2024-07-123-159/+150
| | | | | | sendMailNotification Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Store the expiration date relative to the server's timezoneLouis Chemineau2024-06-262-20/+29
| | | | | | This is needed as we want to store the difference between the server's and the user's timezones. Signed-off-by: Louis Chemineau <louis@chmn.me>
* use LazyUser in DefaultShareProviderRobin Appelman2024-06-171-5/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(dav): also return shared-with-me shares dataskjnldsv2024-06-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge branch 'master' into refactor/OC-Server-getSecureRandomJohn Molakvoæ2024-05-301-4/+7
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Merge branch 'master' into refactor/OC-Server-getL10NFactoryJohn Molakvoæ2024-05-301-3/+5
| |\ | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * Merge pull request #40151 from summersab/refactor/OC-Server-getMailerJohn Molakvoæ2024-05-301-2/+3
| | |\
| | | * Merge branch 'master' into refactor/OC-Server-getMailerJohn Molakvoæ2024-05-3014-672/+413
| | | |\ | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | | * | Refactor `OC\Server::getMailer`Andrew Summers2023-08-291-2/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| | * | | Merge branch 'master' into refactor/OC-Server-getHTTPClientServiceJohn Molakvoæ2024-05-3014-672/+413
| | |\ \ \ | | | | |/ | | | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * | | Refactor `OC\Server::getHTTPClientService`Andrew Summers2023-08-291-1/+2
| | | |/ | | |/| | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | | Merge branch 'master' into refactor/OC-Server-getL10NFactoryJohn Molakvoæ2024-05-3014-672/+413
| |\ \ \ | | | |/ | | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | Refactor `OC\Server::getL10NFactory`Andrew Summers2023-08-291-1/+2
| | |/ | |/| | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | Merge branch 'master' into refactor/OC-Server-getSecureRandomJohn Molakvoæ2024-05-3014-672/+413
|\ \ \ | | |/ | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | chore: Add SPDX headerAndy Scherzinger2024-05-2414-294/+46
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | refactor(shareManager): Use constructor property promotionfenn-cs2024-05-231-75/+23
| | | | | | | | | | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
| * | fix(shareManager): Respect empty `expireDate` in serverfenn-cs2024-05-232-80/+106
| | | | | | | | | | | | | | | | | | If `expireDate` is an empty string and not `null` then the server should not set a default. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
| * | Merge pull request #44460 from nextcloud/remove-non-shallow-in-folderRobin Appelman2024-05-172-23/+14
| |\ \ | | | | | | | | refactor: remove non-shallow getSharesInFolder
| | * | refactor: remove non-shallow getSharesInFolderRobin Appelman2024-05-012-23/+14
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: cleanup logic for getting the max reshare permissionsRobin Appelman2024-05-031-49/+8
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix: Fix tiny phpdoc errors related to ShareCôme Chilliet2024-04-301-10/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | ShareByMailProvider: getAccessList: recommended style changesAdam Serbinski2024-03-211-3/+3
| | | | | | | | | | | | Signed-off-by: Adam Serbinski <adam@serbinski.com>
| * | ShareByMailProvider: getAccessList: add token to returned arrayAdam Serbinski2024-03-211-2/+2
| | | | | | | | | | | | | | | | | | This allows the share URI to be regenerated. Signed-off-by: Adam Serbinski <adam@serbinski.com>
| * | ShareByMailProvider: getAccessList: return full list of recipientsAdam Serbinski2024-03-211-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | Previously was returning only boolean true if the Node was shared by email, or false if not. Now provides an array containing the list of email share recipients. Signed-off-by: Adam Serbinski <adam@serbinski.com>
| * | fix(share): use share owner to confirm reshareMaxence Lange2024-03-201-3/+9
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>