aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* refactor(SharingDetailsView): Use NC loggerfenn-cs2024-06-251-4/+4
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(FilesView): Update files view upon share creation/deletefenn-cs2024-06-254-7/+57
| | | | | | Resolves : https://github.com/nextcloud/server/issues/44961 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Do not import from `axios` but only `@nextcloud/axios`Ferdinand Thiessen2024-06-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* style: update copy icon to Material Design iconAndy Scherzinger2024-06-192-3/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files_sharing): Improve recursion in `onNewLinShare`fenn-cs2024-06-122-37/+80
| | | | | | | | | | | | | | | These changes fixes the issue of having the refresh the UI after share creation, as the share is not immediately removed from the UI list. Important changes - The basis of checking wether a password/expire date is no longer based on config values alone because the config is not expected in a share creation circle. Hence we check the configs and check if the share object (this.share) has the expected values set. This way, once the required properties are set, code control does not enter the block meant to handle the setting of required properties unneccessarily. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* refactor(ShareDetails): Prevent undefined errors for `share.permissions`fenn-cs2024-06-121-1/+2
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): dark avatar supportskjnldsv2024-06-121-1/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-123-16/+53
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): `open-in-files` action should also set `openfile` queryFerdinand Thiessen2024-06-082-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-0655-1018/+135
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files_sharing): usage of NcTextField in SelectShareFolderDialogueLouis Chemineau2024-06-061-1/+1
| | | | | | The NcTextField needs a value property to be set. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(deps): Update `@nextcloud/event-bus` to version 3.3.1Ferdinand Thiessen2024-05-313-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(sharingDetails): Show correct share targetfenn-cs2024-04-181-4/+14
| | | | | | | The share details page should show the target email or user/server to which the user is creating the share. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): Disable autocomplete for share label and passwordFerdinand Thiessen2024-04-021-3/+4
| | | | | | Prevent browsers - as good as possible - from filling in user credentials as share label and password. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Create passwords when enforced for mail sharesFerdinand Thiessen2024-03-292-10/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>