summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/js/settings.js
Commit message (Collapse)AuthorAgeFilesLines
* Close after clickJohn Molakvoæ (skjnldsv)2020-01-151-11/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/initial-state from 1.0.0 to 1.1.0dependabot-preview[bot]2020-01-111-2/+2
| | | | | | | | | | Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases) - [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 3.4.0 to 3.4.1dependabot-preview[bot]2020-01-051-1/+1
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1. - [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.4.0...v3.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump css-loader from 3.3.2 to 3.4.0dependabot-preview[bot]2019-12-301-1/+1
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.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.3.2...v3.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump @nextcloud/event-bus from 0.2.1 to 1.0.0dependabot-preview[bot]2019-12-231-5/+5
| | | | | | | | | Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 0.2.1 to 1.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases) - [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v0.2.1...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/initial-state from 0.2.0 to 1.0.0dependabot-preview[bot]2019-12-231-4/+4
| | | | | | | | | Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 0.2.0 to 1.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases) - [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v0.2.0...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/axios from 0.5.0 to 1.1.0dependabot-preview[bot]2019-12-231-4/+4
| | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.5.0 to 1.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.5.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump vue and vue-template-compilerdependabot-preview[bot]2019-12-221-2/+2
| | | | | | | | | | | | | | | Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together. Updates `vue` from 2.6.10 to 2.6.11 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.10...v2.6.11) Updates `vue-template-compiler` from 2.6.10 to 2.6.11 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.10...v2.6.11) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump eslint-config-nextcloud from 0.0.6 to 0.1.0dependabot-preview[bot]2019-12-191-3/+3
| | | | | | | | | | Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump serialize-javascript to v2.1.2Christoph Wurst2019-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump css-loader from 3.2.1 to 3.3.2dependabot-preview[bot]2019-12-161-1/+1
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.3.2. - [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.2.1...v3.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump vuex from 3.1.1 to 3.1.2dependabot-preview[bot]2019-11-181-3/+3
| | | | | | | | | Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/vuejs/vuex/releases) - [Commits](https://github.com/vuejs/vuex/compare/v3.1.1...v3.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/axios from 0.4.2 to 0.5.0dependabot-preview[bot]2019-10-271-4/+4
| | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.4.2 to 0.5.0. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.4.2...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Use the external initial state implementationChristoph Wurst2019-10-121-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump nextcloud/event-bus to 0.2.1Roeland Jago Douma2019-10-111-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Switch to @nextcloud/axios for the CSRF update fixChristoph Wurst2019-10-051-5/+5
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-011-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump webpack from 4.39.3 to 4.40.1dependabot-preview[bot]2019-09-131-5/+5
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.39.2 to 4.39.3dependabot-preview[bot]2019-09-021-1/+1
| | | | | | | | | 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>
* Bump style-loader from 0.23.1 to 1.0.0dependabot-preview[bot]2019-08-111-4/+4
| | | | | | | | | | 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>
* Bump webpack from 4.38.0 to 4.39.1dependabot-preview[bot]2019-08-041-2/+2
| | | | | | | | | 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>
* Bump webpack from 4.35.0 to 4.35.2dependabot-preview[bot]2019-07-081-1/+1
| | | | | | | | | 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>
* Bump css-loader from 2.1.1 to 3.0.0dependabot-preview[bot]2019-06-251-1/+1
| | | | | | | | | | 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>
* Bump nextcloud-axios from 0.1.3 to 0.2.0dependabot-preview[bot]2019-06-031-4/+4
| | | | | | | | 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>
* [Security] Bump axios from 0.18.0 to 0.18.1dependabot-preview[bot]2019-06-021-4/+4
| | | | | | | 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)
* Build and updateJohn Molakvoæ (skjnldsv)2019-05-291-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump webpack from 4.31.0 to 4.32.2dependabot-preview[bot]2019-05-271-4/+4
| | | | | | | | 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>
* Bump vuex from 3.1.0 to 3.1.1dependabot[bot]2019-05-131-10/+10
| | | | | | | | | Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/vuejs/vuex/releases) - [Commits](https://github.com/vuejs/vuex/compare/v3.1.0...v3.1.1) Signed-off-by: dependabot[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump vue and vue-template-compilerdependabot[bot]2019-04-161-4/+4
| | | | | | | | | | | | | | | Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together. Updates `vue` from 2.6.8 to 2.6.10 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.8...v2.6.10) Updates `vue-template-compiler` from 2.6.8 to 2.6.10 - [Release notes](https://github.com/vuejs/vue/releases) - [Commits](https://github.com/vuejs/vue/compare/v2.6.8...v2.6.10) Signed-off-by: dependabot[bot] <support@dependabot.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use name from theme when downloading/printing twofactor backup codes.Joachim Bauch2019-03-261-3/+3
| | | | | Signed-off-by: Joachim Bauch <bauch@struktur.de> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use monospaced font when printing twofactor backup codes.Joachim Bauch2019-03-221-1/+1
| | | | | | | This helps differentiating similar characters like "I" / "1". Signed-off-by: Joachim Bauch <bauch@struktur.de> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* BuildJohn Molakvoæ (skjnldsv)2019-03-041-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update assetsRoeland Jago Douma2019-02-281-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update assetsRoeland Jago Douma2019-02-201-8/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add a key parameter to the new initial state APIChristoph Wurst2019-01-301-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide initial stateRoeland Jago Douma2019-01-291-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump dependenciesRoeland Jago Douma2019-01-151-7/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update the git attributesRoeland Jago Douma2019-01-151-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump dependenciesRoeland Jago Douma2019-01-151-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Provide initial state for backupcodes in templateRoeland Jago Douma2019-01-151-3/+28
| | | | | | | This saves a direct request to the server when loading the backup codes. There is no need for this as the data is already known. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the scoped css on the personal pageRoeland Jago Douma2019-01-091-3/+3
| | | | | | Saves loading the style file when we visit the security page. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use nextcloud-axios in 2fa backupcodes jsRoeland Jago Douma2019-01-091-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Consolidate personal two-factor provider settingsChristoph Wurst2018-10-021-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix generate button event and show regenerate button only when enabledChristoph Wurst2018-09-271-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move to standard formatRoeland Jago Douma2018-09-271-9/+15
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Migrate backup codes settings to VueChristoph Wurst2018-09-271-14/+7
| | | | | | Fixes https://github.com/nextcloud/server/issues/11034. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add 2fa backup codes appChristoph Wurst2016-09-051-0/+16
* add backup codes app unit tests * add integration tests for the backup codes app