Commit graph

3241 commits

Author SHA1 Message Date
Kagami Sascha Rosylight
ef354e94f2
refactor(backend): replace rndstr with secureRndstr (#11044)
* refactor(backend): replace rndstr with secureRndstr

* Update pnpm-lock.yaml

* .js
2023-06-25 11:04:33 +09:00
Kagami Sascha Rosylight
7bb8c71543
chore(backend, misskey-js): add type for signup (#11043)
* chore(backend, misskey-js): add type for signup

* rerun
2023-06-25 08:34:18 +09:00
Kagami Sascha Rosylight
a2c0573f84
refactor(backend): replace private-ip with ipaddr.js (#11041)
* refactor(backend): replace private-ip with ipaddr.js

* restore ip-cidr
2023-06-25 06:35:09 +09:00
Kagami Sascha Rosylight
5d922e3084 chore(frontend): use @vitest/coverage-v8 2023-06-24 15:20:15 +02:00
Kagami Sascha Rosylight
f0b5860b9c
chore(misskey-js): fix invalid version string format 2023-06-24 14:20:28 +02:00
syuilo
fd4c43786a chore(dev): use buraha via npm 2023-06-24 18:22:53 +09:00
syuilo
60cc7f62e6 update deps 2023-06-24 13:11:53 +09:00
syuilo
dc27ba6f03 enhance(frontend): improve ux of deck scroll
Resolve #11007
2023-06-24 12:58:26 +09:00
syuilo
3fe1c862f6 update misskey-js version 2023-06-24 12:46:30 +09:00
Yuriha
33a2c0b59e
Make role tag clickable on user pages (#11019) 2023-06-24 07:51:44 +09:00
Caipira
e8c5117b2d
fix(backend): Resolve missing parseObjectId in IdService (#11039) 2023-06-23 16:30:47 +09:00
Balazs Nadasdi
e2261b63e9
fix: clear queue endpoint error with redis script (#11037)
Error message:
```
ReplyError: ERR value is not an integer or out of range script: 720d973b3877f92b4fb3285ced83c97cdd204979, on @user_script:209.
```

The whole error can be tracked back to one of the arguments, which is
`Infinity` in the codebase, but it has to be a number.

The documentation in bullmq says `0` is unlimited[^1], and bullmq tries to
parse the argument with `tonumber` which returns with `-9223372036854775808` if
the argument is `"Infinity"` which is out of bound.

```
127.0.0.1:6379> eval 'return tonumber(ARGV[3])' '2' 'slippy.xyz:queue:inbox:inbox:delayed' 'slippy.xyz:queue:inbox:inbox:events' 'slippy.xyz:queue:inbox:inbox:' '1687183763944' Infinity 'delayed'
(integer) -9223372036854775808
127.0.0.1:6379>
```

[^1]: https://github.com/taskforcesh/bullmq/blob/master/src/commands/cleanJobsInSet-2.lua#L10

Signed-off-by: Efertone <efertone@pm.me>
2023-06-22 15:56:40 +09:00
NoriDev
8c7bcdf998
fix(client): サーバーメトリクスが90度傾いている (#11012) 2023-06-17 13:54:54 +09:00
syuilo
f5dfb64a52 ユーザー統計表示機能を削除
Resolve #10998
2023-06-13 14:13:33 +09:00
syuilo
fa7fd9ce25 fix image of MkError.vue 2023-06-11 15:38:06 +09:00
syuilo
94c09f1441 🎨 2023-06-11 09:53:07 +09:00
syuilo
46222d0258 tweak of f3a16bcd6 2023-06-10 17:41:52 +09:00
nenohi
f3a16bcd6d
ロールのユーザーリストを非公開にできるように (#10987)
* ロールのユーザーリストを非公開にできるように

* Changelog update
2023-06-10 17:26:48 +09:00
syuilo
f69627939b Update misskey-js.api.md 2023-06-10 13:45:30 +09:00
syuilo
e8420ad90b fix(backend): キャッシュが溜まり続けないように
Related #10984
2023-06-10 13:45:11 +09:00
syuilo
6182a1cb2c enhance(backend): WebSocketのPing/Pongをプロトコル制御フレームの物で判別する
Resolve #10969
2023-06-09 17:07:57 +09:00
syuilo
308ab8f177 chore 2023-06-09 16:11:28 +09:00
syuilo
dd733ec1d0 enhance(frontend): サーバーのテーマ設定を別ページに分離 2023-06-09 15:53:40 +09:00
atsuchan
0465e74521
Fix: enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように (#10982) 2023-06-09 14:08:35 +09:00
Ebise Lutica
34a32a8334
エラー画像URLを設定可能に (#10959)
* エラー画像URLを設定可能に

* Update CHANGELOG.md

* 設定したエラーアイコンをprefetchするようにbase.pugを変更

* 不足していたデータを追加

* enhance(frontend): デザイン調整
2023-06-09 14:00:53 +09:00
syuilo
3941c73db0 tweak of 6032c2be1 2023-06-09 12:55:27 +09:00
syuilo
703f3a8e37 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-09 12:51:19 +09:00
syuilo
6032c2be1c fix(frontend): Scrolling Issue in Safari for Top and Bottom Bars
fix #10977
2023-06-09 12:51:16 +09:00
syuilo
13870c63b0 add note 2023-06-09 12:47:36 +09:00
Outvi V
95b2148bfe
fix: correctly check the sensitivity flag (#10976) 2023-06-09 10:13:46 +09:00
syuilo
8ccf954065 Update misskey-js.api.md 2023-06-06 09:37:36 +09:00
syuilo
29856a9129 tweak of 981e6f996 2023-06-06 09:16:38 +09:00
syuilo
aeb8955ca2 perf(frontend): WebGL contextの数を減らす
#10960
2023-06-06 09:09:23 +09:00
syuilo
981e6f996e fix(frontend): タブがアクティブな間はstreamが切断されないように
Fix #10952
2023-06-06 09:04:57 +09:00
CaffeeLake
8263cc0094
Fix: #10955 TypeError: JSON5.parse is not a function (#10956)
* Fix: JSON5.parse is not a function

* update changelog

* update chglog

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-06-05 21:44:28 +09:00
Yuriha
2d5bb40ad0
Condensedlines reflow once (#10944)
* perf: Update MkCondensedLine styles after reading all dimensions

* perf: reduce reflow in MkCondensedLine

* lint

* Update packages/frontend/src/components/global/MkCondensedLine.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update packages/frontend/src/components/global/MkCondensedLine.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-06-05 18:06:33 +09:00
tamaina
565c502bbf fix(backend): pageのピン留めを解除することができない問題を修正
Fix #10950
2023-06-05 09:04:30 +00:00
tamaina
9e716fd813 fix(frontend): MkUserPopupが省略されないのを修正
Fix #10870
2023-06-05 08:58:00 +00:00
syuilo
0cb3c7481c fix typo: schema -> scheme 2023-06-05 10:55:18 +09:00
syuilo
1177528c25 fix backend e2e 2023-06-04 14:03:46 +09:00
mappi
a7abf941c0
fix:vue-plyr廃止追加対応(Audio要素のコンテキストメニューをブラウザデフォルトに) (#10940)
* wip

* add comment

* fix quotes
2023-06-02 16:31:25 +09:00
syuilo
5230ec883e fix(backend): 7日経過して無効化されたアンテナを再度有効化する方法がない問題を修正
Fix #10476
2023-06-02 15:18:34 +09:00
syuilo
482b00df77 🎨 2023-06-02 14:13:36 +09:00
syuilo
91d790bbb6 update deps 2023-06-02 11:34:38 +09:00
syuilo
40295ae57d fix style
Fix #10870
2023-06-02 11:03:59 +09:00
syuilo
9eaca966a4 perf(backend): terminate stalled websocket connections
Resolve #10885
2023-06-02 09:13:41 +09:00
Acid Chicken (硫酸鶏)
8bdf0dd135
test: ignore MkImgWithBlurhash to avoid unstable snapshots 2023-06-01 23:27:58 +09:00
tamaina
eedc8049db fix(frontend): make scrollbar-color track transparent
Fix #9414
2023-06-01 12:03:07 +00:00
syuilo
23f272cc7d [ci skip] update patrons 2023-06-01 19:55:33 +09:00
syuilo
15450b18e8 [ci skip] make enableCondensedLineForAcct false by default
for performance
2023-06-01 19:50:51 +09:00
syuilo
50aeaf7498 [ci skip] 🎨 2023-06-01 19:45:06 +09:00
syuilo
861bfa06a8 🎨 2023-06-01 18:07:30 +09:00
Acid Chicken (硫酸鶏)
3b30ee3130
test: fix vitest 2023-06-01 08:50:26 +00:00
syuilo
f6830885d7 tweak of cd8274888 2023-06-01 17:34:56 +09:00
Acid Chicken (硫酸鶏)
337dd97b49
perf(#10923): CSS Modules のクラス名をインライン化する (#10930)
* perf(#10923): unwind css module class name

* perf(#10923): support multiple components

* refactor: clean up

* refactor(#10923): avoid `useCssModule()`

* fix(#10923): allow direct literal class name

* fix(#10923): avoid computed class name

* fix(#10923): allow literal keys

* fix(#10923): typo

* fix(#10923): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(#10923): hidden tale

* perf(#10923): also unwind scoped css contained components

* perf(#10923): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
syuilo
cd82748889 enhance(frontend): 追加の絵文字用辞書をダウンロードできるように
Resolve #10921
2023-06-01 17:10:53 +09:00
syuilo
2c0b10b0ee refactor 2023-06-01 16:28:24 +09:00
syuilo
6c09361ec6 🎨 2023-06-01 13:50:13 +09:00
SASAGAWA Kiyoshi
3089a86c8e
fix: テーマにプロパティ 'fgOnWhite' を追加してフォローボタンのスタイルを調整 (#10931)
* fix: add theme property 'fgOnWhite' and fix styles of follow button.

* fix: add theme property 'fgOnWhite' and fix styles of follow button.
2023-06-01 13:29:44 +09:00
syuilo
ec2f05d4f7 fix(backend): i/notificationsのsinceIdが機能しない問題を修正
Fix #10902
2023-06-01 13:28:43 +09:00
syuilo
a4de927df8 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-01 09:20:39 +09:00
syuilo
a2c77a0944 Update style.scss 2023-06-01 09:20:37 +09:00
syuilo
d8a564c6a0 🎨 2023-06-01 08:54:37 +09:00
syuilo
ff94b64c91
🎨 2023-06-01 07:51:02 +09:00
tamaina
1cc616b86c fix(frontend): disconnect ResizeObserver 2023-05-31 16:04:01 +00:00
syuilo
6addf9002c tweak ui 2023-05-31 18:03:43 +09:00
mappi
6dd219b6c7
fix: Firefoxにおける絵文字ピッカーのTabキーフォーカス問題の修正 (#10926)
* fix 10744

* fix 10744

* Update CHANGELOG.md

* add comment
2023-05-31 14:03:54 +09:00
syuilo
9521519cb8 reafactor 2023-05-31 13:41:38 +09:00
syuilo
e11f82c300 refactor 2023-05-31 13:27:59 +09:00
kabo2468
aba0755880
enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした (#10165)
* enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした

* Update CHANGELOG.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-31 12:57:40 +09:00
syuilo
821bb1c476 perf(frontend): サーバーにカスタム絵文字の種類が多い場合のパフォーマンスの改善
Resolve #10925
2023-05-31 12:42:24 +09:00
syuilo
14da0a65f7 tweak ui 2023-05-31 12:24:00 +09:00
tamaina
f8f3304164 fix(frontend/MkNoteDetailed): fix css module 2023-05-30 16:24:45 +00:00
syuilo
d7efdd7123 perf(frontend): minify file names
Resolve #10924
2023-05-30 18:55:22 +09:00
syuilo
f2d9e3105d fix(frontend): Pagesのコンテンツが表示されない・作成や編集ができない問題を修正
Fix #10908
2023-05-30 17:37:38 +09:00
syuilo
a6cd97ca9a fix(backend): 「アクセストークンの管理」画面でアプリの情報が表示されない問題を修正
Fix #10920
2023-05-30 17:27:47 +09:00
syuilo
a4a171781b
clean up 2023-05-30 15:23:21 +09:00
syuilo
8e8e3dbe4e refactor 2023-05-30 15:18:08 +09:00
syuilo
de71845b35 🎨 2023-05-30 14:38:13 +09:00
syuilo
a3a47b8d35 🎨 2023-05-30 14:34:55 +09:00
syuilo
f091007882 refactor 2023-05-30 12:16:39 +09:00
syuilo
8f14b42e81 perf: インスタンスデフォルトテーマを予めjson5 -> jsonに変換しておくことでjson5を初期バンドルに含めずに済むように 2023-05-30 11:51:29 +09:00
syuilo
8b33a70fc4 vue-plyrやめるなど
- 問題点が多い
- バンドルサイズ削減
2023-05-30 11:32:29 +09:00
syuilo
dc031b1d07 perf(frontend): emojilistのサイズ削減 2023-05-30 11:18:40 +09:00
syuilo
0a2ac58b82 refactor 2023-05-30 10:20:06 +09:00
syuilo
101e8d7adb refactor 2023-05-29 20:05:46 +09:00
syuilo
19b96ff650 refactor 2023-05-29 19:56:17 +09:00
syuilo
bd66a3f148 🎨 2023-05-29 19:37:03 +09:00
syuilo
7f235275c9 🎨 2023-05-29 19:35:11 +09:00
syuilo
3097bb6c7d refactor 2023-05-29 18:22:15 +09:00
syuilo
115167e6da update deps 2023-05-29 17:52:55 +09:00
syuilo
a1200ad886 lint 2023-05-29 17:24:46 +09:00
syuilo
25d1b66ca4 refactor 2023-05-29 17:22:09 +09:00
syuilo
c5f9b1c224 lint 2023-05-29 17:13:45 +09:00
syuilo
8c66fad96b lint 2023-05-29 17:13:12 +09:00
syuilo
f930eaee02
perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node (#10884)
* perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node

Resolve #10883

* refactor

* Update StreamingApiServerService.ts

* Update StreamingApiServerService.ts

* ✌️

* Update StreamingApiServerService.ts

* fix main stream init

* fix timing 2

* setIntervalの重複を避ける(気休め)

* add comment

* ✌️

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-29 13:32:19 +09:00
syuilo
b35b9bc27f Update QueueProcessorService.ts 2023-05-29 13:30:57 +09:00
syuilo
4790ddfad6 refactor of QueueProcessorService 2023-05-29 13:30:26 +09:00
syuilo
b6f21b6edb refactor 2023-05-29 13:21:26 +09:00
syuilo
fd7b77c542
enhance(backend): migrate bull to bullmq (#10910)
* wip

* wip

* Update QueueService.ts

* wip

* refactor

* ✌️

* fix

* Update QueueStatsService.ts

* refactor

* Update ApNoteService.ts

* Update mock-resolver.ts

* refactor

* Update mock-resolver.ts
2023-05-29 11:54:49 +09:00