summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #41071 from nextcloud/backport/40495/stable26Arthur Schiwon2023-12-072-5/+18
|\ | | | | [stable26] fix(sharing): set name to target name in sharing cache
| * pass the share to the cache instead of having to ask the storageRobin Appelman2023-12-072-5/+14
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix(sharing): set name to target name in sharing cacheMax2023-12-071-0/+4
| | | | | | | | | | | | Fixes #39879. Signed-off-by: Max <max@nextcloud.com>
* | Merge branch 'stable26' into backport/39044/stable26Andy Scherzinger2023-12-071-1/+6
|\|
| * fix: Also cleanup orphaned shares user cannot be found anymoreJulius Härtl2023-11-211-1/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | add more checks to ensure mounts aren't emptyRobin Appelman2023-10-241-0/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* ocm servicesMaxence Lange2023-09-223-54/+76
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(cache): Remove displayname cache entry on deleteJoas Schilling2023-08-291-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(notifications): Remove share notification when the node is deletedJoas Schilling2023-08-041-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #39285 from nextcloud/orphan-share-command-stable26Julia Kirschenheuter2023-07-112-0/+182
|\ | | | | [26] add command do delete orphan shares
| * add command do delete orphan sharesRobin Appelman2023-07-102-0/+182
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | display displayname on federated sharesMaxence Lange2023-07-103-15/+134
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #38040 from nextcloud/backport/37958/stable26Louis2023-05-031-30/+19
|\ | | | | [stable26] Mutualize expireDate handling when creating and updating a share
| * Mutualize expireDate handling when creating and updating a shareLouis Chemineau2023-05-031-30/+19
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | add command for getting fileinfo for debuggingRobin Appelman2023-05-011-0/+7
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-084-6/+104
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* Avoid extra parenthesis around SQL in IN expressionsCôme Chilliet2023-02-211-5/+5
| | | | | | | | The expression builder already suround the SQL with parenthesis when using in(), so we must not add another pair, this confuses at least sqlite. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36515 from nextcloud/fix/sharees-remove-deckJulius Härtl2023-02-161-10/+1
|\
| * Remove Deck from Sharees APIjld31032023-02-031-10/+1
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | fix(sharing): Remove casting to int from INFJoas Schilling2023-02-071-1/+1
| | | | | | | | | | | | | | Regression from nextcloud/server#35736 INF is a the float INF, casting it to integer will make it 0 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #36452 from nextcloud/perf/share-availability-checkVincent Petry2023-02-032-11/+16
|\ \ | |/ |/| perf(federation): Only request root share info for checking availability
| * chore: Add return typesJulius Härtl2023-01-311-5/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * perf(federation): Only request root share info for checking availabilityJulius Härtl2023-01-312-9/+13
| | | | | | | | | | | | Otherwise this would request a full recursive dirctory listing while the result is never being used Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Pluggable share providerLouis Chemineau2023-02-022-217/+325
|/ | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* still include the share target in the cache key for validating share mountRobin Appelman2023-01-161-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix cache key used to verify shared mountpointsRobin Appelman2023-01-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Port Files navigation to vueJohn Molakvoæ2023-01-041-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #35213 from PLUTEX/32611-ocs-api-share-permissionsJulius Härtl2022-12-221-3/+8
|\ | | | | Honor permissions of new link share via OCS API
| * Honor permissions of new link share via OCS APIJan-Philipp Litza2022-12-061-3/+8
| | | | | | | | | | | | | | | | | | | | | | The API currently overrides the supplied permissions with "read only" when a file is shared via link. It allows to update the permissions later, however. This keeps the default to "read only" but honors the permissions supplied by API call if any. Signed-off-by: Jan-Philipp Litza <jpl@plutex.de>
* | Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subjectCôme Chilliet2022-12-192-27/+3
|\ \ | | | | | | Compute notification parsed subject from rich subject when possible
| * | Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-292-27/+3
| | | | | | | | | | | | | | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #35596 from nextcloud/fix/move-to-ocp-timedjobCôme Chilliet2022-12-062-5/+10
|\ \ \ | | | | | | | | Use TimedJob from OCP instead of OC
| * | | Use TimedJob from OCP instead of OCCôme Chilliet2022-12-052-5/+10
| |/ / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #35400 from ↵Côme Chilliet2022-12-051-3/+5
|\ \ \ | |/ / |/| | | | | | | | nextcloud/fix/remove-unused-dynamic-var-in-files_sharing Fix name of dymanic var $mountOptions to fix PHP 8.2 compatibility
| * | Put back the variable but make sure it is properly declaredCôme Chilliet2022-12-051-1/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Remove dymanic var $mountOptions to fix PHP 8.2 compatibilityCôme Chilliet2022-11-241-3/+0
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / Add group display name cacheAnna Larch2022-11-281-0/+3
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Check share attributes on preview endpointsJulius Härtl2022-10-251-0/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #34502 from nextcloud/fix/correct-attribute-resharingCarl Schwan2022-10-201-28/+24
|\ | | | | Propagate attributes when resharing
| * Small progress with fixing unit testsCarl Schwan2022-10-111-2/+5
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Propagate attributes when resharingCarl Schwan2022-10-101-27/+20
| | | | | | | | | | | | | | When updating a share, load the node from the initiator instead of the owner similar to how this is done when creating the share. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #34624 from nextcloud/fix/files_external_psalmCarl Schwan2022-10-201-7/+7
|\ \ | | | | | | Multiple fix for files external
| * | Rename file1 and file2 to source and target in Storage abstractionCarl Schwan2022-10-181-7/+7
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix various other small psalm issuesCarl Schwan2022-10-175-18/+9
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix incorrect argument name in inherited methodCarl Schwan2022-10-171-2/+2
| | | | | | | | | | | | | | | | | | The arguments now need to be the same as in the parent method Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix checkpassword undocummented null parameterCarl Schwan2022-10-171-3/+3
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix permission not being intCarl Schwan2022-10-172-5/+5
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix exception getCode typeCarl Schwan2022-10-171-2/+2
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix type when getting appconfig with intCarl Schwan2022-10-172-2/+2
|/ / | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #34471 from starypatyk/dav_read_share_notesVincent Petry2022-10-141-0/+7
|\ \ | | | | | | Reduce number of database queries during WebDAV propfind request