Commit Graph

946 Commits

Author SHA1 Message Date
syuilo 99f3f0917f tweak postgresql entities
Fix #10266
2023-03-10 14:53:56 +09:00
syuilo 5de8930058 refactor: rename schema to json-schema 2023-03-10 14:22:37 +09:00
syuilo c0bad443ff update deps 2023-03-10 14:00:14 +09:00
Kisaragi a81ebc5966
chore(backend): fix typo in warning message (#10284) 2023-03-10 13:21:23 +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
Kagami Sascha Rosylight e0b7633a7a
enhance(backend): restore OpenAPI endpoints (#10281)
* enhance(backend): restore OpenAPI endpoints

* Update CHANGELOG.md

* version

* set max-age

* update redoc

* follow redoc documentation

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 02:37:44 +09:00
tamaina dc49a24f07
Merge pull request #9970 from saschanaz/mkusername-empty
fix(backend/ApPersonService): normalize empty value of `name` into an absent value
2023-03-09 22:36:26 +09:00
tamaina c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002)
* refreshAccounts
Resolve #9322

* アカウント管理画面でリストを更新するように

* Update packages/frontend/src/account.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* ✌️

* クライアント起動時は現在ログインしているアカウントのみリフレッシュする

* clean up

* なんかめっちゃ変えた

* refactor

* refactor

* fix lint

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
RyotaK a4ca127ebd
fix: 登録メール送信時に重複確認を行う (#10231)
* fix: 登録メール送信時に重複確認を行う

* try-catchを使う必要はない

* Remove spaces
2023-03-09 12:57:34 +09:00
mmorita aad70a97db
fix: チャンネルの編集権限をチャンネル所有者とモデレーターに限定する (#10268)
* チャンネルの編集権限をチャンネルオーナーとモデレーターに限定する

* PR 指摘点対応(共有ボタンを全員に表示、$i の nullable 対応、fix a typo)

* everyOne -> share
2023-03-09 07:58:53 +09:00
tamaina 97a43bc30f fix(server): videoThumbnailGeneratorが適用されない問題を修正 2023-03-08 19:57:52 +00:00
syuilo dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +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 6fe13f1a63 lint fix 2023-03-07 20:17:19 +09:00
danominium 4f0bb70118
fix(backend): ブロックホストがない場合はINクエリを生成しない。 (#10258)
空のINクエリはシンタックスエラーとなるため。
2023-03-07 20:09:20 +09:00
syuilo 2b884ba338 enhance(server): tweak notes/featured api 2023-03-07 08:41:10 +09:00
Kagami Sascha Rosylight 5651353c27
Merge branch 'develop' into mkusername-empty 2023-03-06 07:51:17 +01:00
tamaina 87d0f56dc7 fix correctFilename extが.から始まる場合も考慮する 2023-03-06 01:17:13 +00:00
syuilo ae7d17d121 fix of b9a3b2c165 2023-03-05 11:11:36 +09:00
syuilo b9a3b2c165 enhance(server): make identicon same between local and remote
Resolve #10200
2023-03-05 11:09:55 +09:00
syuilo ba2630c615 tweak of 8e5e6f90cb 2023-03-05 10:59:44 +09:00
syuilo 8e5e6f90cb fix(client): PWAでlangがnullになる現象の応急処置
#10202
2023-03-05 10:57:54 +09:00
tamaina c36e7d1a07
enhance(server): メディアプロキシでico,bmpを読めるように (#10186)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* enhance(server): メディアプロキシでico,bmpを読めるように
Fix #10120

* comment

* fix test

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:23:11 +09:00
tamaina 2d551a8598
enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 (#10150)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* comment

* fix test
2023-03-04 16:51:07 +09:00
rinsuki 49f0837729
fix(server): DriveFile related N+1 query when call note packMany (again) (#10190)
* Revert "Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)""

This reverts commit a7c82eeabc.

* packManyByIdsMap: 存在チェックをしてなかったものは null を入れるように

* Note.packMany で reply とか renote がもうあったらそのファイルも引く

* テストを書く

* fix test

* fix test

* fix test

* fix test
2023-03-04 16:48:50 +09:00
syuilo ad7ecbaf37 通知部分は残す
Co-Authored-By: rinsuki <428rinsuki+contact.github@gmail.com>
2023-03-03 20:43:31 +09:00
syuilo a7c82eeabc Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"
This reverts commit 452a48e7f4.
2023-03-03 20:26:44 +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
kabo2468 53987fadd7
fix(server): チャンネルでミュートが正しく機能していないのを修正 (#10166)
* fix(server): チャンネルでミュートが正しく機能していないのを修正

* Update CHANGELOG.md
2023-03-03 10:30:21 +09:00
rinsuki 452a48e7f4
fix(server): DriveFile related N+1 query when call note packMany (#10133)
* fix(server): DriveFile related N+1 query when call note packMany

* Update packages/backend/src/misc/is-not-null.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* ignore lint

* 途中でやめたやつが混入していた

* fix: 順番通りである必要がある場所で順番通りになっていなかった

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-03 10:06:59 +09:00
syuilo d0bbeeee52 🎨 2023-03-01 14:22:53 +09:00
syuilo 9e5278d276 fix of #10145 2023-03-01 12:02:37 +09:00
syuilo 1c5291f818
feat: 時限ロール (#10145)
* feat: 時限ロール

* クライアントから期限を確認できるように

* リファクタとか

* fix test

* fix test

* fix test

* clean up
2023-03-01 10:20:03 +09:00
syuilo 83a67606a9 enhance(server): make antenna handle cw
Resolve #10140
2023-02-28 20:20:23 +09:00
tamaina ffe3386e5b
fix(sw): プッシュ通知でカスタム絵文字リアクションを表示できるように (#10122)
* fix(sw): プッシュ通知でカスタム絵文字リアクションを表示できるように
Fix #10117
/emoji/*.webpにbadgeモードを

* ?

* ✌️

* fix
2023-02-28 19:55:31 +09:00
tamaina 12932d2831
fix: 外部メディアプロキシ使用時にアバタークロップができない問題を修正 (#10142)
* wip

* fix

* Update packages/frontend/src/scripts/media-proxy.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-28 17:14:23 +09:00
syuilo 746770ac3b fix Serialized type 2023-02-28 16:46:25 +09:00
syuilo b60c985203 fix(server): メールアドレス更新時にバリデーションが正しく行われていないのを修正 2023-02-28 15:31:48 +09:00
Kagami Sascha Rosylight 647a018362
fix(backend): return HTTP 404 for any unknown api endpoint paths (#10130)
* fix(backend): return HTTP 400 for any invalid api endpoint paths

* 404
2023-02-27 18:01:43 +09:00
tamaina cf950224de Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-26 11:10:29 +00:00
tamaina 02d7ffd305 fix(server): 単純にrenoteできないのを修正 2023-02-26 11:10:24 +00:00
syuilo 9f8c9dd881
Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-26 20:07:52 +09:00
syuilo d019c1c440
Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-26 20:07:45 +09:00
syuilo a78a839841 refactor 2023-02-26 18:57:24 +09:00
xianon 67ca7ee4ec
ホームタイムラインの読み込みでクエリタイムアウトになるのを修正する (#10106) 2023-02-26 18:54:52 +09:00
syuilo 76f3bdcdf9 update deps 2023-02-26 18:51:45 +09:00
syuilo cc149e2f46 fix(server): エラーのスタックトレースは返さないように
Fix #10064
2023-02-26 17:12:15 +09:00
daima3629 1bdde6bd5c
[Fix] fixed an typo in error message (#10102) 2023-02-26 14:14:57 +09:00
tamaina 18dbcfa0b0
test(server): add validation test of api:notes/create (#10090)
* fix(server): notes/createのバリデーションが効いていない
Fix #10079

Co-Authored-By: mei23 <m@m544.net>

* anyOf内にバリデーションを書いても最初の一つしかチェックされない

* ✌️

* wip

* wip

* ✌️

* RequiredProp

* Revert "RequiredProp"

This reverts commit 74693900119a590263106fa3adefd008d69ce80c.

* add api:notes/create

* fix lint

* text

* ✌️

* improve readability

---------

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 11:28:05 +09:00
Kagami Sascha Rosylight b468330ed9
Merge branch 'develop' into mkusername-empty 2023-02-25 20:04:48 +01:00