Commit graph

21 commits

Author SHA1 Message Date
naskya 813fb25d72
files may be undefined 2023-05-21 05:34:39 +09:00
naskya 80d4f06962
format 2023-05-18 20:50:24 +09:00
naskya 079d757009
Check alt text on mutes 2023-05-18 20:38:33 +09:00
naskya 86dc71b201
oops 2023-05-05 12:49:34 +09:00
naskya 95f04a1c3c
Fix regex hard mutes 2023-05-05 12:36:17 +09:00
naskya edf47d390b
Fix channel bug 2023-05-05 07:47:03 +09:00
naskya 3b3da42763
clean up 2023-05-05 06:16:23 +09:00
naskya 7113735212
Use original (Misskey's) implementation for hard mutes as muted reason isn't needed 2023-05-05 05:48:31 +09:00
naskya ffea68ad8d
I was confused 2023-05-05 05:26:59 +09:00
naskya e46cac02e3
Fix missing return, typo 2023-05-05 05:22:32 +09:00
naskya fc3296d64f
Fix missing arguments 2023-05-05 05:17:16 +09:00
naskya ebfd07628e
format 2023-05-04 14:41:18 +09:00
naskya d9553e73af
Differentiate soft mutes and hard mutes 2023-05-04 14:20:06 +09:00
naskya 075e5a1c7a
Refactor hard word mutes 2023-05-04 13:17:37 +09:00
amy bones 15b1109947
feat: give reason for soft mutes
Bad UX when a post is muted and it just says "Some chick said something". Now
provide some context too to help people decide if they want to view something
potentially triggering.
2023-04-05 21:28:26 -07:00
ThatOneCalculator 6b00abf05c
refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Johann150 a5241379af
fix lints 2022-06-24 12:44:22 +02:00
Johann150 ecdaeea94f
enhance: word mute checks CW (#8873) 2022-06-23 20:26:47 +09:00
syuilo d071d18dd7
refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00
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 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/misc/check-word-mute.ts (Browse further)