Commit graph

451 commits

Author SHA1 Message Date
Ferdinand Thiessen
572b12439b
fix(files_sharing): Map sharee information for shared-by-you view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 14:24:18 +01:00
John Molakvoæ
432c4ac994
fix(eslint): Strings must use singlequote
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-02 12:47:11 +01:00
Valdnet
32d6ba0129
fix(l10n): use do not instead of don't
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-03-02 12:47:10 +01:00
Ferdinand Thiessen
534f49f9fe chore(deps): Update @nextcloud/vue to v8.23.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-21 12:49:16 +01:00
Christopher Ng
ac40896ba0 fix(files_sharing): Fix public share expiration being set when toggle is not enabled
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-19 12:05:48 +01:00
Ferdinand Thiessen
d693dc9a00
fix(files): Properly reset all file list filters on view change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-18 12:34:11 +01:00
nfebe
b1a6a47843 fix(files_sharing): Update QuickShareSelect if share is modified
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 22:14:16 +01:00
nfebe
23e70a574e test(files_sharing): Check that default expiration date is shown b4 create share
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 22:14:16 +01:00
nfebe
b4cc4efaf2 fix: Show default expiration date before create link share
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>
2025-02-06 22:14:16 +01:00
nfebe
f5f7687f1a fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 17:21:39 +01:00
provokateurin
359477f9c8
fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-31 08:19:16 +01:00
skjnldsv
46d58ce207 fix(files_sharing): file request form validity check reset
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-30 13:23:43 +00:00
Ferdinand Thiessen
b7c550ad83
fix(files_sharing): Remove debounce from expiration date formatting
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>
2025-01-16 09:02:29 +01:00
provokateurin
02b0c28a2b
fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-16 09:02:25 +01:00
nfebe
c4ddb16a37 fix: remove references to non-existent ShareTypes
A refactor was done to remove ShareTypes and an incomplete backport of
00c2b94391 left incorrect references to shareTypes.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-06 10:50:55 +01:00
Louis Chemineau
377068e97f fix(files_sharing): List of share type during recipient lookup
ShareType lists both names and ids so Object.entries return too much.

This was also making useless the following condition adding ShareType.Email

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-02 15:28:22 +01:00
nfebe
df02f539cc fix: Only show share permission if re-sharable
Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-01-02 15:28:22 +01:00
nfebe
00c2b94391 refactor: Use new ShareType across file_sharing
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-02 15:28:17 +01:00
rakekniven
1a83e48693 chore(i18n): Improved grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

[skip ci]
2024-12-12 18:12:01 +00:00
provokateurin
7aa8d549e5 fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 15:34:58 +00:00
provokateurin
37c6c5162b fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-12 14:39:57 +00:00
skjnldsv
9e145a866a fix(files_sharing): also submit new share on password submit
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 09:29:30 +00:00
nfebe
ba32e9f44b fix(files_sharing): Correct property enforced property names
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-11 21:54:35 +01:00
nfebe
ac0e075929 fix(files_sharing): Stop infinite loop blocking link share requests
Fixes infinite loop preventing share link creation requests

from being sent to the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-09 12:42:17 +01:00
nextcloud-command
3aab8bd8c4 chore(assets): Recompile assets + lint fix
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-20 09:08:34 +00:00
skjnldsv
780362c940 fix(files_sharing): share assignment issue in SharingEntryLink
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:20:27 +01:00
fenn-cs
e581e11ae2 fix(SharingEntryLink): Show default password before create if any
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>
2024-11-08 16:20:19 +01:00
fenn-cs
454ac3651e fix(ShareEntryLinkList): Append new links to the end of list
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>
2024-10-31 13:58:59 +00:00
Ferdinand Thiessen
2ebef1e3ba
Merge pull request #49013 from nextcloud/backport/48991/stable30
[stable30] fix(files_sharing): Password field must not be required if already set
2024-10-30 17:56:56 +01:00
Ferdinand Thiessen
5f157d186e
fix(files_sharing): Password field must not be required if already set
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>
2024-10-30 16:45:31 +01:00
fenn-cs
2e31d35134 fix(Federation): Show some icon for federated users on shares
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-30 15:16:00 +01:00
skjnldsv
d39776c520 fix(files_sharing): federated shares avatar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 07:32:07 +01:00
Ferdinand Thiessen
70df07bbf5 fix(files_sharing): Add correct context to translation
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>
2024-10-23 21:37:45 +02:00
Ferdinand Thiessen
ef8547b5bd
fix(files_sharing): Add proper user facing messages on success
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>
2024-10-17 18:10:18 +02:00
Grigorii K. Shartsev
f5502038e5 fix(files_sharing): add accessible labels in link share creation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 23:42:26 +02:00
Grigorii K. Shartsev
ac09d4d382 fix(files_sharing): checkbox for password in link share is not shown
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:43:33 +00:00
Ferdinand Thiessen
5535151cc3 fix(files): Correctly parse external shares for files UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 07:13:21 +02:00
Ferdinand Thiessen
dd30146ce9 fix(files_sharing): Sort by correct share attribute ("share with displayname")
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]
2024-08-21 07:55:24 +00:00
Ferdinand Thiessen
57bd5d06c1 fix: Access node owner by top level owner property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 16:31:24 +00:00
Ferdinand Thiessen
ea021df9fa
chore(deps): Update @nextcloud/auth to v2.4.0 and use getCSPNonce where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +02:00
Archisman Das
a6a1bb9e42
fix: Update translation string
Signed-off-by: Archisman Das <archisman.officials@gmail.com>
2024-08-13 14:34:42 +02:00
skjnldsv
b96800ecc5 fix(files_sharing): getShares optional chaining
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-07 16:06:25 +02:00
2lar
6cf1aed93a fix(files_sharing): tab shares title and creation sort
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-07 11:39:54 +02:00
Luka Trovic
a371101690 fix(files_sharing): add missing subtitle on search for share recipients
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 19:24:27 +00:00
skjnldsv
e2d49f49a9 fix(files): fix template folder and file request menu order
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 18:44:50 +00:00
skjnldsv
528134b46b chore(files_sharing): use spawnDialog for new file request handler
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 18:42:39 +00:00
Ferdinand Thiessen
5b400c1be7
fix(files_sharing): Ensure "note to recipient" textarea is shown if there is a note
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Ferdinand Thiessen
d6518196cc
fix(files_sharing): Add missing "note to recipient"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Ferdinand Thiessen
77cffcb049
fix(files_sharing): Make account file filter consistent have design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 16:40:14 +02:00
skjnldsv
6427ae104c fix(files_sharing): always show file request creation option
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 09:52:48 +00:00