Ferdinand Thiessen
b770bbdd54
refactor(test): migrate cypress component tests to vitest
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-17 17:47:46 +01:00
Ferdinand Thiessen
a3871346e1
refactor: adjust code for breaking changes in @nextcloud/dialogs v7
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-17 16:12:49 +01:00
Louis Chmn
2824bd6b50
chore(files): Remove regular stats request
...
All views are now migrated.
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-12-03 09:15:58 +00:00
Szymon Kłos
1374b92207
fix(files): Do not fail on missing sidebar in files list
...
When using richdocuments it was failing in case of shared links
or when user with opened file did a wheel click on a refresh page.
Then new tab appeared but instead opening the file it was doing
nothing (showing the list of files) or downloading the file.
Make code more defensive. I found these logs while debugging:
OCA.Files.Settings initialized
Sidebar.js:19 OCA.Files.Sidebar initialized
ShareSearch.js:16 OCA.Sharing.ShareSearch initialized
comments-app.js:15 OCA.Comments.View initialized
index.mjs:54 files: Error while opening sidebar Object
log @ index.mjs:54
index.mjs:54 files: Error while opening sidebar Objectapp: "files"
TypeError: window.OCA.Files.Sidebar.open is not a function
at h.exec (http://nc/dist/files-main.js?v=106d16db-0:1:70123 )
at o.openSidebarForFile (http://nc/dist/files-main.js?v=106d16db-0:1:163422 )
at o.handleOpenQueries (http://nc/dist/files-main.js?v=106d16db-0:1:163167 )
at o.openDetails (http://nc/dist/files-main.js?v=106d16db-0:1:162349 )
at fn (http://nc/dist/core-common.js?v=106d16db-0:1:3942538 )
at e.run (http://nc/dist/core-common.js?v=106d16db-0:1:3946900 )
at sa (http://nc/dist/core-common.js?v=106d16db-0:1:3948728 )
at Array.<anonymous> (http://nc/dist/core-common.js?v=106d16db-0:1:3943585 )
at bn (http://nc/dist/core-common.js?v=106d16db-0:1:3942986 )level: 2uid: "admin"
[[Prototype]]: Object
log @ index.mjs:54
Possibly regression from
e7001022c7
Fixes https://github.com/nextcloud/richdocuments/issues/3815
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2025-11-30 18:25:27 +00:00
John Molakvoæ
7b53dacfdd
fix(files): use isDownloadable for isSyncable
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
[skip ci]
2025-11-28 09:55:01 +01:00
Fauzan
a2920dc7a9
fix(files_sharing): Hide 'Open locally' action
...
This patch ensures that the "Open locally" context menu item is not
displayed for files in a share where the "download and sync" permission
has not been granted.
This prevents user confusion, as the action would fail anyway. The fix
adds a permission check before rendering the menu item, and adds a
corresponding unit test to verify this behavior.
Resolves : #54970
Signed-off-by: Fauzan <fauzanfebriann@gmail.com>
2025-11-28 08:52:44 +00:00
Côme Chilliet
13041eeee7
chore(stable32): npm run lint:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-17 10:06:44 +01:00
Ferdinand Thiessen
00e3c94ab9
refactor(files): migrate to new NcForm* components for app settings
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 15:25:21 +01:00
Ferdinand Thiessen
529d7eae2f
fix(files): use correct types for the Settings
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 15:24:15 +01:00
Ferdinand Thiessen
74501ca66e
refactor(files): move file action hotkeys to the file actions
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-13 22:52:33 +01:00
Ferdinand Thiessen
8c9ae9f939
refactor(files): use new NcAppSettingsShortcutsSection
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-13 22:50:29 +01:00
rakekniven
0cf45b781d
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:13 +00:00
Ferdinand Thiessen
2aa07b8644
fix(files): make sure drag-and-drop and the upload menu behaves the same
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-28 18:53:43 +01:00
Louis Chmn
fa01bbc98a
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 07:16:43 +00:00
Victor
577fffbac8
feat(files): Add font-variant-numeric to selected files list
...
Signed-off-by: Victor <victorlap@outlook.com>
[skip ci]
2025-10-21 07:35:34 +00:00
Ferdinand Thiessen
515d1b5ae3
feat: add new link endpoint when using globalscale
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 22:52:05 +02:00
Maksim Sukharev
71678ca551
fix(files): clear search input on directory navigation
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-10-14 07:24:08 +00:00
Ferdinand Thiessen
a7f7ae2770
fix(files): pass Node to FileInfo object
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-18 16:22:51 +02:00
Louis Chemineau
2e2994d6a4
fix(encryption): Correctly set encrypted to 0 when copying
...
If encryption got disabled, copying should set encrypted to 0 for the
new unencrypted copy. For instance when using encryption:decrypt-all
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-08 22:35:57 +02:00
Ferdinand Thiessen
a2c373b7ea
fix: the account files filter should also work in trashbin
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-03 18:38:49 +02:00
Ferdinand Thiessen
a42bd7a507
refactor: add enum for filename sanitization also in the frontend
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 11:01:53 +02:00
Ferdinand Thiessen
805fe3e15b
feat(files): provide UI to sanitize filenames after enabling WCF
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 10:53:01 +02:00
Luka Trovic
edd5dee342
fix: resolving conflict when uploading multiple files via drag&drop
...
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-08-31 21:20:30 +02:00
John Molakvoæ (skjnldsv)
6fb7f7f4e7
fix(files): verify files are still accessible before downloading
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-08-28 22:27:26 +02:00
Andy Scherzinger
1248ac93f2
style(icon): Use information-outline instead of information-variant
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-08-27 15:19:47 +00:00
skjnldsv
3bdff6b3f5
fix(files): filter non batch actions in header
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-22 18:16:09 +00:00
Maksim Sukharev
ef0c1bd11c
fix(Sidebar): change icons to outline
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-08-22 15:29:04 +02:00
Jonas Stene
e44305a8b7
fix(files): changed prop to kebab-case
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
Jonas Stene
b35569abe2
fix(files): added noLabel prop to UploadPicker with breakpoint
...
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
Jonas Stene
f9fa5abcf2
fix(files): removed breakpoint on gridView button
...
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
John Molakvoæ
971dfd7cbf
fix(files): properly type window Files APIs
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-08-20 16:21:09 +02:00
Ferdinand Thiessen
e99ea1a351
fix: adjust server styles for new secondary status colors
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-19 15:05:01 +02:00
kramo
ba4f235628
fix: Replace some more icons with outlined ones
...
Follow-up to #54054
Signed-off-by: kramo <git@kramo.page>
2025-08-18 10:03:14 +02:00
kramo
c5d1f2f9ff
fix(l10n): Less jargon in source strings
...
This removes:
- “enable” for settings
- “settings” for settings sections
- “all” when there is no obvious subset of items
- “show” and “open” for navigation actions
- “changes” for applying/discarding
- “to clipboard” when copying
- Explaining things that cannot happen
- Explaining things twice, right below each other
- Unnecessary technical jargon
- Text that sounds like marketing copy and serves no other purpose
Signed-off-by: kramo <git@kramo.page>
2025-08-12 14:37:34 +02:00
Ferdinand Thiessen
9ad5214fce
test(files): adjust mocking initial state for updated library
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-11 17:01:32 +02:00
skjnldsv
c1003692f0
fix(files): drop usage of FileInfoModel
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-10 17:43:55 +00:00
kramo
718cf4e15d
fix: Remove redundant toast notifications
...
Since these actions already have highly visible visual confirmation,
no extra notifications are needed.
Split out from #54202
Signed-off-by: kramo <git@kramo.page>
2025-08-07 20:33:55 +00:00
Ferdinand Thiessen
3a5769e8f9
refactor(files): move hotkey handling to composable
...
This is a composable - not a service, because it is using the
`useHotKey` composable. At this moment it works, but in general
its only safe to put composables into `setup`-context.
This makes it future prove.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-05 19:00:32 +02:00
Jérôme Herbinet
ee3e628b7a
feat: replace "Folder tree structure" with "Folder tree"
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Co-Authored-By: kramo <git@kramo.page>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-31 12:26:12 +00:00
Daniel Kesselberg
2cff3454a3
feat(search): show alias when searching in root folder
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-29 15:11:24 +00:00
skjnldsv
a83ed8a5c2
fix(eslint): glob import spec pattern
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-29 10:55:25 +02:00
skjnldsv
c7dd6dd645
feat(files): allow hidding files extensions
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-28 18:05:15 +02:00
skjnldsv
932de24e88
fix: adjust file filter and external storage outline icon
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-25 13:43:07 +02:00
skjnldsv
8514414d08
fix(files): adjust column size to new row height
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-25 10:29:37 +02:00
JEEEEEEEEEEEEEEEEEEEEEED
cb29b306ee
feat(files): hide note about app passwords when 2FA not enabled
...
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-24 22:20:16 +02:00
skjnldsv
c574d55ed2
fix(files): add webdav url settings input bottom margin
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 19:12:06 +02:00
skjnldsv
a1c84cb3c0
feat: replace material icons with outline versions (second pass)
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 12:34:35 +02:00
skjnldsv
3e7dc97cae
feat: replace material icons with outline versions
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 10:55:43 +02:00
skjnldsv
9d7214bc5a
fix(files): sort favorites navigation alphabetically
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-23 10:15:14 +02:00
skjnldsv
7a893104a2
fix(files): new folder icon color
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-21 13:10:01 +00:00