Compare commits

...

124 Commits

Author SHA1 Message Date
52d577c7dd Merge branch 'develop' 2021-03-22 15:27:08 +09:00
cf757ed01e 12.75.0 2021-03-22 15:26:53 +09:00
82dd88821c New Crowdin updates (#7320)
* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations theme.md (French)

* New translations pages.md (French)

* New translations theme.md (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations follow.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (Chinese Traditional)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations timelines.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations timelines.md (Italian)

* New translations timelines.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations api.md (French)

* New translations api.md (French)

* New translations ja-JP.yml (Italian)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations api.md (French)

* New translations create-plugin.md (French)

* New translations stream.md (French)

* New translations ja-JP.yml (Italian)

* New translations follow.md (French)

* New translations ja-JP.yml (Italian)

* New translations follow.md (Italian)

* New translations follow.md (Italian)

* New translations custom-emoji.md (Italian)

* New translations custom-emoji.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations reaction.md (Italian)

* New translations reaction.md (Italian)

* New translations reaction.md (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations reaction.md (Italian)

* New translations reaction.md (Italian)

* New translations reaction.md (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations pages.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations timelines.md (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations mute.md (Italian)

* New translations mute.md (Italian)

* New translations ja-JP.yml (Russian)

* New translations mute.md (Italian)

* New translations mute.md (Italian)

* New translations mute.md (Italian)

* New translations mute.md (Italian)

* New translations mute.md (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations keyboard-shortcut.md (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations theme.md (Italian)

* New translations theme.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations theme.md (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Chinese Simplified)
2021-03-22 15:26:26 +09:00
0e3e90f94f refactor 2021-03-22 15:16:45 +09:00
7c3086e9d9 perf(server): Cache user keypair 2021-03-22 15:14:54 +09:00
202e943d55 tweak cache lifetime 2021-03-22 12:46:46 +09:00
36bcaaff55 Resolve #6533 2021-03-22 12:43:21 +09:00
967fae142b fix bug 2021-03-22 12:41:38 +09:00
8f41dfec2e perf(server): Reduce database query 2021-03-22 12:41:33 +09:00
1f0abef084 refactor: extract functions 2021-03-22 12:36:57 +09:00
0e6fbdfa5b refactoring 2021-03-22 11:38:32 +09:00
e881e1bfb3 perf(server): Reduce database query 2021-03-22 10:45:07 +09:00
9e6cdd6106 のホスト 2021-03-22 00:56:08 +09:00
d1efe1d208 populateEmojisのリファクタと絵文字情報のキャッシュ (#7378)
* revert

* Refactor populateEmojis, Cache emojis

* ん

* fix typo

* コメント
2021-03-22 00:44:38 +09:00
2f2a8e537d fix bug 2021-03-21 22:26:45 +09:00
82de8b7c50 perf(server): Reduce database query 2021-03-21 22:15:45 +09:00
fb194b855b perf(server): Reduce database query 2021-03-21 22:09:32 +09:00
a4a9b8707d perf(server): Reduce database query 2021-03-21 21:27:49 +09:00
c4c20bee7c wip #6441 2021-03-21 21:27:09 +09:00
41b491fa7c refactor: Use Set 2021-03-21 21:00:59 +09:00
667d58bad4 better note read handling 2021-03-21 17:38:09 +09:00
630464f38d Revert "perf: Reduce database query"
This reverts commit 87c8f9ff95.
2021-03-21 15:35:02 +09:00
8050352ad8 perf: 各ストリーミング接続ごとにポーリングしないように 2021-03-21 15:14:03 +09:00
b6d0d4eb99 add note 2021-03-21 14:33:18 +09:00
70b129cc42 fix(server): Use inner join 2021-03-21 12:33:37 +09:00
c52b504140 Revert "fix(server): Use inner join"
This reverts commit d7e7848c92.
2021-03-21 12:31:56 +09:00
e987a50e9f perf(server): Improve following/followers API performance
Related #6813
2021-03-21 10:41:21 +09:00
d7e7848c92 fix(server): Use inner join
https://github.com/syuilo/misskey/issues/6813#issuecomment-803400023
2021-03-21 10:39:32 +09:00
9bb6dc52b8 clean up など 2021-03-20 15:42:02 +09:00
73df95c42d クライアントサイドで実装したいため一旦 injectPromo および injectFeatured を無効化 2021-03-20 14:09:17 +09:00
f27e4033a6 perf(server): Reduce database query
Related: #6813
2021-03-20 13:54:59 +09:00
e523e54881 perf(server): Reduce database query 2021-03-20 11:05:33 +09:00
606e5c0878 fix: suppress disk stats error 2021-03-19 23:26:44 +09:00
4b13431a19 Update deps 🚀 2021-03-19 23:25:10 +09:00
87c8f9ff95 perf: Reduce database query 2021-03-19 20:43:24 +09:00
5e61c60f85 perf(server): Improver performance 2021-03-19 18:22:34 +09:00
fbc9d5ecba refactor 2021-03-19 18:22:14 +09:00
d381d31e5e add note 2021-03-19 11:15:05 +09:00
65e7204ec9 perf: myReaction の取得をまとめて行うように
Related #6813
2021-03-19 10:53:09 +09:00
0b5e3a93a5 Merge pull request #7368 from syuilo/dependabot/npm_and_yarn/koa-views-7.0.1 2021-03-18 20:35:17 +00:00
23d743bcae Bump koa-views from 7.0.0 to 7.0.1
Bumps [koa-views](https://github.com/queckezz/koa-views) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/queckezz/koa-views/releases)
- [Changelog](https://github.com/queckezz/koa-views/blob/master/history.md)
- [Commits](https://github.com/queckezz/koa-views/compare/v7.0.0...v7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 20:26:33 +00:00
3e1596d5fb Merge pull request #7367 from syuilo/dependabot/npm_and_yarn/bull-3.21.0 2021-03-18 20:26:11 +00:00
8a04fc3336 Bump bull from 3.20.1 to 3.21.0
Bumps [bull](https://github.com/OptimalBits/bull) from 3.20.1 to 3.21.0.
- [Release notes](https://github.com/OptimalBits/bull/releases)
- [Changelog](https://github.com/OptimalBits/bull/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/OptimalBits/bull/compare/v3.20.1...v3.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 20:17:53 +00:00
bffdfea58a refactor 2021-03-18 17:38:42 +09:00
449ea4b669 perf: reduce query 2021-03-18 17:35:47 +09:00
e632806349 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2021-03-18 13:33:16 +09:00
9cc8b3656a lint 2021-03-18 13:33:14 +09:00
a3fff800d2 Bump css-loader from 5.1.2 to 5.1.3 (#7358)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.2 to 5.1.3.
- [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/v5.1.2...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-18 13:21:04 +09:00
48d767918f Bump jsdom from 16.5.0 to 16.5.1 (#7357)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.5.0 to 16.5.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.5.0...16.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-18 13:20:52 +09:00
4f249159d3 Improve chart performance (#7360)
* wip

* wip

* wip

* wip

* wip

* Update chart.ts

* wip

* Improve server performance

* wip

* wip
2021-03-18 11:17:05 +09:00
0d19c2d42e add note 2021-03-18 11:03:38 +09:00
e53a40658d format 2021-03-18 10:55:51 +09:00
0389e2c891 fix bug 2021-03-18 10:54:39 +09:00
8aa089178a Improve server performance 2021-03-18 10:52:54 +09:00
d3c8368b0c Improve API performance 2021-03-18 10:19:30 +09:00
ca4f026533 DB上で壊れたドライブファイルを無視するように (#7345) 2021-03-16 12:50:07 +09:00
7d02b36092 Fix assets test and favicon type (#7344)
* fix

* koa-faviconはimage/x-iconがデフォルトらしい

* シンプルに

* faviconなど
2021-03-13 23:22:54 +09:00
9e634360fa Fix Schema (#7347) 2021-03-13 22:15:20 +09:00
9cf811b048 test: Add apple-touch-icon.png test 2021-03-13 13:21:33 +09:00
b0d38446d7 Update index.ts (#7343) 2021-03-13 13:19:49 +09:00
dfe10ac61f Improve usability 2021-03-13 13:05:20 +09:00
f41c851108 gulp refactor 2021-03-13 11:43:07 +09:00
522dbb1e13 update page editor (#7317)
* fix buttons visibility
* fix title of page editor
2021-03-13 10:56:27 +09:00
bc4315da1e Improve flush (#7328) 2021-03-13 10:55:29 +09:00
1a841b101e Use integrity for scripts hosted on the CDN (#7335)
* Use integrity for scripts hosted on the CDN

* 2.0.0-rc.50
2021-03-13 10:54:02 +09:00
cbcf3b7599 Delete .autogen directory 2021-03-13 10:43:37 +09:00
4c4b3b8a8a Merge pull request #7338 from syuilo/dependabot/npm_and_yarn/vue-and-vue/compiler-sfc-3.0.7 2021-03-12 21:38:15 +00:00
c562d09479 Bump vue and @vue/compiler-sfc
Bumps [vue](https://github.com/vuejs/vue) and [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc). These dependencies needed to be updated together.

Updates `vue` from 3.0.5 to 3.0.7
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Updates `@vue/compiler-sfc` from 3.0.5 to 3.0.7
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.7/packages/compiler-sfc)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 21:30:02 +00:00
ee7bef3395 Merge pull request #7337 from syuilo/dependabot/npm_and_yarn/vue-router-4.0.5 2021-03-12 21:27:25 +00:00
80fa5c2e36 Merge pull request #7336 from syuilo/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.13.10 2021-03-12 21:23:11 +00:00
7212027937 Bump vue-router from 4.0.4 to 4.0.5
Bumps [vue-router](https://github.com/vuejs/vue-router) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 20:15:47 +00:00
16b5e121cd Bump @babel/plugin-transform-runtime from 7.13.9 to 7.13.10
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 20:14:42 +00:00
a87930542a Fix typo (#7334) 2021-03-13 02:07:18 +09:00
e9ba81149d fix watch 2021-03-13 00:40:35 +09:00
7ea207df5d Create CHANGELOG.md 2021-03-13 00:26:29 +09:00
aaa40e34c3 fix comment 2021-03-13 00:24:32 +09:00
9b010074e1 refactor: use TS_NODE_PROJECT instead of TS_NODE_COMPILER_OPTIONS 2021-03-13 00:24:22 +09:00
0359db23d9 add test 2021-03-13 00:18:46 +09:00
320f5fedfb eslintrcとtsconfigを整理 2021-03-13 00:18:41 +09:00
3e2d2e5f6b npm run watchでサーバーサイドもwatchするように 2021-03-12 23:37:06 +09:00
b8d9dd15ac Update dependencies 🚀 2021-03-12 23:31:01 +09:00
936fcfb1c7 リソースが取得できるかどうかのテストなど (#7316)
* Tests for Fetch resource

* Remove unnecessary copy

* Update koa-views, pug
2021-03-12 23:10:15 +09:00
fb60ffd319 Merge pull request #7324 from syuilo/dependabot/npm_and_yarn/types/koa-2.13.1 2021-03-08 20:24:44 +00:00
8c9f8de6d2 Bump @types/koa from 2.13.0 to 2.13.1
Bumps [@types/koa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 20:15:24 +00:00
18693fb380 Merge branch 'develop' 2021-03-07 14:43:00 +09:00
cf9242053d 12.74.1 2021-03-07 14:42:46 +09:00
47ee005457 New Crowdin updates (#7287)
* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations follow.md (French)

* New translations deck.md (French)

* New translations deck.md (French)

* New translations mute.md (French)

* New translations mute.md (French)

* New translations mute.md (French)

* New translations reaction.md (French)

* New translations reaction.md (French)

* New translations reaction.md (French)

* New translations ja-JP.yml (French)

* New translations custom-emoji.md (French)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations mfm.md (Korean)

* New translations ja-JP.yml (Korean)

* New translations keyboard-shortcut.md (Korean)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations theme.md (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Russian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations aiscript.md (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations pages.md (French)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)

* New translations ja-JP.yml (Italian)
2021-03-07 14:41:58 +09:00
5b965349a5 fix assets
Fix #7314
Fix #7313
2021-03-07 14:40:57 +09:00
f7e9725e59 Merge branch 'develop' 2021-03-06 23:23:54 +09:00
17dc50c242 12.74.0 2021-03-06 23:23:16 +09:00
deda2b2782 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2021-03-06 22:34:51 +09:00
344e13ebcb fix bug 2021-03-06 22:34:26 +09:00
a07d753da8 APIドキュメントの改善 (#6757)
* Update api document in admin/announcements

* Update api document in announcements

* Update api document in i/read-announcements

* Update api document in username/available

* Update api document & Fix typo in API 403 error

* Update api document

* Update api document

* Update api document

* Fix API permission definition

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Fix bug in users (api)

* Apply reviews #6757

* Apply reviews #6757

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-03-06 22:34:11 +09:00
3003100443 feat: video play inline (using video tag) (#7242) 2021-03-06 21:38:39 +09:00
bca4e5f0fa refactor assets 2021-03-06 13:23:59 +09:00
9b61306f59 Improve usability 2021-03-06 12:23:59 +09:00
b66e0b3ac5 add note 2021-03-06 12:18:50 +09:00
4a9e9b4eea 🎨 2021-03-06 12:18:46 +09:00
fc98552fdc Merge pull request #7307 from syuilo/dependabot/npm_and_yarn/systeminformation-5.6.1 2021-03-06 02:53:52 +00:00
4911a394a6 Bump systeminformation from 5.3.4 to 5.6.1
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.3.4 to 5.6.1.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-06 02:45:34 +00:00
acc7a7e626 systeminformation@5.3.4 (#7245) 2021-03-06 11:42:49 +09:00
eaa6b35778 Merge pull request #7306 from syuilo/dependabot/npm_and_yarn/postcss-8.2.7 2021-03-05 20:23:36 +00:00
6059fb2aa6 Bump postcss from 8.2.6 to 8.2.7
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.6 to 8.2.7.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.6...8.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 20:14:57 +00:00
dc3329bae2 🎨 2021-03-05 23:23:00 +09:00
41f4c247bc リアクションピッカーで検索クエリが残存するのを修正 2021-03-05 22:47:29 +09:00
a3f75fe3f4 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2021-03-05 17:01:35 +09:00
bf876f83df refactor modal 2021-03-05 16:59:43 +09:00
b3088facf4 Improve modal performance 2021-03-05 16:21:16 +09:00
44167ab84c Use alpine3.13 on Docker (#7249) 2021-03-05 14:46:58 +09:00
eb745d2aa0 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2021-03-05 13:51:25 +09:00
54bcb80b44 Splash screen 2021-03-05 13:51:22 +09:00
f871cf1053 Improve reaction picker performance 2021-03-05 13:49:46 +09:00
8a484a623c Merge pull request #7299 from syuilo/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.13.9 2021-03-04 20:33:13 +00:00
1cb984ba79 Bump @babel/plugin-transform-runtime from 7.13.6 to 7.13.9
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.13.6 to 7.13.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.9/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 20:24:18 +00:00
4708b15c32 Merge pull request #7297 from syuilo/dependabot/npm_and_yarn/vue-style-loader-4.1.3 2021-03-04 20:23:38 +00:00
93c8ec631f Bump vue-style-loader from 4.1.2 to 4.1.3
Bumps [vue-style-loader](https://github.com/vuejs/vue-style-loader) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/vuejs/vue-style-loader/releases)
- [Changelog](https://github.com/vuejs/vue-style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-style-loader/commits/v4.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 20:14:54 +00:00
a4ddd18f12 Merge pull request #7295 from syuilo/dependabot/npm_and_yarn/typescript-eslint/parser-4.16.1 2021-03-03 20:23:17 +00:00
e4012e12f9 Bump @typescript-eslint/parser from 4.14.2 to 4.16.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.2 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 20:15:19 +00:00
7427b4c839 Merge pull request #7290 from syuilo/dependabot/npm_and_yarn/pug-code-gen-2.0.3 2021-03-03 02:25:18 +00:00
c7c030bda6 [Security] Bump pug-code-gen from 2.0.2 to 2.0.3
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3. **This update includes a security fix.**
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 02:16:28 +00:00
64ebd808ef Merge pull request #7289 from syuilo/dependabot/npm_and_yarn/eslint-7.21.0 2021-03-02 20:32:37 +00:00
59028c234c Bump eslint from 7.20.0 to 7.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 20:24:51 +00:00
a8c4058bdf Merge pull request #7288 from syuilo/dependabot/npm_and_yarn/types/jsonld-1.5.4 2021-03-02 20:23:49 +00:00
87d17ccbfb Bump @types/jsonld from 1.5.3 to 1.5.4
Bumps [@types/jsonld](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsonld) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsonld)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 20:14:15 +00:00
468 changed files with 6832 additions and 2233 deletions

View File

@ -1,3 +0,0 @@
.[]
.head
.label

View File

@ -1,2 +0,0 @@
.links
.next

View File

@ -1,39 +0,0 @@
(
.data |
map(
select(
.relationships
.currently_entitled_tiers
.data[]
)
) |
map(
.relationships
.user
.data
.id
)
) as $data |
.included |
map(
select(
.id as $id |
$data |
contains(
[
$id
]
)
)
) |
map(
.attributes |
[
.full_name,
.thumb_url,
.url
] |
@tsv
) |
.[] |
@text

View File

@ -1,87 +0,0 @@
#!/usr/bin/env bash
# __MISSKEY_BEARER_TOKEN=
# __MISSKEY_CAMPAIGN_ID=
# __MISSKEY_GITHUB_TOKEN=
# __MISSKEY_HEAD=syuilo:patch-autogen
# __MISSKEY_REPO=syuilo/misskey
# __MISSKEY_BRANCH=develop
test "$(curl -LSs -w '\n' -- "https://api.github.com/repos/$REPO/pulls?access_token=$__MISSKEY_GITHUB_TOKEN" | jq -r -f check_pr.jq | grep $__MISSKEY_HEAD)" && exit 1
cd "$(dirname $0)/.." && \
touch null.cache && \
rm *.cache && \
git checkout $__MISSKEY_BRANCH && \
git pull origin $__MISSKEY_BRANCH && \
git pull upstream $__MISSKEY_BRANCH && \
git stash && \
git rebase -f upstream/$__MISSKEY_BRANCH && \
git branch patch-autogen && \
git checkout patch-autogen && \
git reset --hard HEAD || \
exit 1
touch patreon.md.cache && \
rm patreon.md.cache && \
echo '<!-- PATREON_START -->' > patreon.md.cache && \
url="https://www.patreon.com/api/oauth2/v2/campaigns/$__MISSKEY_CAMPAIGN_ID/members?include=currently_entitled_tiers,user&fields%5Btier%5D=title&fields%5Buser%5D=full_name,thumb_url,url,hide_pledges"
while :
do
touch patreon.raw.cache && \
rm patreon.raw.cache && \
curl -LSs -w '\n' -H "Authorization: Bearer $__MISSKEY_BEARER_TOKEN" -- $url > patreon.raw.cache && \
touch patreon.cache && \
rm patreon.cache && \
cat patreon.raw.cache | \
jq -r -f patreon.jq >> patreon.cache && \
echo '<table><tr>' >> patreon.md.cache && \
cat patreon.cache | \
awk -F'\t' '{print $2,$1}' | \
sed -e 's/ /\\" alt=\\"/' | \
xargs -I% echo '<td><img src="%" width="100"></td>' >> patreon.md.cache && \
echo '</tr><tr>' >> patreon.md.cache && \
cat patreon.cache | \
awk -F'\t' '{print $3,$1}' | \
sed -e 's/ /\\">/' | \
xargs -I% echo '<td><a href="%</a></td>' >> patreon.md.cache && \
echo '</tr></table>' >> patreon.md.cache || \
exit 1
new_url="$(cat patreon.raw.cache | jq -r -f next_url.jq)"
test "$new_url" = 'null' && \
break || \
URL="$url"
done
ignore= && \
echo -e "\n**Last updated:** $(date -uR | sed 's/\+0000/UTC/')\n<!-- PATREON_END -->" >> patreon.md.cache && \
touch README.md && \
touch .autogen/README.md && \
rm .autogen/README.md && \
mv README.md .autogen/README.md && \
cat .autogen/README.md | while IFS= read line;
do
if [[ -z "$ignore" ]]
then
if [[ "$line" = '<!-- PATREON_START -->' ]]
then
ignore='PATREON_INSIDE'
else
echo "$line" >> README.md
fi
else
if [[ "$LINE" = '<!-- PATREON_END -->' ]]
then
ignore=
cat patreon.md.cache >> README.md
fi
fi
done
cat patreon.md.cache
touch null.cache && \
rm *.cache && \
diff .autogen/README.md README.md > diff.cache
cat diff.cache && \
test 4 -lt $(cat diff.cache | wc -l) && \
git add README.md && \
git commit -m 'Update README.md [AUTOGEN]' && \
git push -f origin patch-autogen && \
curl -LSs -w '\n' -X POST -d '{"title":"[AUTOMATED] Update README.md","body":"*This pull request was created by a tool.*","head":"'$__MISSKEY_HEAD'","base":"'$__MISSKEY_BRANCH'"}' -- "https://api.github.com/repos/$__MISSKEY_REPO/pulls?access_token=$__MISSKEY_GITHUB_TOKEN"
git stash
git checkout $__MISSKEY_BRANCH
git branch -D patch-autogen

View File

@ -3,29 +3,11 @@
"parser": "@typescript-eslint/parser"
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
"eslint:recommended"
],
"rules": {
"vue/require-v-for-key": 0,
"vue/max-attributes-per-line": 0,
"vue/html-indent": 0,
"vue/html-self-closing": 0,
"vue/no-unused-vars": 0,
"vue/attributes-order": 0,
"vue/require-prop-types": 0,
"vue/require-default-prop": 0,
"vue/html-closing-bracket-spacing": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/no-v-html": 0,
"no-console": 0,
"no-unused-vars": 0,
"no-empty": 0
},
"globals": {
"ENV": true,
"VERSION": true,
"API": true,
"LANGS": true
}
}

View File

@ -1 +1 @@
v14.15.4
v14.15.5

1
CHANGELOG.md Normal file
View File

@ -0,0 +1 @@
see [releases](https://github.com/syuilo/misskey/releases)

View File

@ -1,4 +1,4 @@
FROM node:14.15.4-alpine AS base
FROM node:14.15.5-alpine3.13 AS base
ENV NODE_ENV=production
@ -10,7 +10,6 @@ RUN apk add --no-cache \
autoconf \
automake \
file \
git \
g++ \
gcc \
libc-dev \
@ -18,8 +17,10 @@ RUN apk add --no-cache \
make \
nasm \
pkgconfig \
python \
zlib-dev
python3 \
zlib-dev \
vips-dev \
vips
COPY package.json yarn.lock ./
RUN yarn install
@ -30,8 +31,9 @@ FROM base AS runner
RUN apk add --no-cache \
ffmpeg \
tini
RUN npm i -g web-push
tini \
vips
ENTRYPOINT ["/sbin/tini", "--"]
COPY --from=builder /misskey/node_modules ./node_modules

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

View File

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

View File

@ -7,12 +7,12 @@
"theme_color": "#86b300",
"icons": [
{
"src": "/assets/icons/192.png",
"src": "/static-assets/icons/192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/icons/512.png",
"src": "/static-assets/icons/512.png",
"sizes": "512x512",
"type": "image/png"
}

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 424 B

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 290 KiB

After

Width:  |  Height:  |  Size: 290 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 688 B

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Some files were not shown because too many files have changed in this diff Show More