summaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* Prompt on destructive user actionsGary Kim2019-11-053-1/+54
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-294-4/+24
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix browser back buttonRoeland Jago Douma2019-10-211-0/+7
| | | | | | Fixes #17108 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Pass on direct query parameter during loginRoeland Jago Douma2019-10-163-1/+15
| | | | | | | If direct is set we should forward it again. This to make SAML direct login work again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deprecate js globalsRoeland Jago Douma2019-10-141-18/+19
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the external initial state implementationChristoph Wurst2019-10-123-19/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use @nextcloud/paths and deprecate OC helpersChristoph Wurst2019-10-052-124/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Switch to @nextcloud/axios for the CSRF update fixChristoph Wurst2019-10-053-3/+3
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Emit an event when the CSRF token changesChristoph Wurst2019-10-052-11/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move to escape-htmlRoeland Jago Douma2019-10-044-38/+3
| | | | | | | * If there is a package that does exactly the same then lets us use that * Import it properly in the internals (less deprecation warnings) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Split drone webpack testsJohn Molakvoæ (skjnldsv)2019-10-041-3/+4
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-0174-2747/+2772
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Append / to data('path') for folder content requestDaniel Kesselberg2019-09-281-1/+1
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move settings to an appChristoph Wurst2019-09-282-2/+2
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Remove input id on login formJohn Molakvoæ (skjnldsv)2019-09-281-1/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Properly import DOMPurify in l10n.jsRoeland Jago Douma2019-09-251-0/+1
| | | | | | | Fixes a bunch of warning in the console. And fixed the doube escaping. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deprecate the global DOMPurifyChristoph Wurst2019-09-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix opening apps with Ctrl+clickJulius Härtl2019-09-101-4/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Install Select2 via npmChristoph Wurst2019-09-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Ignore Enter key up event on menu button togglesDaniel Calviño Sánchez2019-08-281-2/+2
| | | | | | | | | | | | Like links, buttons generate a "click" event as well as the regular "keydown" and "keyup" events when pressing Enter. Due to this, if both the "click" and the "keyup" events are handled, when the menu is open and Enter is pressed in the toggle the menu is first hidden when the first event is handled, but then shown again when the second event is handled. To prevent that only the "click" event should be handled when the toggle is a button, like it is already done with links. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* filepicker: Add option to also choose folders without a mimetype limitJulius Härtl2019-08-211-4/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Force proper action for login formJulius Härtl2019-08-191-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Send new password instead of empty stringDaniel Kesselberg2019-08-191-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix ie app menu loading clickJohn Molakvoæ (skjnldsv)2019-08-061-0/+5
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move actual password reset to vueJulius Härtl2019-07-313-1/+158
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix default timeouts in OC.NotificationDaniel Calviño Sánchez2019-07-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | When no timeout was given "show()" used the default timeout of "OCP.Toast", which is 7 seconds instead of indefinitely as stated in the documentation of "show()". "showHtml()" should also indefinitely show the notification if no timeout is given, but due to the strict comparison the notification was indefinitely shown only when a timeout of 0 was explicitly given. Now both methods show the notification indefinitely (or until it is explicitly hidden) when no timeout is given. The unit tests did not catch this error because "showHtml()" had no tests (as before the move to Toastify it was called from "show()" and thus implicitly tested), and because "show()" verified that "hide()" was not called after some time; "hide()" is no longer called from "show()" since "OCP.Toast" is used internally, so the test always passed even if the notification was indeed hidden. Now the test is based on whether the element is found or not, and explicit tests were added too for "showHtml()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Rename parameter in OCP.Toast for consistency with OC.NotificationDaniel Calviño Sánchez2019-07-122-3/+3
| | | | | | | | This fixes HTML messages in "OC.Notification.showTemporary" (as "showHtml" was not set based on "isHTML"), and also makes OCP.Toast to keep the old OC.Notification API when used directly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* adding toggle password to be able to see itPhie2019-07-091-1/+14
| | | | Signed-off-by: Phie <phie@phie.ovh>
* Update core/src/components/login/ResetPassword.vueAkshala Bhatnagar2019-07-071-1/+1
| | | | Co-Authored-By: Julius Härtl <jus@bitgrid.net>
* changed the text for reset passwordAkshala Bhatnagar2019-07-071-1/+1
| | | | Signed-off-by: Akshala Bhatnagar <akshala.bhatnagar@gmail.com>
* Show contacts app mgmt link in contacts menuChristoph Wurst2019-06-272-3/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix js l10n registration to also work with more than one bundleChristoph Wurst2019-06-262-32/+109
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate window.location wrappers for redirect and reloadChristoph Wurst2019-06-251-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Temporary fix for project translationsJulius Härtl2019-06-111-9/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Adjust jsunit tests for new toast libraryJulius Härtl2019-06-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add toastify js as a OC.Notification replacementJulius Härtl2019-06-073-115/+135
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* CSS: adjust media query breakpoint to improve tablet readabilitynacho2019-05-301-2/+5
| | | | see https://github.com/nextcloud/news/pull/467
* Vueify the login pageChristoph Wurst2019-05-298-250/+570
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* dont use deprecated oc_config in url generationRobin Appelman2019-05-201-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Migrate the maintenance script to a modern module and bundleChristoph Wurst2019-05-161-0/+49
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move legacy Ajax error handling logic to the bundleChristoph Wurst2019-05-152-0/+127
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.appSettings to the bundle and deprecate itChristoph Wurst2019-05-142-0/+95
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move query string helpers to the bundleChristoph Wurst2019-05-142-0/+99
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.theme to the bundle and deprecate oc_defaultsChristoph Wurst2019-05-143-0/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate OC.fileIsBlacklisted and move it to the bundleChristoph Wurst2019-05-141-0/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.addTranslations to the bundle and deprecate itChristoph Wurst2019-05-141-0/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC host/port/protocol helpers to the bundle and deprecate themChristoph Wurst2019-05-142-0/+77
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.getCapabilities to the bundle and deprecate OC._capabilities, ↵Christoph Wurst2019-05-133-0/+42
| | | | | | oc_capabilities Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move l10n functions to the bundleChristoph Wurst2019-05-132-0/+36
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move path helpers to the bundleChristoph Wurst2019-05-133-2/+161
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>