aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): show note, label and list of uploaded files on file dropFerdinand Thiessen2025-05-261-0/+3
| | | | | | | | | This was missing from the Vue migration of the public share view: - Show the note as the description of the file drop - Show the label as the heading of the file drop if available - Show list of uploaded files for verification Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52810 from ↵Louis2025-05-221-4/+1
|\ | | | | | | nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
| * fix: Replace the deprecated direct download link with the public DAV endpointartonge/feat/do_not_require_samesite_strict_cookie_on_public.phpLouis Chemineau2025-05-211-4/+1
| | | | | | | | | | | | Follow-up of #48098 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Revert "fix(files_sharing): Filter own shares that are reshares"revert-52503-fix/files_sharing/filter-own-reshared-sharesJoas Schilling2025-05-191-1/+1
| |
* | fix(files_sharing): Filter own shares that are resharesfix/files_sharing/filter-own-reshared-sharesprovokateurin2025-05-191-1/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor: move tag handling from files handler to files_sharingchore/remove-dead-code-filesFerdinand Thiessen2025-05-161-4/+41
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52817 from nextcloud/chore/deps/rector-2.0Côme Chilliet2025-05-141-1/+2
|\ | | | | chore(deps): Update rector to ^2.0
| * refactor: Apply rector refactoringschore/deps/rector-2.0provokateurin2025-05-141-1/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #52775 from nextcloud/nested-jail-rootAndy Scherzinger2025-05-141-1/+1
|\ \ | |/ |/| fix unjailedroot of nested jails if there are other wrappers in between
| * fix: fix unjailedroot of nested jails if there are other wrappers in betweennested-jail-rootRobin Appelman2025-05-131-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files_sharing): add mime fallback to public preview toofix/mime-fallback-publicJohn Molakvoæ (skjnldsv)2025-05-131-1/+13
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #52133 from nextcloud/no-shared-direct-downloadRobin Appelman2025-05-081-0/+5
|\ | | | | fix: disable direct download for shares
| * fix: disable direct download for sharesno-shared-direct-downloadRobin Appelman2025-04-111-0/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(share): assume download enabled on federated sharefix/52060/manage-download-on-federated-reshareMaxence Lange2025-05-061-0/+2
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(files_sharing): Move `ConfigLexicon` to Config dir, update sharing inputnfebe2025-05-063-6/+7
| | | | | | | | | | | | | | | | - 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-062-1/+42
| | | | | | | | 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>
* | Merge pull request #52128 from nextcloud/shared-target-verify-cache-fixKate2025-05-061-3/+4
|\ \
| * | fix: don't return other mounts from share mount providershared-target-verify-cache-fixRobin Appelman2025-04-111-3/+4
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files_sharing): bring back owner and ownerDisplayName initial statefix/public-displayname-ownerskjnldsv2025-04-291-1/+3
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | revert: do not unify `hide-download` and `prevent-download` permissionsFerdinand Thiessen2025-04-161-5/+0
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files_sharing): do not show download button if `hide-download` is enabledFerdinand Thiessen2025-04-161-2/+2
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files_sharing): adjust rate limit share creation to 20 over 10 minutesJohn Molakvoæ2025-04-151-1/+1
| | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* | fix(files_sharing): rate limit share creation 10 times per 10 minutesskjnldsv2025-04-151-1/+2
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): fix share creation error handlingskjnldsv2025-04-091-0/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: more optimized caching for share target verificationshared-target-verify-cacheRobin Appelman2025-04-082-14/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: remove share status from share:list as it doesn't seem to contain ↵share-list-cmdRobin Appelman2025-03-281-19/+0
| | | | | | usefull info at the moment Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list sharesRobin Appelman2025-03-281-17/+72
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add getParentId to ICacheEntryRobin Appelman2025-03-281-0/+125
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files_sharing): Use session id as part of cache key to avoid concurrency ↵Côme Chilliet2025-03-251-3/+3
| | | | | | | | | issues If several people are watching and seeking the same video file we do not want the cache key to be the same or it would flood activity again. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.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: Avoid triggering several activities for Range request on the same fileCôme Chilliet2025-03-251-2/+10
| | | | | | Avoids flooding activities when someone browse a video in the web player. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix download activity for foldersCôme Chilliet2025-03-253-105/+78
| | | | | | | | | 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-252-0/+121
| | | | | | Even if dav endpoint is now used. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equalsrefactor/use-in-instead-of-orMarcel Klehr2025-03-252-10/+4
| | | | | | to improve performance by using the db index Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(files_sharing): skip expiration notify for invalid share recordfix-sharing-expiration-notifyLuka Trovic2025-03-171-1/+4
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-5/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-6/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Also list deleted team sharesfix/show-deleted-team-sharesFerdinand Thiessen2025-02-201-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): block downloading if neededfix/download-permsFerdinand Thiessen2025-02-181-0/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Add opengraph meta tags for multimedia, change ↵solonovamax2025-02-171-2/+14
| | | | | | | | | | | | | | | | | opengraph type to website - Adds the following opengraph tags - images: - `og:image:type`: the mimetype of the image file - audio: - `og:audio`: a direct link to the audio file - `og:audio:type`: the mimetype of the audio file - video: - `og:video`: a direct link to the video file - `og:video:type`: the mimetype of the video file - Changes th `og:type` meta tag from `object` (which is not valid) to `website` Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
* feat(files_sharing): Add twitter meta tagssolonovamax2025-02-171-6/+18
| | | | | | | | | | | | Adds the following twitter meta tags - `twitter:card`: `summary_large_image` if the shared file is an image & it has a preview, otherwise `summary` - `twitter:title`: same as `og:title` - `twitter:description`: same as `og:description` - `twitter:image`: same as `og:image` Fixes nextcloud/server#49871 Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
* Merge pull request #50769 from nextcloud/checkStorageIdSetCacheChristoph Wurst2025-02-141-3/+2
|\ | | | | fix(SharedStorage): Check if storage ID is set on cache
| * fix(SharedStorage): Check if storage ID is set on cachecheckStorageIdSetCacheGit'Fellow2025-02-131-6/+6
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-1312-22/+36
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: re-apply current rector configuration to apps folderCôme Chilliet2025-02-131-5/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-131-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: don't use cached root info from shared cache if the watcher has ↵Robin Appelman2025-02-062-0/+9
| | | | | | detected an update Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor: Remove some deprecated containers and exceptionsnfebe2025-02-061-25/+28
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(sharing): Ensure download restrictions are not droppedfix/proper-download-checkFerdinand Thiessen2025-02-041-23/+41
| | | | | | | | When a user receives a share with share-permissions but also with download restrictions (hide download or the modern download permission attribute), then re-shares of that share must always also include those restrictions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>