aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/views/FilesList.vue
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): show hidden files and folders count in summaryskjnldsv2025-04-021-9/+20
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): also show file list headers on empty viewsFerdinand Thiessen2025-03-051-3/+22
| | | | | | | It is needed, e.g. for the note-to-recipient, that the headers are also shown when there is no content (yet). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: use eventbus for updated filtersFerdinand Thiessen2025-02-281-11/+3
| | | | | | | prevent filters not applied if `filtersChanged` was set before file list mounted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Migrate nextcloud-vue usage to new import schemaFerdinand Thiessen2025-02-201-7/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): properly show file not found errorskjnldsv2025-02-181-3/+13
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Properly reset all file list filters on view changeFerdinand Thiessen2025-01-211-1/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(systemtags): add systemtag manage keyboard shortcutskjnldsv2024-12-171-3/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_trashbin): add cypress testsskjnldsv2024-12-121-0/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): protect filelist actions with try...catchskjnldsv2024-12-121-6/+47
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_trashbin): update @nextcloud/files and adjust api + l10n fixskjnldsv2024-12-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Right-align list actionsChristopher Ng2024-12-121-12/+21
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore: Remove unused iconChristopher Ng2024-12-031-2/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Update caption for screen readers when uploading is not possibleChristopher Ng2024-12-031-20/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Restore page title (folder - view - product)Ferdinand Thiessen2024-11-211-1/+13
| | | | | | | | * Folder: Current folder if not root * View: Name of current view * Product: Nextcloud Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Provide `useFileListWidth` composableFerdinand Thiessen2024-11-201-4/+5
| | | | | | | | Replace the mixin with a composable, this is better typed and works in both: Options- and Composition API. Also added component tests for it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Replace deprecated `Types` enum for share typesFerdinand Thiessen2024-11-181-11/+15
| | | | | | | Replace with `ShareType` enum. Also fix some small Typescript issues in `FilesList.vue`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Add support for file list actionsChristopher Ng2024-11-131-1/+30
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): handle empty view with errorGrigorii K. Shartsev2024-10-251-6/+27
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-161-1/+1
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add more visual move / copy notificationfix/files-add-move-infoFerdinand Thiessen2024-09-301-0/+7
| | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/46645 This adds loading toast notification while the move operation is running. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure children are removed from folder and not duplicatedFerdinand Thiessen2024-09-201-1/+1
| | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/47904 We need to make sure that we only add one source (unique!) once as a child, this is ensured by simply use a native `Set`. Also we need to remove children on from folders when the `files:node:deleted` event is emitted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Adjust files list for sharing permissions on public sharesFerdinand Thiessen2024-09-061-2/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly check for already used names when creating new folderFerdinand Thiessen2024-08-271-1/+1
| | | | | | Also add Cypress tests for the "new"-menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Move loading icon before grid toggleFerdinand Thiessen2024-08-211-6/+6
| | | | | | | This prevents jumping of that toggle button when the view is loading. Also adjust the design for Nextcloud 30 (prevent jumping of breadcrumbs when loading due to increased height). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files): Cache `getContents` function used for uploaderFerdinand Thiessen2024-08-141-11/+7
| | | | | | | | Instead of trigger a PROPFIND for every new-menu entry clicks, or conflict handling of uploads, we can just use the cached content from the file store. If we do not have any cache entry we fetch new, but otherwise this is not needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): use `files:config:updated` to monitor user config changeskjnldsv2024-08-071-3/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-011-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add missing `emptyView` handlingFerdinand Thiessen2024-07-311-26/+54
| | | | | | | | | The interface provides this option but it was never implemented. This feature of being able to render a custom empty view message is needed for public file drops to properly show the terms of service. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor: Make route parameters accessible using composables to reuseFerdinand Thiessen2024-07-251-24/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-251-33/+30
| | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to add file list filtersFerdinand Thiessen2024-07-251-66/+43
| | | | | | | This adds sticky file list filters above the file list. Those filters are used to filter the directory content and thus filter the file list. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/files` to v3.6.0Ferdinand Thiessen2024-07-251-41/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Close the sidebar on navigationFerdinand Thiessen2024-07-151-0/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-121-4/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Allow to reset unified search using the ↵Ferdinand Thiessen2024-06-271-8/+16
| | | | | | `nextcloud:unified-search:reset` event Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow uploading directoriesFerdinand Thiessen2024-06-241-11/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-06-231-8/+11
| | | | | | when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Update `@nextcloud/files` to v3.5.0Ferdinand Thiessen2024-06-231-2/+2
| | | | | | * Removed now duplicated code Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): do not rely on unique fileidskjnldsv2024-06-121-7/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Correctly type virtual files list ref typeFerdinand Thiessen2024-06-071-2/+4
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-041-0/+36
| | | | | | | 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>
* 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>
* fix(files): Keep 'back'-button for not found directories or if user can not ↵Ferdinand Thiessen2024-05-291-3/+17
| | | | | | upload Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Show upload menu in folders' emptycontentMarco2024-05-291-14/+8
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-20/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Adjust type import and usage for removed dependencyFerdinand Thiessen2024-05-271-2/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Implement `SortingService` to fix sorting of filesFerdinand Thiessen2024-05-271-1/+1
| | | | | | | 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>
* fix(files): Debounce does not return a function so it should be used as computedFerdinand Thiessen2024-05-231-9/+10
| | | | | | This also fixes hacky solution to `this` access Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Use translation function directly instead of calling the ↵Ferdinand Thiessen2024-05-231-13/+13
| | | | | | instance method Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix typing issues with dataFerdinand Thiessen2024-05-231-11/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>