aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/views
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): show note, label and list of uploaded files on file dropFerdinand Thiessen2025-05-261-12/+81
| | | | | | | | | 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>
* fix(files_sharing): Show note if note exists on sharenfebe2025-05-141-1/+2
| | | | | | | | | When a share includes a note, ensure the note checkbox is checked and the note is displayed when reopening the share sidebar. Fixes: #52794. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore(i18n): Use pluralrakekniven2025-05-091-1/+1
| | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* Spelling standardizationValdnet2025-05-091-2/+2
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* fix(files_sharing): Move `ConfigLexicon` to Config dir, update sharing inputnfebe2025-05-061-1/+0
| | | | | | | | - 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>
* feat(files_sharing): Add toggle for federated share display areanfebe2025-05-061-3/+24
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(dav): check the owner displayName scope before giving attributeskjnldsv2025-04-301-3/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Prevent create/delete permissions on file sharesnfebe2025-04-291-3/+20
| | | | | | | File shares can't support create or delete permissions. This change ensures those permissions are stripped or ignored when the shared item is not a folder. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* perf(files_sharing): Change sharing filtering from O(3n) to O(n)nfebe2025-04-251-3/+9
| | | | | | | Replaced multiple Array.filter() calls with a single loop to improve performance. This avoids redundant iterations over the shares array and categorizes them more efficiently. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): Show remote shares in external shares sectionnfebe2025-04-251-4/+15
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore(i18n): Use "name" instead of "nickname"rakekniven2025-04-231-2/+2
| | | | | | | Users asked why they should use a nickname? "Name" covers nickname, pseudonym, username or real name. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(files_sharing): Apply default password setting in SharingDetailsTabfix/no-issue/use-password-default-sharing-detailsnfebe2025-04-151-21/+2
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): fix share creation error handlingskjnldsv2025-04-091-2/+12
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): ugly hacks to update permissions on share creationFerdinand Thiessen2025-03-181-6/+19
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: pass hide download attribute while creating the share to fix github ↵yemkareems2025-03-181-4/+5
| | | | | | issue 50788 Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix(eslint): Strings must use singlequoteJohn Molakvoæ2025-02-281-1/+1
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(l10n): use `do not` instead of `don't`Valdnet2025-02-281-1/+1
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* refactor: Migrate nextcloud-vue usage to new import schemaFerdinand Thiessen2025-02-206-21/+21
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sharing): Allow to set default view mode for public sharesFerdinand Thiessen2025-02-101-16/+57
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Update `QuickShareSelect` if share is modifiednfebe2025-02-061-0/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix: Show default expiration date before create link sharenfebe2025-02-061-5/+2
| | | | | | | | | 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>
* feat: Only show show inherited shares section if presentnfebe2025-01-231-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor(files_sharing): Split internal & external sharesnfebe2025-01-231-50/+167
| | | | | | 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-231-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>
* feat(sharing): Toggle custom tokens setting as adminChristopher Ng2025-01-151-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(sharing): Make it possible to customize share link tokensChristopher Ng2025-01-151-1/+46
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_sharing): Remove debounce from expiration date formattingFerdinand Thiessen2025-01-151-1/+2
| | | | | | | | 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: 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-034-43/+41
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* 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-191-28/+23
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-162-4/+9
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Ensure sidebar share entry lists are labelledFerdinand Thiessen2024-09-062-4/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Set file-request header for nextcloud/uploadFerdinand Thiessen2024-09-061-66/+50
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files_sharing): Make file structure more clearFerdinand Thiessen2024-09-065-413/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Migrate public share to use Vue files listFerdinand Thiessen2024-09-064-0/+221
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Properly handle share attributes if set to nullJulius Härtl2024-08-301-2/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-5/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-291-3/+3
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-261-13/+7
| | | | 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>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-171-1/+1
| | | | 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): 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-311-0/+73
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files_sharing): refactor Share model to tsskjnldsv2024-07-301-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>