summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/ServerService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy17 hours1-3/+3
|
* reduce, clarify, and normalize more error messagesHazelnoot2025-06-061-1/+2
|
* refactor: ファイルアップロード時のテストを追加 (#15928)おさむのひと2025-05-081-1/+8
| | | | | | * refactor: ファイルアップロード時のテストを追加 * なぜかsemverが消えてた
* Revert "fix: ↵おさむのひと2025-05-081-4/+3
| | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" (#15927) * Revert "fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" This reverts commit 7e8cc4d7c0a86ad0bf71a727fb16132e8bc180a8. * fix CHANGELOG.md
* Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-04-291-3/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/api-misskey-js.yml # .github/workflows/changelog-check.yml # .github/workflows/check-misskey-js-autogen.yml # .github/workflows/get-api-diff.yml # .github/workflows/lint.yml # .github/workflows/locale.yml # .github/workflows/on-release-created.yml # .github/workflows/storybook.yml # .github/workflows/test-backend.yml # .github/workflows/test-federation.yml # .github/workflows/test-frontend.yml # .github/workflows/test-misskey-js.yml # .github/workflows/test-production.yml # .github/workflows/validate-api-json.yml # package.json # packages/backend/package.json # packages/backend/src/server/api/ApiCallService.ts # packages/backend/src/server/api/endpoints/drive/files/create.ts # packages/frontend-shared/js/url.ts # packages/frontend/package.json # packages/frontend/src/components/MkFileCaptionEditWindow.vue # packages/frontend/src/components/MkInfo.vue # packages/frontend/src/components/MkLink.vue # packages/frontend/src/components/MkNote.vue # packages/frontend/src/components/MkNotes.vue # packages/frontend/src/components/MkPageWindow.vue # packages/frontend/src/components/MkReactionsViewer.vue # packages/frontend/src/components/MkTimeline.vue # packages/frontend/src/components/MkUrlPreview.vue # packages/frontend/src/components/MkUserPopup.vue # packages/frontend/src/components/global/MkPageHeader.vue # packages/frontend/src/components/global/MkUrl.vue # packages/frontend/src/components/global/PageWithHeader.vue # packages/frontend/src/pages/about-misskey.vue # packages/frontend/src/pages/announcements.vue # packages/frontend/src/pages/antenna-timeline.vue # packages/frontend/src/pages/channel.vue # packages/frontend/src/pages/instance-info.vue # packages/frontend/src/pages/note.vue # packages/frontend/src/pages/page.vue # packages/frontend/src/pages/role.vue # packages/frontend/src/pages/tag.vue # packages/frontend/src/pages/timeline.vue # packages/frontend/src/pages/user-list-timeline.vue # packages/frontend/src/pages/user/followers.vue # packages/frontend/src/pages/user/following.vue # packages/frontend/src/pages/user/home.vue # packages/frontend/src/pages/user/index.vue # packages/frontend/src/ui/deck.vue # packages/misskey-js/generator/package.json # pnpm-lock.yaml # scripts/changelog-checker/package-lock.json # scripts/changelog-checker/package.json
| * fix: ↵おさむのひと2025-04-291-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896) * wip * ロールポリシーの値も参照するように * エンドポイントのテストを追加 * fix review * add spdx * fix CHANGELOG.md * fix test * regenerate * add log * Revert "add log" This reverts commit 4b2bf59a609b85ca0bfcc9b71438db782f11983d. * add log * fix * Revert "add log" This reverts commit c5a73d57da0f30ec5215e08a8b4d78785cce48d1.
* | merge upstream againHazelnoot2025-04-241-1/+1
|\|
| * fix: avatarId が null のときにも avatarUrl が non null ↵anatawa122025-04-151-1/+1
| | | | | | | | 担ってることがある問題 (#15833)
* | lint and type fixesHazelnoot2025-04-011-9/+10
| |
* | merge upstreamHazelnoot2025-03-251-0/+37
|\|
| * Merge commit from fork饺子w (Yumechi)2025-02-231-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly. [GHSA-6w2c-vf6f-xf26](https://github.com/misskey-dev/misskey/security/advisories/GHSA-6w2c-vf6f-xf26) Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * Enhance: Add configuration option to disable all external redirects when responding to an ActivityPub lookup (config.disallowExternalApRedirect) Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * fixup! fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly. * docs & one edge case Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * apply suggestions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * remove stale frontend reference to _responseInvalidIdHostNotMatch Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * apply suggestions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* | make the listen address configurable - fixes #927dakkar2025-02-101-1/+1
| | | | | | | | sadly `fastify.listen` doesn't support passing more than 1 address
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-5/+6
|\|
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
| * update deps (#14594)syuilo2024-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | * wip * Update ClientServerService.ts * eslint * Update fetch-resource.ts * wip
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-1/+1
|\|
| * refactor(backend): remove unused logger optionsyuilo2024-06-061-1/+1
| |
* | Merge remote-tracking branch 'misskey/release/2024.5.0' into futuredakkar2024-05-311-0/+3
|\|
| * feat(backend): add /healthz endpoint (#13834)Acid Chicken2024-05-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * feat(backend): add /healthz endpoint * feat(backend): also check meilisearch status if available * style: header * chore: no-store * chore: healthcheck.sh * style: format
* | Merge remote-tracking branch 'misskey/release/2024.5.0' into ↵dakkar2024-05-111-4/+1
|\| | | | | | | future-2024-04-25-post
| * update deps (#13624)syuilo2024-05-041-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * Update package.json * update deps * build: pass --strip-leading-paths to restore 0.2.x behavior (#13684) * :v: * :v: * pureimageの代わりに@napi-rs/canvasを使う (#13748) * pureimageの代わりに@napi-rs/canvasを使う * remove writestream * remove createtemp * wip * Update ClientServerService.ts * update pnpm to 9.x * update deps * re: update pnpm to 9.x * update node * :v: --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* | Merge remote-tracking branch 'misskey/develop' into future-2024-04-25dakkar2024-04-251-3/+11
|\|
| * feat: improve emoji endpoint (#13742)Cocoa Hoto2024-04-251-3/+11
| |
* | merge: upstreamMarie2024-02-191-1/+1
|\|
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | merge: upstreamMarie2024-02-031-1/+1
|\|
| * refactor(backend): User関連のスキーマ/型の指定を強くする ↵zyoshoka2024-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12808) * refactor(backend): User関連のスキーマ/型の指定を強くする * refactor(backend): `pack()`の引数にスキーマを指定するように * chore: fix ci * fix: 変更漏れ * fix ci --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
| * feat(backend/oauth): allow CORS for token endpoint (#12814)Kagami Sascha Rosylight2023-12-271-1/+2
| | | | | | | | | | | | | | * feat(backend/oauth): allow CORS for token endpoint * no need to explicitly set origin to `*` * Update CHANGELOG.md
* | merge: upstreamMarie2023-12-281-1/+0
| |
* | feat(backend/oauth): allow CORS for token endpoint (#12814)Kagami Sascha Rosylight2023-12-281-1/+2
| | | | | | | | | | | | | | | | * feat(backend/oauth): allow CORS for token endpoint * no need to explicitly set origin to `*` * Update CHANGELOG.md
* | merge: upstreamMarie2023-12-231-2/+2
|\|
| * fix(backend): /emojiにおける拡張子の削除方法を修正 (#12543)Nanaka Hiira2023-12-031-2/+2
| | | | | | Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* | merge: upstreamMar0xy2023-11-221-0/+8
|\|
| * enhance(backend): Implementation of HTTP header and body validation to fix ↵Jaehong Kang2023-11-151-2/+2
| | | | | | | | | | | | | | SIF-2023-002 (#12334) Using Buffer instead of string Co-authored-by: perillamint <perillamint@silicon.moe>
| * Merge pull request from GHSA-3f39-6537-3cgcsyuilo2023-11-141-0/+8
| | | | | | | | | | | | | | | | This commit implements HTTP header and body validation to fix [SIF-2023-002](https://advisory.silicon.moe/advisory/sif-2023-002/) Signed-off-by: perillamint <perillamint@silicon.moe> Co-authored-by: perillamint <perillamint@silicon.moe> Co-authored-by: yunochi <yuno@yunochi.com>
* | fix: not starting due to duplicate endpointMar0xy2023-11-081-11/+0
| |
* | fix: oauth/authorize not workingMar0xy2023-11-081-0/+11
| |
* | merge: upstreamMar0xy2023-10-311-1/+1
|\|
| * chore: disable debug log of fastifysyuilo2023-10-191-1/+1
| |
* | merge: all upstream changesMar0xy2023-10-131-3/+3
|\|
| * (fix) メールアドレス認証失敗時にメッセージを表示 (#11986)かっこかり2023-10-081-3/+3
| |
* | add: Megalodon, initial mastodon apiMar0xy2023-09-231-0/+3
|/
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* feat(backend): support OAuth 2.0 authorization (#11053)Kagami Sascha Rosylight2023-07-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* enhance(backend): add unix socket support (#11275)dogcraft2023-07-171-1/+12
| | | | | | | | | | | * unix socket support * add changelog * lint --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): make some features optionablesyuilo2023-07-021-4/+11
| | | | | Resolve #11064 Resolve #11065
* perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node (#10884)syuilo2023-05-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>