Commit graph

24586 commits

Author SHA1 Message Date
NoriDev e6c296ebc0 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-27 15:24:39 +09:00
Kagami Sascha Rosylight d48172e9d1
refactor(backend/test): add interface UserToken (#11050) 2023-06-27 08:07:20 +09:00
NoriDev 8d5eb66b5c fix a1a3aee3 2023-06-26 17:31:12 +09:00
NoriDev a1a3aee31d fix storybook build 2023-06-26 17:18:42 +09:00
NoriDev b6979b0437 Merge remote-branch 'misskey/develop' 2023-06-26 16:52:07 +09:00
Yuriha 58a898dfe0
Fix offscreencanvas undefined (#11017)
* Suppress ReferenceError on some environments (i.e. older iOS)

* fix

* fix

* lint

* adopt suggestion by acid-chicken
2023-06-26 10:45:14 +09:00
Kagami Sascha Rosylight d23ad8b511
fix(backend): APIエラーのHTTP status code変更 (#11047) 2023-06-26 10:09:12 +09:00
syuilo 8099bc24e1
refactor(backend): use node16 for moduleResolution (#10938)
* refactor(backend): use node16 for moduleResolution

* update deps

* Update tsconfig.json

* ✌️

* revive KEYWORD

* restore strict-event-emitter-types dependency

* restore ms dependency

* cancel redundant import reorder

* fix

* Delete ms.ts

* remove rndstr

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-06-25 21:13:15 +09:00
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
NoriDev 8f549acb61 enhance(client): MkDialogボタンが3つ以上ある場合、並べ替えを変更するように 2023-06-23 19:00:59 +09:00
NoriDev 117cf6c30a tweak 43782d22 2023-06-23 18:51:11 +09:00
NoriDev 43782d223d enhance(client): MkPostFormDialogの改善 2023-06-23 17:32:11 +09:00
NoriDev 5ce3756cf9 enhance(client): ノートの内容がない場合、翻訳ボタンを有効にしない 2023-06-23 17:08:26 +09:00
NoriDev 4b85f4f6e6 tweak b7ecb6f7 2023-06-23 16:44:32 +09:00
NoriDev 351cea0b52 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-23 16:35:24 +09:00
Caipira e8c5117b2d
fix(backend): Resolve missing parseObjectId in IdService (#11039) 2023-06-23 16:30:47 +09:00
NoriDev d6f18f6584 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-23 15:37:24 +09:00
NoriDev 101adfc46d feat: タイムラインを編集できるように 2023-06-22 20:29:05 +09:00
NoriDev 41948632c4 fix missing icon 2023-06-22 19:37:39 +09:00
NoriDev e85b35cc63 Update cherrypick-js.api.md 2023-06-22 19:37:20 +09:00
NoriDev e73f52cc86 Update cherrypick-js.api.md 2023-06-22 17:06:45 +09:00
NoriDev 728b450186 fix missing icon 5e02db85 2023-06-22 17:01:55 +09:00
NoriDev 9598552367 feat: メディアタイムラインを改善 2023-06-22 17:00:32 +09:00
NoriDev 5e02db855e feat: キャットタイムラインを追加 2023-06-22 16:44:37 +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 2654f6013d feat: ノートの時刻を日付で表示する機能 2023-06-21 16:39:41 +09:00
NoriDev d5747a3f36 feat: コントロールパネルのメイン画面にサーバーメトリクスを追加 2023-06-21 16:09:35 +09:00
NoriDev d499f5a4a9 enhance(client): welcomeBackメッセージをMFMでレンダリング 2023-06-21 15:45:48 +09:00
NoriDev 02f8258c70 Merge branch 'fix-note-header-reaction-acceptance' of https://github.com/kokonect-link/cherrypick into develop 2023-06-21 03:10:36 +09:00
NoriDev 463d4a9fe2 リアクションの受け入れのデフォルト値を全体に設定 2023-06-21 03:10:17 +09:00
NoriDev 28cd670d95 add cherrypick badge 2023-06-21 03:07:48 +09:00
NoriDev 34a5b7bdf1 lint 2023-06-21 03:06:36 +09:00
NoriDev 5cce3215be enhance(client): 絶対時刻で表示する場合、ツールチップでは相対時刻を表記 2023-06-21 03:04:25 +09:00
NoriDev 8ba57763a6 enhance(client): ユーザーポップアップデザインの改善 2023-06-21 02:42:43 +09:00
NoriDev 8c8b7fa20c fix(client): サブノートの内容非表示ボタンのデザインが間違って表示される問題 2023-06-21 02:32:25 +09:00
NoriDev d54e28d286 enhance(client): Renoteする前に確認ポップアップを表示 2023-06-21 02:30:57 +09:00
NoriDev d76dc26409 test 2023-06-21 02:01:54 +09:00
NoriDev 6268e1035f fix(client): アイコンが透明なときにノート返信線が映る問題 2023-06-20 19:56:18 +09:00
NoriDev b7ecb6f711 fix(client): ノートデザインが正しく表示されない問題 2023-06-20 18:52:42 +09:00
NoriDev 22e0f71dd2 fix(client): グループ招待通知アイコンが正しく表示されない問題 2023-06-20 18:41:19 +09:00
NoriDev f95e11ce57 Update favicon.ico 2023-06-20 17:36:34 +09:00