aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #39944 from nextcloud/share-cache-shareRobin Appelman2023-08-282-5/+14
|\ | | | | pass the share to the cache instead of having to ask the storage
| * pass the share to the cache instead of having to ask the storageRobin Appelman2023-08-182-5/+14
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(tests): Specify all positional parameters again to fix testsJoas Schilling2023-08-231-8/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | move "aways loaded" sharing script to event listenerRobin Appelman2023-08-171-5/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-043-69/+4
|\ | | | | fix!: Final round of moving to IEventDispatcher
| * fix!: Remove LegacyBeforeTemplateRenderedListener from files_sharingJoas Schilling2023-07-282-59/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate Sharing events to typed eventsJoas Schilling2023-07-282-10/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(notifications): Remove share notification when the node is deletedJoas Schilling2023-08-031-0/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #39330 from nextcloud/feature/openapi/files_sharingKate2023-08-0110-132/+537
|\ \ | |/ |/| files_sharing: Add OpenAPI spec
| * files_sharing: Add OpenAPI specjld31032023-07-3110-132/+537
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcherJoas Schilling2023-07-251-8/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>