aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>