paricafe/packages/client/src/scripts
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
..
aiscript refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
hpml refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
2fa.ts refactoring 2021-11-12 02:02:25 +09:00
array.ts refactoring 2021-11-12 02:02:25 +09:00
autocomplete.ts wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
check-word-mute.ts wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
collect-page-vars.ts refactoring 2021-11-12 02:02:25 +09:00
contains.ts refactoring 2021-11-12 02:02:25 +09:00
copy-to-clipboard.ts refactoring 2021-11-12 02:02:25 +09:00
emojilist.ts refactor: Composition APIへ移行 (#8138) 2022-01-18 23:06:16 +09:00
extract-avg-color-from-blurhash.ts refactoring 2021-11-12 02:02:25 +09:00
extract-mentions.ts refactoring 2021-11-12 02:02:25 +09:00
extract-url-from-mfm.ts refactoring 2021-11-12 02:02:25 +09:00
focus.ts refactoring 2021-11-12 02:02:25 +09:00
form.ts refactor: Widgetのcomposition api移行 (#8125) 2022-01-08 20:30:01 +09:00
format-time-string.ts refactoring 2021-11-12 02:02:25 +09:00
gen-search-query.ts refactoring 2021-11-12 02:02:25 +09:00
get-account-from-id.ts refactoring 2021-11-12 02:02:25 +09:00
get-md5.ts refactoring 2021-11-12 02:02:25 +09:00
get-note-menu.ts enhance: Forward report (#8001) 2022-01-21 03:06:38 +09:00
get-note-summary.ts refactoring 2021-11-12 02:02:25 +09:00
get-static-image-url.ts refactoring 2021-11-12 02:02:25 +09:00
get-user-menu.ts wip: refactor(client): migrate components to composition api 2022-01-18 21:30:17 +09:00
hotkey.ts refactoring 2021-11-12 02:02:25 +09:00
i18n.ts refactoring 2021-11-12 02:02:25 +09:00
idb-proxy.ts refactoring 2021-11-12 02:02:25 +09:00
initialize-sw.ts refactoring 2021-11-12 02:02:25 +09:00
is-device-darkmode.ts refactoring 2021-11-12 02:02:25 +09:00
is-mobile.ts refactoring 2021-11-12 02:02:25 +09:00
keycode.ts refactoring 2021-11-12 02:02:25 +09:00
login-id.ts refactoring 2021-11-12 02:02:25 +09:00
lookup-user.ts refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
mfm-tags.ts Implemented a rotate MFM (#8016) 2021-11-26 13:39:57 +09:00
physics.ts refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
please-login.ts fix 2021-11-18 23:36:04 +09:00
popout.ts refactoring 2021-11-12 02:02:25 +09:00
reaction-picker.ts introduce lint for client 2021-11-18 23:32:43 +09:00
scroll.ts refactoring 2021-11-12 02:02:25 +09:00
search.ts refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
select-file.ts enhance: pizzaxでstreamingのuser storage updateイベントを監視して更新 (#8095) 2021-12-29 22:13:09 +09:00
show-suspended-dialog.ts refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
sound.ts refactoring 2021-11-12 02:02:25 +09:00
sticky-sidebar.ts refactoring 2021-11-12 02:02:25 +09:00
theme-editor.ts refactoring 2021-11-12 02:02:25 +09:00
theme.ts refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
time.ts refactoring 2021-11-12 02:02:25 +09:00
touch.ts モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
twemoji-base.ts refactoring 2021-11-12 02:02:25 +09:00
unison-reload.ts refactoring 2021-11-12 02:02:25 +09:00
url.ts refactoring 2021-11-12 02:02:25 +09:00
use-leave-guard.ts wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
use-note-capture.ts wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
use-tooltip.ts enhance(client): tweak ui 2021-12-24 12:34:24 +09:00