Commit graph

88 commits

Author SHA1 Message Date
fenn-cs
08323ee834 fix(deleteAction): Bump up delete requests concurrency to 5
A concurrency of who is not efficient. Low throughput, underutilization, high latency etc...

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-17 07:17:06 +01:00
skjnldsv
a0a36563b6 fix(files_sharing): fix parsing of remote shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 10:27:29 +02:00
Ferdinand Thiessen
fbceac9fe1
fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Ferdinand Thiessen
423c93087e
fix(files): open-in-files action should also set openfile query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Ferdinand Thiessen
91ac7dfb7c fix(files): Update current fileid in route if that node was deleted
We do not change the view to the trash bin but stay in the current view,
so we need to update the current fileid on the route if that was deleted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 12:40:48 +02:00
Ferdinand Thiessen
622bf30031
fix(deps): Update @nextcloud/event-bus to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 12:46:20 +02:00
Andy Scherzinger
5b7dcc1427
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-29 08:58:16 +02:00
fenn-cs
21a22a390d perf(deleteAction): Queue delete requests
When multiple files are deleted at once, all the requests bombard the server
simultaneously, causing performance issues.

This commit adds queuing that limits the concurrency of these requests to 5
at a time.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-15 11:51:07 +01:00
fenn-cs
23c71bd862 fix(deleteAction): Remove unused nc l10n import
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-15 11:51:07 +01:00
Ferdinand Thiessen
5d8133bb18 fix: Do not import styles that are already included in server bundle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-06 15:36:28 +02:00
Ferdinand Thiessen
c821f28014
fix(files): Sanitize share-types attribute in download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:24:57 +02:00
Joas Schilling
1dd6f25032
fix(files): Fix translation of "Delete file"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 09:56:39 +01:00
Ferdinand Thiessen
fef9fb3bc0
fix(tests): Add mock for window._oc_webroot
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-23 20:48:13 +01:00
Ferdinand Thiessen
b0b2811211
fix(files): When copying nodes only add the copy suffix for file before file extension
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-22 19:13:48 +01:00
Ferdinand Thiessen
b9caf24228
fix(files): Do not escape file names for filepicker buttons
The text is already escaped by Vue, so we should not escape or sanitize the filename.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-22 14:20:17 +01:00
Eduardo Morales
b3ec461fe8
feat: reconfigured NcActions to use MDI's
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-06 18:41:07 +01:00
rakekniven
e9daa1cbba
fix(i18n): Corrected grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-27 17:05:09 +01:00
Eduardo Morales
f168187dc9 feat: files update correctly on destination/current folder
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-23 20:08:58 -06:00
Eduardo Morales
67b0c7ce14 fix: conflict picker moves files correctly to its directory
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-23 20:08:58 -06:00
Eduardo Morales
7e7b086c4e fix: merge conflict dialog added when overwriting files on move-file action
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-23 20:08:58 -06:00
John Molakvoæ
12fe86573f
feat(files): ask for confirm if deleting 5 items or more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 11:08:24 +01:00
John Molakvoæ
6cf4fe19a0
fix(files): add mount root property and adjust delete wording
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-06 17:43:35 +01:00
John Molakvoæ
1ffb13cf5d
chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:54:12 +01:00
John Molakvoæ
d06ed4d7cb
fix(files): disable Unshare until proper fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:49:53 +01:00
Ferdinand Thiessen
c089214a2a
chore: Update @nextcloud/dialogs to 5.1.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 01:21:00 +01:00
Ferdinand Thiessen
7b71f59bab
fix(files): Ensure the correct dir query is set on folder action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
John Molakvoæ
5ee989bfb4 fix(files): do not show View in folder in the Files view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-22 12:32:44 +01:00
Ferdinand Thiessen
a289fdd2d7
fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Ferdinand Thiessen
b29c0cca24
fix(files): Adjust getUniqueName for custom suffix and reuse for copy-move-action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Ferdinand Thiessen
eaad30c346
enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
John Molakvoæ
365bb7ded0
chore(deps): bump @nextcloud/files to 3.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:49 +01:00
John Molakvoæ
9553718acf
fix(files): group duplicate shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:49 +01:00
John Molakvoæ
32071942de
fix(files): fix unshare action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:48 +01:00
Joas Schilling
d256206ffe
Fix typo in move or copy dialog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 15:25:44 +01:00
John Molakvoæ
d9f6f3daa3
fix(files): fix download file encoded source
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 15:35:52 +01:00
John Molakvoæ
6882ec5898
feat(files): add batch support to copy-move
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 09:49:59 +01:00
Ferdinand Thiessen
2357f839fe
fix(files): Correct condition for checking copy/move into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 19:12:19 +01:00
Louis
78e75bffae Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 17:14:57 +00:00
Louis
f56866cc82
Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
2023-11-24 16:47:43 +01:00
Ferdinand Thiessen
de61d2a791 fix(files): Use SVG as FilePicker icons instead of Vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 00:49:31 +01:00
Ferdinand Thiessen
e79e0bdf4d
fix(files): Do not encode the path twice (and do not use undefined method)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-07 16:49:10 +01:00
John Molakvoæ
4b55594f55
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +02:00
John Molakvoæ
d79e26b25a
fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +02:00
Daniel Kesselberg
4f7032475e
fix: encode uri for delete, restore and favorite
To encode # and other characters properly

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-28 20:36:22 +02:00
John Molakvoæ
8e9e222105
fix(files): open folder fileid while navigating without opening the sidebar
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-27 08:29:50 +02:00
John Molakvoæ
f9d2e3af0c
feat(files): add move or copy action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ (skjnldsv)
a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
John Molakvoæ (skjnldsv)
fac5197486
feat(files): add files_sharing indicator
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-20 13:58:31 +02:00
John Molakvoæ (skjnldsv)
ef1abd958c
fix(systemtags): fix capabilities and sidebar + tag visibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 16:44:28 +02:00
John Molakvoæ (skjnldsv)
fb30aa0902
fix(files): allow downloading folders within user root folders only
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:38:02 +02:00