aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): ensure share folder exists in the settingsfix/settings-share-folderFerdinand Thiessen5 days1-4/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Use Server::get in files_sharing DeletedShareAPIControllerCôme Chilliet13 days1-5/+4
| | | | | | | | In this case we do not want the application DI container because we are requesting classes from other applications, so it’s better to ask the server container. We use \OCP\Server::get for this. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix issues and tests in DIContainer and friendsCôme Chilliet13 days1-2/+2
| | | | | | Some tests related to MiddlewareDispatcher are still failing. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: run rectorrector-phpunit10Robin Appelman2025-07-013-10/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: apply new CSFixer rulesFerdinand Thiessen2025-07-0148-60/+104
| | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* Merge pull request #53671 from nextcloud/fix/read-only-share-downloadJohn Molakvoæ2025-07-011-4/+3
|\
| * feat(files_sharing): allow viewing files with download disabledskjnldsv2025-06-261-4/+3
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(files_sharing): Hide own resharesfix/files_sharing/hide-own-resharesprovokateurin2025-07-011-1/+1
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Set public link upload email notification to opt-infix/public-upload-notification-defaultnfebe2025-06-171-1/+1
| | | | | | | | | | | | This now sets `isDefaultEnabled` to false. This makes email notifications for file uploads to public links disabled by default (opt-in) for users. This addresses concerns about new notifications being enabled by default for existing users, leading to unexpected emails. Related: https://github.com/nextcloud/server/pull/46945 Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files_sharing): show Account menu on public pagesskjnldsv2025-06-112-7/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: use consistent casing for header names (required by openAPI)Ferdinand Thiessen2025-06-091-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>