まっちゃとーにゅ
acab2bfc72
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-15 13:09:16 +09:00
まっちゃとーにゅ
9e63703d59
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-05 15:49:33 +09:00
zyoshoka
38837bd388
test(backend): refactor tests ( #13499 )
...
* test(backend): refactor tests
* fix: failed test
2024-03-03 20:15:35 +09:00
まっちゃとーにゅ
9ab785c48f
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-02 05:24:04 +09:00
zyoshoka
664aeb3ced
fix(backend): リノート時のHTLへのストリーミングの意図しない挙動を修正 ( #13425 )
...
* fix(backend): リノート時のストリーミングの意図しない挙動を修正
* Update CHANGELOG.md
* fix: 不要な返り値
* fix: 不適切な条件分岐を修正
* test(backend): add htl tests
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 17:43:17 +09:00
まっちゃとーにゅ
d5f229e72b
hotfix(backend): GHSA-qqrm-9grj-6v32 (MisskeyIO#460)
...
* hotfix(backend): GHSA-qqrm-9grj-6v32
Cherry-picked from 9a70ce8f5e
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* security fix: regexp
Co-authored-by: Ry0taK <49341894+Ry0taK@users.noreply.github.com>
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Ry0taK <49341894+Ry0taK@users.noreply.github.com>
2024-02-17 15:23:56 +09:00
tamaina
9a70ce8f5e
Merge pull request from GHSA-qqrm-9grj-6v32
...
* maybe ok
* fix
* test wip
* ✌️
* fix
* if (res.ok)
* validateContentTypeSetAsJsonLD
* 条件を考慮し直す
* その他の+json接尾辞が付いているメディアタイプも受け容れる
* https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009
* add `; profile="https://www.w3.org/ns/activitystreams "`
* application/ld+json;
2024-02-17 12:41:19 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
まっちゃとーにゅ
e756272c02
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-13 02:27:48 +09:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
まっちゃとーにゅ
43ef9ca4e2
spec(backend/notes/create): ネットワーク不安定・高負荷時ノートが重複して投稿される問題を修正 (MisskeyIO#432)
2024-02-11 04:02:34 +09:00
まっちゃとーにゅ
47eaf0b446
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-01-16 05:42:56 +09:00
YS
d92aaf81c4
refactor: noteテーブルのインデックス整理と配列カラムへのクエリでインデックスを使うように ( #12993 )
...
* Optimize note model index
* enhance(backend): ANY()をやめる (MisskeyIO#239)
* add small e2e test drive endpoint
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-01-15 08:19:27 +09:00
まっちゃとーにゅ
abe95d9b67
Merge branch 'develop' of misskey-dev into merge-upstream
2024-01-10 03:13:22 +09:00
おさむのひと
35ec41fc1e
enhance(backend): テストの高速化 ( #12939 )
...
* enhance(backend): テストの高速化
* add ls
* 自動的にマージされるようなので不要
* 起動方法を揃える
* fix test
2024-01-08 17:43:52 +09:00
Kagami Sascha Rosylight
2a9db983fc
feat: export clips ( #12931 )
...
* feat: export clips
* Update CHANGELOG.md
2024-01-07 10:35:58 +09:00
riku6460
018ff4cbda
Merge tag '2023.12.1' into merge-upstream
2023-12-28 03:58:07 +09:00
Kagami Sascha Rosylight
ad346b6f36
feat(backend/oauth): allow CORS for token endpoint ( #12814 )
...
* feat(backend/oauth): allow CORS for token endpoint
* no need to explicitly set origin to `*`
* Update CHANGELOG.md
2023-12-27 15:10:24 +09:00
Chocolate Pie
c96bc36fed
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-27 15:08:59 +09:00
riku6460
5593eab248
Merge tag '2023.10.0' into merge-upstream
2023-10-10 21:35:45 +09:00
syuilo
9f33ce1cd0
fix of 0bb0c32908
2023-10-10 09:45:40 +09:00
FineArchs
d6ef28d4ca
バックエンドのテストの改善 ( #11978 )
...
* Update utils.ts
* no async executer
2023-10-07 12:25:16 +09:00
syuilo
610b68c8ff
tweak
2023-10-04 11:32:33 +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
riku6460
87223add7b
Merge tag '2023.9.0' into merge-upstream
2023-09-25 15:27:13 +09:00
syuilo
1beaac8e2d
fixes
2023-09-05 17:02:14 +09:00
riku6460
8d06a6475e
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #141 )
...
* chore: 著作権とライセンスについての情報を各ファイルに追加する
* 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>
* chore: Add SPDX-License-Identifier [skip ci]
* add missing SPDX-License-Identifier
* remove unused file
---------
Co-authored-by: Shun Sakai <sorairolake@protonmail.ch>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
2023-08-15 02:52:38 +09:00
Kagami Sascha Rosylight
eb7b5f905a
feat(backend): support OAuth 2.0 authorization ( #11053 )
...
* feat(backend): support OAuth 2.0 authorization
* secureRndstr fix
* nanndekowareta
* nanndekowareta2
* nanndekowareta3
* unref?
* refactor to not close fastify
* use microformats-parser
* Update OAuth2ProviderService.ts
* clarify the reason behind dns lookup
* refactor(backend): use @types/oauth2orize-pkce (#11350 )
* refactor(backend): use @types/oauth2orize-pkce
* Update package.json
* Update pnpm-lock.yaml
---------
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
---------
Co-authored-by: mtgto <hogerappa@gmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 18:51:58 +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
まっちゃとーにゅ
1e6389d990
Revert "refactor: 可読性のため一部で`Array.prototype.at`を使うように" ( #115 )
...
* Revert "refactor: 可読性のため一部で`Array.prototype.at`を使うように (#11274 )"
This reverts commit 2b6dbd4fcb
.
* Apply suggestions from code review
---------
Co-authored-by: okayurisotto <okayurisotto@proton.me>
2023-07-25 19:58:08 +09:00
okayurisotto
2b6dbd4fcb
refactor: 可読性のため一部で`Array.prototype.at`を使うように ( #11274 )
...
* refactor: `Array.prototype.at`を使うように
* fixup! refactor: `Array.prototype.at`を使うように
2023-07-14 10:45:01 +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
Kagami Sascha Rosylight
d48172e9d1
refactor(backend/test): add `interface UserToken` ( #11050 )
2023-06-27 08:07:20 +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
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
Nanashia
15db0b8812
test(backend): Add tests for antennas ( #10868 )
2023-05-19 20:53:20 +09:00
Nanashia
5c3a4a8224
test(backend): Add tests for users ( #10546 )
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 13:20:16 +09:00
syuilo
7da2ca1862
Revert "test"
...
This reverts commit cb39db100a
.
2023-04-07 20:05:15 +09:00
syuilo
cb39db100a
test
2023-04-07 19:45:08 +09:00
syuilo
9a40a4e315
Update packages/backend/test/utils.ts
...
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-22 08:59:50 +09:00
Nanashia
2e051c5871
test(backend): Add tests for clips ( #10358 )
2023-03-19 20:26:38 +09:00
Nanashia
8571c692ba
test(backend): Add tests for web resources ( #10341 )
2023-03-18 09:01:10 +09:00
Kagami Sascha Rosylight
3f53cbd8f6
fix(backend/DriveService): convert WebP/AVIF to WebP ( #10239 )
...
* fix(backend/DriveService): convert transparent WebP/AVIF to PNG
* webpにする
その希望が複数ありましたので
* Update packages/backend/src/core/DriveService.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* update test
* webpはwebpublicにできる
---------
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 09:37:22 +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
Kagami Sascha Rosylight
61215e50ff
test(backend): APIテストの復活 ( #10163 )
...
* Revert 1c5291f818
* APIテストの復活
* apiテストの移行
* moduleNameMapper修正
* simpleGetでthrowしないように
status確認しているので要らない
* longer timeout
* ローカルでは問題ないのになんで
* case sensitive
* Run Nest instance within the current process
* Skip some setIntervals
* wait for 5 seconds
* kill them all!!
* logHeapUsage: true
* detectOpenHandlesがじゃましているらしい
* maxWorkers=1?
* restore drive api tests
* workerIdleMemoryLimit: 500MB
* 1024MiB
* Wait what
2023-03-03 11:13:12 +09:00
syuilo
1c5291f818
feat: 時限ロール ( #10145 )
...
* feat: 時限ロール
* クライアントから期限を確認できるように
* リファクタとか
* fix test
* fix test
* fix test
* clean up
2023-03-01 10:20:03 +09:00
syuilo
5b3a07ee9e
Revert "Allow configuring the listen host ( #9924 )"
...
This reverts commit 3dfe3aa9a4
.
2023-02-22 18:00:35 +09:00
ledlamp
3dfe3aa9a4
Allow configuring the listen host ( #9924 )
2023-02-22 17:51:40 +09:00
Masaya Suzuki
f3c5edc852
fix: postgre -> postgres ( #9814 )
2023-02-07 19:50:38 +09:00