Commit graph

514 commits

Author SHA1 Message Date
syuilo 3cb0cc7989 feat: チャンネルをお気に入りに登録できるように
Resolve #10097
2023-03-31 11:30:27 +09:00
syuilo e03d5a86a4 lint fix 2023-03-30 12:16:03 +09:00
syuilo 31f3f5f0f0 enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加 2023-03-24 19:08:08 +09:00
syuilo 09a846a45c enhance(backend): use ❤️ for reaction fallback 2023-03-24 18:55:31 +09:00
syuilo 46f99755db refactor 2023-03-24 18:29:39 +09:00
syuilo e438091113 refactor(backend): rename cache class 2023-03-24 16:43:42 +09:00
syuilo ab26a8016d fix(server): 空のアンテナが作成できるのを修正 2023-03-24 16:01:35 +09:00
syuilo f01e6ef6bf enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加 2023-03-24 15:43:36 +09:00
syuilo 050787238b fix(backend): 絵文字を編集すると保存できないことがある問題を修正
Fix #10384
2023-03-22 18:45:55 +09:00
CyberRex 7331de0bce
feat: queue force promote (#10370)
* feat: queue force promote

* Update CHANGELOG.md

* small fix
2023-03-22 08:58:23 +09:00
syuilo 54630edb0f enhance: 使われてないアンテナは自動停止されるように
Resolve #9373
2023-03-20 20:12:38 +09:00
choco eb5781465b
fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す (#10344)
* fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す

* test(users/show): ステータスコードの期待値を修正
2023-03-20 14:26:11 +09:00
nenohi e152047912
絵文字の名前に@や:が使用できる (#9964)
* fix(#9918)名前の一致でもエラーとするように

* 判定を逆に

* )の位置間違えてる

* カテゴリ分けとかしたときにエラーになる

* エラー消し

* こういうこと・・・?
2023-03-20 14:24:18 +09:00
CyberRex 1d6f43aa30
feat: drive cleaner (#10366)
* feat: drive-cleaner

* Update CHANGELOG.md
2023-03-20 12:58:06 +09:00
syuilo 4d73080da1 perf(backend): improve performance of timeline apis 2023-03-19 16:52:38 +09:00
syuilo ed51209172 絵文字のライセンスを表示できるように 2023-03-17 20:24:47 +09:00
syuilo b644567735 feat: clip favorite
Resolve #10337
2023-03-16 17:24:49 +09:00
syuilo 8ae9d2eaa8 enhance: カスタム絵文字にライセンス情報を付与できるように
Resolve #10091
2023-03-16 15:08:48 +09:00
syuilo 89e2c302dd refactor(backend): integrate CreateNotificationService to NotificationService 2023-03-16 14:24:11 +09:00
syuilo 63068fc0c2 fix(server): prevent creation of empty antennas 2023-03-15 18:09:00 +09:00
CyberRex c05c504c86
Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) (#10317)
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように

* Update CHANGELOG.md

* Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加

* Fix lint

* Mapを使用するように

* Fix typo
2023-03-14 19:11:31 +09:00
YS 3cb669a852
fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320)
* disabledCache: trueのときにqueryResultCacheへアクセスしないように

* append changelog
2023-03-14 09:37:14 +09:00
syuilo 5d1ccb9bdc enhance: make configurable to whether notes search available by role
Resolve #10318
2023-03-13 17:52:24 +09:00
syuilo 7f16b50e73 feat: sensitive word 2023-03-13 17:37:22 +09:00
syuilo 7c2d8d73ce enhance: ロールの並び順を設定可能に 2023-03-12 16:38:08 +09:00
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
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 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
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 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
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 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 02d7ffd305 fix(server): 単純にrenoteできないのを修正 2023-02-26 11:10:24 +00:00
syuilo a78a839841 refactor 2023-02-26 18:57:24 +09:00
xianon 67ca7ee4ec
ホームタイムラインの読み込みでクエリタイムアウトになるのを修正する (#10106) 2023-02-26 18:54:52 +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
syuilo ea04778649 feat: in-channel featured note
Resolve #9938
2023-02-25 18:26:35 +09:00
tamaina e4336f5b76
fix(server): notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする (#9911)
* fix(server): notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする

* NO_SUCH_FILE
2023-02-24 16:32:01 +09:00
tamaina becc4d2e54
fix: i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042)
* wip

* fix

* create migration

* oops

* fix front const

* changelog

* fix type

* fix

* wip

* Revert "wip"

This reverts commit 6cdb3600e280be3550b8b6353b2c7930f7b31438.

* enumのこす

* fix

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-23 20:46:14 +09:00
syuilo 84e2ee220b fix(server): tweak admin/show-user api
Fix #9883
2023-02-22 17:17:36 +09:00
syuilo 5ec07ede7c fix types 2023-02-22 14:58:41 +09:00
syuilo 72d4ad4c45 fix type 2023-02-22 14:53:36 +09:00
dojineko a6fb6150a3
chore: add tiny definition for redis-lock (#9971)
* add tiny definition for redis-lock

* Update packages/backend/src/@types/redis-lock.d.ts

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

* fix type name

* add @typescript-eslint/naming-convention

* define taskToPerform type

* chore: use default settings for `@typescript-eslint/naming-convention`

* set `format:none` to typeParameter (default)

* ignore lines to be treated as exceptions

* chore: fix naming

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-22 14:51:34 +09:00
tamaina b9ee14fe5b
fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正 (#9943)
* fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正
Fix #9627

* update CHANGELOG.md

* clean up

* search-by-username-and-host大改造
2023-02-22 14:47:51 +09:00
syuilo 870f7608be enhance: exploreで公開ロール一覧とそのメンバーを閲覧できるように 2023-02-22 14:43:18 +09:00
syuilo b161f38710 fix(server): improve security of admin/drive/show-file 2023-02-21 14:47:11 +09:00
tamaina 980bf1306e
🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985)
* wip

* fix

* wip

* wip

* ✌️

* rename key

* 🎨

* update CHANGELOG.md

* パスワードレスログインの判断はサーバーで

* 日本語

* 日本語

* 日本語

* 日本語

* ✌️

* fix

* refactor

* トークン→確認コード

* fix password-less / qr click

* use otpauth

* 日本語

* autocomplete

* パスワードレス設定は外に出す

* 🎨

* 🎨

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-20 16:40:24 +09:00
noonworks ea92254b73
refactor: 型エラー修正 / Fix type errors backend (#9983)
* refactor: fix type errors in backend

* revert some changes

* なるべくJS挙動を変えない方法に修正

* Update packages/backend/src/server/api/ApiCallService.ts

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

* コンフリクトするファイルを削除

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-20 08:13:37 +09:00
syuilo 7ce0f79f7f chore(server): tweak notes/featured api 2023-02-19 17:50:14 +09:00
syuilo 0f546b47d1 refactor: fix types 2023-02-17 15:39:10 +09:00
syuilo 60df819c60 refactor: fix types 2023-02-17 15:36:36 +09:00
syuilo 0e1b5d6f14 refactor: fix types 2023-02-17 15:15:36 +09:00
tamaina e8c5307f66
perf(client): ウェルカムページを最適化 (#9960)
* perf(client): ウェルカムページの最適化

* remove max
2023-02-17 12:38:30 +09:00
Kagami Sascha Rosylight 8f9ce23e52
style(backend): fix all eslint errors (#9967) 2023-02-17 10:56:59 +09:00
Kagami Sascha Rosylight 63df2c851e
refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo e24b0ceb80 startAt -> startsAt 2023-02-15 14:31:59 +09:00
nenohi 71c42bef9b
広告開始時期の設定 (#9944)
* 広告開始時期の設定

* 過去のものも表示するように
2023-02-15 14:29:40 +09:00
syuilo 8caf288ac1
drop group (#9942)
* drop group

* Update operations.ts
2023-02-15 13:37:18 +09:00
syuilo 8f2049bcd2
drop messaging (#9919)
* drop messaging (from backend)

* wip
2023-02-15 13:06:06 +09:00
Neko7sora 7436a58ea1
改行コードをLFに統一 (#9926)
* chore: update gitattribute editorconfig

* Normalize all the line endings
2023-02-14 13:13:34 +09:00
syuilo 1b21bad202 refactor 2023-02-13 15:50:22 +09:00
syuilo f34f9f6ea5 refactor: fix types 2023-02-13 15:28:07 +09:00
syuilo 451bc0b444 refactor: fix types 2023-02-12 18:47:30 +09:00
syuilo b55d26387b improve error handling 2023-02-12 10:36:43 +09:00
syuilo 9ddf62d8b7 enhance: レートリミットを0%にできるように 2023-02-12 10:26:27 +09:00
syuilo 0b269e79fd i/notificationsのレートリミットを緩和 2023-02-09 18:11:11 +09:00
tamaina 6e61a36d05 i/notificationsのレートリミットを緩和
SubwayTooterのバグ対策でレートリミットを設定していたが、通常の使い方でも引っかかることもあるため緩和
2023-02-09 08:32:42 +00:00
syuilo 76faec2115 refactor: fix types 2023-02-09 11:46:08 +09:00
syuilo 33c4e57994 refactor: fix types 2023-02-09 11:42:55 +09:00
syuilo bc23496998 refactor: fix types 2023-02-09 11:31:40 +09:00
syuilo 5facd11592 refactor: fix types 2023-02-09 11:02:37 +09:00
syuilo e1e885d6b2 refactor: fix types 2023-02-09 10:55:15 +09:00
syuilo 71dd7f89e9 clean up 2023-02-09 10:47:03 +09:00
syuilo 21331e53fe refactor: fix types 2023-02-09 10:46:01 +09:00
syuilo 1139632f95 fix(server): 自分のノートをお気に入りに登録しても実績解除される問題を修正 2023-02-05 14:30:07 +09:00
syuilo 6a3039f7b7 feat: ロールにアイコンを設定してユーザー名の横に表示できるように
Resolve #9761
2023-02-05 10:37:03 +09:00
syuilo ee74df6823 fix(server): improve security 2023-02-04 18:21:07 +09:00
tamaina 2dfed75402
perf(server): improvement of external mediaProxy (#9787)
* perf(server): improvement of external mediaProxy

* add a comment

* ✌️

* /filesでsharpの処理を行わずリダイレクトする

* fix

* thumbnail => static

* Fix #9788

* add avatar mode

* add url

* fix

* static.webp

* remove encodeURIComponent from media proxy path

* remove existance check
2023-02-04 13:38:51 +09:00
syuilo 0c12e80106 perf(server): cache blocking 2023-02-04 12:40:40 +09:00
syuilo 562b02310f drop twitter/github/discord integrations
Close #9775
2023-02-03 15:01:31 +09:00
syuilo c559a9843f drop hashtag chart 2023-02-03 14:10:14 +09:00
syuilo d9d98f84bf refactor: fix type 2023-02-01 20:12:42 +09:00
tamaina 7c3143b8e5
enhance(backend): enhance SchemaType handling of anyOf (#9762)
* enhance(backend): enhance anyOf handling

* clean up
2023-02-01 20:04:01 +09:00
syuilo 387fcd5c5d refactor: fix type 2023-02-01 17:29:28 +09:00
hayabusa b21064ffa4
リアクション履歴が公開なら、ログインしていなくても表示できるように (#9728) 2023-01-26 16:10:32 +09:00
tamaina 605b0f27e4 Merge branch 'develop' into emoji-re 2023-01-25 14:22:26 +00:00
syuilo d4fb201d05 fix(server): node-fetchおよびgotを使う以前の実装に戻す
see #9710
2023-01-25 12:00:04 +09:00
syuilo 2a2e8d0cf6 refactor(server): fix type errors 2023-01-25 11:23:57 +09:00
tamaina 0cffe60abc 1時間に 2023-01-22 17:14:05 +00:00
tamaina d347f0a087 wip 2023-01-22 16:07:17 +00:00
tamaina 0b2f945bb6 wip 2023-01-22 15:13:03 +00:00
tamaina 2f6c45e118 wip 2023-01-22 14:53:24 +00:00
tamaina a8b19f4aa8 Merge branch 'develop' into emoji-re 2023-01-22 12:07:38 +00:00
syuilo 26ae2dfc0f add achievement 2023-01-22 08:00:42 +09:00
syuilo 3e112da486 ローカルのカスタム絵文字については直接オリジナルURLにリクエストするように 2023-01-21 20:40:09 +09:00
syuilo 8631740ca4 fix(server): twitterと連携するときに autwh is not a function になるのを修正
Fix #9658
2023-01-21 17:01:02 +09:00
syuilo 65cd605b73
Achievements (#9665)
* wip

* Update ja-JP.yml

* wip

* wip

* Update MkAchievements.vue

* wip

* 🎨

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2023-01-21 13:14:55 +09:00
tamaina 21e4c3dfe9 wip 2023-01-16 09:39:58 +00:00
syuilo 30fced38c4 refactor: rename instance.caughtAt to instance.firstRetrievedAt 2023-01-16 05:02:38 +09:00
syuilo 81f11d8f86 refactor: rename role.options -> role.policies 2023-01-15 20:52:53 +09:00
syuilo 7fc8d2e6d5 ロールでレートリミットを調整できるように
Resolve #9584
2023-01-15 16:52:12 +09:00
syuilo 2047449294 enhance(server): add rate limits for some endpoints 2023-01-14 20:21:03 +09:00
syuilo 6cb9612943 fix import 2023-01-14 17:40:51 +09:00
syuilo 76c049522e enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に 2023-01-14 17:38:16 +09:00
syuilo c2009acb2d enhance: クリップおよびクリップ内のノートの作成可能数を設定可能に 2023-01-14 16:14:24 +09:00
syuilo 46d2a8726e fix missing import 2023-01-14 16:04:13 +09:00
syuilo 7df3ca7388 enhance(server): add rate limits for some endpoints 2023-01-14 15:59:15 +09:00
syuilo d52f0617a1 fix(server): ドライブ容量超過時のエラーが適切にレスポンスされない問題を修正
Fix #9550
2023-01-14 13:41:53 +09:00
syuilo c730973294 多分 fix #9551 2023-01-14 13:36:18 +09:00
syuilo bcb5182e86 Webhookの作成可能数を設定可能に 2023-01-14 10:48:11 +09:00
syuilo f45059b7b1 fix 2023-01-14 10:46:40 +09:00
syuilo 4151087d3c フォロワー数、フォロー数もConditional roleで利用できるように 2023-01-14 08:27:23 +09:00
syuilo 39c058a4bb Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-14 08:04:41 +09:00
syuilo d1807ee5dc enhance: ハードワードミュートの最大文字数を設定可能に
Resolve #7574
2023-01-14 08:04:38 +09:00
こけっち 98469117bf
fix: follow request list api pagination (#9548)
* fix: follow request list api pagination

* fix: improve alias

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

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-14 06:18:58 +09:00
tamaina 303519a1bd
enhance: Judge instance block by endsWith (#9263)
* TypeScriptでendsWith

* fix

* SQL?

* バ〜カアホ

* Update packages/backend/src/core/UtilityService.ts

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

* add comment

* add description

* Update packages/backend/src/core/UtilityService.ts

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

* Update packages/backend/src/core/chart/charts/federation.ts

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

* remove comment

* fix

* fix?

* add changelog

* ILIKE, ARRAY

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-13 18:21:07 +09:00
syuilo 161da24841 fix(server): signup-complete Broken
Fix #9538
2023-01-13 17:59:40 +09:00
syuilo 6e40024660 typo 2023-01-13 17:49:05 +09:00
syuilo 2654936c17 fix 2023-01-13 17:42:12 +09:00
syuilo bc0b8afb1f fix ads/update api 2023-01-13 15:15:31 +09:00
syuilo b250456814 カスタム絵文字の管理を権限を持つユーザーが行えるように
Resolve #9542
2023-01-13 14:58:27 +09:00
syuilo 0a6e237d09 refactor 2023-01-13 14:46:56 +09:00
syuilo 7b7faf1e84 招待コード発行を権限を持つユーザーが行えるように
Resolve #9541
2023-01-13 14:22:53 +09:00
syuilo 6458239a7c remoteDriveCapacityMbをロールに統合 2023-01-13 11:14:07 +09:00
syuilo c5c40a73b7 feat: conditional role
Resolve #9539
2023-01-13 11:03:54 +09:00
tamaina 978a9bbb3b
perf(backend): Use undici instead of node-fetch and got (#9459)
* Implement? HttpFetchService

* ✌️

* remove node-fetch

* fix

* refactor

* fix

* gateway timeout

* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)

* fix

* add logger and fix url preview

* fix ip check

* enhance logger and error handling

* fix

* fix

* clean up

* Use custom fetcher for ApRequest / ApResolver

* bypassProxyはproxyBypassHostsに判断を委譲するように

* set maxRedirections (default 3, ApRequest/ApResolver: 0)

* fix comment

* handle error s3 upload

* add debug message

* no return await

* Revert "no return await"

This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.

* reduce maxSockets

* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger

* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"

This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.

* add logger

* fix

* change logger name

* safe

* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo 2470afaa2e
Role (#9437)
* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* Update create.ts

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* Update delete.ts

* Update delete.ts

* wip

* wip

* wip

* Update account-info.vue

* wip

* wip

* Update settings.vue

* Update user-info.vue

* wip

* Update show-file.ts

* Update show-user.ts

* wip

* wip

* Update delete.ts

* wip

* wip

* Update overview.moderators.vue

* Create 1673500412259-Role.js

* wip

* wip

* Update roles.vue

* 色

* Update roles.vue

* integrate silence

* wip

* wip
2023-01-12 21:02:26 +09:00
syuilo 33b22a323c perf(server): improve stats api performance 2023-01-10 20:06:25 +09:00
syuilo 3bc0cdbfb7 typo 2023-01-09 17:22:21 +09:00
syuilo 462acc9eee カスタム絵文字一覧情報をmetaから分離 2023-01-09 15:50:25 +09:00
syuilo 91ced90fb2 fix imports 2023-01-09 08:58:16 +09:00
MeiMei 10e526ba56
fix: Escape SQL LIKE (#9493)
* SQL LIKE escape

* CHANGELOG
2023-01-08 20:32:17 +09:00
syuilo 2e2ed1385f delete pollVote notification 2023-01-08 10:54:45 +09:00
CyberRex bcc3380cfc
fix(backend): Set correct access control of admin/drive/files (#9472) 2023-01-06 08:05:02 +09:00
syuilo 6f9aa94e3a fix instance sort 2023-01-05 16:38:12 +09:00
syuilo ebe340d510
MisskeyPlay (#9467)
* wip

* wip

* wip

* wip

* wip

* Update ui.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* 🎨

* wip

* ✌️
2023-01-05 13:59:48 +09:00
syuilo d306db4ff8 fix(server): pages/likeのエラーIDが重複しているのを修正 2023-01-04 17:41:39 +09:00
syuilo 1ed078d7f9 fix(server): fix pages/update 2023-01-04 17:41:09 +09:00
syuilo 4cc71d2443 ✌️ 2023-01-03 09:32:36 +09:00
syuilo c8bd139713 drop lastCommunicatedAt of instance 2023-01-03 09:00:42 +09:00
syuilo 771348e887 PV集計はローカルユーザーのみに 2023-01-03 08:29:25 +09:00
syuilo 969e9df889 feat: add per user pv chart 2023-01-01 17:45:49 +09:00
syuilo 4c4af2ae84 clean up 2023-01-01 17:38:02 +09:00
syuilo e414737179 feat: make possible to export favorited notes
#9331
2023-01-01 16:53:10 +09:00
syuilo ee6e022b2a enhance(server): productionじゃない限りレートリミットを無効に 2023-01-01 11:58:16 +09:00
syuilo 6f51e7300e ✌️ 2023-01-01 09:35:14 +09:00
syuilo b2d6561bc6 enhance(server): clean emoji response 2022-12-31 08:43:13 +09:00
syuilo 912791b3ab
refactor: 絵文字URLを引き回すのをやめる (#9423) 2022-12-29 10:14:44 +09:00
syuilo af9e742e71 fix(server): bodyLimit for each endpoints 2022-12-28 09:07:41 +09:00
syuilo dd4c411d22 ダッシュボードにモデレーター一覧を表示 2022-12-26 09:22:10 +09:00
syuilo c801434d11 fix(server): アンテナの作成数上限を追加 2022-12-26 08:50:17 +09:00
syuilo f44a7e2536 refactor 2022-12-25 14:22:23 +09:00
syuilo 3e81913b6a feat: introduce retention-rate aggregation 2022-12-25 09:09:46 +09:00
syuilo b11f8b0aae chore: fix reporisotry name 2022-12-25 08:30:13 +09:00
syuilo b648c4bc4d chore: fix reporisotry name 2022-12-25 08:27:06 +09:00
syuilo 4ede367c1e GET非対応APIにGETでリクエストすると接続が開きっぱなしになる
Fix #9404
2022-12-24 13:55:50 +09:00
Kagami Sascha Rosylight c3cb218975
fix(backend): request.body may be undefined (#9356) 2022-12-19 15:57:36 +09:00
Effy Elden 5e448deb03
Fix peers API returning suspended instances (#9348)
* Fix peers API returning suspended instances

* Fix missing comma
2022-12-19 09:00:13 +09:00
tamaina 4ecc42744c
enhance: Implement the toggle to (or not to) close push notifications when notifications or messages are read (#9219)
* create file

* wip

* fix

* wip

* tabun dekita

* ✌️

* implement subscribe push notification button to tutorial

* check-exists→show-registration

* add column sendReadMessage

* fix migration file

* sw api

* change PushNotificationService

* wip

* ✌️

* fix tutorial footer flex
2022-12-18 01:59:59 +09:00
syuilo 96dda253b0 fix(server): GitHubログインしようとするとreply.setCookie is not a function
fix #9327
2022-12-17 11:02:49 +09:00
Kagami Sascha Rosylight 4b98920f02
Fix import related TypeScript errors (#9321)
* Add missing @types packages

* Fix TS1272 type only imports

* Fix TS2821 import assertion
2022-12-14 00:01:45 +09:00
syuilo b4b742ca89 fix #9299 2022-12-10 15:25:39 +09:00
syuilo 9d14476a6a fix(server): cookieが取得されないのを修正 2022-12-06 14:17:53 +09:00
syuilo 3b7c943440 fix(server): cookieが設定されないのを修正 2022-12-06 14:14:41 +09:00
syuilo 9cda400c80 fix(server): GitHub連携ができない問題を修正 2022-12-06 12:41:11 +09:00
syuilo bbb49457f9 refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
syuilo 22ccb0fa71 refactor 2022-12-04 10:16:03 +09:00
syuilo 3a7182bfb5
Fastify (#9106)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* Update SignupApiService.ts

* wip

* wip

* Update ClientServerService.ts

* wip

* wip

* wip

* Update WellKnownServerService.ts

* wip

* wip

* update des

* wip

* Update ApiServerService.ts

* wip

* update deps

* Update WellKnownServerService.ts

* wip

* update deps

* Update ApiCallService.ts

* Update ApiCallService.ts

* Update ApiServerService.ts
2022-12-03 19:42:05 +09:00
tamaina 5decad9cf1 fix: add missing , 2022-12-02 14:12:09 +00:00
squidicuz 2492f4e81e
fix for pinned users. update changelog (#9159) 2022-11-11 11:22:31 +09:00
CyberRex 1309367884
Add Cloudflare Turnstile CAPTCHA support (#9111)
* Add Cloudflare Turnstile CAPTCHA support

* Update packages/client/src/components/MkCaptcha.vue

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

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-10-13 09:19:57 +09:00
syuilo 7670f364e3 type 2022-09-24 17:13:09 +09:00
syuilo 3c4b7d3bd0 fix type 2022-09-24 17:02:19 +09:00
syuilo 89ef21e3b0 fix type 2022-09-24 16:53:53 +09:00
syuilo 349f37bf57 fix 2022-09-24 10:43:23 +09:00
syuilo 0f7cbb5922 fix type 2022-09-24 10:39:17 +09:00
syuilo f4b981cefe fix type 2022-09-24 10:25:32 +09:00
syuilo 2c45c5b13e fix 2022-09-24 09:03:04 +09:00
syuilo 6eace8894a fixes 2022-09-24 08:41:27 +09:00
syuilo 614b11951b refactor 2022-09-24 07:15:16 +09:00
syuilo 786f1d8be8 remove unused files 2022-09-24 07:13:01 +09:00
syuilo c8f6bc0dab fixes 2022-09-24 07:12:11 +09:00
syuilo 417f52359d fixes 2022-09-24 06:45:44 +09:00
syuilo 174a8b1b3e fixes 2022-09-23 06:21:31 +09:00
こけっち bcbda6940a
feat: Youtube window player (#9095)
* wip: feat: Youtube Player Window

* fix: player fill window

* fix: improve design

* fix: disable at mobile and creanup code

* fix: tailing comma

* fix: delete debug output

* fix: eslint

* fix: switch to component

* fix(backend): add missing dependency

Fix #9101

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-09-22 08:20:31 +09:00
Takuya Yoshida 2e0075e79c
Fix ioredis import typo (#9099)
* Fix import typo

* Fix type
2022-09-21 10:12:18 +09:00