Commit graph

116 commits

Author SHA1 Message Date
Ferdinand Thiessen
8fbfa84a54
test: speed up hotkey tests by 2.4s
That is about 2500% as we needed to always wait for the timeout of
500ms. As the event was already handled - compared to now where we only
wait for one tick which is about 20ms.

Also the tests did not work as expected - for shift and meta key they
did not report the failing tests.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 18:11:12 +01:00
Varun Patil
dbef6977db fix(files): exception when share-attributes is undefined
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-27 11:10:40 +00: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
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
Ferdinand Thiessen
24851d930d
chore: Resolve ESLint warnings
- Add default value to non-required Vue props
- Reformat function to async function if needed
- Add some documentation
- Allow `any` in places where it makes sense (tests)
- Order vue component sections as required

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 22:18:29 +01:00
Louis Chemineau
b1bc793940
fix: Remove duplicate propfind call
This also was an XHR call which is not going through the end to end encryption proxy

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-15 11:20:01 +01:00
provokateurin
31c21c7797
feat(files_trashbin): Allow preventing trash to be deleted permanently
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:19:19 +01:00
provokateurin
d3bd99947d
fix(files): Only register preview service worker once when the instance is hosted at the root path
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 16:51:44 +01:00
skjnldsv
b9ab76414c fix(files): pinia import and usage
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
skjnldsv
74b2562e6b feat(files): add hotkey service and unify action handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
Kostiantyn Miakshyn
2e1cd23a7d fix: Fix ServiceWorker scope when Nextcloud installed in subfolder
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2024-12-06 17:33:26 +01:00
fenn-cs
faa29a0feb feat(sidebar): Show node owner in metadata subline
Resolves: https://github.com/nextcloud/server/issues/46178

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-07 15:15:55 +02:00
Christopher Ng
e3d0bd47a4 fix(files): Fix having to resolve conflicts twice when dropping files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-24 16:01:05 -07:00
Christopher Ng
060783c4f4 fix(files): Render folders in natural sort order
- Nodes are returned from the endpoint in an undefined order

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 -07:00
Ferdinand Thiessen
f109c1a044
refactor(files): Make RouterService provide a protected getter for the router to allow injecting the files_sharing router
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen
96c8275586
feat(files_sharing): Migrate public share to use Vue files list
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:42 +02:00
Ferdinand Thiessen
a5e58dc45e
test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Christopher Ng
fc1edaf4c1 refactor(files): Consolidate node registration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 -07:00
Konstantin Myakshin
81ee1ce8fc fix(files): Disable tags editing for shared files/folders with view only permission
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2024-08-09 11:42:28 +02:00
Christopher Ng
44bc57bc57 feat: Load limited depth tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 11:15:52 -07:00
Christopher Ng
3fabc4f733 feat: Navigate via folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Ferdinand Thiessen
270ec122e0
fix(files): Correctly create Nodes from WebDAV result in "recent"-view
The recent search works on a different remote URL so the source of the files were wrong,
because the remote url was included twice in the source.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +02:00
Ferdinand Thiessen
1b9d6194f3 refactor(files): Resort imports and fix doc comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 07:14:04 +02:00
Ferdinand Thiessen
172c43351e
refactor(files): Migrate logger util to Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 03:20:56 +02:00
Elizabeth Danzberger
1b904f1252
feat: Add frontend components for filling out template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Ferdinand Thiessen
80d797edf3
fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Ferdinand Thiessen
f95d8263f6
chore(deps): Update @nextcloud/files to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Ferdinand Thiessen
691f570237
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Ferdinand Thiessen
53324821be
refactor(files): Migrate personal view to @nextcloud/files functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
de2276e6d7
refactor(files): Migrate favorites view to @nextcloud/files functions and make it cancelable
Also this fixes the view being writeable

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
b1444e78e2
refactor(files): Migrate recent view to @nextcloud/files functions and make it cancelable
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
85e6cb4ccc
refactor(files): Migrate files service to functions from @nextcloud/files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:21 +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
Ferdinand Thiessen
0e7498b917
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-27 13:48:33 +02:00
Ferdinand Thiessen
e545eee210
fix(files): Do not show files from hidden folders in "Recent"-view if hidden files are disabled by user
Needed to adjust the store creation to be able to inject pinia before the vue app is initialized.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 23:52:09 +02:00
Louis Chemineau
c4534e8963
fix(files): Call davGetFavoritesReport after the registration of propfind properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-08 13:38:15 +02:00
skjnldsv
38c7ca0d4d chore: add drag and drop recursion and FilesystemAPI testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 13:33:10 +02:00
skjnldsv
15bf34dac8 feat(files): unify drag and drop methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 13:33:10 +02:00
skjnldsv
f28157e91b fix(files): breadcrumbs dnd
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:18:53 +02:00
Eduardo Morales
7726b15561 fix(personal-files): correctly filters groupfolders now
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-26 10:10:45 -05:00
Ferdinand Thiessen
3f3955e04b
fix(files): Adjust files drop to work with Blink engine (chrom(ium), edge)
The datatransfer items list is cleared on Blink after the first access to an inner prop due to async handling and GC.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 13:05:08 +01:00
Varun Patil
b03fd6e363 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-02-28 19:23:47 +01:00
Eduardo Morales
69e866c15d fix: condensed filtering logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-15 09:03:11 +01:00
Eduardo Morales
8df8522cce feat: changed filtering logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-15 09:03:11 +01:00
Eduardo Morales
de954148be feat: added filtering to filter out files that are shared
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-15 09:03:11 +01:00
Eduardo Morales
7dd4ff5827 feature: personal views
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-15 09:03:11 +01:00
John Molakvoæ
97cd038cf2 fix(files) selection store typing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00
John Molakvoæ
77f307bafd fix(files): dav owner and mime types
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-05 14:48:24 +00: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æ
dbfd8f612b
fix(files): drag and drop events chain and cancel
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-20 10:51:03 +01:00