Chocolate Pie
82822e29d9
Merge pull request from GHSA-7pxq-6xx9-xpgm
...
* fix: fix improper authorization when accessing with third-party application
* refactor: refactor type definitions
* fix: get rid of unnecessary access limitation
* enhance: サードパーティアプリケーションがWebsocket APIを使えるように
* fix: add missing parentheses
* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"
This reverts commit 5150053275
.
* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする
* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加
* enhance(test): Websocket APIに対するテストも追加
* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合
* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正
* enhance(backend): Websocketの接続に最低限必要な権限を変更
* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように
* fix(backend): エンドポイントにアクセスするために必要な権限を変更
* fix(frontend/locale): Add missing type declaration
* chore: update `misskey-js/src/autogen`
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-28 09:45:54 +01:00
おさむのひと
a8ee67cace
Fix: チャンネルのフォロー・アンフォローの反映速度を改善 ( #12149 )
...
* チャンネルのフォロー・アンフォローの反映速度を改善
* fix lint
* userFollowingChannelsCacheの場所をCacheServiceからChannelFollowingServiceに移動
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-27 18:34:02 +09:00
syuilo
6277a5545c
feat: improve tl performance ( #11946 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update NoteCreateService.ts
* wip
* Update user-notes.ts
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* wip
* Update timelines.ts
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* Update misskey-js.api.md
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* wip
* Update timelines.ts
* wip
* test
* Update activitypub.ts
* refactor: UserListJoining -> UserListMembership
* Update NoteCreateService.ts
* wip
2023-10-03 20:26:11 +09:00
syuilo
053da10e94
refactor(backend): update directory structure for models
2023-09-20 11:33:36 +09:00
syuilo
6cf466e5d1
update deps ( #11820 )
...
* update deps
* fix
* wip
* wip
* wip
* Update docker-compose.yml.example
* Delete reviewer-lottery.yml
* Update RepositoryModule.ts
* wip
* wip
* clean up
* update deps
* wip
* wip
2023-09-15 14:28:29 +09:00
syuilo
792622aead
refactor: prefix Mi for all entities ( #11719 )
...
* wip
* wip
* wip
* wip
* Update RepositoryModule.ts
* wip
* wip
* wip
* Revert "wip"
This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
2023-08-16 17:51:28 +09:00
woxtu
8a6791da3f
refactor(backend): Remove unused injections ( #11462 )
...
* Remove unused injections
* Remove unused imports
2023-08-05 10:33:00 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
riku6460
61e7eb8ff1
perf(backend): JSON.parse の呼び出しを削減する ( #11091 )
...
* perf(backend): JSON.parse の呼び出しを削減する
Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com>
* Update CHANGELOG.md
---------
Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com>
2023-07-04 07:49:13 +09:00
Kagami Sascha Rosylight
1b1f82a2e2
feat(backend): accept OAuth bearer token ( #11052 )
...
* 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>
2023-06-28 13:37:13 +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
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
13870c63b0
add note
2023-06-09 12:47:36 +09:00
syuilo
9eaca966a4
perf(backend): terminate stalled websocket connections
...
Resolve #10885
2023-06-02 09:13:41 +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
a67439981b
fix types
2023-04-14 13:50:05 +09:00
syuilo
39cf80e19f
fix(backend): イベント用redis分離が上手く動かない問題を修正
2023-04-09 17:09:27 +09:00
syuilo
ff6d9d2860
feat(backend): イベント用Redisを別サーバーに分離できるように
2023-04-07 11:20:14 +09:00
syuilo
f44504097c
enhance(backend): improve cache
2023-04-05 10:21:10 +09:00
syuilo
4c2f7c64cc
feat: Per-user renote mute ( #10249 )
...
* feat: per-user renote muting
From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey
* Update ja-JP.yml
* Delete renote-muting.ts
* rename
* fix ids
* lint
* fix
* Update CHANGELOG.md
* リノートをミュートしたユーザー一覧を見れるように
* 🎨
* add test
* fix test
---------
Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
417f52359d
fixes
2022-09-24 06:45:44 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00