Commit graph

221 commits

Author SHA1 Message Date
syuilo
4c2d4d76e6 perf(server): reduce db query 2022-03-21 01:22:00 +09:00
syuilo
c1ce301d24 perf(server): reduce db query 2022-03-20 15:44:49 +09:00
Kainoa Kanter
7cbbd915ce Fix: warn about outdated NodeJS fixed (#8388)
* Fix #8387

* update changelog

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-03-20 01:34:45 +09:00
syuilo
20d5def957 perf(server): reduce memory usage of redis 2022-03-19 19:34:04 +09:00
syuilo
f256ed885e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-03-19 19:09:02 +09:00
syuilo
69b044c3ab feat: introduce bull dashboard 2022-03-19 19:08:55 +09:00
Johann150
245fdb8544 fix API console (#8416)
Adjusted the server to send the API description based on the new
API type declarations introduced previously.
2022-03-19 18:25:06 +09:00
dogcraft
b73ceaa4d2 Fix: "Adding email to profile ends in error" (#8405) 2022-03-14 22:57:55 +09:00
dogcraft
5cf8a1141a Fix bug : "IPCIDR is not a constructor" (#8400) 2022-03-12 19:23:57 +09:00
syuilo
243d02eaa2 fix(server): dummy image is not served correctly
Fix #8393
2022-03-12 15:13:11 +09:00
xianon
db64fe0ef2 リレーが動作するように修正する (#8396) 2022-03-12 13:21:04 +09:00
syuilo
827ee9426c fix(server): ulidを使用していると動作しない問題を修正 2022-03-11 12:44:35 +09:00
syuilo
b1e170adc7 feat: use instance icon for splash screen 2022-03-09 23:00:28 +09:00
Johann150
67d13bcc67 use high resolution asset for splash screen (#7875) 2022-03-09 22:47:25 +09:00
Johann150
9e1255b334 remove HTTPS handling (#8380) 2022-03-08 23:23:18 +09:00
syuilo
3b95fce051 fix federation chart 2022-03-08 22:56:46 +09:00
syuilo
e11337c443 update deps 2022-03-07 23:51:34 +09:00
syuilo
e3afe9fd82 delete needless instance drive columns 2022-03-07 21:20:14 +09:00
syuilo
13dfafb1dd feat: add active to federation chart 2022-03-07 15:10:16 +09:00
syuilo
3b86bdf18c feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
17f7b41240 feat: 時限ミュート
#7677
2022-03-04 20:23:53 +09:00
syuilo
5ab7362d4c fix query error 2022-03-04 18:18:37 +09:00
syuilo
9eca617066 set timeout for db query
Resolve #8150
2022-03-04 18:04:39 +09:00
syuilo
2606e10d55 enhance(chart): better federation pub/sub calculation 2022-03-04 16:26:10 +09:00
syuilo
94f294da59 fix federation chart pubsub 2022-03-04 15:32:50 +09:00
syuilo
b7b1936eb1 fix esm 2022-03-04 00:06:17 +09:00
syuilo
f71aa3df32 feat: instance default theme 2022-03-01 23:58:01 +09:00
syuilo
d8c2d19d67 fix esm 2022-03-01 03:34:40 +09:00
syuilo
cf2733b1f0 fix esm 2022-03-01 01:36:50 +09:00
syuilo
897108b507 fix esm 2022-03-01 01:34:53 +09:00
syuilo
e51bc8b040 fix esm 2022-03-01 01:33:25 +09:00
syuilo
02f4d97987 fix esm 2022-03-01 01:26:32 +09:00
syuilo
218e756555 fix esm 2022-03-01 01:24:50 +09:00
syuilo
429f280caf fix: use import assertion 2022-03-01 00:40:53 +09:00
syuilo
fc466933fc fix esm 2022-02-27 14:21:25 +09:00
syuilo
a02e37b2e1 fix 2022-02-27 14:10:31 +09:00
tamaina
13cc69fe1c Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
94228778c9 refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00
syuilo
44bb08454a fix: better language settings
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo
b13aebab57 refactor 2022-02-25 20:03:17 +09:00
syuilo
bf72af1289 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-23 21:31:51 +09:00
Johann150
95e4425a79 fix: also recognize "shortcut icon" favicon (#8220)
* also recognize "shortcut icon" favicon

Not using querySelector for this because it uses jsdom which might be slower.
Reversing the order because WHATWG says the last appropriate link should be used.

* also fetchIconUrl

* br

* improve readability

* fix

* フォールバックにhrefの評価を含める

* fix val name

* 将来的な拡張を考えたコードにした

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-23 20:17:43 +09:00
syuilo
2f83378acc feat: add pub & sub item for federation chart 2022-02-23 16:17:16 +09:00
syuilo
68899ee206 プライベートタブでログインし直すと文字数がNaNになる問題を修正 2022-02-20 19:01:06 +09:00
syuilo
1d2be559e9 プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
18ea7a1142 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
tamaina
9ebb464149 Fix ajv (#8333)
* wip

* ✌️

* use ajv/dist/core

* revert try

* clean up
2022-02-20 13:15:40 +09:00
tamaina
706c1b054d SchemaTypeの型計算量を削減 (#8332)
* schema typeの型計算量を削減

* reduce some type error

* wip

* fix

* clean up

* more shrink
2022-02-19 23:21:28 +09:00
syuilo
036c9571e2 refacator: fix typw 2022-02-19 14:53:33 +09:00
syuilo
1db0032d08 refactor: fix type 2022-02-19 14:30:42 +09:00
syuilo
077a3fd311 refactor: fix type 2022-02-19 14:28:08 +09:00
syuilo
81c7db0744 refactor: use ajv instead of cafy (#8324)
* wip

* wip

* Update abuse-user-reports.ts

* Update files.ts

* Update list-remote.ts

* Update list.ts

* Update show-users.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update update.ts

* Update search.ts

* Update reactions.ts

* Update search.ts

* wip

* wip

* wip

* wip

* Update update.ts

* Update relation.ts

* Update available.ts

* wip

* wip

* wip

* Update packages/backend/src/server/api/define.ts

Co-authored-by: Johann150 <johann.galle@protonmail.com>

* Update define.ts

* Update define.ts

* typo

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update update.ts

* wip

* Update signup.ts

* Update call.ts

* minimum for limit

* type

* remove needless annotation

* wip

* Update signup.ts

* wip

* wip

* fix

* Update create.ts

Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-02-19 14:05:32 +09:00
syuilo
9b76f8d963 refactor: better getChart result type 2022-02-18 22:29:23 +09:00
syuilo
063330c9cf refactor: add InstanceRepository 2022-02-18 20:43:50 +09:00
syuilo
000e6bb6a6 Delete jobs.ts 2022-02-18 20:30:22 +09:00
syuilo
4d333c5f84 refactor: fix types 2022-02-15 23:08:50 +09:00
syuilo
4a24258007 refactor: fix types 2022-02-13 12:46:52 +09:00
syuilo
f3853f76af refactor: fix types 2022-02-13 01:39:58 +09:00
syuilo
2c7cb1f3ea fix(server): stats APIで内部エラーが発生する問題を修正
Fix #8308
2022-02-12 17:33:29 +09:00
syuilo
28c859ff93 enhance(server): add indexes for following host 2022-02-11 12:47:42 +09:00
syuilo
c15cc02ab3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-10 22:01:34 +09:00
Johann150
84c409a52b fix: regular expressions in word mutes (#8254)
* fix: handle regex exceptions for word mutes

* add i18n strings

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* stricter input validation in backend

* add migration for hard mutes

* fix

* use correct regex library in migration

* use query builder to avoid SQL injection

Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo
48fe5b1499 enhance: improve federation chart 2022-02-10 17:45:12 +09:00
syuilo
9e41714e6e feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
Sol Fisher Romanoff
d1e2623554 fix: add instance favicon where it's missing (#8270) 2022-02-09 13:41:52 +09:00
syuilo
75c7347428 feat(client): update fontawesome v6 and self-hosting
Resolve #7475
2022-02-09 13:23:29 +09:00
syuilo
94365e97e9 fix(server): チャートのcleanでエラーが出る可能性がある問題を修正 2022-02-09 03:55:49 +09:00
syuilo
30a153e6ee fix(server): チャートのresyncでエラーが出る問題を修正
Fix #8274
2022-02-09 03:51:43 +09:00
syuilo
bd4c0a5da0 fix typo 2022-02-09 03:48:14 +09:00
syuilo
4d05c3e8a9 feat: introduce intersection calculation of charts 2022-02-09 03:46:58 +09:00
syuilo
61f855429f feat: improve federation chart 2022-02-08 23:43:51 +09:00
syuilo
756201ebef feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加 2022-02-08 23:12:37 +09:00
syuilo
74f66c6a62 chore: remove unused code 2022-02-08 22:49:44 +09:00
syuilo
f49e98f30c fix typo 2022-02-08 22:18:39 +09:00
syuilo
70440c7153 fix(server): system queueが動いていないのを修正
Fix #8272
2022-02-08 22:18:24 +09:00
nullobsi
92e94d688c feat: Option to show replies in timeline (rebase #7685) (#8202)
* Add an option for timeline replies. Credit to Emilis (puffaboo)

* update db on request
2022-02-06 16:02:48 +09:00
MeiMei
663445c533 Fix cast (#8257) 2022-02-06 16:01:54 +09:00
syuilo
06180d1331 fix 2022-02-06 08:39:23 +09:00
syuilo
b0da30469d imprpve active users chart 2022-02-06 06:24:06 +09:00
xianon
633cf5a943 fix: NodeInfo のユーザー数と投稿数の内容を見直す (#8255)
* NodeInfoのアクティブユーザーの取得方法を変更する

* NodeInfoの投稿数の出力内容を見直す
2022-02-06 04:29:36 +09:00
syuilo
ed86093869 fix chart clean 2022-02-06 02:16:52 +09:00
syuilo
f8fd491384 improve chart 2022-02-06 00:43:22 +09:00
syuilo
eaad6e188c Improve chart engine (#8253)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update core.ts

* wip

* wip

* #7361

* delete network chart

* federationChart強化 apRequestChart追加

* tweak
2022-02-06 00:13:52 +09:00
syuilo
71f817d9aa refactor 2022-02-04 11:10:53 +09:00
syuilo
34449ec0b2 use date-fns 2022-02-04 10:41:27 +09:00
syuilo
d21b28b159 refactor 2022-02-04 02:06:24 +09:00
syuilo
114b39be42 refactor: use date-fns 2022-02-04 01:56:33 +09:00
syuilo
47ac7da77c ESMは使えない 2022-02-03 22:19:54 +09:00
syuilo
991cff26bd refactor 2022-02-03 22:01:14 +09:00
syuilo
1925dc208d refactor 2022-02-03 21:48:23 +09:00
syuilo
7868d202f8 refactor 2022-02-03 21:43:53 +09:00
syuilo
f6184239cf refactor 2022-02-03 21:38:57 +09:00
syuilo
591f53fd06 refactor 2022-02-03 21:20:25 +09:00
syuilo
5e31350552 update deps 2022-02-03 21:09:15 +09:00
syuilo
098b2a4684 refactor 2022-02-03 21:09:07 +09:00
syuilo
b0536a5810 refactor: use toISOString 2022-02-03 20:45:18 +09:00
syuilo
e446759cca refactor 2022-02-03 17:21:52 +09:00
syuilo
c491091f81 refactor 2022-02-03 17:12:51 +09:00
syuilo
dcd2a3037f refactor 2022-02-03 02:41:22 +09:00
Kainoa Kanter
f7103070e4 Twitterの埋め込みを修正しました [Fix Twitter embed] (#8193)
* Fix Twitter embed

* Update packages/backend/src/server/web/views/gallery-post.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/channel.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/base.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/base.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/clip.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/channel.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/note.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/gallery-post.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/page.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/user.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/page.pug

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* Yay!

* Update packages/backend/src/server/web/views/base.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/base.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update packages/backend/src/server/web/views/base.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

* Update page.pug

* Update channel.pug

* Update gallery-post.pug

* Update note.pug

* Update page.pug

* Update user.pug

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-03 00:51:41 +09:00