aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(files): sort local files first - used when filtering + local searchFerdinand Thiessen2025-07-071-2/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): search locally in the background while filtering by nameFerdinand Thiessen2025-07-072-7/+93
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): remove "local search"Ferdinand Thiessen2025-07-075-72/+15
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): gracefully handle `files:node:updated` when not in storeFerdinand Thiessen2025-07-071-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): add active folder to active store and refactorFerdinand Thiessen2025-07-077-61/+79
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): allow to configure default viewFerdinand Thiessen2025-07-049-25/+169
| | | | | | | | This allows to configure which view should be the default ("start view") in the files app, currently either "all files" or "personal files". But it might be extended to the new home view in the future. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add "search everywhere" button within the filters rowFerdinand Thiessen2025-07-045-3/+106
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Adapt cypress component test to contain total spaceCôme Chilliet2025-07-031-0/+3
| | | | | | Mocked server initial state was incomplete Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Correctly show free space if lower than quota in Files navigationCôme Chilliet2025-07-031-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: update `@nextcloud/files` and use now public APIchore/files-public-apiFerdinand Thiessen2025-07-031-1/+1
| | | | | | | Remove the hack which was needed until the view.hidden attribute was public API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): provide boundaries for FileListTableHeaderActions elementMaksim Sukharev2025-07-031-0/+5
| | | | | | - default boundaries element is 'content-vue', which includes sidebar Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(files): do not redirect router when navigating between viewsFerdinand Thiessen2025-07-011-8/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: add e2e tests for files searchFerdinand Thiessen2025-07-011-3/+22
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): reload file list on search updateFerdinand Thiessen2025-07-011-2/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add search scope toggle and logicFerdinand Thiessen2025-07-014-56/+149
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): allow hidden viewsFerdinand Thiessen2025-07-011-2/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add `search` viewFerdinand Thiessen2025-07-017-4/+308
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): adjust filename filter to use eventsFerdinand Thiessen2025-07-012-2/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add `search` store to handle all search related stateFerdinand Thiessen2025-07-013-1/+178
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): also use `open-in-files` for the search viewFerdinand Thiessen2025-07-012-9/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add `getDirectoryByPath` to files storeFerdinand Thiessen2025-07-013-17/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): log aborted navigation as debug levelFerdinand Thiessen2025-07-011-0/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): remove custom page title handlingFerdinand Thiessen2025-06-181-7/+0
| | | | | | | This conflicts with what `NcAppContent` is already doing. So we should just remove it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): add plural form for selected nodesFerdinand Thiessen2025-06-181-2/+5
| | | | | | | Reported at Transifex: > This string needs pluralization feature, because in some languages translation of "selected" differs between singular and plural. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: do not extract fields for blank templateElizabeth Danzberger2025-06-171-1/+7
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): use the correct theming instance name from capabilities to set ↵Julien Veyssier2025-06-051-1/+1
| | | | | | the page title Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(files): highlight previous folder on history upskjnldsv2025-06-031-0/+62
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* test: adjust unit tests for updated libraryFerdinand Thiessen2025-06-011-26/+35
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): do nothing if `view local` dialog was just closedFerdinand Thiessen2025-05-291-66/+73
| | | | | | | | | | | | | | | We try to open a file in the Nextcloud client. If this fails a dialog is shown with 3 options: 1. Retry: If it fails no further dialog is shown. 2. Open online: The viewer is used to open the file. 3. Close the dialog and nothing happens (abort). This correctly implements 3 and also adds some comments + order file in reading order (using `function` instead of arrow functions allows this easily). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: only load template fields when requestedElizabeth Danzberger2025-05-192-4/+12
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat(files): show readable mime if availableJohn Molakvoæ (skjnldsv)2025-05-151-0/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* chore(files): adjust renaming action commentJohn Molakvoæ2025-05-141-0/+2
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(files): refresh Node data on extension changeJohn Molakvoæ (skjnldsv)2025-05-141-1/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* feat(files): allow showing file type (mime) columnJohn Molakvoæ (skjnldsv)2025-05-147-1/+71
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): do not even try to fetch a preview if èhas-preview` is falseJohn Molakvoæ (skjnldsv)2025-05-141-0/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): middle click & ctrl new tabskjnldsv2025-05-071-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #52269 from nextcloud/fix/files-summaryFerdinand Thiessen2025-04-301-24/+20
|\ | | | | fix(files): make sure to always have proper plural forms
| * fix(files): make sure to always have proper plural formsFerdinand Thiessen2025-04-301-24/+20
| | | | | | | | | | | | | | | | counted words should always be translated using `n`. We can still simply concat the segments with punctation, this always works regardless of the language used (even with RTL / LTR languages). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Forward attributes to the sidebarartonge/fix/attribute_in_sidebarLouis Chemineau2025-04-301-0/+1
|/ | | | | | | Needed for Photos' sidebar tab Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): share `mtime` for file entry componentsFerdinand Thiessen2025-04-233-31/+32
| | | | | | | Also restructure the mtime opacity calculation to work as expected also for old files. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): prevent dragging preview when drag-dropJohn Molakvoæ (skjnldsv)2025-04-221-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* refactor(files): use new `hide-download` WebDAV property for download actionFerdinand Thiessen2025-04-162-1/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): show hidden files and folders count in summaryskjnldsv2025-04-023-25/+41
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files): remove popover workaround after vue lib updateskjnldsv2025-04-021-6/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): right click actions menu flickerskjnldsv2025-04-022-19/+39
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Properly encode URLs when preparing ZIP downloadFabian Zwemke2025-03-261-3/+3
| | | | Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
* feat(files): hide "Personal files" and "Shared with others" views if user ↵skjnldsv2025-03-251-0/+7
| | | | | | has no quota Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Ensure actions never overflow filenameFerdinand Thiessen2025-03-241-3/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51400 from nextcloud/chore/tests-hot-keyFerdinand Thiessen2025-03-171-26/+23
|\ | | | | test: speed up hotkey tests by 2.4s
| * test: speed up hotkey tests by 2.4schore/tests-hot-keyFerdinand Thiessen2025-03-111-26/+23
| | | | | | | | | | | | | | | | | | | | | | That is about 2500% as we needed to always wait for the timeout of 500ms. As the event was already handled - compared to now where we only wait for one tick which is about 20ms. Also the tests did not work as expected - for shift and meta key they did not report the failing tests. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>