summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update depssyuilo2024-01-212-41/+43
|
* return a `Vary: Accept` header for all dual-format endpoints #365 (#13044)かっこかり2024-01-212-0/+8
| | | | | | | | | | `/users/:user`, `/@:user`, `/notes/:note` return different responses depending on the request's `Accept:` header. If we don't consistently return a `Vary: Accept` header, browsers and caching proxies will get confused, and return AP representations when HTML was requested, or vice versa. Co-authored-by: dakkar <dakkar@thenautilus.net> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(reversi): tweak reversisyuilo2024-01-213-66/+102
|
* enhance(reversi): tweak reversisyuilo2024-01-2110-96/+312
|
* enhance(reversi): tweak reversisyuilo2024-01-203-6/+17
|
* enhance(reversi): tweak reversisyuilo2024-01-206-60/+36
|
* lint fixsyuilo2024-01-201-1/+1
|
* feat: reversisyuilo2024-01-1927-7/+1597
| | | | Resolve #12962
* fix: Some fixes for #12850 (#12862)AsukaMari2024-01-191-25/+51
| | | | | - refinement the error message when trueMail validation fails - the settings of trueMail are not displayed after saving - changing how `Active Email Validation` is saved
* enhance(drop-and-fusion): ゲームバランスの調整などsyuilo2024-01-171-2/+2
|
* Fix: properly handle cc followers (#13009)a2024-01-171-1/+1
| | | | | | | | | * Fix: properly handle cc followers Fix #13001 * Update CHANGELOG.md * Fix syntax error
* 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-159-27/+188
| | | | | | | | | | | | | 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: ↵GrapeApple02024-01-141-1/+2
| | | | | | | | | isPrivateIpで検証時にipバージョンが一致するかを確認するように (#12988) * fix: isPrivateIpで検証時にipバージョンが一致するかを確認するように * Update CHANGELOG.md * Update CHANGELOG.md
* fix(backend): 虚無ノートを投稿できる問題の修正と `api.json` ↵zyoshoka2024-01-139-46/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | の 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-1110-1/+269
| | | | Resolve #12961
* enhance(backend): テストの高速化 (#12939)おさむのひと2024-01-0842-257/+376
| | | | | | | | | | | * enhance(backend): テストの高速化 * add ls * 自動的にマージされるようなので不要 * 起動方法を揃える * fix test
* fix(backend): ↵zyoshoka2024-01-082-1/+13
| | | | | | | | | | | `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正 (#12923) * fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正 * Update CHANGELOG.md * refactor: `!== undefined` -> `!= null` * add test
* refactor: make sure promises are settled before app shutdown (#12942)Kagami Sascha Rosylight2024-01-089-30/+59
| | | 👍
* enhance(frontend): バブルゲームの諸々を修正・改良 (#12938)かっこかり2024-01-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance(frontend): バブルゲームのテクスチャをゲーム開始時にキャッシュするように * (fix) カーソルが枠線内を動くように * (add) 最大コンボ数を表示するように * (add) 実績を追加 * Update ja-JP.yml * tweak * tweak flavor * perf tweak * refactor * perf tweak * lint --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(frontend): `widgets/server-metric`内の型エラーを除去 (#12937)zyoshoka2024-01-071-1/+1
|
* feat: export clips (#12931)Kagami Sascha Rosylight2024-01-079-2/+458
| | | | | * 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-067-2/+140
| | | | | | | | | | | | | * 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): 適当につけた変数の名前を変更
* enhance(backend): ActivityPub 周りで連合先から HTTP 429 Too Many ↵riku64602024-01-066-8/+12
| | | | | | | | | | | Requests を受け取った際にジョブをリトライするように (#12917) * enhance(backend): ActivityPub 周りで HTTP 429 Too Many Requests を受け取った際にリトライするように * add to changelog --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(backend): ActivityPub Deliver ↵MeiMei2024-01-064-8/+23
| | | | | | | | | | | | | | | queueでBodyを事前処理するように (#12916) * Pre-processing deliver body * CHANGELOG * ループ内で計算されると意味がないので * 同じ処理を同じ形に --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(misskey-js): ↵おさむのひと2024-01-0316-51/+51
| | | | | | | | | | | | | | | | | /signupと/signinの定義を作成してフロントの型エラーを抑制する (#12846) * fix(misskey-js): /signupと/signinの定義を復活してフロントの型エラーを抑制する * fix ci * fix ci * fix * fix --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
* enhance(frontend): ↵かっこかり2024-01-032-0/+5
| | | | | | | チャンネルノートのピン留めをノートメニューからできるように (#12887) * enhance(frontend): チャンネルノートのピン留めをノートメニューからできるように * Update Changelog
* chore(backend/logger): log data for every level if exists (#12863)Kagami Sascha Rosylight2024-01-021-2/+5
|
* chore: use @misskey-dev/eslint-plugin (#12860)tamaina2023-12-311-0/+1
| | | Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* chore: use summaly, browser-image-resizer, and sharp-read-bmp on ↵tamaina2023-12-314-5/+5
| | | | | | | | | | | | | | | 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-295-1/+143
| | | 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-278-34/+221
| | | | | | | * 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-27138-243/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix(backend): ↵shiosyakeyakini2023-12-261-1/+1
| | | | | | 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 (#12801) (#12802) Co-authored-by: sorairo <sorairo@shiosyakeyakini.info> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(frontend): Reactivityで型を明示するように (#12791)zyoshoka2023-12-264-64/+32
| | | | | | | * refactor(frontend): Reactivityで型を明示するように * fix: プロパティの参照が誤っているのを修正 * fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
* fix: 自分のdirect noteがuser list timelineに追加されない (#12782)anatawa122023-12-251-0/+1
| | | | | * fix: 自分のdirect noteがuser list timelineに追加されない * docs(changelog): Fix: 自分のdirect noteがuser list timelineに追加されない
* fix: lint (#12761)Nya Candy2023-12-241-2/+4
|
* fix(backend): 1702718871541-ffVisibility.jsのdownが壊れている (#12767)おさむのひと2023-12-241-1/+3
|
* enhance(backend): ↵syuilo2023-12-243-26/+32
| | | | センシティブワードの設定がハッシュタグトレンドにも適用されるように
* fix: ブロックされててもpure RNできる (#12758)anatawa122023-12-231-1/+1
| | | なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
* Revert "fix(backend): renote判定がおかしい"syuilo2023-12-231-1/+1
| | | | This reverts commit f43599552fb5764aa3121b083e441d3946c72cd8.
* fix(backend): renote判定がおかしいsyuilo2023-12-231-1/+1
|
* lintsyuilo2023-12-231-2/+1
|
* feat: ↵GrapeApple02023-12-235-2/+47
| | | | | | | | | | | 登録を拒否するメールアドレスのドメインを手動で設定できるように (#12740) * feat: 使い捨てアドレスのドメインを手動で設定できるように * Update CHANGELOG.md * disposableEmailDomains -> bannedEmailDomains * isBlockedHostを使うように
* fix: email verify enable logic (#12743)Nya Candy2023-12-231-3/+3
|
* fix: 引用RNがpure RNとして連合され、pure ↵anatawa122023-12-222-4/+6
| | | | | | | | | | | RNが引用RNとして連合される (#12744) * fix: quote notes are rendered as pure renote * fix: filesが指定されてて空配列のときにQuote扱いされる * chore: isQuoteの仕様をmisc/is-quote.tsと揃える * docs: is-quote.tsの方にNoteCreateService.isQuoteのことを書いて更新忘れを防ぐ