aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* fix(files): Ensure the filter instance is mountedFerdinand Thiessen2025-02-282-2/+7
| | | | | | | | `reset` could be called before the filters are mounted, in this case it is valid to update the presets, but we must not try to access the vue instance (as it does not exist yet). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): exception when share-attributes is undefinedVarun Patil2025-02-271-1/+1
| | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(l10n): Improve english source stringsJoas Schilling2025-02-263-3/+3
| | | | | | | - No leading/trailing whitespace - Use asci single quote Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(l10n): Spelling standardizationValdnet2025-02-253-4/+4
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* feat(files): allow to ignore warning to change file typeFerdinand Thiessen2025-02-258-169/+417
| | | | | | | | | | | | | * Missing pieces of https://github.com/nextcloud/server/issues/46528 * Add checkbox to not show this dialog again * Add user config as suggested by designers in files settings to reenable or diable this behavior. * Fix behavior of dialog: It says "keep .ext" but it does not keep the extension but cancels the operation. From the button label the user expects that the operation is continued but with the old extension. * Added more test coverage by adding component tests. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: rename 'edit locally' to 'open locally'Jérôme Herbinet2025-02-213-11/+11
| | | | | | Replace "Edit" by "Open" Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
* fix(files): handle failed node properlyskjnldsv2025-02-211-2/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor: Migrate nextcloud-vue usage to new import schemaFerdinand Thiessen2025-02-2031-87/+89
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): do not show extension warning for folders renamingfix/files-rename-folderskjnldsv2025-02-191-3/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): attach sidebar to main content for vue debugskjnldsv2025-02-182-15/+26
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly show file not found errorskjnldsv2025-02-181-3/+13
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly forward open params from short urlsskjnldsv2025-02-181-5/+9
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(transferownership): allow searching by email, display ↵Julien Veyssier2025-02-171-14/+6
| | | | | | user.shareWithDisplayNameUnique in item subline, adjust style Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(template-filler): Hide template fields with unknown labelsElizabeth Danzberger2025-02-133-5/+13
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): only send config update requests if user is logged inFerdinand Thiessen2025-02-085-127/+126
| | | | | | | | | | | | Since we use the files app also for public shares it is not guaranteed that there is a user logged in, in that case the update for user / view config will fail. So ensure there is a user or do not send a request. Also refactor both stores to setup styles to fix (remove) initialization hack, which causes Typescript issues. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files): add actions cypress testsskjnldsv2025-02-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): support submenu in batch actions header tooskjnldsv2025-02-065-60/+201
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Do not download files with `openfile` query flagFerdinand Thiessen2025-02-062-35/+68
| | | | | | | Instead of downloading files, if there is no other default action, we should just open the details tab. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly scroll selected file into viewFerdinand Thiessen2025-02-053-51/+122
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): properly update store on files conversions successskjnldsv2025-02-045-63/+63
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Fix casingChristopher Ng2025-02-041-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>