aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): do not double escape the share titleFerdinand Thiessen2025-06-191-19/+19
| | | | | | | The title is already escaped by vue so special characters would result in incorrect strings. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Hide external shares for users in excluded groupsnfebe2025-06-171-2/+23
| | | | | | - Added frontend check to hide link shares if, public sharing is disabled. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(file_sharing): Remove string concatenated translationnfebe2025-06-171-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): l10n typoskjnldsv2025-06-111-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): show Account menu on public pagesskjnldsv2025-06-113-195/+86
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(dav): file drop nicknameskjnldsv2025-06-052-2/+47
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): show message when nickname is not validskjnldsv2025-06-051-1/+16
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): show note, label and list of uploaded files on file dropFerdinand Thiessen2025-05-262-15/+85
| | | | | | | | | 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 #52533 from nextcloud/fix/no-account-filter-public-shareJohn Molakvoæ2025-05-151-0/+6
|\ | | | | fix: do not show account filter for public shares
| * fix: do not show account filter for public sharesFerdinand Thiessen2025-05-131-0/+6
| | | | | | | | 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-063-5/+6
| | | | | | | | - 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-063-10/+41
| | | | 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-292-3/+34
| | | | | | | 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>
* fix(files_sharing): Improve expiration date input change handlingnfebe2025-04-242-6/+12
| | | | | | | | | | | | | If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and therefore introduces subtle bugs, for example on chrome users could not enter expiration date with keyboard. - Use @update:model-value instead of @change/@input for more reliable date updates - Ensure null and invalid dates are handled correctly in onExpirationChange - Validate date input before updating defaultExpirationDateEnabled Resolves : https://github.com/nextcloud/server/issues/51875 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): allow to disable share download permissionFerdinand Thiessen2025-04-161-0/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): use new `hide-download` WebDAV property for download actionFerdinand Thiessen2025-04-162-1/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Apply default password setting in SharingDetailsTabfix/no-issue/use-password-default-sharing-detailsnfebe2025-04-153-39/+23
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): file request pass empty string if password or expiration ↵skjnldsv2025-04-141-2/+2
| | | | | | is disabled Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): fix share creation error handlingskjnldsv2025-04-092-4/+16
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #51524 from nextcloud/fix/webpack-nonceFerdinand Thiessen2025-04-072-2/+4
|\ | | | | fix: adjust webpack nonce generation
| * fix: adjust webpack nonce generationFerdinand Thiessen2025-04-072-2/+4
| | | | | | | | | | | | | | | | some leftovers where the request token is used instead of the CSP nonce. in general this makes not much difference - but there are some cases where those values differ. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | perf(files_sharing): do not require second propfind for account filterFerdinand Thiessen2025-04-042-69/+81
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Show share expiration time in human friendly mannernfebe2025-03-271-11/+24
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files_sharing): Add share expiration indicatornfebe2025-03-273-14/+109
| | | | | | Shares that would expire now shows a clock icon with a popover. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files): hide "Personal files" and "Shared with others" views if user ↵skjnldsv2025-03-252-13/+41
| | | | | | has no quota Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): make sure IDs are unique for HTML elementsFerdinand Thiessen2025-03-181-2/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): ugly hacks to update permissions on share creationFerdinand Thiessen2025-03-184-9/+27
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: pass hide download attribute while creating the share to fix github ↵yemkareems2025-03-182-5/+8
| | | | | | issue 50788 Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix(files_sharing): ensure share status action works also in grid viewFerdinand Thiessen2025-03-131-0/+9
| | | | | | | | | | | | Remove some hacks from files app about the *files_sharing* status action, in general not sure why this hack was there instead of being in the correct app - but it broke the grid view. So now the sharing information is also available in grid view. Moreover the icon is fixed in size to not overflow the actions menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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(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>
* fix(files_sharing): Map sharee information for `shared-by-you` viewFerdinand Thiessen2025-02-202-1/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Migrate nextcloud-vue usage to new import schemaFerdinand Thiessen2025-02-2019-63/+63
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Fix public share expiration being set when toggle is not ↵Christopher Ng2025-02-181-2/+7
| | | | | | enabled Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(sharing): Allow to set default view mode for public sharesFerdinand Thiessen2025-02-103-19/+103
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): support submenu in batch actions header tooskjnldsv2025-02-061-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>
* fix(files_sharing): Adjust wrong labeling identified by testnfebe2025-02-031-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>