aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-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>
* chore(files_sharing): refactor Share model to tsskjnldsv2024-07-3011-256/+87
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): show file requests in navigationskjnldsv2024-07-306-10/+56
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): Add file list filter to filter by owner / shareeFerdinand Thiessen2024-07-255-20/+224
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): `open-in-files` should open a folder and not the parentFerdinand Thiessen2024-07-251-3/+13
| | | | | | For files this behavior is fine, but for folders the folder itself should be opened. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: add file request cypress testingskjnldsv2024-07-191-3/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): default empty file request expirationskjnldsv2024-07-194-15/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request expiration date timezoneskjnldsv2024-07-181-1/+12
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request form validation and date component eventskjnldsv2024-07-182-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): improve file request info messagesskjnldsv2024-07-186-19/+54
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): also allow removing READ permissions on email sharesskjnldsv2024-07-181-1/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): add public name prompt for files requestsskjnldsv2024-07-183-7/+166
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request creation permissions and link copy displayskjnldsv2024-07-181-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): use ClipboardText icon and fix trailing-button-clickskjnldsv2024-07-181-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): improve file request email handlingskjnldsv2024-07-183-9/+19
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request margin and buttons orderskjnldsv2024-07-182-18/+27
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request add email on focusoutskjnldsv2024-07-181-2/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request use l10n `t` and `n` aliasesskjnldsv2024-07-184-33/+31
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request conditions with link/email global settingsskjnldsv2024-07-183-13/+37
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Close the sidebar on navigationFerdinand Thiessen2024-07-151-2/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): fix label usage of file request featureJohn Molakvoæ2024-07-124-8/+10
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* chore(files_sharing): lint & refactor fixesskjnldsv2024-07-124-14/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): phpunit & openapi fixesskjnldsv2024-07-128-99/+99
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): cleanup NewFileRequestDialog vueskjnldsv2024-07-124-22/+28
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: psalm, cs, autoloader and lintskjnldsv2024-07-122-6/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): refactor sharing configskjnldsv2024-07-1214-378/+463
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): adjust NewFileRequestDialog for emails invitesskjnldsv2024-07-121-4/+14
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): allow mixed values in share attributes and allow ↵skjnldsv2024-07-125-9/+9
| | | | | | storing email arrays Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): add `new file request` optionskjnldsv2024-07-1210-13/+997
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): rename `File drop` to `File requests`skjnldsv2024-07-123-4/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Only enable mixed sharing types if there is at least one ↵Ferdinand Thiessen2024-07-091-1/+2
| | | | | | | | sharing type If the array is empty it means it is not shared. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-093-3/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Adjust Typescript definitions for OCP and OCFerdinand Thiessen2024-07-097-22/+24
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-093-7/+9
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(SharingDetailsView): Prevent illegal unselection of read permissionsfenn-cs2024-07-081-1/+8
| | | | | | With the exception of "file drop" on link shares all other shares need the read permissions at least. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* refactor(SharingInput): Remove unused addSharefenn-cs2024-07-032-81/+0
| | | | | | | | | | | The new sharing flow since NC27 requires that users open the sharing details tab and customize their share before creating it. In https://github.com/nextcloud/server/pull/39472 the work of `addShare` was handed down to `openSharingDetails` that opens the sharing details tab for the user to customize and manually creat their share. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(ExternalSharing): Handle template share from external sourcesfenn-cs2024-07-032-5/+12
| | | | | | | The new sharing flow requires or implies that users should edit share before creating. External sources should not created the share IF we would upon sharing details tab on first request. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(SharingEntryLink): Show enforced password input labelfenn-cs2024-06-271-1/+3
| | | | | | | | | While upgrading icons in b3ec461fe86258a0a3831dff28e394018d0044c9 enforced password label icon was not correctly wrapped. Resolves : https://github.com/nextcloud/server/issues/45941 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>