Commit graph

503 commits

Author SHA1 Message Date
skjnldsv
a768f45d25 fix(files): trim names on new node creation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-09 13:11:52 +00:00
Ferdinand Thiessen
d041bf8e0e
fix(files): cancel move-copy action should not be handled as an error
Instead we should just show an information message why the file is not moved / copied.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 22:01:01 +02:00
skjnldsv
247cd2a280 fix(files): show folder sharing overlay on received shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 17:53:56 +00:00
Ferdinand Thiessen
3f34ef9115 fix(files): Close the sidebar on navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 14:10:35 +02:00
Ferdinand Thiessen
f2dcdf96be fix(comments): Fix issues thrown by comments sidebar tab code
When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data).

This is fixed as well as some other vue related errors in the sidebar

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:08:38 +02:00
Ferdinand Thiessen
ea513656f5 fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:05:58 +02:00
Ferdinand Thiessen
8d00d46350 fix(files): Do not split filename into base and extension for folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:03:03 +02:00
Ferdinand Thiessen
aec506870c chore(deps): Update @nextcloud/files to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:03:03 +02:00
skjnldsv
e1f55daa3e fix(files): empty folder pending size
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 12:41:54 +00:00
fenn-cs
d9896805b1 fix: Adjust tests for editLocallyAction
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 13:10:03 +01:00
fenn-cs
c8a36ab373 feat(editLocallyAction): Handle possible no local client scenario
Resolves: https://github.com/nextcloud/server/issues/46438

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 12:34:00 +01:00
skjnldsv
9b69ee639f fix(files): always ask for confirmation if trashbin app is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 10:05:59 +02:00
Maksim Sukharev
c72dd3cb95 fix(files): ensure forbiddenCharacters is an array
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-25 08:13:36 +00:00
Maksim Sukharev
1c0a1cbbe0 fix(files): validate input when creating file/directory
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-24 20:43:34 +02:00
grnd-alt
6e030c7176 fix: stop file actions when conflict dialog skipped
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-16 19:56:04 +00:00
Ferdinand Thiessen
a759182e90
refactor: Use composable for currentView and views to make it reactive when shared with other Vue apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:21 +02:00
Ferdinand Thiessen
7e05d37bfc
chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:21 +02:00
Ferdinand Thiessen
16b9e67eb1
refactor(files): Update @nextcloud/files to v3.5.1
* Removed now duplicated code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 23:50:20 +02:00
Git'Fellow
1ee54e39c6
sidebar: allow turning off tags view by default
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

sidebar: allow turning off tags view by default

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 19:30:50 +02:00
Louis Chemineau
45ec17514a
fix(files): Rename openFileInfo to fileInfo
And check if openFile is set in the URL before opening a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 22:17:46 +02:00
Louis Chemineau
841cf96def
fix(files): Don't react to clicks when renaming
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 18:30:45 +02:00
John Molakvoæ
8e7ce5d2db feat(files): increase max copy-move concurrency to 5
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-01 14:46:25 +02:00
Louis Chemineau
f1c50472d8
fix(files): Update favorites navigation list on folder renames
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-27 15:25:17 +02:00
Ferdinand Thiessen
b228c5e4fe
fix(files): correctly import WebDAV client in files store
The files store was importing the client, but this is only on current master
on stableX we still need to import the getter function.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-17 17:55:43 +02:00
Arthur Schiwon
2817b04a80
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 11:05:26 +02:00
Louis Chemineau
6e9f04b59e
fix(files): Show non writable folders during move or copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-14 11:03:13 +02:00
Louis Chemineau
f0a46e6cdf
fix(files): Ignore right click for default action
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-13 16:26:22 +02:00
skjnldsv
6f6f1ad2ed fix(files): fetch nodes if we have multiple of the same fileid in the store
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:28:34 +02:00
skjnldsv
e1248947fb fix(files): do not rely on unique fileid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:28:34 +02:00
John Molakvoæ (skjnldsv)
63ca843105 fix(files): also trigger new tab on file name middle click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 14:41:39 +00:00
skjnldsv
d991eaed92 fix(files_sharing): fix parsing of remote shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:23:39 +02:00
Sanskar Soni
cc09bcf19e fix(files): handling numbered type owner name & id
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 09:49:47 +00:00
John Molakvoæ (skjnldsv)
b967dcc041
fix(files): reset menu pos when opening in grid mode
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-12 09:55:38 +02:00
Ferdinand Thiessen
892f17a7a8
feat(cypress): Add tests for files sidebar
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 18:11:45 +02:00
Ferdinand Thiessen
3808a5b056
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-10 17:48:09 +02:00
Ferdinand Thiessen
3c74559e4c
fix(files): Close sidebar if shown node is deleted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 17:48:09 +02:00
Ferdinand Thiessen
280a9bdd21 fix(files): Ensure that focussed file is always scrolled right
Ensure the correct file is scrolled if the content changes,
this also sets a minimal height to the virtual scrolling area
so that the `scrollTop` can be set.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
e6fc2e4a82 fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
684c067511 fix(files): open-in-files action should also set openfile query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Ferdinand Thiessen
5b1969b0f5 refactor(files): Fix TypeScript issues in FileEntryActions
* We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent
* Node attributes must be accessed using the `attributes` getter not the private `_attributes` property
* Cast action ref to correct component interface to make TypeScript happy

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:09:18 +00:00
Christopher Ng
0fd69a6851 fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a999544ff2)
2024-06-07 11:24:03 +02:00
Ferdinand Thiessen
b84820387c fix(files): Only execute default action if there is an action to perform
Some files do not have a default action (can not be viewed and only downloaded).
If the `openfile` query is set on them the `handleOpenFile` will throw an error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-04 14:23:52 +00:00
Ferdinand Thiessen
5cb0ff8e51
fix(tests): Adjust tests for updated webdav library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-01 16:31:44 +02:00
Ferdinand Thiessen
042b62f80a
fix: Update @nextcloud/files to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-01 16:30:09 +02:00
Ferdinand Thiessen
dc1ca39f0f fix(deps): Update @nextcloud/event-bus to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 15:38:45 -07:00
Varun Patil
39ddfb07b5 fix(dav): multiple fixes in usage of webdav library
1. Refresh token on update
2. Fix some very weird imports
3. Patch fetch instead of request to prevent accessing impl details

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-05-31 15:38:45 -07:00
Ferdinand Thiessen
4299f57d1d refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 10:20:25 +00:00
Ferdinand Thiessen
d88d34c561 fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 10:20:25 +00:00
Ferdinand Thiessen
1d811291a5
fix(files): Implement SortingService to fix sorting of files
The previously used library was parsing strings to try to detect dates,
but for filenames it makes no sense to parse them as dates.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 14:10:09 +02:00
John Molakvoæ (skjnldsv)
6f74f5027a fix(files): properly reset preview component
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-05-25 20:35:18 -04:00