mizzkey/packages/backend/src
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
..
boot refactoring 2021-11-12 02:02:25 +09:00
config refactoring 2021-11-12 02:02:25 +09:00
daemons fix lint 2021-12-09 23:58:30 +09:00
db bye reversi 2022-01-12 17:34:53 +09:00
mfm fix html blockquote conversion (#8069) 2021-12-29 04:15:28 +09:00
misc refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
models enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
prelude refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
queue feat(server): add more metadata for emoji export 2022-01-21 02:56:08 +09:00
remote enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
server enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
services refactor(server): use named export 2022-01-20 02:43:13 +09:00
tools fix lint 2021-12-09 23:58:30 +09:00
const.ts Revert "revert d53795184" 2022-01-01 22:25:30 +09:00
env.ts refactoring 2021-11-12 02:02:25 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
index.ts refactoring 2021-11-12 02:02:25 +09:00
types.ts refactoring 2021-11-12 02:02:25 +09:00