diff --git a/CHANGELOG.md b/CHANGELOG.md index 94ffe4f2b..962ce57eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,37 @@ If you encounter any problems with updating, please try the following: 1. `npm run clean` or `npm run cleanall` 2. Retry update (Don't forget `npm i`) +Migration +------------------------------ +#### 1 +`ormconfig.json`という名前で、Misskeyのインストール場所(package.jsonとかがあるディレクトリ)に新たなファイルを作る。中身は次のようにします: +``` json +{ + "type": "postgres", + "host": "PostgreSQLのホスト", + "port": 5432, + "username": "PostgreSQLのユーザー名", + "password": "PostgreSQLのパスワード", + "database": "PostgreSQLのデータベース名", + "entities": ["src/models/entities/*.ts"], + "migrations": ["migration/*.ts"], + "cli": { + "migrationsDir": "migration" + } +} +``` +上記の各種PostgreSQLの設定(ポートも)は、設定ファイルに書いてあるものをコピーしてください。 + +#### 2 +``` +npm i -g ts-node +``` + +#### 3 +``` +ts-node ./node_modules/typeorm/cli.js migration:run +``` + How to migrate to v11 from v10 ------------------------------ ### 移行の注意点 @@ -42,6 +73,23 @@ mongodb: 8. master ブランチに戻す 9. enjoy +11.10.0 (2019/05/03) +------------------- +### 注意 +このアップデートを適用した後、プロセスを起動(もしくは再起動)する前に[マイグレーション](#migration)の手順を実行してください + +### Improvements +* MisskeyPagesに割った余りを求める関数を追加 +* Mastodon v2.8.0 のフォローリストをインポートできるように +* エクスポートリクエストに失敗したらエラーを表示するように +* エクスポートファイルでは同一ハッシュチェックをしないように + +### Fixes +* 2段階認証を設定するとログインできなくなる問題を修正 +* ファイルをアップロードできないことがある問題を修正 +* リモートファイルをキャッシュしない設定だとサムネイル時にオリジナル画像が表示されない問題を修正 +* 外部サービス連携の不具合を修正 + 11.9.0 (2019/05/02) ------------------- ### Improvements @@ -104,36 +152,7 @@ mongodb: 11.5.0 (2019/04/29) ------------------- ### 注意 -このアップデートを適用した後、プロセスを起動(もしくは再起動)する前にまず以下の手順を実行してください - -#### 1 -`ormconfig.json`という名前で、Misskeyのインストール場所(package.jsonとかがあるディレクトリ)に新たなファイルを作る。中身は次のようにします: -``` json -{ - "type": "postgres", - "host": "PostgreSQLのホスト", - "port": 5432, - "username": "PostgreSQLのユーザー名", - "password": "PostgreSQLのパスワード", - "database": "PostgreSQLのデータベース名", - "entities": ["src/models/entities/*.ts"], - "migrations": ["migration/*.ts"], - "cli": { - "migrationsDir": "migration" - } -} -``` -上記の各種PostgreSQLの設定(ポートも)は、設定ファイルに書いてあるものをコピーしてください。 - -#### 2 -``` -npm i -g ts-node -``` - -#### 3 -``` -ts-node ./node_modules/typeorm/cli.js migration:run -``` +このアップデートを適用した後、プロセスを起動(もしくは再起動)する前に[マイグレーション](migration)の手順を実行してください ### New features #### MisskeyPages diff --git a/README.md b/README.md index 1fae71df4..1ee61e225 100644 --- a/README.md +++ b/README.md @@ -118,10 +118,10 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). 見当かなみ + - @@ -129,10 +129,10 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). + - @@ -146,28 +146,30 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). + - + -
YuzuRyo61 gutfuckllc mydarkstar Peter G.itiradi nemu sikyosyounin YUKIMOCHIsheeta.s Satsuki Yanagi
YuzuRyo61 gutfuckllc mydarkstar Peter G.itiradi nemu sikyosyounin YUKIMOCHIAtsuko Tominaga natalie HiratakeCG Hekovic dansup GargronNokotaro Takeda
takimura Damillora Atsuko Tominaga natalie HiratakeCG Hekovic dansup GargronNokotaro Takeda
+ +
Nokotaro Takeda Takashi Shibuya
Nokotaro Takeda Takashi Shibuya
-**Last updated:** Wed, 24 Apr 2019 05:56:07 UTC +**Last updated:** Fri, 03 May 2019 05:33:07 UTC :four_leaf_clover: Copyright diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 5d85819d5..6aac41c7d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1982,6 +1982,10 @@ pages: _divide: arg1: "A" arg2: "B" + remind: "÷ 割った余り" + _remind: + arg1: "A" + arg2: "B" eq: "AとBが同じ" _eq: arg1: "A" diff --git a/migration/1556746559567-UserProfile.ts b/migration/1556746559567-UserProfile.ts new file mode 100644 index 000000000..719f8e1ae --- /dev/null +++ b/migration/1556746559567-UserProfile.ts @@ -0,0 +1,23 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class UserProfile1556746559567 implements MigrationInterface { + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`UPDATE "user_profile" SET github = FALSE`); + await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "githubId"`); + await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "githubId" VARCHAR(64)`); + await queryRunner.query(`UPDATE "user_profile" SET discord = FALSE`); + await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "discordExpiresDate"`); + await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "discordExpiresDate" VARCHAR(64)`); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`UPDATE "user_profile" SET github = FALSE`); + await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "githubId"`); + await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "githubId" INTEGER`); + await queryRunner.query(`UPDATE "user_profile" SET discord = FALSE`); + await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "discordExpiresDate"`); + await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "discordExpiresDate" INTEGER`); + } + +} diff --git a/package.json b/package.json index d1a51e6ea..27a6b60a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "11.9.0", + "version": "11.10.0", "codename": "daybreak", "repository": { "type": "git", diff --git a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue index 894feb34c..266b6d6b2 100644 --- a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue +++ b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue @@ -1,5 +1,5 @@ diff --git a/src/client/app/common/views/components/page-editor/page-editor.container.vue b/src/client/app/common/views/components/page-editor/page-editor.container.vue index 4127cd39e..a3a501afb 100644 --- a/src/client/app/common/views/components/page-editor/page-editor.container.vue +++ b/src/client/app/common/views/components/page-editor/page-editor.container.vue @@ -1,12 +1,15 @@