aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): error and size/mtime for deleted sharesJohn Molakvoæ2023-07-111-0/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: adjust testingJohn Molakvoæ2023-07-113-12/+9
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: drop legacy sharing filesJohn Molakvoæ2023-07-112-70/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(sharing): add sharing overview viewJohn Molakvoæ2023-07-112-8/+20
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #39169 from ↵Benjamin Gaussorgues2023-07-115-131/+51
|\ | | | | | | | | nextcloud/fix/migrate-to-psr-logger-interface-files_sharing Migrate files sharing to PSR LoggerInterface
| * Migrate files sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-065-131/+51
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #39170 from nextcloud/orphan-share-commandRobin Appelman2023-07-102-0/+182
|\ \ | |/ |/| add command do delete orphan shares
| * add command do delete orphan sharesRobin Appelman2023-07-052-0/+182
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* displayname on federated sharesMaxence Lange2023-06-283-15/+134
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(caching): Avoid checking existence before fetchingChristoph Wurst2023-06-122-4/+6
| | | | | | | | The cache might expire between checking for key existence and fetching the value. In this rare case the code continues with a null value when it doesn't expect one. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Refactors "strpos" calls in /apps/files_sharing to improve code readability.Faraz Samapoor2023-06-023-3/+3
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* repair -1 folder sizes for object store background scanRobin Appelman2023-05-101-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Mutualize expireDate handling when creating and updating a shareLouis Chemineau2023-04-271-30/+19
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #37525 from nextcloud/file-debug-infoRobin Appelman2023-04-211-0/+7
|\ | | | | add command for getting fileinfo for debugging
| * add command for getting fileinfo for debuggingRobin Appelman2023-04-171-0/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update apps/files_sharing/lib/Controller/ShareAPIController.phprakekniven2023-04-181-1/+1
| | | | | | | | Co-authored-by: Valdnet <47037905+Valdnet@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | fix(l10n): Fixed grammarrakekniven2023-04-181-1/+1
|/ | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* Fix inherited parameter namesjld31032023-04-031-6/+6
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* 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>