aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/store
Commit message (Collapse)AuthorAgeFilesLines
* feat(systemtags): add systemtag manage keyboard shortcutskjnldsv2024-12-172-1/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): add hotkey service and unify action handlingskjnldsv2024-12-172-5/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): add opendetails param and file list up/down keyboard shortcutskjnldsv2024-12-172-1/+79
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly update paths and folder children on node moveskjnldsv2024-12-033-57/+112
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: add confirmation dialog for file extension changesnfebe2024-11-191-1/+78
| | | | | | | - Introduced a dialog to confirm if users want to proceed with changing the file extension. - Added handling for dialog visibility to prevent recursion. (Since it looks like use must press escape to stop rename???) Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore: lint fixchore/force-style-lintskjnldsv2024-11-191-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): multiselect and filters store declarationskjnldsv2024-11-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-161-3/+3
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-151-2/+81
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sidebar): Show node owner in metadata sublinefenn-cs2024-10-071-12/+1
| | | | | | Resolves: https://github.com/nextcloud/server/issues/46178 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* test(files): Add tests for path handlingFerdinand Thiessen2024-09-201-0/+130
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure children are removed from folder and not duplicatedFerdinand Thiessen2024-09-201-12/+63
| | | | | | | | | | | * 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>
* perf(files): Cache `getContents` function used for uploaderFerdinand Thiessen2024-08-141-0/+28
| | | | | | | | 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>
* feat(files): Add getter for all view configsChristopher Ng2024-08-081-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): use `files:config:updated` to monitor user config changeskjnldsv2024-08-071-1/+0
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Support setting view config for complex idsChristopher Ng2024-08-011-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_sharing): Make account file filter consistent have designFerdinand Thiessen2024-07-301-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-251-0/+78
| | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-096-0/+21
| | | | | | | | | 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): fetch nodes if we have multiple of the same fileid in the storeskjnldsv2024-06-121-3/+44
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): do not rely on unique fileidskjnldsv2024-06-124-25/+27
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-041-1/+1
| | | | | | | 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>
* chore: Add SPDX headerAndy Scherzinger2024-05-2911-209/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Do not show files from hidden folders in "Recent"-view if hidden ↵Ferdinand Thiessen2024-04-161-0/+25
| | | | | | | | 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>
* fix: Correctly import types in Typescript filesFerdinand Thiessen2024-02-131-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Consistent sorting for folders before files (user configurable)Ferdinand Thiessen2024-01-271-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add grid toggle buttonJohn Molakvoæ2023-10-171-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): migrate template pickerJohn Molakvoæ2023-10-171-7/+47
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add move or copy actionJohn Molakvoæ2023-09-263-5/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add drag and drop supportJohn Molakvoæ2023-09-261-0/+46
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add uploaderJohn Molakvoæ2023-09-013-2/+63
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): actions permissions requirementsJohn Molakvoæ2023-07-111-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: favorites colour, icon, unwanted eslint-disable, typing and previewJohn Molakvoæ2023-07-058-54/+39
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: add modified columnJohn Molakvoæ2023-07-053-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement built-in renamingJohn Molakvoæ2023-07-051-0/+48
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): sort favorites firstJohn Molakvoæ2023-07-051-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): paths store reactivityJohn Molakvoæ2023-04-212-9/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): forward arguments to store creationJohn Molakvoæ2023-04-195-18/+18
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add view config service to store user-config per viewJohn Molakvoæ2023-04-183-81/+104
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): standardize `files:node:event` event syntaxJohn Molakvoæ2023-04-142-12/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): responsive design for mobile and narrow screensJohn Molakvoæ2023-04-121-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): right clickJohn Molakvoæ2023-04-111-0/+31
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement shift-selectJohn Molakvoæ2023-04-114-6/+86
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): update @nextcloud/files and fix event store updateJohn Molakvoæ2023-04-113-18/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(eslint): clean and fixJohn Molakvoæ2023-04-064-5/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): move userconfig to dedicated store and fix crop previewsJohn Molakvoæ2023-04-061-0/+76
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): propagate restore and delete eventsJohn Molakvoæ2023-04-063-69/+115
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement sorting per viewJohn Molakvoæ2023-04-061-16/+34
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): sortingJohn Molakvoæ2023-04-061-0/+73
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* perf(files): update files store by chunksJohn Molakvoæ2023-04-061-4/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>