Commit Graph

145 Commits

Author SHA1 Message Date
Roeland Jago Douma e695d87b14 Fix browser back button
Fixes #17108

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-22 12:58:53 +00:00
Christoph Wurst 37cca6ffe7 Use @nextcloud/axios to keep the CSRF token in sync
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-15 07:19:16 +00:00
Christoph Wurst f49f1afdb0 Emit an event when the CSRF token changes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-14 19:32:27 +00:00
John Molakvoæ (skjnldsv) 79473bdfdf Force hide tooltips on sidebar close
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-09 15:31:47 +00:00
Roeland Jago Douma d3c4c76654
Build stable17 JS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-08 07:41:56 +02:00
Julius Härtl e3af1653e9
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-12 15:21:18 +02:00
dependabot-preview[bot] 6e6fbc6783 Bump webpack from 4.39.2 to 4.39.3
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.2 to 4.39.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.2...v4.39.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-02 14:24:00 +00:00
Daniel Calviño Sánchez cb93af6675
Ignore Enter key up event on menu button toggles
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>
2019-08-28 09:46:02 +02:00
dependabot-preview[bot] e4a23632ee Bump sass-loader from 7.2.0 to 7.3.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-25 18:03:47 +00:00
Julius Härtl 09efc4d6cf Properly handle failures and allow choosing folders for projects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-21 20:07:42 +00:00
dependabot-preview[bot] 6e79ccda7f Bump css-vars-ponyfill from 2.0.2 to 2.1.1
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 20:01:52 +00:00
dependabot-preview[bot] 20a83bed16 Bump webpack from 4.39.1 to 4.39.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 14:22:01 +00:00
dependabot-preview[bot] 723815f081 Bump style-loader from 0.23.1 to 1.0.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 17:43:33 +00:00
dependabot-preview[bot] 826dc4238d Bump css-loader from 3.1.0 to 3.2.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 11:52:22 +00:00
dependabot-preview[bot] 64f46bcab8 Bump blueimp-md5 from 2.11.0 to 2.11.1
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.11.0...v2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 07:40:03 +00:00
John Molakvoæ (skjnldsv) 287393609d Fix ie app menu loading click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-06 16:17:00 +00:00
dependabot-preview[bot] b84b78d203 Bump webpack from 4.38.0 to 4.39.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-04 07:57:44 +00:00
Julius Härtl 3b0d13944a
Move actual password reset to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-31 09:19:07 +02:00
Daniel Calviño Sánchez 03f2e8a10e Fix default timeouts in OC.Notification
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>
2019-07-26 18:46:59 +02:00
dependabot-preview[bot] d002c7aae8 Bump blueimp-md5 from 2.10.0 to 2.11.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.10.0...v2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-21 18:52:07 +00:00
Daniel Calviño Sánchez 916c95758f
Rename parameter in OCP.Toast for consistency with OC.Notification
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>
2019-07-12 16:15:05 +02:00
Roeland Jago Douma 504f878298
Bump marked to 0.7.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-09 08:52:37 +02:00
dependabot-preview[bot] 94a992d0d6 Bump webpack from 4.35.0 to 4.35.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.35.0 to 4.35.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-08 11:57:16 +00:00
dependabot-preview[bot] cbfeaaaa60 Bump toastify-js from 1.5.0 to 1.6.1
Bumps [toastify-js](https://github.com/apvarun/toastify-js) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/apvarun/toastify-js/releases)
- [Changelog](https://github.com/apvarun/toastify-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apvarun/toastify-js/compare/1.5.0...1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-01 09:15:18 +00:00
Christoph Wurst e9860c89ca
Show contacts app mgmt link in contacts menu
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-27 09:33:27 +02:00
Christoph Wurst 409acf1131
Fix js l10n registration to also work with more than one bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-26 10:07:21 +02:00
Christoph Wurst ac0e414a18
Deprecate window.location wrappers for redirect and reload
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-25 21:39:37 +02:00
dependabot-preview[bot] 4a401865f2
Bump css-loader from 2.1.1 to 3.0.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25 21:33:38 +02:00
dependabot-preview[bot] 16dd043560
Bump dompurify from 1.0.10 to 1.0.11
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-24 10:57:22 +02:00
Julius Härtl 2ced8b947c
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-11 19:12:33 +02:00
Julius Härtl d95ef2c0f7
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 07:32:53 +02:00
dependabot-preview[bot] 188173a788
Bump nextcloud-axios from 0.1.3 to 0.2.0
Bumps [nextcloud-axios](https://github.com/ChristophWurst/nextcloud-axios) from 0.1.3 to 0.2.0.
- [Release notes](https://github.com/ChristophWurst/nextcloud-axios/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud-axios/compare/v0.1.3...v0.2.0)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-03 12:50:15 +02:00
dependabot-preview[bot] 4dd4c44182
[Security] Bump axios from 0.18.0 to 0.18.1
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.18.1. **This update includes security fixes.**
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.18.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.0...v0.18.1)
2019-06-02 07:49:46 +02:00
nacho 3c30d293fa
CSS: adjust media query breakpoint to improve tablet readability
see https://github.com/nextcloud/news/pull/467
2019-05-30 08:28:30 +02:00
John Molakvoæ (skjnldsv) a442b78538
Build and update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:20:19 +02:00
Christoph Wurst 64c4bb5bce
Vueify the login page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-29 11:05:16 +02:00
dependabot-preview[bot] 53f18a9770
Bump webpack from 4.31.0 to 4.32.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.31.0 to 4.32.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.31.0...v4.32.2)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-27 11:35:14 +02:00
Robin Appelman 1799e1acaf
dont use deprecated oc_config in url generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-20 14:01:14 +02:00
Christoph Wurst 0cfcccee29
Migrate the maintenance script to a modern module and bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-16 16:45:00 +02:00
Christoph Wurst ab72bd64f5
Move legacy Ajax error handling logic to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-15 10:40:15 +02:00
Christoph Wurst 07699c199d
Move OC.appSettings to the bundle and deprecate it
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 22:00:22 +02:00
Christoph Wurst 291c4a121e
Move query string helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 18:18:31 +02:00
Christoph Wurst 0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 11:14:29 +02:00
Christoph Wurst 2f5df9387d
Deprecate OC.fileIsBlacklisted and move it to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 10:07:56 +02:00
Christoph Wurst 6a8bc02b16
Move OC.addTranslations to the bundle and deprecate it
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 09:37:26 +02:00
Christoph Wurst 9aeed859c4
Move OC host/port/protocol helpers to the bundle and deprecate them
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 08:36:54 +02:00
Christoph Wurst 6b46d9f2e5
Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 21:30:01 +02:00
Christoph Wurst a5ec4a9af4
Move l10n functions to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 18:42:49 +02:00
Christoph Wurst e3ae7dc115
Move path helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 16:37:38 +02:00
Christoph Wurst c624c102a6
Move OC.requestToken to the bundle, deprecate oc_requesttoken
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 08:27:43 +02:00