skjnldsv
3e7dc97cae
feat: replace material icons with outline versions
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 10:55:43 +02:00
Ferdinand Thiessen
3dea8f7fec
fix(core): correctly show displayname when picking a file
...
Ensure that the display name is shown instead of the filename (important for public shares).
Fixed in the library but the legacy wrapper still uses it.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-05 11:13:24 +02:00
Ferdinand Thiessen
dec9a39a18
chore: Move legacy dialogs template from files to core until we can remove it
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:47:08 +02:00
Andy Scherzinger
1f7e2ba599
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-13 17:41:36 +02:00
Ferdinand Thiessen
8d5c0135dc
feat: Deprecate OC.dialogs and replace generic dialogs with @nextcloud/dialogs alternative
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:53:02 +02:00
Ferdinand Thiessen
46e78d1b8b
feat: Deprecate OC.dialogs.prompt an replace with Vue implementation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:51:36 +02:00
Ferdinand Thiessen
76dc3787e2
fix: Add deprecation to OC.dialogs.fileexists
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-09 20:17:24 +02:00
Ferdinand Thiessen
93acc47761
fix(dialogs): Use FilePickerBuilder to create the file picker
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen
3d74ed85ff
feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.
...
Still providing the legacy one until the Vue FilePicker is out of beta.
Pin beta releases so we do not get version conflicts.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:55:51 +02:00
Jérôme Herbinet
16361bed5e
Merge branch 'master' into patch-20
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:32:01 +02:00
Jérôme Herbinet
461fa9a1da
Following Artonge suggestion
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:15:17 +02:00
Julius Härtl
389c6dc30b
fix: Fix filepicker breadcrumbs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +02:00
Julius Härtl
837622cb87
fix: Adjust filepicker breadcrumb structure to recent a11y changes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-05 11:40:40 +02:00
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Julius Härtl
1da4fe48cf
feat(filepicker): Allow to pass target for rendering the file picker to different locations
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +01:00
Christopher Ng
0a9ce1ff34
Add name for home breadcrumb in filepicker
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-24 10:31:06 -08:00
Louis Chemineau
a547aff7a4
Restore copy button text on directory fetch error
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:54:17 +01:00
Vincent Petry
42d9e087fb
Remove unused legacy ajax/list.php in files app
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-09 15:18:37 +01:00
Vincent Petry
9a948a6b39
Limit toggle grid view button scope
...
Limit the button action scope to the file picker dialog so that it
doesn't touch the file list present in the page.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-17 14:09:52 +01:00
Carl Schwan
945edfefcd
Fix icon of encrypted folders in filepicker
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 01:04:13 +02:00
John Molakvoæ
96bbc1a7a1
Fallback to root if the picker folder doesn't exists
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +00:00
Daniel Kesselberg
f832db0801
Update typehint for confirmDestructive
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-24 12:56:41 +02:00
Ferdinand Thiessen
003c76cca2
FilePicker: Hide also outline of new button if type is CHOOSE
...
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.
This also hides the outline to fix #33142
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-20 18:03:53 +00:00
Christopher Ng
7219847ad1
Add accessible names for file picker grid view toggle and new folder button
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 00:44:05 +00:00
Christopher Ng
0ea95c3ff6
Rename a11y helper function
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng
343eab4c96
Update variable name
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:20:37 +00:00
Christopher Ng
189926b107
Add a11y utility function
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng
16d2238de5
Use keyboard controls for new folder creation
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:12:24 +00:00
Christopher Ng
0b0ef105c5
Use button for grid view toggle instead of hidden checkbox
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +00:00
Christopher Ng
ba75c61868
Restore grid view toggle
...
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:04:49 +00:00
Christopher Ng
a9f6cd19a4
Prepend file picker to be initial keyboard focus target
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:00:13 +00:00
Christopher Ng
229c65b0d7
Handle keyboard navigation in the file picker
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
Vincent Petry
089b0a643e
Add extra filter for file picker
...
Makes it possible to be more flexible when filtering entries to be
displayed.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-14 15:06:56 +00:00
John Molakvoæ
53f379fe3f
Center dialog new file menu
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
Carl Schwan
1fa58be1aa
Fix file picker not respecting hidden files settings
...
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:36:42 +01:00
Louis Chemineau
14e57bf70a
Replace license information to SPDX expression
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
e7026c0f57
Restore innocent code from IE purge
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-03 10:50:43 +01:00
Daniel Calviño Sánchez
3fa91ecf68
Fix persistent tooltip in the "new folder" input of the file picker
...
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.
Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).
The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
MichaIng
3a36984f50
Migrate deprecated toolip methods
...
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.
Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 22:18:20 +02:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Robin Appelman
e6f1b1033b
fix loading mtime of new file in conflict dialog in firefox
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 21:45:00 +00:00
Robin Appelman
b4107c3442
ensure filepicker list is empty before populating
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Robin Appelman
85ae8d5c9f
catch errors when closing file conflict dialog
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-28 20:40:01 +00:00
Gary Kim
8773ae49c5
Make closing dialogs callback with false
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Joas Schilling
be0ecbc8c7
Make the confirm dialog modal by default
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Roeland Jago Douma
2be21fab9a
Fix replacement dialog
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-07 17:44:56 +00:00
Loïc Hermann
6c60b85a87
Fix breadcrumb in move or copy file dialog
...
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-17 06:47:17 +00:00
Christoph Wurst
6af1ed8cb3
Update eslint and switch to @nextcloud packages
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 11:53:59 +01:00
Christoph Wurst
bb1d8b3189
Remove deprecated global variables
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:31:50 +01:00