Louis
a48bc55e2a
Merge pull request #52810 from nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
2025-05-22 10:30:16 +07:00
Louis Chemineau
ec1db0c32a
fix: Replace the deprecated direct download link with the public DAV endpoint
...
Follow-up of #48098
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-21 16:01:54 +07:00
Joas Schilling
9637fe6474
Revert "fix(files_sharing): Filter own shares that are reshares"
2025-05-19 17:16:39 +07:00
provokateurin
7c6602cd8d
fix(files_sharing): Filter own shares that are reshares
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-19 08:18:16 +07:00
Ferdinand Thiessen
4a9dc6c64d
refactor: move tag handling from files handler to files_sharing
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 13:09:03 +07:00
Côme Chilliet
42f45030ff
Merge pull request #52817 from nextcloud/chore/deps/rector-2.0
...
chore(deps): Update rector to ^2.0
2025-05-14 19:19:27 +07:00
Andy Scherzinger
14f79829f3
Merge pull request #52775 from nextcloud/nested-jail-root
...
fix unjailedroot of nested jails if there are other wrappers in between
2025-05-14 17:36:55 +07:00
provokateurin
78a175fc74
refactor: Apply rector refactorings
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-14 15:29:02 +07:00
Robin Appelman
1e72620169
fix: fix unjailedroot of nested jails if there are other wrappers in between
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 18:29:00 +07:00
John Molakvoæ (skjnldsv)
cd6a53ea4d
fix(files_sharing): add mime fallback to public preview too
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-13 18:28:54 +07:00
Robin Appelman
1228cfd3a2
Merge pull request #52133 from nextcloud/no-shared-direct-download
...
fix: disable direct download for shares
2025-05-08 15:14:11 +07:00
Maxence Lange
cc96782177
fix(share): assume download enabled on federated share
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-06 14:48:28 +07:00
nfebe
f471bd292f
fix(files_sharing): Move `ConfigLexicon` to Config dir, update sharing input
...
- 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>
2025-05-06 14:28:01 +07:00
Maxence Lange
4c241d4f4b
refactor: use config lexicon
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-06 14:28:01 +07:00
nfebe
1c50329fdb
feat(files_sharing): Add toggle for federated share display area
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-06 14:28:01 +07:00
Kate
206aac5b5b
Merge pull request #52128 from nextcloud/shared-target-verify-cache-fix
2025-05-06 15:25:09 +07:00
skjnldsv
bcc8de0c9d
fix(files_sharing): bring back owner and ownerDisplayName initial state
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-29 21:25:47 +07:00
Ferdinand Thiessen
47d1afbb7f
revert: do not unify `hide-download` and `prevent-download` permissions
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-16 20:38:20 +07:00
Ferdinand Thiessen
a799d8dccf
fix(files_sharing): do not show download button if `hide-download` is enabled
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-16 20:38:20 +07:00
John Molakvoæ
50dcbdeec6
fix(files_sharing): adjust rate limit share creation to 20 over 10 minutes
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-04-15 10:32:47 +07:00
skjnldsv
338ab64365
fix(files_sharing): rate limit share creation 10 times per 10 minutes
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 08:45:25 +07:00
Robin Appelman
fb3e60862f
fix: disable direct download for shares
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-11 17:42:21 +07:00
Robin Appelman
1185b5ee35
fix: don't return other mounts from share mount provider
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-11 14:20:21 +07:00
skjnldsv
70218dc0a4
fix(files_sharing): fix share creation error handling
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 14:52:42 +07:00
Robin Appelman
bcbf0e76a7
fix: more optimized caching for share target verification
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-08 16:42:01 +07:00
Robin Appelman
b9723eaa22
feat: remove share status from share:list as it doesn't seem to contain usefull info at the moment
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-28 16:47:10 +07:00
Robin Appelman
c573867fff
feat: add command to list shares
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-28 16:47:09 +07:00
Robin Appelman
2e9222a29a
feat: add getParentId to ICacheEntry
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-28 16:47:07 +07:00
Côme Chilliet
a32875d402
fix(files_sharing): Use session id as part of cache key to avoid concurrency 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>
2025-03-25 15:43:09 +07:00
Côme Chilliet
ec5ac0957a
fix(files_sharing): Set higher priority for listeners that may abort the request
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +07:00
Côme Chilliet
a3c531c31e
fix: Avoid triggering several activities for Range request on the same file
...
Avoids flooding activities when someone browse a video in the web player.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +07:00
Côme Chilliet
a39bee57d9
fix: Fix download activity for folders
...
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>
2025-03-25 15:43:09 +07:00
Côme Chilliet
12ce8c0ef0
fix(sharing): Publish activity for download by public link
...
Even if dav endpoint is now used.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 15:43:09 +07:00
Marcel Klehr
b464469bc1
perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equals
...
to improve performance by using the db index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-25 09:42:06 +07:00
Luka Trovic
d7f885b1cb
fix(files_sharing): skip expiration notify for invalid share record
...
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-03-17 12:59:06 +07:00
Ferdinand Thiessen
00d08a4f69
fix(lookup-server): disable lookup server for non-global scale setups
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 14:26:47 +07:00
Ferdinand Thiessen
34251c4375
fix(lookup-server): do not query data by default
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 14:26:47 +07:00
Ferdinand Thiessen
7e6608d119
fix(files_sharing): Also list deleted team shares
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 14:32:22 +07:00
Ferdinand Thiessen
c19ce403f3
fix(files_sharing): block downloading if needed
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-18 11:58:12 +07:00
solonovamax
9b9ea77035
feat(files_sharing): Add opengraph meta tags for multimedia, change 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>
2025-02-17 12:52:08 +07:00
solonovamax
6bcacff339
feat(files_sharing): Add twitter meta tags
...
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>
2025-02-17 12:52:08 +07:00
Christoph Wurst
228ac86fa2
Merge pull request #50769 from nextcloud/checkStorageIdSetCache
...
fix(SharedStorage): Check if storage ID is set on cache
2025-02-14 14:17:00 +07:00
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +07:00
Côme Chilliet
ed5b7ae161
chore: re-apply current rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:33 +07:00
Côme Chilliet
a3685551f7
fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:19 +07:00
Git'Fellow
bc3be77a69
fix(SharedStorage): Check if storage ID is set on cache
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-13 08:29:20 +07:00
Robin Appelman
2786ca579a
fix: don't use cached root info from shared cache if the watcher has detected an update
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-06 19:41:43 +07:00
nfebe
8178797eb5
refactor: Remove some deprecated containers and exceptions
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:15:31 +07:00
Ferdinand Thiessen
73dc0f0f19
fix(sharing): Ensure download restrictions are not dropped
...
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>
2025-02-04 15:39:14 +07:00
Ferdinand Thiessen
b48ee2e924
fix: Harden files scanner for invalid null access
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:08:46 +07:00