iceshrimp-legacy/packages/backend/src/server/api/endpoints/admin
Johann150 cbb7e95d82
enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
..
accounts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
ad refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
announcements refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
drive refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
emoji refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
federation refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
moderators refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
promo refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
queue refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
relays refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
abuse-user-reports.ts enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
delete-all-files-of-a-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
get-index-stats.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
get-table-stats.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
invite.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
reset-password.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
resolve-abuse-user-report.ts enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
resync-chart.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
send-email.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
server-info.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
show-moderation-logs.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
show-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
show-users.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
silence-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
suspend-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
unsilence-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
unsuspend-user.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
update-meta.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
vacuum.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00