From 95141b934ab5c54750ddec672d61192091fceb60 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 15 Feb 2020 03:18:33 +0900 Subject: [PATCH] Api key setting --- CHANGELOG.md | 1 + locales/ja-JP.yml | 1 + src/client/pages/settings/api.vue | 46 +++++++++++++++++++++++++++++ src/client/pages/settings/index.vue | 3 ++ 4 files changed, 51 insertions(+) create mode 100644 src/client/pages/settings/api.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 10398b177..92d0cc5da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ unreleased * アンテナの受信ソースにグループを指定できるように * 時計ウィジェットを追加 * ログアウトせずに新しいアカウントを追加できるように +* APIキー設定を実装 ### 🐛Fixes * v12アップデート後にトップページアクセスでOops!になっちゃうのを修正 diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 7342a92d5..a5ad1539d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -399,6 +399,7 @@ tags: "タグ" docSource: "このドキュメントのソース" createAccount: "アカウントを作成" existingAcount: "既存のアカウント" +regenerate: "再生成" _ago: unknown: "謎" diff --git a/src/client/pages/settings/api.vue b/src/client/pages/settings/api.vue new file mode 100644 index 000000000..f394c826d --- /dev/null +++ b/src/client/pages/settings/api.vue @@ -0,0 +1,46 @@ + + + diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue index 1a00c6576..aa827aa94 100644 --- a/src/client/pages/settings/index.vue +++ b/src/client/pages/settings/index.vue @@ -14,6 +14,7 @@ + {{ $t('cacheClear') }} {{ $t('logout') }} @@ -34,6 +35,7 @@ import XSecurity from './security.vue'; import XTheme from './theme.vue'; import X2fa from './2fa.vue'; import XIntegration from './integration.vue'; +import XApi from './api.vue'; import MkButton from '../../components/ui/button.vue'; export default Vue.extend({ @@ -55,6 +57,7 @@ export default Vue.extend({ XTheme, X2fa, XIntegration, + XApi, MkButton, },