aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #51236 from nextcloud/backport/51151/stable31Andy Scherzinger2025-03-041-6/+28
|\ | | | | [stable31] fix(files_sharing): ignore duplicated navigation when replacing current route
| * fix(files_sharing): ignore duplicated navigation when replacing current routeFerdinand Thiessen2025-03-041-6/+28
| | | | | | | | | | | | | | | | Missing piece from https://github.com/nextcloud/server/pull/50669 as we also need to adjust the files sharing router otherwiese we can get those exceptions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files_sharing): Map sharee information for `shared-by-you` viewFerdinand Thiessen2025-03-042-1/+20
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(eslint): Strings must use singlequoteJohn Molakvoæ2025-03-021-1/+1
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(l10n): use `do not` instead of `don't`Valdnet2025-03-021-1/+1
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* fix(files_sharing): Fix public share expiration being set when toggle is not ↵Christopher Ng2025-02-191-2/+7
| | | | | | enabled Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(sharing): Allow to set default view mode for public sharesFerdinand Thiessen2025-02-113-19/+103
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): support submenu in batch actions header tooskjnldsv2025-02-071-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Hide internal recommendations in external share inputnfebe2025-02-061-1/+4
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): Update `QuickShareSelect` if share is modifiednfebe2025-02-062-1/+13
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* test(files_sharing): Check that default expiration date is shown b4 create sharenfebe2025-02-061-0/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix: Show default expiration date before create link sharenfebe2025-02-063-20/+19
| | | | | | | | | Since `ShareEntryLink` component is used to both create and display/list the share links, we should only set default expiration date on `share.expireDate` when we know is a new share. Otherwise, we overidding data from the backend. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files): properly update store on files conversions successskjnldsv2025-02-042-20/+2
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> [skip ci]
* fix(files_sharing): Adjust wrong labeling identified by testnfebe2025-02-031-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): Only clear permissions of pending federated sharesprovokateurin2025-01-302-29/+82
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files_sharing): file request form validity check resetskjnldsv2025-01-301-4/+9
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat: Use redundant label for accessibility onlynfebe2025-01-251-1/+4
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat: Only show show inherited shares section if presentnfebe2025-01-241-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat: Improve create link textsnfebe2025-01-241-2/+8
| | | | | | Use `Create public link` for first link share creation Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files_sharing): Modularize `SharingInput` to adapt with share sectionsnfebe2025-01-241-14/+34
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor(files_sharing): Split internal & external sharesnfebe2025-01-242-52/+168
| | | | | | Create two seperate sections for internal and external shares. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor(files_sharing): move deprecated projects componentThomas Lehmann2025-01-241-6/+9
| | | | | | | | | Primarily to move it out of the way for changes in the source location. The feature was deprecated in version 25 (#28320), five versions ago. Refs: #48925 Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files): Properly reset all file list filters on view changeFerdinand Thiessen2025-01-211-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sharing): Toggle custom tokens setting as adminChristopher Ng2025-01-152-2/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(sharing): Make it possible to customize share link tokensChristopher Ng2025-01-153-1/+73
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_sharing): Remove debounce from expiration date formattingFerdinand Thiessen2025-01-152-4/+6
| | | | | | | | This should be done as soon as changed, as the value is not passed to API but needs to be tracked internally (e.g. if you quickly press "save"). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Stop overwriting the share expiration date with the ↵provokateurin2025-01-151-4/+1
| | | | | | default expiration date Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files_sharing): external share parsingskjnldsv2025-01-092-0/+47
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Hide file request if public uploads disablednfebe2024-12-201-0/+3
| | | | | | | The file request creation would error out on creation if public uploads is disabled so we should not show the option at all. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): also submit new share on password submitskjnldsv2024-12-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Correct property enforced property namesnfebe2024-12-111-8/+7
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(SharingEntryQuickShareSelect): Disable quick share select if user can ↵provokateurin2024-12-101-0/+1
| | | | | | not edit share Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(SharingEntry): Hide edit button if user can not edit shareprovokateurin2024-12-101-1/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files_sharing): Stop infinite loop blocking link share requestsnfebe2024-12-091-13/+22
| | | | | | | Fixes infinite loop preventing share link creation requests from being sent to the backend. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): List of share type during recipient lookupLouis Chemineau2024-12-041-1/+11
| | | | | | | | ShareType lists both names and ids so Object.entries return too much. This was also making useless the following condition adding ShareType.Email Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Only show share permission if re-sharablenfebe2024-12-031-2/+5
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor: Use new `ShareType` across file_sharingnfebe2024-12-0316-132/+107
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(SharingEntry): Display owner name if the owner is someone elseprovokateurin2024-11-251-0/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: lint fixchore/force-style-lintskjnldsv2024-11-191-6/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-192-29/+24
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): file request guest nickname encodingskjnldsv2024-11-121-4/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-11-092-1/+2
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): share assignment issue in SharingEntryLinkskjnldsv2024-11-081-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(SharingEntryLink): Show default password before create if anyfenn-cs2024-11-081-9/+41
| | | | | | | | | | | | Prevent silent addition of expiration date to shares. Prevent silent addition for password to shares. Both now have a `shareRequiresReview` check Resolves : https://github.com/nextcloud/server/issues/48860 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(ShareEntryLinkList): Append new links to the end of listfenn-cs2024-10-301-1/+1
| | | | | | | | | | | Currently new shares are added to beginning of the share list in the UI messing up the ordering with the original (first) looking like the most recent and the most recent looking like the original share. This error disappears on refresh. Resolves : https://github.com/nextcloud/server/issues/48415 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): Password field must not be required if already setFerdinand Thiessen2024-10-301-3/+15
| | | | | | | If there is already a password, there is no need to require the password in the setting ('newPassword'). It is only required for new shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): federated shares avatarskjnldsv2024-10-252-4/+54
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Add correct context to translationFerdinand Thiessen2024-10-211-1/+1
| | | | | | This string is extracted in the `files_sharing` app so it needs to be accessed there and not on `files`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(i18n): Improved grammarrakekniven2024-10-191-1/+1
| | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-166-10/+16
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>