Commit Graph

836 Commits (63fb254b6ba8a2ca32006697bd5fc3be41a09bfd)

Author SHA1 Message Date
rakekniven 062120b6c3 chore(i18n): Fixed plural strings
Also reduced words. See https://uxdworld.com/how-to-write-effective-success-messages/ for details

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-11-06 17:00:37 +07:00
Ferdinand Thiessen ceb6eb9d21 fix(files): make sure drag-and-drop and the upload menu behaves the same
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-30 16:37:44 +07:00
Victor d3cb05bea6 feat(files): Add font-variant-numeric to selected files list
Signed-off-by: Victor <victorlap@outlook.com>

[skip ci]
2025-10-30 08:08:46 +07:00
Louis Chmn 596874a01a fix(FilesPicker): Prevent selection of nodes without create permission
And remove the disable callback for the button as it is not needed anymore.

This gives a better experience as the nodes do not have a pointer for cursor, and the submit button does not react when clicking on them.

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-22 18:13:05 +07:00
Maksim Sukharev 805868d99b fix(files): clear search input on directory navigation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-10-14 14:24:05 +07:00
Carl Schwan 38c7d72f9a fix(eslint): Backport some changes from master to fix eslint
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-20 13:07:04 +07:00
Ferdinand Thiessen cbb3cab919 fix(files): pass Node to FileInfo object
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-20 13:07:04 +07:00
Louis Chemineau ff6d316fd6 feat(file_sharing): Provide template creator list in public shares
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-11 16:10:31 +07:00
Ferdinand Thiessen cc273ac1a6 fix: the account files filter should also work in trashbin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-03 18:46:01 +07:00
Luka Trovic fd3ca18df0 fix: resolving conflict when uploading multiple files via drag&drop
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-09-01 13:14:05 +07:00
John Molakvoæ (skjnldsv) 1dcee8a8ae fix(files): verify files are still accessible before downloading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-08-29 07:26:05 +07:00
skjnldsv a531cfe3e1 fix(files): filter non batch actions in header
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-22 21:54:24 +07:00
skjnldsv 71b618dfbc fix(files): drop usage of FileInfoModel
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-18 08:16:35 +07:00
Daniel Kesselberg 37619d63f9 feat(search): show alias when searching in root folder
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-30 06:04:38 +07:00
Côme Chilliet 5f641113ab
chore: Adapt cypress component test to contain total space
Mocked server initial state was incomplete

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:51:12 +07:00
Côme Chilliet aaccfc27ee
fix: Correctly show free space if lower than quota in Files navigation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:51:04 +07:00
skjnldsv a2eac7f757 fix(files): sort favorites navigation alphabetically
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-23 13:28:40 +07:00
John Molakvoæ f6a336b3c5
Merge pull request #54039 from nextcloud/backport/53983/stable31
[stable31] fix(files): new folder icon color
2025-07-22 23:41:38 +07:00
Ferdinand Thiessen e82a9f389d
refactor(files): remove custom page title handling
This conflicts with what `NcAppContent` is already doing.
So we should just remove it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-22 13:47:23 +07:00
skjnldsv 2320432aeb fix(files): new folder icon color
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-22 10:37:08 +07:00
Ferdinand Thiessen ec263a328a
test: adjust test code for updated `@nextcloud/vue` version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-14 22:29:03 +07:00
Hamza bb48b4b5ae fix: adapt rename action tests to check for parent permissions
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2025-07-11 17:24:15 +07:00
skjnldsv ce15c53c69 fix(files): allow renaming if parent allow creating
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 14:41:47 +07:00
Hamza e167dc1dd7 fix: hide rename action is trashbin
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2025-07-11 14:41:47 +07:00
skjnldsv c9db4b9224 fix(files): ensure proper headers lifecycle
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 15:36:56 +07:00
Maksim Sukharev 725eda1a53 fix(files): provide boundaries for FileListTableHeaderActions element
- default boundaries element is 'content-vue', which includes sidebar

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-07-03 10:09:19 +07:00
Caitlin Jordan 23fb8ed7d0
fix(files): correctly handle plural translation forms
Co-authored-by: Caitlin Jordan <jordan.cait17@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-30 12:30:22 +07:00
Ferdinand Thiessen 4cbf85494c
fix(files): add plural form for selected nodes
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>
2025-06-20 11:00:02 +07:00
Julien Veyssier 5751b82715
fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-18 12:51:37 +07:00
Elizabeth Danzberger 312464860a fix: do not extract fields for blank template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

[skip ci]
2025-06-17 19:57:34 +07:00
skjnldsv b8591e6b82 fix(files): highlight previous folder on history up
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-04 06:37:14 +07:00
Ferdinand Thiessen 7178bb7064 fix(files): do nothing if `view local` dialog was just closed
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>
2025-06-01 15:42:27 +07:00
Ferdinand Thiessen dad5132594 test: adjust unit tests for updated library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 20:05:39 +07:00
Ferdinand Thiessen 8bb41fb708
Merge pull request #52819 from nextcloud/backport/52809/stable31
[stable31] fix(files): do not even try to fetch a preview if `has-preview` is false
2025-05-27 07:58:53 +07:00
John Molakvoæ (skjnldsv) 4ed1050ccf fix(files): do not even try to fetch a preview if èhas-preview` is false
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-26 18:57:33 +07:00
Elizabeth Danzberger 52ae766a8e feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +07:00
Ferdinand Thiessen f699595748
fix(files): make sure to always have proper plural forms
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>
2025-05-22 13:01:50 +07:00
Ferdinand Thiessen 2bb2bbcae4
fix(files_sharing): Disable folder upload on file drop shares for now
The backend does not allow creating folders currently, so we have to
disable it for now.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-17 12:04:36 +07:00
skjnldsv 12334c162a fix(files): middle click & ctrl new tab
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-05-15 21:49:29 +07:00
Louis Chemineau 5a71a3b1a7 fix: Forward attributes to the sidebar
Needed for Photos' sidebar tab

Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-30 18:52:44 +07:00
Ferdinand Thiessen 73bcc0a739 refactor(files): use new `hide-download` WebDAV property for download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +07:00
John Molakvoæ (skjnldsv) 532f8948d1 fix(files): prevent dragging preview when drag-drop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-22 18:08:38 +07:00
Ferdinand Thiessen c6ebf1c7cb fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 08:23:58 +07:00
skjnldsv f069e12dfa fix(files): right click actions menu flicker
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-02 14:38:21 +07:00
Fabian Zwemke 7b429c8a44 fix(files): Properly encode URLs when preparing ZIP download
Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
2025-03-27 11:05:36 +07:00
Ferdinand Thiessen 046e4b2d59
test: fix CI when running Karma tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:41:58 +07:00
Ferdinand Thiessen e9c242e2a2
fix(files): also show file list headers on empty views
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>
2025-03-20 15:37:43 +07:00
Ferdinand Thiessen b07ef78fa2 fix(files_sharing): ensure share status action works also in grid view
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>
2025-03-19 22:49:05 +07:00
Ferdinand Thiessen 5eff90005e
fix(files): also enable delete action if trashbin is disabled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 21:30:43 +07:00
Ferdinand Thiessen a9bea3b944
fix(files_sharing): ensure downloaded file has the correct filename
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>
2025-03-05 09:32:41 +07:00