diff --git a/CHANGELOG.md b/CHANGELOG.md index 89f366ecc..5ca658347 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ ChangeLog ========= +unreleased +---------- +* Pleromaとのフェデレーションを修正 +* インスタンスのキャラクター画像を設定できるように +* Catモードの朝鮮語対応 +* CWが付いた投稿に返信する際、そのCWを引き継ぐように + 10.73.0 ------- * テーマの強化 diff --git a/locales/en-US.yml b/locales/en-US.yml index 89f8236c7..31741af15 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -992,6 +992,7 @@ admin/views/instance.vue: instance-name: "Instance name" instance-description: "Instance description" host: "Host" + logo-url: "Logo image URL" banner-url: "Banner image URL" error-image-url: "Error image URL" languages: "Language of this instance" diff --git a/package.json b/package.json index 647925286..b6517135d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@fortawesome/fontawesome-svg-core": "1.2.12", - "@fortawesome/free-brands-svg-icons": "5.6.0", + "@fortawesome/free-brands-svg-icons": "5.6.3", "@fortawesome/free-regular-svg-icons": "5.5.0", "@fortawesome/free-solid-svg-icons": "5.6.3", "@fortawesome/vue-fontawesome": "0.1.2", @@ -34,7 +34,7 @@ "@types/debug": "0.0.31", "@types/deep-equal": "1.0.1", "@types/double-ended-queue": "2.1.0", - "@types/elasticsearch": "5.0.29", + "@types/elasticsearch": "5.0.30", "@types/file-type": "10.6.0", "@types/gulp": "3.8.36", "@types/gulp-mocha": "0.0.32", @@ -46,7 +46,7 @@ "@types/is-url": "1.2.28", "@types/js-yaml": "3.11.4", "@types/katex": "0.5.0", - "@types/koa": "2.0.47", + "@types/koa": "2.0.48", "@types/koa-bodyparser": "5.0.2", "@types/koa-compress": "2.0.8", "@types/koa-favicon": "2.0.19", @@ -70,7 +70,7 @@ "@types/pug": "2.0.4", "@types/qrcode": "1.3.0", "@types/ratelimiter": "2.1.28", - "@types/redis": "2.8.8", + "@types/redis": "2.8.10", "@types/request": "2.48.1", "@types/request-promise-native": "1.0.15", "@types/rimraf": "2.0.2", @@ -87,7 +87,7 @@ "@types/websocket": "0.0.40", "@types/ws": "6.0.1", "animejs": "2.2.0", - "apexcharts": "2.4.2", + "apexcharts": "2.5.1", "autobind-decorator": "2.4.0", "autosize": "4.0.2", "autwh": "0.1.0", @@ -116,7 +116,7 @@ "eventemitter3": "3.1.0", "feed": "2.0.2", "file-loader": "2.0.0", - "file-type": "10.6.0", + "file-type": "10.7.0", "fuckadblock": "3.2.1", "gulp": "3.9.1", "gulp-cssnano": "2.1.3", @@ -222,7 +222,7 @@ "vue-color": "2.7.0", "vue-content-loading": "1.5.3", "vue-cropperjs": "3.0.0", - "vue-i18n": "8.3.2", + "vue-i18n": "8.6.0", "vue-js-modal": "1.3.28", "vue-loader": "15.4.2", "vue-marquee-text-component": "1.1.0", @@ -237,7 +237,7 @@ "vuex-persistedstate": "2.5.4", "web-push": "3.3.3", "webfinger.js": "2.7.0", - "webpack": "4.26.1", + "webpack": "4.28.3", "webpack-cli": "3.1.2", "websocket": "1.0.28", "ws": "6.1.2", diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index 5a29da034..6fd92a779 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -6,6 +6,7 @@ {{ $t('host') }} {{ $t('instance-name') }} {{ $t('instance-description') }} + {{ $t('logo-url') }} {{ $t('banner-url') }} {{ $t('error-image-url') }} {{ $t('languages') }}{{ $t('languages-desc') }} @@ -149,6 +150,7 @@ export default Vue.extend({ maintainerEmail: null, disableRegistration: false, disableLocalTimeline: false, + mascotImageUrl: null, bannerUrl: null, errorImageUrl: null, name: null, @@ -196,6 +198,7 @@ export default Vue.extend({ this.maintainerEmail = meta.maintainer.email; this.disableRegistration = meta.disableRegistration; this.disableLocalTimeline = meta.disableLocalTimeline; + this.mascotImageUrl = meta.mascotImageUrl; this.bannerUrl = meta.bannerUrl; this.errorImageUrl = meta.errorImageUrl; this.name = meta.name; @@ -253,6 +256,7 @@ export default Vue.extend({ maintainerEmail: this.maintainerEmail, disableRegistration: this.disableRegistration, disableLocalTimeline: this.disableLocalTimeline, + mascotImageUrl: this.mascotImageUrl, bannerUrl: this.bannerUrl, errorImageUrl: this.errorImageUrl, name: this.name, diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue index 69259ab60..2730e4139 100644 --- a/src/client/app/common/views/components/acct.vue +++ b/src/client/app/common/views/components/acct.vue @@ -2,6 +2,7 @@ @{{ user.username }} @{{ user.host || host }} + @@ -23,4 +24,8 @@ export default Vue.extend({ .mk-acct > .host.fade opacity 0.5 + + > .locked + opacity 0.8 + margin-left 0.5em diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue index 038541ba0..958abe00f 100644 --- a/src/client/app/common/views/components/url-preview.vue +++ b/src/client/app/common/views/components/url-preview.vue @@ -8,16 +8,16 @@
- +
-

{{ title }}

+

{{ title }}

-

{{ description.length > 85 ? description.slice(0, 85) + '…' : description }}

+

{{ description.length > 85 ? description.slice(0, 85) + '…' : description }}

-

{{ sitename }}

+

{{ sitename }}

@@ -120,6 +120,12 @@ export default Vue.extend({ default: false }, + compact: { + type: Boolean, + required: false, + default: false + }, + mini: { type: Boolean, required: false, @@ -302,6 +308,23 @@ export default Vue.extend({ width 12px height 12px + &.compact + > .thumbnail + position: absolute + width 56px + height 100% + + > article + left 56px + width calc(100% - 56px) + padding 4px + + > header + margin-bottom 2px + + > footer + margin-top 2px + &.mini font-size 10px @@ -325,4 +348,27 @@ export default Vue.extend({ width 12px height 12px + &.compact + > .thumbnail + position: absolute + width 56px + height 100% + + > article + left 56px + width calc(100% - 56px) + padding 4px + + > header + margin-bottom 2px + + > footer + margin-top 2px + + &.compact + > article + > header h1, p, footer + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue index a52eaac7e..e5f233a55 100644 --- a/src/client/app/desktop/views/components/note.vue +++ b/src/client/app/desktop/views/components/note.vue @@ -36,7 +36,7 @@ 位置情報
- +