aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/AppInfo/Application.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): Move `ConfigLexicon` to Config dir, update sharing inputnfebe2025-05-061-5/+1
| | | | | | | | - Fix autoloading for new `ConfigLexicon` - Ensure that sharing input in sharing tab respect `show-federated-shares-as-internal`: This is important, because when federated shares are shown as internal the users should add them from the internal shares section Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor: use config lexiconMaxence Lange2025-05-061-1/+3
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(files_sharing): Add toggle for federated share display areanfebe2025-05-061-0/+6
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): Set higher priority for listeners that may abort the requestCôme Chilliet2025-03-251-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix download activity for foldersCôme Chilliet2025-03-251-0/+1
| | | | | | | | | Remove duplicate activity publishing from share controller download, listen to BeforeZipCreatedEvent to publish activity for folders, and cache folders activity to avoid sending activity for each file in the folder. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(sharing): Publish activity for download by public linkCôme Chilliet2025-03-251-0/+5
| | | | | | Even if dav endpoint is now used. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files_sharing): add public name prompt for files requestsskjnldsv2024-07-181-1/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #44967 from nextcloud/perf/sharing-eventsFerdinand Thiessen2024-06-101-64/+13
|\ | | | | perf(files_sharing): Move events to listener classes and registration instead of boot
| * perf(files_sharing): Move events to listener classes and registration ↵Julius Härtl2024-05-131-64/+13
| | | | | | | | | | | | instead of boot Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | chore: Add SPDX headerAndy Scherzinger2024-06-061-26/+3
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-3/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(cache): Remove displayname cache entry on deleteJoas Schilling2023-08-281-0/+4
| | | | 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>
* fix!: Remove LegacyBeforeTemplateRenderedListener from files_sharingJoas Schilling2023-07-281-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat!: Migrate Sharing events to typed eventsJoas Schilling2023-07-281-4/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.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: adjust testingJohn Molakvoæ2023-07-111-9/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: drop legacy sharing filesJohn Molakvoæ2023-07-111-68/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(sharing): add sharing overview viewJohn Molakvoæ2023-07-111-7/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port Files navigation to vueJohn Molakvoæ2023-01-041-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add group display name cacheAnna Larch2022-11-281-0/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Multiple fixesCarl Schwan2022-07-311-28/+25
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Block download when needed on direct download endpointVincent Petry2022-07-281-0/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix view-only code after code review commentsVincent Petry2022-07-281-5/+5
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add share attributes + prevent download permissionVincent Petry2022-07-281-3/+65
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Move files_sharing over to new event for projectsJulius Härtl2022-05-121-3/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update cache when display name changeCarl Schwan2022-04-221-0/+3
| | | | | | This improve the correctness of the data Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* use the correct navigation manager for the sharesRobin Appelman2021-10-191-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* call setupSharingMenus againRobin Appelman2021-10-191-13/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move files_sharing to IBootStrapRobin Appelman2021-10-191-54/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Replace ILogger with LoggerInterface in remote share managerVincent Petry2021-07-271-1/+2
| | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
* Add logging to external shares managerVincent Petry2021-07-271-1/+2
| | | | | | | Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* load share settings from the share manager in more placesRobin Appelman2021-05-121-7/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not register share menu in cases where the files app has not been ↵Julius Härtl2020-12-081-1/+1
| | | | | | registered yet Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix invalid usages of the new dispatcherRoeland Jago Douma2020-10-291-4/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move federated_share_added into a typed eventMorris Jobke2020-07-231-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Migrate files sharing to the PSR containerChristoph Wurst2020-07-161-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add BeforeTemplateRenderedEvent for files_sharingJulius Härtl2020-07-151-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Lazy register the navigationRoeland Jago Douma2020-07-091-53/+56
| | | | | | | This makes sure that we do not translate unneeded strings on for example webdav requests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 19Christoph Wurst2020-04-291-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* PHP CS fixesJoas Schilling2020-04-181-5/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Directly use the class to get the serviceJoas Schilling2020-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix creating the share controllerJoas Schilling2020-04-181-70/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>