aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | fix(files_sharing): ensure share status action works also in grid viewFerdinand Thiessen2025-03-131-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | Remove some hacks from files app about the *files_sharing* status action, in general not sure why this hack was there instead of being in the correct app - but it broke the grid view. So now the sharing information is also available in grid view. Moreover the icon is fixed in size to not overflow the actions menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files): correctly handle plural translation formsCaitlin Jordan2025-03-121-15/+8
|/ | | | | Co-authored-by: Caitlin Jordan <jordan.cait17@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): also enable delete action if trashbin is disabledFerdinand Thiessen2025-03-111-9/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): also show file list headers on empty viewsFerdinand Thiessen2025-03-055-22/+97
| | | | | | | 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>
* fix(files_sharing): ensure downloaded file has the correct filenameFerdinand Thiessen2025-03-052-5/+30
| | | | | | | | Single file shares use the share token as source name, so we need to use the displayname. To do so we need to set the download attribute to the displayname of the file to download. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51146 from nextcloud/fix/files-trash-downloadKate2025-03-031-2/+8
|\ | | | | fix(files_trashbin): disable bulk download for trashbin
| * fix(files_trashbin): disable bulk download for trashbinFerdinand Thiessen2025-02-281-2/+8
| | | | | | | | | | | | | | The backend does not allow bulk download within the trashbin, so we need to disable this also on the frontend. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(l10n): use `do not` instead of `don't`Valdnet2025-02-282-2/+2
|/ | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* refactor: use eventbus for updated filtersFerdinand Thiessen2025-02-283-15/+7
| | | | | | | prevent filters not applied if `filtersChanged` was set before file list mounted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>