Commit graph

758 commits

Author SHA1 Message Date
Aevann1
744c4ab97f fds 2021-10-20 16:56:56 +02:00
Aevann1
8818fde5a7 fds 2021-10-20 16:55:11 +02:00
Aevann1
c738415bb2 fds 2021-10-20 16:54:16 +02:00
Aevann1
d2c84bdb62 fd 2021-10-20 16:37:46 +02:00
Yo Mama
315181e830 Now uses regex censor in the title too 2021-10-20 01:54:23 +02:00
Aevann1
a33abd82af fds 2021-10-20 01:43:11 +02:00
Yo Mama
d83a97e864 Final try to make it all work 2021-10-20 01:32:28 +02:00
Yo Mama
6a350e8242 Fix bug that censor was not censoring a slur if it was followed by '.' or ',' 2021-10-20 00:37:23 +02:00
Aevann1
6fc7471317
Merge pull request #76 from Aevann1/fix_pytest
fix pytest giving errors when used from the command line
2021-10-19 23:14:02 +02:00
Yo Mama
1b624f2057 Now the slur replacer only matches full words 2021-10-19 23:11:19 +02:00
Yo Mama
e3d85e95e4 fix pytest giving errors when used from the command line 2021-10-19 21:30:00 +02:00
Aevann1
73d0dc903b gf 2021-10-19 20:58:44 +02:00
Yo Mama
27566265b9 Change the regex to have lookahed and lookbehinds so the match is more 'pure' 2021-10-19 00:46:10 +02:00
Yo Mama
a8e5ed5ca6 Do the replacement in a single regex 2021-10-19 00:24:15 +02:00
Yo Mama
d986784c78 Changes from regex censor v1 2021-10-18 22:46:57 +02:00
Aevann1
80d2571dff dfsfds 2021-10-18 03:26:30 +02:00
Aevann1
06237d22fb Merge branch 'master' of https://github.com/Aevann1/Drama 2021-10-17 18:27:18 +02:00
Aevann1
f17e89cd92 fds 2021-10-17 18:27:15 +02:00
Yo Mama
4c482200a0 Shotgun Marsey now is the same height as other emojis when in the middle of text.
Fixed some mixed indentation in const.py
2021-10-17 15:53:05 +02:00
Yo Mama
99bd934a24 Corrected type information 2021-10-17 14:08:07 +02:00
Yo Mama
94423d4195 Corrected specific Uppercase slur replacement 2021-10-17 01:58:10 +02:00
Yo Mama
f770caa4b8 Adapted the new slurs and added a description of how the cesoring works to help when adding new words 2021-10-16 23:28:40 +02:00
Yo Mama
a509b084d9 Merge branch 'master' into regex-censor
# Conflicts:
#	.gitignore
#	docker-compose.yml
#	files/classes/comment.py
#	files/classes/submission.py
#	files/helpers/const.py
#	requirements.txt
2021-10-16 21:29:36 +02:00
Yo Mama
4cc5a554d4 Fixed not passing the logged user to the censor 2021-10-16 20:56:12 +02:00
Yo Mama
0de6608408 Compact slurs dict and added support for word censor 2021-10-16 20:42:00 +02:00
Yo Mama
3fe170f012 First 'working' version of the word-censor 2021-10-16 20:06:21 +02:00
Yo Mama
b83e0c6665 Initial working version of word censor 2021-10-16 19:04:08 +02:00
Aevann1
654d6395b1 dffd 2021-10-16 16:01:07 +02:00
Aevann1
47bf462c3b fdfd 2021-10-16 15:12:04 +02:00
Aevann1
5a52b9709b sfdfds 2021-10-16 11:53:07 +02:00
Aevann1
32439b6bcd
Update const.py 2021-10-16 10:23:10 +02:00
Aevann1
60b785e7cd ghfgf 2021-10-15 16:39:32 +02:00
Aevann1
2265d60b22 fd 2021-10-15 16:08:27 +02:00
carpathianflorist
e4c3d29764
Update const.py
substantial initial upgrade to the word filter
2021-10-14 20:27:52 -04:00
Aevann1
e402c02371 fdsfds 2021-10-13 15:16:50 +02:00
Aevann1
6a986e1eb3 fdsfsd 2021-10-13 15:10:07 +02:00
Aevann1
87fc99107b fdssfd 2021-10-13 15:05:58 +02:00
Aevann1
1159275306 dfs 2021-10-12 15:42:10 +02:00
Aevann1
5416438173 gfdfg 2021-10-12 08:00:24 +02:00
Aevann1
3e1a4eb3a7 gfgf 2021-10-12 07:52:41 +02:00
Aevann1
6d3110ed15 dfsdsf 2021-10-10 16:10:46 +02:00
Aevann1
2bbc3539ff dfsdfs 2021-10-10 07:57:38 +02:00
Aevann1
bf3b85483d fdsdfs 2021-10-10 07:57:08 +02:00
Aevann1
a7ac4b999c dsffds 2021-10-10 07:56:42 +02:00
Aevann1
d10c6d2372 dfsfds 2021-10-10 07:55:53 +02:00
Aevann1
e16a012b4d dfssfd 2021-10-10 07:54:32 +02:00
Aevann1
3d0e8973cc dsfsfd 2021-10-10 07:51:30 +02:00
Aevann1
b60b177f87 fdsdfs 2021-10-10 06:10:45 +02:00
Aevann1
04bf2de69b dfsfsd 2021-10-08 16:47:31 +02:00
Aevann1
ee94ef91db dsfsdf 2021-10-08 16:14:30 +02:00