Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2019-01-18 16:47:03 +09:00
commit abddea0443
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
7 changed files with 17 additions and 10 deletions

1
.gitignore vendored
View file

@ -18,3 +18,4 @@ api-docs.json
/elasticsearch /elasticsearch
*.code-workspace *.code-workspace
yarn.lock yarn.lock
.DS_Store

View file

@ -4,6 +4,7 @@ ChangeLog
unreleased unreleased
---------- ----------
* アクティブユーザー数のチャートを追加 * アクティブユーザー数のチャートを追加
* ログイン時に二段階認証が分かりにくいのを改善
* 投稿のツールチップを出すのは時間の上だけに変更 * 投稿のツールチップを出すのは時間の上だけに変更
* ハッシュタグ判定の強化 * ハッシュタグ判定の強化

View file

@ -27,6 +27,7 @@ common:
do-not-copy-paste: "ここにコードを入力したり張り付けたりしないでください。アカウントが不正利用される可能性があります。" do-not-copy-paste: "ここにコードを入力したり張り付けたりしないでください。アカウントが不正利用される可能性があります。"
load-more: "もっと読み込む" load-more: "もっと読み込む"
enter-password: "パスワードを入力してください" enter-password: "パスワードを入力してください"
2fa: "二段階認証"
got-it: "わかった" got-it: "わかった"
customization-tips: customization-tips:
@ -855,7 +856,6 @@ desktop/views/components/settings.vue:
security: "セキュリティ" security: "セキュリティ"
signin: "サインイン履歴" signin: "サインイン履歴"
password: "パスワード" password: "パスワード"
2fa: "二段階認証"
other: "その他" other: "その他"
license: "ライセンス" license: "ライセンス"
theme: "テーマ" theme: "テーマ"

View file

@ -24,7 +24,7 @@
"@fortawesome/free-brands-svg-icons": "5.6.3", "@fortawesome/free-brands-svg-icons": "5.6.3",
"@fortawesome/free-regular-svg-icons": "5.5.0", "@fortawesome/free-regular-svg-icons": "5.5.0",
"@fortawesome/free-solid-svg-icons": "5.6.3", "@fortawesome/free-solid-svg-icons": "5.6.3",
"@fortawesome/vue-fontawesome": "0.1.2", "@fortawesome/vue-fontawesome": "0.1.5",
"@koa/cors": "2.2.3", "@koa/cors": "2.2.3",
"@prezzemolo/rap": "0.1.2", "@prezzemolo/rap": "0.1.2",
"@prezzemolo/zip": "0.0.3", "@prezzemolo/zip": "0.0.3",
@ -77,7 +77,7 @@
"@types/rimraf": "2.0.2", "@types/rimraf": "2.0.2",
"@types/seedrandom": "2.4.27", "@types/seedrandom": "2.4.27",
"@types/sharp": "0.21.0", "@types/sharp": "0.21.0",
"@types/showdown": "1.9.1", "@types/showdown": "1.9.2",
"@types/speakeasy": "2.0.3", "@types/speakeasy": "2.0.3",
"@types/systeminformation": "3.23.1", "@types/systeminformation": "3.23.1",
"@types/tinycolor2": "1.4.1", "@types/tinycolor2": "1.4.1",
@ -109,11 +109,11 @@
"deepcopy": "0.6.3", "deepcopy": "0.6.3",
"diskusage": "1.0.0", "diskusage": "1.0.0",
"double-ended-queue": "2.1.0-0", "double-ended-queue": "2.1.0-0",
"elasticsearch": "15.2.0", "elasticsearch": "15.3.0",
"emojilib": "2.4.0", "emojilib": "2.4.0",
"escape-regexp": "0.0.1", "escape-regexp": "0.0.1",
"eslint": "5.12.0", "eslint": "5.12.0",
"eslint-plugin-vue": "5.0.0", "eslint-plugin-vue": "5.1.0",
"eventemitter3": "3.1.0", "eventemitter3": "3.1.0",
"feed": "2.0.2", "feed": "2.0.2",
"file-loader": "2.0.0", "file-loader": "2.0.0",
@ -139,7 +139,7 @@
"is-root": "2.0.0", "is-root": "2.0.0",
"is-svg": "3.0.0", "is-svg": "3.0.0",
"is-url": "1.2.4", "is-url": "1.2.4",
"js-yaml": "3.12.0", "js-yaml": "3.12.1",
"jsdom": "13.1.0", "jsdom": "13.1.0",
"json5": "2.1.0", "json5": "2.1.0",
"json5-loader": "1.0.1", "json5-loader": "1.0.1",
@ -241,7 +241,7 @@
"vuex-persistedstate": "2.5.4", "vuex-persistedstate": "2.5.4",
"web-push": "3.3.3", "web-push": "3.3.3",
"webfinger.js": "2.7.0", "webfinger.js": "2.7.0",
"webpack": "4.28.3", "webpack": "4.28.4",
"webpack-cli": "3.2.1", "webpack-cli": "3.2.1",
"websocket": "1.0.28", "websocket": "1.0.28",
"ws": "6.1.2", "ws": "6.1.2",

View file

@ -10,7 +10,10 @@
<span>{{ $t('password') }}</span> <span>{{ $t('password') }}</span>
<span slot="prefix"><fa icon="lock"/></span> <span slot="prefix"><fa icon="lock"/></span>
</ui-input> </ui-input>
<ui-input v-if="user && user.twoFactorEnabled" v-model="token" type="number" required styl="fill"/> <ui-input v-if="user && user.twoFactorEnabled" v-model="token" type="number" required styl="fill">
<span>{{ $t('@.2fa') }}</span>
<span slot="prefix"><fa icon="gavel"/></span>
</ui-input>
<ui-button type="submit" :disabled="signing">{{ signing ? $t('signing-in') : $t('signin') }}</ui-button> <ui-button type="submit" :disabled="signing">{{ signing ? $t('signing-in') : $t('signin') }}</ui-button>
<p v-if="meta && meta.enableTwitterIntegration" style="margin: 8px 0;"><a :href="`${apiUrl}/signin/twitter`">{{ $t('signin-with-twitter') }}</a></p> <p v-if="meta && meta.enableTwitterIntegration" style="margin: 8px 0;"><a :href="`${apiUrl}/signin/twitter`">{{ $t('signin-with-twitter') }}</a></p>
<p v-if="meta && meta.enableGithubIntegration" style="margin: 8px 0;"><a :href="`${apiUrl}/signin/github`">{{ $t('signin-with-github') }}</a></p> <p v-if="meta && meta.enableGithubIntegration" style="margin: 8px 0;"><a :href="`${apiUrl}/signin/github`">{{ $t('signin-with-github') }}</a></p>

View file

@ -196,7 +196,7 @@
</ui-card> </ui-card>
<ui-card class="2fa" v-show="page == 'security'"> <ui-card class="2fa" v-show="page == 'security'">
<div slot="title"><fa icon="mobile-alt"/> {{ $t('2fa') }}</div> <div slot="title"><fa icon="mobile-alt"/> {{ $t('@.2fa') }}</div>
<section> <section>
<x-2fa/> <x-2fa/>
</section> </section>

View file

@ -124,7 +124,8 @@ import {
faMapMarker, faMapMarker,
faRobot, faRobot,
faHourglassHalf, faHourglassHalf,
faAlignLeft faAlignLeft,
faGavel
} from '@fortawesome/free-solid-svg-icons'; } from '@fortawesome/free-solid-svg-icons';
import { import {
@ -257,6 +258,7 @@ library.add(
faRobot, faRobot,
faHourglassHalf, faHourglassHalf,
faAlignLeft, faAlignLeft,
faGavel,
farBell, farBell,
farEnvelope, farEnvelope,