summaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Move OC.requestToken to the bundle, deprecate oc_requesttokenChristoph Wurst2019-05-137-15/+101
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert displayName casingJoas Schilling2019-05-111-2/+2
| | | | | | | Regression from 278c281cc9c03ad060ac6a91784058066411c7a8 Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move initCore to the bundleChristoph Wurst2019-05-109-5/+600
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not show deprecation warnings during test runsChristoph Wurst2019-05-091-3/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix mobile vertical scrollingJohn Molakvoæ (skjnldsv)2019-05-091-0/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move the legacy OC.addScript and OC.addStyle helpers to the bundleChristoph Wurst2019-05-082-0/+74
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate oc_current_user, fix usage and move currentUser to the bundleChristoph Wurst2019-05-083-0/+52
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC legacy menu helpers to the bundleChristoph Wurst2019-05-082-0/+150
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move rest of contant-like OC props to the bundleChristoph Wurst2019-05-073-1/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC constants to the bundleChristoph Wurst2019-05-072-0/+51
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Create a login bundle for login page scriptsChristoph Wurst2019-05-073-0/+257
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.appswebroots to the bundle and deprecate oc_appswebrootsChristoph Wurst2019-05-073-0/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC.get and OC.set to the bundleChristoph Wurst2019-05-072-0/+59
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move oc_webroot, OC.webroot and OC.getRootPath() to the bundleChristoph Wurst2019-05-064-6/+66
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move oc_appconfig/OC.appConfig to the main bundleChristoph Wurst2019-05-062-3/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move oc_debug to the bundleChristoph Wurst2019-05-063-0/+27
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>