skjnldsv
492bdb7010
chore: update @nextcloud/files to 4.0.0
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-12-11 12:44:16 +01:00
Louis Chmn
9aac7ecc60
chore(files): Remove regular stats request
...
All views are now migrated.
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-12-02 15:37:02 +01:00
John Molakvoæ
7bbc42809e
fix(files): use isDownloadable for isSyncable
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-11-28 09:17:37 +01:00
Fauzan
a7509ae2b8
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:27 +01:00
Ferdinand Thiessen
f1d28332a6
chore: manually adjust event names (update:checked to update:modelValue)
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +01:00
Ferdinand Thiessen
42112c8d30
chore: auto fix ESLint issues
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +01:00
Ferdinand Thiessen
930ec23d0c
test: fix setup with coverage
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 12:18:55 +01:00
Szymon Kłos
dc3741a203
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-18 13:27:54 +00:00
Ferdinand Thiessen
0059d17ae3
refactor(files_trashbin): migrate app to Vue 3
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 17:01:21 +01:00
Ferdinand Thiessen
82237a8bc9
refactor(files): migrate to new NcForm* components for app settings
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 13:09:06 +01:00
Ferdinand Thiessen
d1b00335d6
fix(files): use correct types for the Settings
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 13:09:05 +01:00
Ferdinand Thiessen
d94e4bcdb5
refactor(files): move file action hotkeys to the file actions
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-13 11:34:32 +01:00
Ferdinand Thiessen
2d012b6156
refactor(files): use new NcAppSettingsShortcutsSection
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-13 11:34:32 +01:00
skjnldsv
c521b7ca34
fix(files): preload file tree with 2 level deep
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-11-06 15:25:01 +00:00
rakekniven
9163982193
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-04 15:58:15 +01:00
Ferdinand Thiessen
d6925b6b79
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 16:08:43 +01:00
Louis Chmn
2103410dac
fix(files): Add Sidebar.Tab type in global context
...
And use proper optional argument syntax for its constructor
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-24 16:54:13 +02:00
Louis Chmn
5f1e13b70b
feat(files): Improve legacy file info typing
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-24 16:54:13 +02:00
Louis Chmn
7b8463e93a
fix(FilePicker): Modernise dav imports
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-21 20:27:22 +00:00
Louis Chmn
cb062d2691
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-21 20:27:22 +00:00
Victor
281bbd1db6
feat(files): Add font-variant-numeric to selected files list
...
Signed-off-by: Victor <victorlap@outlook.com>
2025-10-21 09:19:34 +02:00
Ferdinand Thiessen
470ff8d3d3
fix: migrate to non-deprecated dialog props
...
In Nextcloud Vue v8 some props for dialog buttons were deprecated (type
for e.g. primary or nativeType) those are replaced with `variant` and
`type`.
In v9 the deprecated props are removed - thus this breaks with
nextcloud-dialogs v7 which is based on Vue 3.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-16 17:55:11 +02:00
Ferdinand Thiessen
7fbc2ca25e
feat: add new link endpoint when using globalscale
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 18:58:10 +00:00
Ferdinand Thiessen
2b39cb49ab
refactor: adjust code for breaking changes in @nextcloud/dialogs v7
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 13:45:12 +02:00
Ferdinand Thiessen
81cfb9580a
refactor(test): migrate cypress component tests to vitest
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-14 14:30:14 +02:00
Maksim Sukharev
196aa9b41b
fix(files): clear search input on directory navigation
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-10-13 17:28:44 +02:00
Ferdinand Thiessen
91f3b6b4ee
chore: adjust code to new codestyle
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +02:00
Louis Chemineau
87cb225668
refactor(user_ldap): Rewrite setup wizard
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-30 22:49:43 +02:00
Ferdinand Thiessen
c5a093d842
fix(files): pass Node to FileInfo object
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-18 15:45:20 +02:00
Louis Chemineau
6d672c4cba
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-04 12:13:45 +00: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