aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(vue): Begin implementing template filler componentElizabeth Danzberger2024-07-252-10/+64
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: TemplateFiller componentElizabeth Danzberger2024-07-251-3/+13
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add template filler componentElizabeth Danzberger2024-07-251-0/+26
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Do not split filename into `base` and `extension` for foldersFerdinand Thiessen2024-07-254-16/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/files` to v3.6.0Ferdinand Thiessen2024-07-251-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): validate input when creating file/directoryMaksim Sukharev2024-07-242-8/+67
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(files): Grid view virtual scrolling computationsLouis Chemineau2024-07-242-8/+6
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Reduce preview size in grid view modeLouis Chemineau2024-07-242-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: add file request cypress testingskjnldsv2024-07-191-2/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Add rounded corners back in grid viewLouis Chemineau2024-07-111-5/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-091-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-094-12/+18
| | | | | | | | | 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>
* fix(files): Correctly center the checkbox's background in grid viewLouis Chemineau2024-07-081-1/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Refresh grid view layoutLouis Chemineau2024-07-042-34/+59
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Display mtime in grid viewLouis Chemineau2024-07-043-26/+36
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* refactor(files): Fix nullish operator usage and add missing code commentFerdinand Thiessen2024-06-242-4/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Properly handle files in failed stateFerdinand Thiessen2024-06-245-4/+12
| | | | | | | 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>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-06-238-49/+79
| | | | | | when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-06-231-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Update `@nextcloud/files` to v3.5.0Ferdinand Thiessen2024-06-234-6/+6
| | | | | | * Removed now duplicated code Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Don't react to clicks when renamingLouis Chemineau2024-06-201-0/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Do not import from `axios` but only `@nextcloud/axios`Ferdinand Thiessen2024-06-201-2/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-06-191-2/+5
| | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Ignore right click for default actionLouis Chemineau2024-06-131-0/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): do not rely on unique fileidskjnldsv2024-06-125-37/+42
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): also trigger new tab on file name middle clickJohn Molakvoæ (skjnldsv)2024-06-124-5/+9
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-121-5/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Ensure that focussed file is always scrolled rightFerdinand Thiessen2024-06-081-0/+24
| | | | | | | | 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>
* refactor(files): Fix TypeScript issues in FileEntryActionsFerdinand Thiessen2024-06-082-7/+9
| | | | | | | | * 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>
* fix(files): reset menu pos when opening in grid modeJohn Molakvoæ (skjnldsv)2024-06-041-9/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): Only execute default action if there is an action to performFerdinand Thiessen2024-06-041-7/+11
| | | | | | | 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>
* refactor(files): Make `currentView` a prop of `FilesListTableFooter`Ferdinand Thiessen2024-05-312-6/+7
| | | | | | | | 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>
* refactor(files): Properly add type information to FilesListTableFooterFerdinand Thiessen2024-05-311-8/+8
| | | | | | | | - 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>
* refactor(files): Correctly cast table ref to fix TypeScript errorsFerdinand Thiessen2024-05-311-6/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update `@nextcloud/files` to 3.4.0 to fix public link sharesFerdinand Thiessen2024-05-311-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Consistently sort imports of FileEntryMixinFerdinand Thiessen2024-05-311-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure entry with `fileid` is marked as activeFerdinand Thiessen2024-05-312-8/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2928-499/+86
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(files): refresh preview on etag changeskjnldsv2024-05-231-1/+6
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Add missing properties and fix Typescript errors in `FileEntryName`Ferdinand Thiessen2024-05-021-21/+33
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): apply the renaming when leaving the input fieldRaphaël Jakse2024-05-021-1/+1
| | | | | | Refs: #42689 Signed-off-by: Raphaël Jakse <raphael.git@jakse.fr>
* fix(files): Use string array instead of string for forbidden charactersFerdinand Thiessen2024-04-291-7/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Display selected files countChristopher Ng2024-04-171-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Focus filename input in new-node dialog when openedFerdinand Thiessen2024-04-161-1/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Inherit some node attributes when creating new nodes to preserve ↵Ferdinand Thiessen2024-04-161-5/+3
| | | | | | shared state Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(Cypress): Adjust tests for new breadcrumbsEduardo Morales2024-04-101-1/+1
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(files): Hide full view name on small mobile to prevent overflowFerdinand Thiessen2024-04-101-10/+11
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(breadcrumbs): Improved breadcrumb progress bar mobile renderingEduardo Morales2024-04-101-14/+18
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(files): breadcrumbs native drop eventskjnldsv2024-04-041-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: add drag and drop recursion and FilesystemAPI testingskjnldsv2024-04-042-3/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>