summaryrefslogtreecommitdiffstats
path: root/core/src/OC/dialogs.js
Commit message (Collapse)AuthorAgeFilesLines
* fix(dialogs): Use FilePickerBuilder to create the file pickerFerdinand Thiessen2023-08-261-38/+51
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.Ferdinand Thiessen2023-08-261-629/+93
| | | | | | | 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>
* Merge branch 'master' into patch-20Jérôme Herbinet2023-04-191-5/+9
|\ | | | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
| * fix: Fix filepicker breadcrumbsJulius Härtl2023-04-071-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * fix: Adjust filepicker breadcrumb structure to recent a11y changesJulius Härtl2023-04-051-4/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Following Artonge suggestionJérôme Herbinet2023-04-191-3/+2
|/ | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(filepicker): Allow to pass target for rendering the file picker to ↵Julius Härtl2023-03-021-1/+1
| | | | | | different locations Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add name for home breadcrumb in filepickerChristopher Ng2023-02-241-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Restore copy button text on directory fetch errorLouis Chemineau2023-02-081-6/+7
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Remove unused legacy ajax/list.php in files appVincent Petry2023-01-091-13/+0
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Limit toggle grid view button scopeVincent Petry2022-11-171-2/+2
| | | | | | | 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>
* Fix icon of encrypted folders in filepickerCarl Schwan2022-10-171-1/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fallback to root if the picker folder doesn't existsJohn Molakvoæ2022-09-011-102/+119
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Update typehint for confirmDestructiveDaniel Kesselberg2022-08-241-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* FilePicker: Hide also outline of `new` button if type is `CHOOSE`Ferdinand Thiessen2022-07-201-1/+1
| | | | | | | | | | 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>
* Add accessible names for file picker grid view toggle and new folder buttonChristopher Ng2022-07-011-0/+8
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Rename a11y helper functionChristopher Ng2022-06-091-6/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Update variable nameChristopher Ng2022-06-091-4/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add a11y utility functionChristopher Ng2022-06-091-5/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Use keyboard controls for new folder creationChristopher Ng2022-06-091-9/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Use button for grid view toggle instead of hidden checkboxChristopher Ng2022-06-091-12/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Restore grid view toggleChristopher Ng2022-06-091-4/+0
| | | | | | 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>
* Prepend file picker to be initial keyboard focus targetChristopher Ng2022-06-091-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Handle keyboard navigation in the file pickerChristopher Ng2022-06-081-10/+16
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add extra filter for file pickerVincent Petry2022-04-141-0/+9
| | | | | | | | 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>
* Center dialog new file menuJohn Molakvoæ2022-03-071-1/+0
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix file picker not respecting hidden files settingsCarl Schwan2022-01-131-0/+10
| | | | | | | | 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>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Restore innocent code from IE purgeLouis Chemineau2022-01-031-0/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix persistent tooltip in the "new folder" input of the file pickerDaniel Calviño Sánchez2021-12-201-0/+4
| | | | | | | | | | | | | | | | | | | | 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>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-11/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate deprecated toolip methodsMichaIng2021-09-261-1/+1
| | | | | | | 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>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-311-4/+26
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix loading mtime of new file in conflict dialog in firefoxRobin Appelman2020-12-011-4/+4
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* ensure filepicker list is empty before populatingRobin Appelman2020-11-021-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* catch errors when closing file conflict dialogRobin Appelman2020-10-281-1/+5
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Make closing dialogs callback with falseGary Kim2020-06-301-0/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Make the confirm dialog modal by defaultJoas Schilling2020-06-151-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix replacement dialogRoeland Jago Douma2020-05-071-2/+2
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix breadcrumb in move or copy file dialogLoïc Hermann2020-04-171-0/+6
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Update eslint and switch to @nextcloud packagesChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove deprecated global variablesChristoph Wurst2020-03-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Copy isFileNameValid function, so the filepicker works without the files appJoas Schilling2020-02-251-2/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix "TypeError: u.$form is undefined"Joas Schilling2020-02-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create directories when they are selectableJoas Schilling2020-02-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to have mutliple buttons on the filepickerJoas Schilling2019-12-091-12/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a transfer ownership background jobRoeland Jago Douma2019-12-021-2/+2
| | | | | | | | | | | | This job can be initiated by a user to transfer a file/folder to a target user. The target user will have to accept the job. Once that is done the transfers is initiated in the background. Both parties get notified when the job is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Prompt on destructive user actionsGary Kim2019-11-051-0/+49
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-011-637/+640
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>