summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* perf(backend): JSON.parse の呼び出しを削減する (#11091)riku64602023-07-041-5/+11
| | | | | | | | | | | * perf(backend): JSON.parse の呼び出しを削減する Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com> * Update CHANGELOG.md --------- Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com>
* perf(backend): make some features optionablesyuilo2023-07-028-7/+82
| | | | | Resolve #11064 Resolve #11065
* perf(backend): allow get for some endpointssyuilo2023-07-022-0/+4
|
* feat(backend): accept OAuth bearer token (#11052)Kagami Sascha Rosylight2023-06-284-48/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(backend): accept OAuth bearer token * refactor * Update packages/backend/src/server/api/ApiCallService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update packages/backend/src/server/api/ApiCallService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix * kind: permission for account moved error * also for suspended error * Update packages/backend/src/server/api/StreamingApiServerService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend/test): add `interface UserToken` (#11050)Kagami Sascha Rosylight2023-06-271-17/+19
|
* fix(backend): APIエラーのHTTP status code変更 (#11047)Kagami Sascha Rosylight2023-06-262-3/+49
|
* refactor(backend): use node16 for moduleResolution (#10938)syuilo2023-06-2523-31/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(backend): use node16 for moduleResolution * update deps * Update tsconfig.json * :v: * 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>
* refactor(backend): replace rndstr with secureRndstr (#11044)Kagami Sascha Rosylight2023-06-2515-61/+57
| | | | | | | * refactor(backend): replace rndstr with secureRndstr * Update pnpm-lock.yaml * .js
* chore(backend, misskey-js): add type for signup (#11043)Kagami Sascha Rosylight2023-06-2518-278/+292
| | | | | * chore(backend, misskey-js): add type for signup * rerun
* refactor(backend): replace private-ip with ipaddr.js (#11041)Kagami Sascha Rosylight2023-06-253-11/+11
| | | | | * refactor(backend): replace private-ip with ipaddr.js * restore ip-cidr
* update depssyuilo2023-06-242-30/+30
|
* fix(backend): Resolve missing parseObjectId in IdService (#11039)Caipira2023-06-231-2/+2
|
* fix: clear queue endpoint error with redis script (#11037)Balazs Nadasdi2023-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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>
* ユーザー統計表示機能を削除syuilo2023-06-133-234/+0
| | | | Resolve #10998
* tweak of f3a16bcd6syuilo2023-06-106-23/+2
|
* ロールのユーザーリストを非公開にできるように (#10987)nenohi2023-06-105-0/+23
| | | | | * ロールのユーザーリストを非公開にできるように * Changelog update
* fix(backend): キャッシュが溜まり続けないようにsyuilo2023-06-109-13/+116
| | | | Related #10984
* enhance(backend): ↵syuilo2023-06-091-6/+5
| | | | | | WebSocketのPing/Pongをプロトコル制御フレームの物で判別する Resolve #10969
* choresyuilo2023-06-091-0/+1
|
* エラー画像URLを設定可能に (#10959)Ebise Lutica2023-06-097-43/+96
| | | | | | | | | | | * エラー画像URLを設定可能に * Update CHANGELOG.md * 設定したエラーアイコンをprefetchするようにbase.pugを変更 * 不足していたデータを追加 * enhance(frontend): デザイン調整
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2023-06-091-2/+2
|\
| * fix: correctly check the sensitivity flag (#10976)Outvi V2023-06-091-2/+2
| |
* | add notesyuilo2023-06-091-0/+1
|/
* Fix: #10955 TypeError: JSON5.parse is not a function (#10956)CaffeeLake2023-06-051-1/+1
| | | | | | | | | | | * Fix: JSON5.parse is not a function * update changelog * update chglog --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix(backend): ↵tamaina2023-06-051-1/+1
| | | | | | pageのピン留めを解除することができない問題を修正 Fix #10950
* fix typo: schema -> schemesyuilo2023-06-051-3/+3
|
* fix backend e2esyuilo2023-06-041-1/+1
|
* fix(backend): ↵syuilo2023-06-021-0/+1
| | | | | | 7日経過して無効化されたアンテナを再度有効化する方法がない問題を修正 Fix #10476
* update depssyuilo2023-06-023-22/+22
|
* perf(backend): terminate stalled websocket connectionssyuilo2023-06-021-2/+21
| | | | Resolve #10885
* fix(backend): i/notificationsのsinceIdが機能しない問題を修正syuilo2023-06-011-3/+3
| | | | Fix #10902
* fix(backend): ↵syuilo2023-05-302-5/+3
| | | | | | 「アクセストークンの管理」画面でアプリの情報が表示されない問題を修正 Fix #10920
* perf: インスタンスデフォルトテーマを予めjson5 -> ↵syuilo2023-05-301-2/+4
| | | | jsonに変換しておくことでjson5を初期バンドルに含めずに済むように
* perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node (#10884)syuilo2023-05-295-63/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node Resolve #10883 * refactor * Update StreamingApiServerService.ts * Update StreamingApiServerService.ts * :v: * Update StreamingApiServerService.ts * fix main stream init * fix timing 2 * setIntervalの重複を避ける(気休め) * add comment * :v: --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* Update QueueProcessorService.tssyuilo2023-05-291-9/+11
|
* refactor of QueueProcessorServicesyuilo2023-05-291-20/+64
|
* refactorsyuilo2023-05-2916-21/+104
|
* enhance(backend): migrate bull to bullmq (#10910)syuilo2023-05-2949-409/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update QueueService.ts * wip * refactor * :v: * fix * Update QueueStatsService.ts * refactor * Update ApNoteService.ts * Update mock-resolver.ts * refactor * Update mock-resolver.ts
* enhance: ↵Chocolate Pie2023-05-261-2/+3
| | | | | | | | | | | | | | | | | | | | | ハッシュタグのノート一覧ページから、そのハッシュタグで投稿するボタンを追加、お知らせの画像URLを空にできない問題を修正 (#10878) * fix: お知らせの画像URLを空にできない問題を修正 (misskey-dev/misskey#10657) * ハッシュタグのノート一覧ページからノートできるように(misskey-dev/misskey#10854) * fix: 色々直した * location.reloadを使わないように * CHANGELOGを編集 * tweak * Update tag.vue --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* package.jsonの並び替えを修正tamaina2023-05-251-1/+1
|
* :art:syuilo2023-05-241-35/+35
|
* update depssyuilo2023-05-241-7/+7
|
* refactorsyuilo2023-05-241-5/+5
|
* feat: support summary_large_image (#10862)Acid Chicken (硫酸鶏)2023-05-208-2/+22
| | | | | | | * feat: use summary_large_image * chore: add video * chore: ignore sensitive image on note
* chore: update slacc (#10867)Acid Chicken (硫酸鶏)2023-05-201-11/+12
| | | Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* test(backend): Add tests for antennas (#10868)Nanashia2023-05-192-0/+750
|
* fix:ロールタイムライン無効に関する修正 (#10843)nenohi2023-05-193-1/+19
| | | | | | | | | | | * 修正 * note visibility change * public投稿のみ * update changelog * RN非表示機能がうごかないところだった
* update depssyuilo2023-05-191-13/+13
|
* feat: 公開リスト (#10842)Chocolate Pie2023-05-1918-15/+462
| | | | | | | | | | | | | | | | | | | | | | | * feat: まず公開できるように (misskey-dev/misskey#10447) * feat: 公開したリストのページを作成 (misskey-dev/misskey#10447) * feat: いいねできるように * feat: インポートに対応 * wip * wip * CHANGELOGを編集 * add note * refactor --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: ↵syuilo2023-05-193-3/+8
| | | | センシティブなカスタム絵文字のリアクションを受け入れない設定を追加