summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): Map sharee information for `shared-by-you` viewFerdinand Thiessen2025-03-032-1/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(eslint): Strings must use singlequotebackport/51142/stable30John 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>
* chore(deps): Update `@nextcloud/vue` to v8.23.1Ferdinand Thiessen2025-02-211-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>
* fix(files): Properly reset all file list filters on view changeFerdinand Thiessen2025-02-181-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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-18/+17
| | | | | | | | | 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_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-312-29/+82
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files_sharing): file request form validity check resetbackport/50524/stable30skjnldsv2025-01-301-4/+9
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files_sharing): Remove debounce from expiration date formattingFerdinand Thiessen2025-01-162-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-161-4/+1
| | | | | | default expiration date Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: remove references to non-existent ShareTypesnfebe2025-01-062-5/+5
| | | | | | | A refactor was done to remove ShareTypes and an incomplete backport of 00c2b94391819eda77ddc7ab347972383c6319c0 left incorrect references to shareTypes. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): List of share type during recipient lookupLouis Chemineau2025-01-021-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-sharablenfebe2025-01-021-2/+5
| | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com> [skip ci]
* refactor: Use new `ShareType` across file_sharingnfebe2025-01-0216-130/+104
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore(i18n): Improved grammarrakekniven2024-12-121-1/+1
| | | | | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> [skip ci]
* fix(SharingEntryQuickShareSelect): Disable quick share select if user can ↵backport/49747/stable30provokateurin2024-12-121-0/+1
| | | | | | | | not edit share Signed-off-by: provokateurin <kate@provokateurin.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(SharingEntry): Hide edit button if user can not edit shareprovokateurin2024-12-121-1/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* 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(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>
* chore(assets): Recompile assets + lint fixnextcloud-command2024-11-202-1/+2
| | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.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 listbackport/49017/stable30fenn-cs2024-10-311-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> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #49013 from nextcloud/backport/48991/stable30Ferdinand Thiessen2024-10-301-3/+15
|\ | | | | [stable30] fix(files_sharing): Password field must not be required if already set
| * fix(files_sharing): Password field must not be required if already setbackport/48991/stable30Ferdinand 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(Federation): Show some icon for federated users on sharesfenn-cs2024-10-302-1/+2
|/ | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): federated shares avatarskjnldsv2024-10-292-4/+54
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Add correct context to translationFerdinand Thiessen2024-10-231-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>
* fix(files_sharing): Add proper user facing messages on successFerdinand Thiessen2024-10-171-22/+43
| | | | | | | | | | 1. Use proper translated strings 2. Fix invalid use of translation message on API result 3. Log all errors Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): add accessible labels in link share creationGrigorii K. Shartsev2024-09-091-17/+13
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files_sharing): checkbox for password in link share is not shownGrigorii K. Shartsev2024-09-091-0/+2
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Correctly parse external shares for files UIFerdinand Thiessen2024-09-032-15/+70
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Sort by correct share attribute ("share with displayname")Ferdinand Thiessen2024-08-211-13/+16
| | | | | | | | | | | | | | | | There is no `title` attribute, so this causes an exception. Instead sort by the "share with" displayname which will be the user or group the node is shared to. Meaning this will also be the title of the share in the UI. If this is not available or there are multiple for the same, then sort by the custom label. If also this is not set sort by the creation time. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> [skip ci]
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-173-17/+27
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where ↵Ferdinand Thiessen2024-08-132-5/+5
| | | | | | possible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update translation stringArchisman Das2024-08-131-1/+1
| | | | Signed-off-by: Archisman Das <archisman.officials@gmail.com>
* fix(files_sharing): getShares optional chainingskjnldsv2024-08-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): tab shares title and creation sort2lar2024-08-071-3/+8
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(files_sharing): add missing subtitle on search for share recipientsLuka Trovic2024-08-011-6/+6
| | | | | Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): fix template folder and file request menu orderskjnldsv2024-07-311-1/+1
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files_sharing): use spawnDialog for new file request handlerskjnldsv2024-07-311-26/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Ensure "note to recipient" textarea is shown if there is ↵Ferdinand Thiessen2024-07-311-13/+19
| | | | | | a note Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Add missing "note to recipient"Ferdinand Thiessen2024-07-313-2/+119
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Make account file filter consistent have designFerdinand Thiessen2024-07-302-18/+101
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): always show file request creation optionskjnldsv2024-07-301-7/+3
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>