iceshrimp-legacy/packages/backend/src/server
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
..
activitypub fix lint 2021-12-09 23:58:30 +09:00
api enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
file send-drive-file svg as png (#8107) 2022-01-20 03:05:52 +09:00
proxy fix: proxyでsvgをpngに変換するように (#8106) 2022-01-20 03:03:28 +09:00
web bye reversi 2022-01-12 17:34:53 +09:00
activitypub.ts fix lint 2021-12-09 23:58:30 +09:00
index.ts refactor: more common name 2022-01-16 10:45:48 +09:00
nodeinfo.ts fix lint 2021-12-09 23:58:30 +09:00
well-known.ts fix lint 2021-12-09 23:58:30 +09:00