lost-fe/packages/backend
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
..
.vscode improve ide support 2021-11-18 23:52:41 +09:00
@types update ms to 3.0.0 2021-11-12 19:47:04 +09:00
assets refactoring 2021-11-12 02:02:25 +09:00
migration enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
src enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
test enhance(backend): improve chart engine 2021-12-14 18:12:37 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.js introduce lint for client 2021-11-18 23:32:43 +09:00
.mocharc.json refactoring 2021-11-12 02:02:25 +09:00
.npmrc refactoring 2021-11-12 02:02:25 +09:00
.yarnrc use eslint 2021-11-12 10:35:41 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactoring 2021-11-12 02:02:25 +09:00
package.json feat: emojis import 2022-01-13 00:47:40 +09:00
tsconfig.json refactoring 2021-11-12 02:02:25 +09:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00
yarn.lock feat: emojis import 2022-01-13 00:47:40 +09:00