Commit Graph

36 Commits

Author SHA1 Message Date
Johann150 afb6304979
fix: regular expressions in word mutes (#8254)
* fix: handle regex exceptions for word mutes

* add i18n strings

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* stricter input validation in backend

* add migration for hard mutes

* fix

* use correct regex library in migration

* use query builder to avoid SQL injection

Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo 190b47aad2 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
tamaina 55b3ae22ee
enhance: メニュー関連をComposition API化、switchアイテム追加 (#8215)
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* fix

* fix

* Fix

* clean up
2022-01-30 14:11:52 +09:00
syuilo 57ec04d9ec refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo 389350ba77 fix(client): 投稿のNSFW画像を表示したあとにリアクションが更新されると画像が非表示になる問題を修正
Fix #8208
2022-01-28 01:05:31 +09:00
Kainoa Kanter 25cac0089f
Fix pop-out bug (#8170) 2022-01-26 17:11:41 +09:00
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
xianon f14aba65c5
モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
tamaina 7be09a4af9
refactor: Composition APIへ移行 (#8138)
* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* wip

* wip drive.file.vue, drive.vue

* fix prop

* wip(

* components/drive.folder.vue

* maybe ok

* ✌️

* fix variable

* FIX FOLDER VARIABLE

* components/emoji-picker-dialog.vue

* Hate `$emit`

* hate global property

* components/emoji-picker-window.vue

* components/emoji-picker.section.vue

* fix

* fixx

* wip components/emoji-picker.vue

* fix

* defineExpose

* ユニコード絵文字の型をもっといい感じに

* components/featured-photos.vue

* components/follow-button.vue

* forgot-password.vue

* forgot-password.vue

* 🎨

* fix
2022-01-18 23:06:16 +09:00
syuilo 7588397fb8 wip: refactor(client): migrate components to composition api
Fix #8155
2022-01-18 21:30:17 +09:00
syuilo 9885c6ba6c wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo 3e9677904d wip: refactor(client): migrate components to composition api 2022-01-16 15:02:15 +09:00
syuilo 8322c90834 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo c17e8fa8a4 wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo 28193f12ca wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
syuilo b267a504ca bye reversi 2022-01-12 17:34:53 +09:00
syuilo 586c11251a wip: migrate paging components to composition api
#7681
2022-01-09 21:35:35 +09:00
syuilo 0bbde336b3
refactor: Widgetのcomposition api移行 (#8125)
* wip

* wip

* wip

* wip

* wip

* wip

* fix
2022-01-08 20:30:01 +09:00
syuilo faef125b74 bye room 2022-01-07 17:06:47 +09:00
tamaina e159f15600
enhance: pizzaxでstreamingのuser storage updateイベントを監視して更新 (#8095)
* wip

* wip?

* ?

* streamingのuser storage updateイベントを監視して更新

* 必要な時以外はストレージを更新しない

* fix?

* wip

* fix

* fix
2021-12-29 22:13:09 +09:00
syuilo 601bc3e3cc clean up 2021-12-25 13:38:53 +09:00
syuilo b463663175 enhance(client): tweak ui 2021-12-24 12:34:24 +09:00
syuilo 3a990dce75 refactor(client): refactor 2021-12-23 17:05:26 +09:00
syuilo 46c0280764 refactor(client): 2021-12-10 01:22:22 +09:00
syuilo e804a299e0 fix(client): better hover detection 2021-12-05 20:01:52 +09:00
syuilo bed982e705 add note 2021-12-05 13:13:46 +09:00
syuilo fbe4869d1e fix(client): タッチ機能付きディスプレイを使っていてマウス操作をしている場合に一部機能が動作しない問題を修正 2021-12-05 13:10:19 +09:00
nullobsi f33ded3107
feat: Undo Accept (#7980)
* allow breaking of follow

* send undo

* delete by using reject follow
2021-12-03 11:14:44 +09:00
syuilo f38b6a1806 client: tweak ui 2021-12-02 20:09:12 +09:00
syuilo 698e0d08a1 fix(client): モバイルでタップしたときにツールチップが表示される問題を修正 2021-11-27 18:29:23 +09:00
Richard "EpicKitty" Bowey dec7c4f722
Implemented a rotate MFM (#8016)
Co-authored-by: Richard Bowey <me@epickitty.uk>
2021-11-26 13:39:57 +09:00
syuilo 318759cfa4 fix 2021-11-18 23:36:04 +09:00
syuilo 73b5c12927 introduce lint for client
Resolve #7998
2021-11-18 23:32:43 +09:00
syuilo ea9aeef9d8 refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
syuilo 4b7b51d5cc refactor(client): use composition api for tooltip logic 2021-11-12 23:53:10 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00