Commit graph

911 commits

Author SHA1 Message Date
Louis Chemineau
e8790f0b89 feat(files): Display mtime in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-04 18:48:29 +02:00
Louis Chemineau
d1b5657b7f
fix(files): Disable buttons in copy/move dialog for non writable folders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-02 17:50:19 +02:00
Ferdinand Thiessen
362c6238fc
fix: Allow to reset unified search using the nextcloud:unified-search:reset event
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Louis Chemineau
fc359e3097
fix(files): Update favorites navigation list on folder renames
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-26 13:59:43 +02:00
John Molakvoæ
d5b286c9d2
feat(files): increase max copy-move concurrency to 5
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-26 08:32:02 +02:00
Ferdinand Thiessen
079d026d39
feat(files): Allow uploading directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 20:03:09 +02:00
Ferdinand Thiessen
3782142f59
refactor(files): Fix nullish operator usage and add missing code comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 12:53:53 +02:00
Ferdinand Thiessen
d4352fe2ff
fix(files): Properly handle files in failed state
When files are loaded from API the `fileid` might be set to `-1` indicating
an error on the API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 12:52:11 +02:00
Ferdinand Thiessen
3ed32ffbb4
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-06-23 16:53:27 +02:00
Ferdinand Thiessen
81ad28f910
chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +02:00
Ferdinand Thiessen
a83f276352
refactor(files): Update @nextcloud/files to v3.5.0
* Removed now duplicated code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:09 +02:00
Louis Chemineau
8e0be0a238 fix(files): Don't react to clicks when renaming
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-20 16:19:01 +02:00
Ferdinand Thiessen
1d0a65db93
fix: Do not import from axios but only @nextcloud/axios
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-20 12:34:37 +02:00
Louis Chemineau
ae0106ef9e
fix(files): Show non writable folders during move or copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 17:39:57 +02:00
Louis Chemineau
f7c9ac8b54
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-06-19 15:38:13 +02:00
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
Louis Chemineau
938eabd619
fix(files): Ignore right click for default action
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-13 16:16:08 +02:00
skjnldsv
343b690d80 fix(files): fetch nodes if we have multiple of the same fileid in the store
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 17:57:14 +02:00
skjnldsv
1d7893dca8 fix(files): do not rely on unique fileid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 17:15:51 +02:00
John Molakvoæ (skjnldsv)
a094ac0b6d 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>
2024-06-12 11:52:22 +00: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
7f3cc7502b
fix(files): Use data-cy (data attribute) instead of cy-data
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 21:34:28 +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
Ferdinand Thiessen
75dcf901ff
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:58:45 +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
13d9a1007b
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:58:45 +02:00
Ferdinand Thiessen
a6e0f083fb fix(files): Correctly type virtual files list ref type
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-07 18:11:03 +00:00
Andy Scherzinger
c1555fc33e
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 18:05:37 +02:00
John Molakvoæ (skjnldsv)
af5a29e568 fix(files): reset menu pos when opening in grid mode
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-04 13:48:03 +00:00
Ferdinand Thiessen
d33cfdd14b 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>
2024-06-04 14:41:08 +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
c1fdd9031c fix(files): Close sidebar if shown node is deleted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 12:40:48 +02:00
Ferdinand Thiessen
ceafe43a4c
refactor(files): Make currentView a prop of FilesListTableFooter
We already have this as a required prop in `FilesListVirtual`,
so passing it to the footer is straight forward and removed need of computed
value.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
e8adb97098
refactor(files): Properly add type information to FilesListTableFooter
- Add correct type for `nodes` prop.
- Use `defineComponent` to properly infer Typescript information
- Correct usage of nullish coalescing operator

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
297f0522b2
refactor(files): Fix Typescript issues in filesListWidth mixin
Use `defineComponent` to properly inherit typings.
Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance.
`filesListWidth` is now a number which defaults to 0,
making compares like `this.fileListWidth < 768` valid in Typescript.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
0cb32880ee
refactor(files): Correctly cast table ref to fix TypeScript errors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +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
Ferdinand Thiessen
67d8277c49
fix: Update @nextcloud/files to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 12:46:20 +02:00
Ferdinand Thiessen
2c47f24266 refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 11:39:39 +02:00
Ferdinand Thiessen
7c4dcf51c4 fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 11:39:39 +02:00
Ferdinand Thiessen
14635929e9
fix(files): Keep 'back'-button for not found directories or if user can not upload
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-29 14:47:39 +02:00
Marco
1526a6f7c2
feat(files): Show upload menu in folders' emptycontent
Signed-off-by: Marco <marcoambrosini@icloud.com>
2024-05-29 14:44:57 +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
8ce36085c7
fix(files): Adjust type import and usage for removed dependency
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-27 19:02:13 +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
skjnldsv
3ca3c65b0d feat(files): refresh preview on etag change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-23 11:56:27 +00:00
Ferdinand Thiessen
dfd0fa673d fix(files): Debounce does not return a function so it should be used as computed
This also fixes hacky solution to `this` access

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
42001984f3 fix(files): Use translation function directly instead of calling the instance method
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
eacdc4571d fix(files): Fix typing issues with data
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
85c93b54a4 fix(files): Fix naming issue for reserved Vue property names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
a8f4b25ae8
fix(files): Drop xml2js dependency and use browser native DOMParser
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-17 10:03:38 +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
7dbe89f921 fix(files): Add missing properties and fix Typescript errors in FileEntryName
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-02 20:03:23 +02:00
Raphaël Jakse
c53e4a8b96 fix(files): apply the renaming when leaving the input field
Refs: #42689

Signed-off-by: Raphaël Jakse <raphael.git@jakse.fr>
2024-05-02 16:30:12 +02:00
Ferdinand Thiessen
c6f3aecef1
fix(files): Use string array instead of string for forbidden characters
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-29 17:15:00 +02:00
Pytal
8fb6d15142
Merge pull request #44805 from nextcloud/fix/selected-files-count
fix(files): Display selected files count
2024-04-17 16:23:06 -07:00
Ferdinand Thiessen
6c9ca8b025
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-04-17 20:09:14 +02:00
Christopher Ng
a999544ff2 fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-17 10:32:03 -07:00
Ferdinand Thiessen
16eebd3743
fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:06:29 +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
Ferdinand Thiessen
dec0d91468
fix(files): Focus filename input in new-node dialog when opened
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 12:55:50 +02:00
Pytal
90281375a3
Merge pull request #44806 from nextcloud/chore/widget-primary-color
chore(files): Switch widget to primary color
2024-04-16 03:19:13 -07:00
Ferdinand Thiessen
bbe3f4a880
fix(files): Inherit some node attributes when creating new nodes to preserve shared state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:24:57 +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
Christopher Ng
ccede9b2ad chore: Switch widget to primary color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-15 10:58:51 -07:00
Eduardo Morales
0213fb6b5d
fix(Cypress): Adjust tests for new breadcrumbs
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Ferdinand Thiessen
f6b1fd41c9
fix(files): Hide full view name on small mobile to prevent overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Eduardo Morales
de47a9ef11
fix(breadcrumbs): Improved breadcrumb progress bar mobile rendering
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +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
1a3ad804bb fix(files): breadcrumbs native drop event
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 13:33:10 +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
Christopher Ng
6ed1b98264 fix(files): Fix error with numeric filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-28 11:22:58 -07: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
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
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
Christopher Ng
66e77d41c8 feat: Add iconSvgInline to TemplateFileCreator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-20 15:50:52 -07: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
Maksim Sukharev
0af93c8f79 fix(files): provide onDestroy callback for interactive widgets
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-16 06:18:44 +00:00
Eduardo Morales
ae00ed064f fix(files): fixed breadcrumbs dissapearing on narrow screens
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-15 08:37:35 -05:00
Christopher Ng
335cdf04a3 fix: Ensure correct stacking context for right click menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-14 16:21:50 -07:00
Louis Chemineau
01fe326df1
test(files): Add e2e tests for live photo sync
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-14 11:07:20 +01:00
Christopher Ng
742e5b6329 fix(files): Right click menu positioning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 14:59:46 -07:00
Christopher Ng
26bbb8c0e4 fix(files): Right click menu scroll reset glitch
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 12:10:55 -07:00
Julius Härtl
bcfaceb83c
fix: Open viewer on simple file widget
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 16:47:08 +01:00
Christopher Ng
810bb64028 fix(files): Close submenu actions after click like top-level actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-08 03:46:55 -08:00
John Molakvoæ (skjnldsv)
e453b700b9 fix(files): properly reset preview component
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-07 21:47:50 +00:00
fenn-cs
035a2c7062 feat(files): add search plugin to search in specified folder exclusively
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-07 21:10:54 +01:00
Julius Härtl
bebf1e1860
fix: Positioning and active state of viewer components
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-07 11:10:08 +01:00
John Molakvoæ (skjnldsv)
3f8a66f25d
feat(files): add Folder Preview ressource handler
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-03-07 11:06:37 +01:00
John Molakvoæ (skjnldsv)
bfa65cf0cb
feat(files): add Viewer Files ressource handler
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-03-07 11:06:36 +01:00
Ferdinand Thiessen
4b8868a7f1
feat(theming): Provide CSS variable for favorite color and adjust for dark mode
Co-authored-by: Simon L <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 22:28:16 +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
John Molakvoæ
e072035e86
Merge pull request #43941 from nextcloud/fix/files-open-text
fix(files): Open new file when created from template
2024-03-05 18:21:57 +01:00
John Molakvoæ
d65e46f313
Merge pull request #43988 from nextcloud/fix/files-favorite
fix(files): Adjust sidebar - remove deprecated function calls and add aria label for favorite icon
2024-03-05 11:51:49 +01:00
Eduardo Morales
e0e51aed5d fix: fixed breadcrumbs not showing due to viewport width
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-04 19:13:20 -06:00
Ferdinand Thiessen
b8272cccc4
fix(files): Open new file when created from template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-05 00:55:27 +01:00
Ferdinand Thiessen
5995606931
fix(files): Remove deprecated function calls from sidebar and add aria-label to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-05 00:38:39 +01:00
fenn-cs
29c37af40c feat(files): restore unified search filtering in files view
The unified search emits, search events that other apps can subscribe to and
 react however they want to search queries, following
 4b55594f55 and prior updates to migrate the Files
app ui to vue.js that feature was broken.

This commit reintroduces the feature using the current `FileList` implementation.

This commit also adds some logging to an empty exception handler.

Resolve : https://github.com/nextcloud/server/issues/43365

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-29 19:54:55 +01:00
Eduardo Morales
25eebd31ed fix: changed text alignment and icon logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-29 07:01:19 -06: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
rakekniven
e9daa1cbba
fix(i18n): Corrected grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-27 17:05:09 +01:00
Ty Davis
f858a2c3f7 fix: Display "+New" while files page loads instead of "+Add".
Signed-off-by: Ty Davis <noreply@mail.theTyster.dev>
2024-02-26 12:17:37 -08:00
Andrii Rublov
1c316c29f1 Update apps/files/src/components/BreadCrumbs.vue
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Andrii Rublov <39839367+arublov@users.noreply.github.com>
2024-02-25 13:40:13 +01:00
Andrii Rublov
c8b68ce639 feature: [F2V] Hide breadcrumbs when an upload is ongoing on narrow screen #40942
Signed-off-by: Andrii Rublov <airublev@outlook.com>
2024-02-25 13:40:13 +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
Grigorii K. Shartsev
f12d36b226 fix(files): page h1 heading
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-23 14:48:41 +01:00
skjnldsv
571e06a35c chore(files): replace encodeFilePath by encodePath from @nextcloud/paths
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 23:26:22 +01:00
Josh
aff8b5620c fix(files): Dont't warn re: full storage on either zero or unlimited quotas
Fixes #43535
Fixes #43280

Replaces #43544

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-19 22:59:20 +00:00
Eduardo Morales
19619f53c6 enh: breadcrumb icon matches nav view icon
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-16 09:10:34 -06:00
Eduardo Morales
bbf279f546 enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-16 08:33:03 -06:00
John Molakvoæ
0fa226ee7c fix(tests): favorites view order
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-15 09:03:11 +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
93aebee4f9 enh: added option to render icon and text for breadcrumb
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
Ferdinand Thiessen
b758e0496e
fix: Correctly import types in Typescript files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-13 18:04:45 +01:00
Ferdinand Thiessen
99bc452675
fix(files): Do not scroll if there is no scrolling area
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:06:42 +01:00
Ferdinand Thiessen
d7d1bb6c80
fix(files): Fix some type errors in TemplatePicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:06:42 +01:00
Ferdinand Thiessen
8be4704e11
enh(files): Add modal to set filename before creating new files in the fileslist
* Reactive `openfile` query

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:06:42 +01:00
Simon L
f6ed1effbf
Merge pull request #43433 from nextcloud/enh/40202/use-correct-icon
Use AccountPlusIcon in broadcrombs
2024-02-08 18:27:41 +01:00
John Molakvoæ
a4f338c7a0
Merge pull request #42444 from nextcloud/fix/41877/files--move-focus-to-sidebar-on-open 2024-02-08 18:27:34 +01:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
This reverts commit d9d60238c7, reversing
changes made to ba3fdb0cdc.
2024-02-08 15:31:19 +01:00
Simon L
a183a23e2b
fix(files_sharing): use proper sharing AccountPlus icon in breadcrumbs
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 11:01:04 +01:00
Grigorii K. Shartsev
a0a13628eb fix(files): focus sidebar tab on tab or file change
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-07 23:56:08 +01:00
Grigorii K. Shartsev
eb01e74eaa fix(files): do not disable action on load to keep focus
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-07 23:56:08 +01: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æ
d50127f093 fix(files): setup cannot be in mixins
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00
John Molakvoæ
6e0499461d chore(files): move shared FileEntry and FileEntryGrid into a mixin
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00: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æ
9e1efe0538 fix(files): drop to folder path and user feedback
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00: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æ
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æ
9c2dc4adb4 fix(files): better null relatedTarget event detection
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-04 20:53:46 +00:00
John Molakvoæ
441651c22a fix(files): drag leave detection on safari
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-04 20:52:06 +00:00
Grigorii K. Shartsev
455d24bcfe fix(files): do not open file by id on load for folders
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-02 09:54:55 +01:00
John Molakvoæ
23899de2b5
fix(files): make sure we focus the parent actions submenu entry
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-31 17:07:03 +01:00
Grigorii K. Shartsev
f01e169938 fix(files): selected files actions position on scroll/with readme block
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-30 20:28:14 +01:00
Jonas
6c7080b152 fix(files): Improve inaccessible files message in file reference widget
Signed-off-by: Jonas <jonas@freesources.org>
2024-01-30 11:50:33 +01:00
Ferdinand Thiessen
2cea4d7b8d
fix(files): Consistent sorting for folders before files (user configurable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:23:47 +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
Ferdinand Thiessen
4023f1e582
fix(files): Make sure to add the fileid on favorite folders navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen
2893d1b926
fix(files): Make sure $navigation is observable to react on changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen
a62bb3a581
fix(files): Set default view and match also child routes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen
f92865e2a2
fix(files): Add declaration for $navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Grigorii K. Shartsev
b40279e376 fix(files): combine navigation and files list into single Vue app
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-25 00:25:54 +01:00
Kate
64ccc1ef87
Merge pull request #43027 from nextcloud/fix/svg-viewbox-attribute
fix: Use viewBox instead of viewbox in SVGs
2024-01-22 18:13:03 +01:00
provokateurin
958f18c37b
fix: Use viewBox instead of viewbox in SVGs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-22 16:39:06 +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
Eduardo Morales
81057f6191
fix(files): fixed home aria-label and desc logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-20 13:04:25 +01:00
Christopher Ng
1b0eb2bebd fix(files): Fix checkbox state semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-20 12:23:51 +01:00
John Molakvoæ
3f77b543e3 fix(files): prevent dragging previews and appear as an external files DnD
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-17 16:23:31 +01:00
Simon L
816d5299de use showError in TransferOwnershipDialogue
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-16 14:06:24 +01:00
Christopher Ng
fa295625ab fix(l10n): Add context note for table footers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 11:26:29 -08:00
John Molakvoæ
90d50323d8
fix(files): use backend error message if provided
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:10:27 +01:00
John Molakvoæ
14da405f92
fix(files): use getSummaryFor for better files summary translations
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:39:45 +01:00
Raul Ferreira
cf415bfe70 Include unsubscribe from file changed event
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 15:56:25 +01:00
Raul Ferreira Fuentes
a977247ae3 Update apps/files/src/views/FilesList.vue
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Raul Ferreira Fuentes <Raudius@users.noreply.github.com>
2024-01-11 15:41:39 +01:00
Raul Ferreira
ef2db702f7 Refresh FileList on current folder update
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 15:39:26 +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
Eduardo Morales
8f77f70b71 fix(files): switched native input to NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-10 12:29:34 -06:00
Grigorii K. Shartsev
ad4923ebd6 refactor(files): remove merged to @nextcloud/vue changes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 17:52:25 +01:00
Grigorii K. Shartsev
b1a9017f5f fix(files): move header actions out from the table
Having actions in the table header is no valid for a11y and counts as a column name.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 17:52:24 +01:00
Louis Chemineau
d6cd3a6b49 Include grid view toggle in accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-08 23:15:38 +01:00
Christopher Ng
5e7ba125f0 fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-05 16:46:39 -08:00
Eduardo Morales
2554419805 fix(files): kept only first and last breadcrumb titles
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-05 11:09:59 -06:00
Eduardo Morales
e7129bb0f5 enh(files): made breadcrumb component lang=ts
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-04 10:17:55 -06:00
John Molakvoæ
dd0fb2e76b fix(files): open menu on right click position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-03 08:35:07 +01:00
Grigorii K. Shartsev
d682aa25be fix(files): focus file name on renaming also initially
When new folder is created, new file entry is initially in renaming mode.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 17:25:14 +01:00
Julius Härtl
2c7f63276e fix(files): Allow Ctrl/Command click on file entries to open in a new tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-27 10:15:42 +01:00
John Molakvoæ
e407fb6563
fix(files): allow silent batch actions errors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-26 08:48:07 +01:00
Eduardo Morales
6dd6b7f630 enh(breadcrumbs): removed unnecessary aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-22 13:39:16 -06:00
Eduardo Morales
e1940ba368 enh(files): added ability to escape out of all selection when focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-21 10:38:09 -06: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
John Molakvoæ
820b67a5e2
fix(files): recursive drop path join
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-20 10:51:03 +01:00
Louis Chemineau
a39b3a3d84
Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:21:13 +01:00
Ferdinand Thiessen
6a67afff37
fix(files): Use DAV functions from library to fix invalid source links
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 09:21:00 +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æ
1db6947fcd
Merge pull request #42281 from nextcloud/fix/files/urlencode 2023-12-15 08:41:18 +01:00
Ferdinand Thiessen
2d5d782f7f fix(files): Partly revert 32c1aeb and show correct quota again
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:56:41 -06: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æ
5d74f1a15b
fix(files): templates logger usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 09:52:31 +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
9dbaf7aa5b fix(files): Do not add drag and drop listeners when renaming a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 11:56:48 -06:00
John Molakvoæ
fb39015056 fix(files): navigation exact
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-12 09:26:51 -06:00
Ferdinand Thiessen
9a2aaf3a42 fix(files): Adjust reference picker for new vue file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 12:03:54 -08:00
Christopher Ng
0167f671f5 enh(files): Add files navigation label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 17:01:05 -08:00
Ferdinand Thiessen
dd8897bb31
fix(files): Correctly handle dropping folders on file list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 16:45:29 +01:00
Julius Härtl
782e0cfaa4
fix: Also filter out undefined entries from the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:55:40 +01:00
John Molakvoæ
f89ef392b3
fix(files): better upload error handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 12:10:39 +01:00
John Molakvoæ
431ac74d78
feat(files): disable upload button if quota is reached
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 11:45:34 +01:00
John Molakvoæ
ba6494907d
feat(files): show quota warning on page load or if storage becomes full
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 11:43:03 +01:00
Julius Härtl
d9ae4b6b43 fix: Properly take show_hidden user setting into account for file listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-04 20:35:51 +01:00
Ferdinand Thiessen
f79a1ad33e
fix(files): Remove aria-label from span and move to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 22:02:11 +01:00
Grigorii K. Shartsev
909d8f2d2b fix(files): add label for WebDAV URL in files settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-01 20:41:25 +01:00
Ferdinand Thiessen
bb12b8e042
fix(files): Remove confusing table header labels
For screen readers the table header was very verbose and confusing,
as the SR reads out e.g. "sort list by name button FILENAME" for every row / file.
Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1]

[1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 17:30:23 +01:00
Eduardo Morales
bcc41df1ae accessibility fix - changed the dir attribute to have valid value, keeping previous value as data-dir
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 03:04:44 +00:00
Joas Schilling
d05a13fc76
Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +01:00
Grigorii K. Shartsev
e6bdbdbdb8 refactor(files): replace deprecated is attr on <a> with dynamic component
- Special attribute `is` is deprecated and removed in Vue 3
- It is confusing, that `<a>` element is rendered as `span` sometimes

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Grigorii K. Shartsev
fedd5316d3 fix(files): make file list item link focusable
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Grigorii K. Shartsev
2f186512eb fix(files): remove focus outline on file list item click
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Louis
a61ec60dc3
Merge pull request #40939 from nextcloud/pulsejet/sidebar-tags
sidebar: allow turning off tags view by default
2023-11-28 13:43:50 +01:00
Varun Patil
c581024540 sidebar: allow turning off tags view by default
With #37065, there is no way to hide the tags from the sidebar
by default when they are not relevant or redundant (e.g. the tab
may already show the file's tags). This can be annyoing especially
when the file has many tags. This patch adds an option to hide
the tags from the sidebar by default (the user can still open
the tags tab manually).

This also reduces one request when opening the sidebar when the
tags are turned off, since all tags don't need to be fetched
anymore.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-27 18:25:09 +00: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
Ferdinand Thiessen
0dfbd129e1
fix(config): Adjust typescript config to allow .ts imports and Typescript in Vue files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen
c91cdb2631
fix(files): Show error message if drag-and-drop upload fails
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen
e30ce44dac
fix(files): Allow to drag and drop new files also on empty directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen
7eeacd963f
fix(files): Adjust table header to look like on previous versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:07:09 +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
Marco Ambrosini
53a6857287 Fix action button labels
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 08:57:59 +00: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
Marco Ambrosini
accdb2d712 Fix star stroke color on hover
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 09:24:25 +01:00
Marco Ambrosini
fc3636792a Show shared label only if the current user have shared the file.
The presence of the text "Sharing label" in all shared files caused
the view to be too loaded, so it's been decided to show it only when
the current user is the owner of the share.

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 15:41:50 +00:00
Marco
f476220f09 Add star indicator in file description
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 13:41:50 +00:00
Marco
cd26b919e4 Move starring into actions menu
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Louis Chemineau
c7e2c340a8 Trigger default action when open file initial state is set
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 19:45:41 +00:00
Julius Härtl
dcca3f024f fix: Be less strict about action exec return value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-19 15:56:30 +01:00
Grigorii K. Shartsev
346c6173f2 fix(files): make table view a valid html table
<div> is not allowed as a <table> child

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:16:13 +01:00
Grigorii K. Shartsev
c18c6c4362 fix(files): make caption a direct child of the files table
Otherwise it is not valid and does not ception the table.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:14:48 +01:00
Eduardo Morales
b1ecd99dc6 fix(chore) - built and changed this.source -> source
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales
59e75d73be fix(component): changed moment to date object for Nc Component using Node.mtime returned date object
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales
3b48af2122 fix(component): utilized NcDateTime component
Resolves #41261
Replaces span element with custom Nc Vue Component
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Ferdinand Thiessen
e250a56170
fix(files): Ensure favorites and folders are sorted first regardless or sorting order
Also fixes `mtime` being wrong sorted, as high mtime means recently edited -> lower

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:40 +01:00
Joas Schilling
16ff684073
fix(files): Sort list ASC by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:19:08 +01:00
Marco
c2c5994d70
Improve shared status button
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-14 20:51:53 +01:00
Jonas
28deb6cb45
fix(files): Use color-primary-element-text for files/folders overlay icons
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 12:41:27 +01:00
Jonas
ee5c444e9c fix(files): Show Collectives icon in Collectives folders
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 08:40:44 +01:00
Louis Chemineau
835c6f8627
Use background to increase overlay contrast
And limit it to files

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 19:10:42 +01:00
Julius Härtl
0d2e9a1b0a fix: Only reset preview src if it used to fail before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 15:55:46 +01:00
Louis Chemineau
b180ca9d47
Display play icon over live photos' previews
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Louis Chemineau
1c84139fa6
Hide .mov for live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
John Molakvoæ
f434483248
fix(files): add missing Overwrite: F header in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 09:11:40 +01:00
John Molakvoæ
32c1aebaae
fix(cypress): formatFileSize change revert from files library
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:40:27 +01:00
John Molakvoæ
cf6c921376
chore(files_reminders): upgrade to 28 APIs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
John Molakvoæ
72ffd4999a
feat(files): support nested actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +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
Simon L
3a9d0324b3 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Simon L
402ef78df7 Revert "display inline title always"
This reverts commit 9ea30dcab6.
2023-11-07 12:07:16 +01:00
Simon L
9ea30dcab6 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:07:03 +01:00
Varun Patil
dbde3f6e5a fix(files): disable containment in header
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-25 15:48:46 +02:00
Varun Patil
4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 22:42:06 +00:00
Varun Patil
08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 -07:00
Varun Patil
2db1eab7f9
fix(files): virtual list will-change value
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-20 10:49:11 +02:00
John Molakvoæ
4db03884a5 fix(files): drop visible and adjust drag-to-scroll feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 06:42:33 +00:00
Varun Patil
4876eacf3f perf(files): performance optimizations
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-19 08:23:22 +02:00
julia.kirschenheuter
0d53f54076
Reduce left margin of files list header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 21:43:22 +02:00
John Molakvoæ
9f157d7f80
fix(files): fix new folder encoding
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 17:19:48 +02:00
Simon L
24db452085
Merge pull request #40907 from nextcloud/enh/36965/fix-personal-settings
fix several personal settings problems
2023-10-17 15:23:26 +02:00
Simon L
99eeee2036 fix several personal settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 11:50:25 +00:00
John Molakvoæ
1ba5bc08ab
fix(files): hide grid view button on narrow screen
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:43:25 +02:00
John Molakvoæ
77fdef1081
perf(files): optimize virtual scroller computation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:03:12 +02:00
John Molakvoæ
116c396f0e
feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ
c4b8abd343
perf(files): reuse keys for virtual scrolling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ
16975ae457
feat(files): grid view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ
694fd51cba
fix(files): split FileEntry Name
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ
64c32f7148
fix(files): split FileEntry Actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ
0f1f73478a
fix(files): split FileEntry Checkbox and fix range selection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ
60260bb58e
chore(files): split FileEntry Preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02: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
Christopher Ng
6a98d94e76 chore(files): Clean up unused components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng
224ee07cd5 fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng
cbb7085cfe enh(files): Add accessible sort direction
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
John Molakvoæ
35aed73ede
feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +02:00
Grigorii K. Shartsev
8cc21f50c1 fix(files): migrate from CustomSvgIconrenderer to NcIconSvgWrapper
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:54 +02:00
John Molakvoæ (skjnldsv)
dbeb526bba
fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +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æ
87ef6e47f2 fix(files): pass WCAG AA for hover rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-28 13:55:01 +00:00
John Molakvoæ (skjnldsv)
25e500bbf4
feat(files): properly format buttons, align mtime to the left and apply opacity based on file last modification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-27 10:39:33 +02:00
John Molakvoæ
6fb5f97abc
Merge pull request #40604 from nextcloud/fix/dnd/open-fileid 2023-09-27 08:53:04 +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
Max
27bcef72e0 fix(files): use OC.Files.getClient()
`OCA.Files.App.fileList` is not initiated anymore.

Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
John Molakvoæ (skjnldsv)
e3b2af4d9c
fix(files): preview loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-26 20:22:10 +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æ
16094c7db5
feat(files): add drag and drop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ
4621198744
feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ (skjnldsv)
bf467ad7f7
fix(files): revert button maxcontrast
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 15:38:22 +02:00
John Molakvoæ (skjnldsv)
216804f83d
fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +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
John Molakvoæ (skjnldsv)
2845319187
feat(files): add systemtags view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:33:21 +02:00
John Molakvoæ (skjnldsv)
cdc2529c4d fix(files): CustomElementRender $el replacement bug
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 12:43:28 +00:00
Lucas Azevedo
03ece129bf
refactor(f2v): Migrate unread comments action to the new FileAction API
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 14:08:47 +02:00
Louis Chemineau
79d1870aa7 Use t and n for translation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 09:40:20 +02:00
Julius Härtl
e0a7003f08 fix: Update file list headers on breadcrumb navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-11 15:14:24 +02:00
Valdnet
b34e00beee Remove quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-08 15:53:23 +00:00
John Molakvoæ
b304c3766c
feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-05 11:40:06 +02:00
John Molakvoæ
2592568add
fix(files): New folder case
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 01:16:41 +02:00
John Molakvoæ
e040d939e5
feat(files): add sharing icon in header
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 01:16:41 +02:00
John Molakvoæ
52590a762f
feat(files): add uploader
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 14:35:40 +02:00
Christopher Ng
e9fd37507f enh(a11y): Always visible file rename label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:52 -07:00
Ferdinand Thiessen
738c596977 fix(apps): Adjust apps for FilePicker API change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
John Molakvoæ
3e271d89f4
chore: upgrade to @nextcloud/files@3.0.0-beta.18
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ
2c9acd5d5d
feat: migrate FileAction from server
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ
b4e71ad0fb
chore: use Navigation from @nextcloud/files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:50 +02:00
Julius Härtl
79c240a17f fix: Avoid throwing on folder previews as there are none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-22 08:49:17 +00:00
John Molakvoæ
1b67542e0b
fix(files): trashbin redirect and default fileid Sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:20 +02:00
John Molakvoæ
fdf07fc759
fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ
9a5b26675c
fix(files): window.caches check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ
5098a2d7db
fix(tests): actions adjust and jest fetch mock
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
f6a6e0b991
fix(files): sidebar favorite event sync
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
96d5971083
fix(files): navigation quota alignments
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
af44cc79fa
fix(files): unnecessary navigation change detection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
c08d5e6240
fix(files): dir contents variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
52f2dddcc6
fix(files): router and fileid sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
6214fe7724
fix(files): active and open sidebar on mount
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
267cea8153
fix: FileEntry boundariesElement and right click menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
28725c46a8
feat: redirect to the mime icon if no preview available
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
9df5212a40
perf(files): reuse vnode with unique key
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ
0f68d08b14
feat: virtual scrolling update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ
410f58e43e
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ
998b3a2581
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ (skjnldsv)
77446325b2
fix(files): fix extension with custom displayName
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-02 17:18:48 +02:00
Ferdinand Thiessen
650312580f fix(cypress): Really mock the initial state instead of trying to stub a module
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +02:00
Ferdinand Thiessen
4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen
663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +02:00
John Molakvoæ (skjnldsv)
87b1719c88
feat(files): migrate recent view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-08-02 09:57:27 +02:00
Ferdinand Thiessen
88bbf383dc fix(files): Remove duplicated outline on vue files entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 02:56:34 +02:00
rakekniven
9a9e04fe4f fix(i18n) Fixed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-01 23:38:37 +00:00
John Molakvoæ
38480fda3c
feat(files_external): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-01 16:38:06 +02:00
Ferdinand Thiessen
b54542ca88 fix(files): Adjust files favorite marker for vue file list to not overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-19 21:47:16 +02:00
John Molakvoæ
bb9c7ee75c fix(files): default emptycontent message
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-18 23:53:04 +02:00
Julius Härtl
ac13226e1b fix: Always apply fullscreen styling to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-17 21:26:07 +02:00
John Molakvoæ
74763e8757
feat(files_sharing): add openInFiles action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ
b766589d6c
fix(files): empty default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ
1a46104d50
chore: add actions testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ
a9f7e66d3d
fix(files): actions permissions requirements
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ
7f8a390b60
fix(files): show a border around the favorite icon for better contrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:49:44 +02:00
John Molakvoæ
19e2aaa5b4
fix: favorites colour, icon, unwanted eslint-disable, typing and preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:48:26 +02:00
John Molakvoæ
9b0e3a97cb
fix(files): invalid default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ
7929ad4a93
feat: add caption prop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ
047218b5b0
feat: add favorites view testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ
18f88a7042
chore: update webdav to 5.2.2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
28c2d9e906
fix(files): sanitize name and ext display
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
fb61e3a761
feat: add modified column
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
7f76801220
fix(files): fix actions svg
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
0c407d28af
feat: add view in folder action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
97d69c356f
fix(files): hidden default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
96face57a7
feat(files): import all actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
b9e6f4d259
feat(files): implement built-in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
a0597da460
feat(files): sort favorites first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
f029c8bd82
fix(files): fix favorites legacy to vue handling and sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ
0984970cd8
feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:32 +02:00
Louis Chemineau
6eb93c652a Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
John Molakvoæ
cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +02:00
John Molakvoæ
135929c38c
feat: add rename action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ
05bfab243a
fix(files): action default is false if not set
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ
723edb5654
feat: add favorite action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ
1112963385 feat: add edit locally action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 10:47:08 +02:00
John Molakvoæ
70ee8de0ab
fix(jest): replace mock with jest.spyOn
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ
809631539e
feat: add open folder action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ
1b0848a7dd
feat: add download action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ
9fbdc00274
feat: add delete action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ
c31b2329dc
feat: add sidebar action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ
8b5ef98495
fix: delete action import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
Christopher Ng
bf10f3c9d1 Reset show tags on close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 10:59:17 -07:00
John Molakvoæ
d9f9a7280e
fix(files): make open folder a default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-24 17:44:52 +02:00
Simon L
ed5d8d5c4e address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 08:29:55 +00:00
Simon L
06d8a03315 migrate a few components to NcSelect
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 10:14:39 +02:00
Julien Veyssier
73f3c0aef7
adjust file custom picker component padding as the smart picker does not have padding anymore
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-05-15 12:08:26 +02:00
Simon L
f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
Julius Härtl
032e3d3ad5
feat: Enhance template picker size and layout depending on aspect ratio
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-10 15:33:57 +02:00
Christopher Ng
966bc06e8d Create new file/folder labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-27 03:20:12 +00:00
Julius Härtl
b7d574807c fix: Use proper link for navigating to files on click handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-25 09:08:01 +00:00
John Molakvoæ
02d0a0e01b
chore(deps): Bump query-string from 7.1.1 to 8.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-22 17:37:42 +02:00
John Molakvoæ
51f2f56b4b
fix(files): do not execute the default action on folders
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:58:40 +02:00
John Molakvoæ
4c0d23885d
fix(files): favorite marker css
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
425932c770
fix(files): fileid attribute
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
ea9099a72f
feat(files): allow navigation entry removal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
cae00d2e96
fix(files): paths store reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
1de3666e16
feat(files): add dir file action parameter
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
6e29560475
feat(files): add sidebar action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ
2b726fa2dd
fix(files): always force menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:33:08 +02:00
John Molakvoæ
0a2a1b4b52
feat(files): expose Files router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:14:44 +02:00
John Molakvoæ
bb4d7969b9
feat(files): add default action support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:06:57 +02:00
Christopher Ng
ee81e2cef8 Add accessible system tags select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 -07:00
John Molakvoæ
6527fec10c
fix(files): forward arguments to store creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-19 12:03:53 +02:00