summaryrefslogtreecommitdiff
path: root/packages/backend/src/server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enhance(reversi): tweak reversisyuilo2024-01-201-3/+3
|
* feat: reversisyuilo2024-01-1913-4/+565
| | | | Resolve #12962
* enhance(drop-and-fusion): ゲームバランスの調整などsyuilo2024-01-171-2/+2
|
* enhance: 動画・音声周りのUIと動作改良 (#12925)かっこかり2024-01-151-10/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * (fix) `/files` をバイトレンジリクエストに対応させる * video * audio * fix * fix * spdx * fix (rangeRequest) * fix * Update CHANGELOG.md * (add) ボリュームを保存できるように * (fix) ミュート復帰時に音量が固定される * named export * tweak design * Add sensitive class for audio component * Refactor seekbar styles * Refactor hms * Revert "(add) ボリュームを保存できるように" This reverts commit 6271f9493b63f96d0dd9915207e97fe120ef9037. * Revert "(fix) ミュート復帰時に音量が固定される" This reverts commit a65002b56ecdcb10f76bcc2debbe38593a69643f. * revert revert changes --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: ↵YS2024-01-154-7/+9
| | | | | | | | | | | | | 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>
* fix(backend): 虚無ノートを投稿できる問題の修正と `api.json` ↵zyoshoka2024-01-137-46/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | の OpenAPI Specification 3.1.0 への対応 (#12969) * fix(backend): `text: null`だけのノートは投稿できないように * add test * Update CHANGELOG.md * chore: bump OpenAPI Specification from 3.0.0 to 3.1.0 * chore: テストがすでにコメントで記述されていたのでそっちを使うことにする * fix test * fix(backend): prohibit posting whitespace-only notes * Update CHANGELOG.md * fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように * test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加 * fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように * fix(misskey-js): OpenAPI 3.1に対応 * fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応 * fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応 * fix(ci): スキーマ書き換えの際のミスを修正 * Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように" This reverts commit a9ca55343df6ea1679599acbc4801f78aa3a242b. * fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように * Revert "fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように" This reverts commit 865458989f9ddacc38d1bb3743a41ea828dbf324. * fix(misskey-js): `openapi-parser`で`validate`のかわりに`parse`を用いるように * Update CHANGELOG.md
* run `pnpm build-misskey-js-with-types` (#12972)かっこかり2024-01-112-4/+0
|
* feat: ranking system of bubble gamesyuilo2024-01-114-0/+173
| | | | Resolve #12961
* refactor: make sure promises are settled before app shutdown (#12942)Kagami Sascha Rosylight2024-01-081-1/+2
| | | 👍
* feat: export clips (#12931)Kagami Sascha Rosylight2024-01-073-1/+42
| | | | | * feat: export clips * Update CHANGELOG.md
* Fix: ↵_2024-01-071-0/+4
| | | | | | | リストライムラインの「リノートを表示」が正しく機能しない問題を修正 (#12932) * fix: list timeline withRenotes * add CHANGELOG
* feat: Add support for mCaptcha (#12905)Chocolate Pie2024-01-064-1/+63
| | | | | | | | | | | | | * feat: Add support for mCaptcha * fix: Fix docker compose configuration * chore(frontend/docs): update changelog & fix eslint errors * `@mcaptcha/vanilla-glue`をダイナミックインポートするように * chore: Add missing prefix to CHANGELOG * refactor(backend): 適当につけた変数の名前を変更
* chore: use summaly, browser-image-resizer, and sharp-read-bmp on ↵tamaina2023-12-312-2/+2
| | | | | | | | | | | | | | | registry.npmjs.org instead of git (#12856) * chore: use @misskey-dev/summaly on registry.npmjs.org instead of git * fix backend dependency * fic backend dependency * @misskey-dev/sharp-read-bmp * fix * use @misskey-dev/browser-image-resizer
* feat: Add support for TrueMail (#12850)MomentQYC2023-12-292-0/+38
| | | Co-authored-by: MarryDream <2190758465@qq.com>
* fix(test): CIが落ちている問題を修正 (#12816)Chocolate Pie2023-12-271-4/+2
| | | | | | | * fix(test): CIが落ちているのを修正 * fix(ci)?: CIの`typecheck`が落ちる問題を修正 * fix(ci): コンフィグファイルのタイポを修正
* Add a prompt for Tor Browser users (#12776)MomentQYC2023-12-271-0/+1
| | | | | * perf: Add a prompt for Tor Browser users * typo
* feat(backend/oauth): allow CORS for token endpoint (#12814)Kagami Sascha Rosylight2023-12-273-33/+47
| | | | | | | * feat(backend/oauth): allow CORS for token endpoint * no need to explicitly set origin to `*` * Update CHANGELOG.md
* Merge pull request from GHSA-7pxq-6xx9-xpgmChocolate Pie2023-12-27134-201/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 5150053275594278e9eb23e72d98b16593c4c230. * 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>
* refactor(frontend): Reactivityで型を明示するように (#12791)zyoshoka2023-12-264-64/+32
| | | | | | | * refactor(frontend): Reactivityで型を明示するように * fix: プロパティの参照が誤っているのを修正 * fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
* feat: ↵GrapeApple02023-12-232-0/+14
| | | | | | | | | | | 登録を拒否するメールアドレスのドメインを手動で設定できるように (#12740) * feat: 使い捨てアドレスのドメインを手動で設定できるように * Update CHANGELOG.md * disposableEmailDomains -> bannedEmailDomains * isBlockedHostを使うように
* enhance: ↵GrapeApple02023-12-2133-7/+756
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | api.jsonのレスポンスの内容を実際の内容に合わせる (#12723) * Create packedAdSchema * admin/emoji/add * admin/get-user-ips * admin/roles/users * admin/get-index-stats * admin/accounts/find-by-email * fix type of admin/ad/list * federation/stats * endpoints * get-online-users-count * i/2fa/register-key * i/2fa/key-done * i/2fa/register * i/apps * i/authorized-apps * i/registry/get-all * i/registry/get * i/registry/get-detail * i/registry/key-with-type * i/registry/scopes-with-domain * i/update-email * i/move * i/webhooks/create * fix miss type * i/webhooks/show * i/webhooks/list * flash/create * roles/users * server-info * test * users/lists/get-memberships * users/achievements * fetch-rss * fetch-external-resources
* enhance: ↵zawa-ch2023-12-185-11/+13
| | | | | | | | | | | | | | | | | | “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12702) * Enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12072) * refactor: crowdin 編集部分のコミットを打ち消し https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158 * refactor: オブジェクトの名前修正 https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158 * fix: 設定項目の説明を削除 名称が具体的になって必要なくなったため https://github.com/misskey-dev/misskey/pull/12702#discussion_r1429932463
* fix(backend): add missing kind definition for admin endpoints to improve ↵syuilo2023-12-1876-2/+152
| | | | security
* fix(dev): ↵かっこかり2023-12-161-0/+3
| | | | | | | | | | | ファイルの読み込みに失敗することがあるのを修正 (#12684) * (enhance) コード入力をMkCodeEditorに変更 * (fix) devでファイルの読み込みに失敗することがある * Revert "(enhance) コード入力をMkCodeEditorに変更" This reverts commit 726d56c3e962680efc5b5a166e2210d09730341f.
* fix(backend): HTTP ↵syuilo2023-12-161-1/+1
| | | | | | Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない Fix #12678
* perf: early return users/notes and users/featured-notes if me is blocked by ↵anatawa122023-12-152-3/+16
| | | | requesting user (#12663)
* Remove an unnecessary type assertion (#12666)woxtu2023-12-151-2/+1
|
* enhance: ↵syuilo2023-12-141-0/+4
| | | | アイコンデコレーションの位置を微調整できるように
* update depssyuilo2023-12-141-1/+1
|
* fix(backend): ↵syuilo2023-12-131-1/+1
| | | | | | モデレーションログがモデレーターは閲覧できないように修正 Fix #12622
* enhance: アイコンデコレーションを複数設定できるようにsyuilo2023-12-131-4/+6
|
* fix: `secure: true` なエンドポイントの型が misskey-js ↵ikasoba2023-12-081-1/+6
| | | | | | | | | に含まれていない (#12603) * 作った * 修正 * 修正
* fix(backend): ↵KanariKanaru2023-12-071-3/+18
| | | | | | | | | | | | | | | | | | | | ブロックした相手から自分のノートが見えないように(/users/featured-notes, /users/notes) (#12511) * fix: ブロックした相手から自分のノートが見えないように(ユーザー,チャンネル) * Update CHANGELOG.md * /users/featured-notesでもブロックを考慮するように * cacheServiceを使うように * /channels/timeline.tsで必要のないnoteFilterを持たないように * Update CHANGELOG.md * FanoutTimelineEndpointServiceへの対応 - ブロックされている場合は、/users/notesでノートが表示されない - ミュートしている場合は、ノートが表示される
* feat: Roleに関するSchemaを追加 (#12572)yupix2023-12-065-0/+38
| | | | | | | | | * feat: Roleに関連するschemaを追加 * feat: 新しいRoleSchemaを使うように * chore: misskey.jsのデータを更新 * chore: misskey-js.api.mdを更新
* chore: 自分へのリプライのみ走査するように (#12570)anatawa122023-12-041-3/+6
|
* Filter User / Instance Mutes in FanoutTimelineEndpointService (#12565)anatawa122023-12-046-140/+46
| | | | | | | | | | | | | | | | | | | | | | | * fix: unnecessary logging in FanoutTimelineEndpointService * chore: TimelineOptions * chore: add FanoutTimelineName type * chore: forbid specifying both withReplies and withFiles since it's not implemented correctly * chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService * revert unintended changes * use isReply in NoteCreateService * fix: excludePureRenotes is not implemented * fix: replies to me is excluded from local timeline * chore(frontend): forbid enabling both withReplies and withFiles * docs(changelog): インスタンスミュートが効かない問題の修正について言及
* fix (backend): ↵おさむのひと2023-12-031-3/+18
| | | | | | | 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正 (#12559) * fix (backend): 「みつける」のなかにミュートしたユーザが現れてしまう問題を修正 * fix
* fix(backend): enhance nodeinfo by export instance admin via nodeAdmins key ↵65432023-12-031-0/+5
| | | | | (#12503) https://codeberg.org/thefederationinfo/nodeinfo_extension
* enhance(misskey-js) ↵おさむのひと2023-12-031-1/+10
| | | | | | | | | misskey-jsのストリーミングAPI定義をバックエンドに追従 (#12552) * (enhance) misskey-jsのストリーミングAPI定義をバックエンドに追従 * fix ci * fix ci
* fix(backend): /emojiにおける拡張子の削除方法を修正 (#12543)Nanaka Hiira2023-12-031-2/+2
| | | Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* リストタイムラインでミュートが貫通してしまう問題に ↵おさむのひと2023-12-034-1/+17
| | | | | | | | | | | 処 (#12534) * ユーザリストTL系の各種動作を修正・統一 * fix * fix CHANGELOG.md * テスト追加
* fix: withChannelNotesとwithFilesを同時に指定したときの考慮 ↵shiosyakeyakini2023-12-031-0/+3
| | | | | (#12550) Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
* バックエンドが生成するapi.jsonからmisskey-jsの型を作成す ↵おさむのひと2023-12-023-5/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12434) * ひとまず生成できるところまで * ファイル構成整理 * 生成コマンド整理 * misskey-jsへの組み込み * fix generator.ts * wip * fix generator.ts * fix package.json * 生成ロジックの調整 * 型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした * 型チェック用のtsconfig.jsonを作成 * 他のエンドポイントを呼ぶ関数にも適用 * 未使用エンティティなどを削除 * misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する) * messagingは廃止されている(テストのビルドエラー解消) * validなapi.jsonを出力できるように修正 * 修正漏れ対応 * Ajvに怒られて起動できなかったところを修正 * fix ci(途中) * パラメータenumをやめる * add command * add api.json * 都度自動生成をやめる * 一気通貫スクリプト修正 * fix ci * 生成ロジック修正 * フロントの型チェックは結局やらなかったので戻しておく * fix pnpm-lock.yaml * add README.md --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: #12544 (#12545)おさむのひと2023-12-021-0/+1
| | | | | | | | | * meを渡し忘れている * fix CHANGELOG.md * Revert "fix CHANGELOG.md" This reverts commit aaee4e9b8a6abf510f393bc02282f6ac016d2124.
* fix: Filter featured collection (#12541)MeiMei2023-12-021-2/+3
|
* Refine fanout timeline (#12507)anatawa122023-12-026-388/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * chore(endpoints/hybrid-timeline): don't pack inside getFromDb * chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し * chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装 * chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装 * chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装 * chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装 * chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装 * chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list * style: fix lint error * chore: split logic to multiple functions * chore: implement redis fallback * chore: 成功率を上げる * fix: db fallback not working * feat: allowPartial * chore(frontend): set allowPartial * chore(backend): remove fallbackIfEmpty HTL will never be purged so it's no longer required * fix: missing allowPartial in channel timeline * fix: type of timelineConfig in hybrid-timeline --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(backend): カスタム絵文字のインポート時の動作を修正 ↵Camilla Ett2023-12-021-21/+21
| | | | | (#12360) Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* chore: remove unimplemented excludeNsfw (#12520)anatawa122023-12-022-2/+0
|
* fix: invite系の戻り値が間違っている close #12517 (#12518)yupix2023-11-304-15/+4
|
* feat(frontend): ↵かっこかり2023-11-301-0/+23
| | | | | | | | | | | | | | | 今日誕生日のフォロー中のユーザーを一覧表示できるウィジェットを追加 (#12450) * (add) 今日誕生日のフォロイー一覧表示 * Update Changelog * Update Changelog * 実装漏れ * create index * (fix) index