Ferdinand Thiessen
e2df8f3d69
fix(files_sharing): allow to disable share download permission
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-16 20:38:20 +02:00
Ferdinand Thiessen
11594df799
refactor(files): use new hide-download WebDAV property for download action
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-16 20:38:20 +02:00
nfebe
02efad600a
fix(files_sharing): Apply default password setting in SharingDetailsTab
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-15 10:56:26 +01:00
skjnldsv
bc70e0ded0
fix(files_sharing): file request pass empty string if password or expiration is disabled
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-14 22:46:52 +02:00
skjnldsv
70218dc0a4
fix(files_sharing): fix share creation error handling
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 14:52:42 +00:00
Ferdinand Thiessen
f540a69bf8
Merge pull request #51524 from nextcloud/fix/webpack-nonce
...
fix: adjust webpack nonce generation
2025-04-07 17:57:33 +02:00
Ferdinand Thiessen
47734c26f3
fix: adjust webpack nonce generation
...
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>
2025-04-07 14:44:53 +02:00
Ferdinand Thiessen
c5043ce889
perf(files_sharing): do not require second propfind for account filter
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 11:21:08 +02:00
nfebe
b8cab3af57
feat(files_sharing): Show share expiration time in human friendly manner
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-03-27 19:56:05 +01:00
nfebe
e9ce055076
feat(files_sharing): Add share expiration indicator
...
Shares that would expire now shows a clock icon with a popover.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-03-27 19:56:05 +01:00
skjnldsv
baeff57232
feat(files): hide "Personal files" and "Shared with others" views if user has no quota
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-25 22:02:15 +01:00
Ferdinand Thiessen
57c3153b46
fix(files_sharing): make sure IDs are unique for HTML elements
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 16:00:54 +01:00
Ferdinand Thiessen
a8358dad8c
fix(files_sharing): ugly hacks to update permissions on share creation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 16:00:54 +01:00
yemkareems
92a93393e1
fix: pass hide download attribute while creating the share to fix github issue 50788
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-03-18 16:00:54 +01:00
Ferdinand Thiessen
884effa7c5
fix(files_sharing): ensure share status action works also in grid view
...
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>
2025-03-13 18:28:32 +01:00
Ferdinand Thiessen
02fee2be78
fix(files_sharing): ignore duplicated navigation when replacing current route
...
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>
2025-03-04 17:44:43 +01:00
John Molakvoæ
466850f796
fix(eslint): Strings must use singlequote
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-02-28 16:43:14 +01:00
Valdnet
288287935a
fix(l10n): use do not instead of don't
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-02-28 16:43:14 +01:00
Ferdinand Thiessen
d565ef4923
fix(files_sharing): Map sharee information for shared-by-you view
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 17:28:08 +01:00
Ferdinand Thiessen
b06f5ba4c4
refactor: Migrate nextcloud-vue usage to new import schema
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +01:00
Christopher Ng
611cad32e0
fix(files_sharing): Fix public share expiration being set when toggle is not enabled
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-18 22:55:15 +01:00
Ferdinand Thiessen
10265ba182
feat(sharing): Allow to set default view mode for public shares
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-10 18:57:38 +01:00
skjnldsv
e10947a548
fix(files): support submenu in batch actions header too
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:25:37 +01:00
nfebe
af72b957b2
fix(files_sharing): Hide internal recommendations in external share input
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:15:38 +01:00
nfebe
3d090d2904
fix(files_sharing): Update QuickShareSelect if share is modified
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:15:38 +01:00
nfebe
b16096343c
test(files_sharing): Check that default expiration date is shown b4 create share
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:15:38 +01:00
nfebe
a2d4be2ddb
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 12:15:38 +01:00
skjnldsv
85ba80b8ce
fix(files): properly update store on files conversions success
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-04 16:38:34 +01:00
nfebe
667fb8b89f
fix(files_sharing): Adjust wrong labeling identified by test
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 12:38:06 +01:00
provokateurin
51f52f5889
fix(files_sharing): Only clear permissions of pending federated shares
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 13:53:53 +01:00
skjnldsv
92f4506270
fix(files_sharing): file request form validity check reset
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-30 11:50:03 +00:00
nfebe
148fdbf6e3
feat: Use redundant label for accessibility only
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-25 12:04:19 +01:00
nfebe
5ee354f155
feat: Only show show inherited shares section if present
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe
14573fc96c
feat: Improve create link texts
...
Use `Create public link` for first link share creation
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe
33eaf9ca4d
feat(files_sharing): Modularize SharingInput to adapt with share sections
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe
ae854e0dd2
refactor(files_sharing): Split internal & external shares
...
Create two seperate sections for internal and external shares.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
Thomas Lehmann
fde013b3c7
refactor(files_sharing): move deprecated projects component
...
Primarily to move it out of the way for changes in the source location.
The feature was deprecated in version 25 (#28320 ), five versions ago.
Refs: #48925
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:03 +01:00
Ferdinand Thiessen
b5b28fda16
fix(files): Properly reset all file list filters on view change
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:38:06 +01:00
Christopher Ng
1a43fc5718
feat(sharing): Toggle custom tokens setting as admin
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng
cdc65b6985
feat(sharing): Make it possible to customize share link tokens
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Ferdinand Thiessen
214a084d92
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-15 15:48:22 +01:00
provokateurin
260e82a8c4
fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-15 15:48:22 +01:00
skjnldsv
771584f5c1
fix(files_sharing): external share parsing
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
nfebe
482d4d5ab0
fix(files_sharing): Hide file request if public uploads disabled
...
The file request creation would error out on creation if public uploads is disabled
so we should not show the option at all.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-20 12:13:32 +01:00
skjnldsv
21e6c5c6f5
fix(files_sharing): also submit new share on password submit
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:25:32 +01:00
nfebe
9e734435ba
fix(files_sharing): Correct property enforced property names
...
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-11 11:55:30 +01:00
provokateurin
f2898df23d
fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-10 18:47:14 +01:00
provokateurin
1e44c671c8
fix(SharingEntry): Hide edit button if user can not edit share
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-10 18:47:14 +01:00
nfebe
e7dc141fd3
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 01:40:39 +01:00
Louis Chemineau
d11f3c4c23
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>
2024-12-04 13:37:48 +01:00