Commit Graph

2931 Commits (bef687f82f5e1df4c8634bf892e861d950da263d)

Author SHA1 Message Date
official-techsupport 5902fa5822 showmore on too many newlines (works now) (#90)
At this point I think we should stop abusing regexes to implement the showmore logic.

I also reduced the character constant to 3000/2500 and increased the line constant to 20 but I don't have any strong feelings about them.

Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: #90
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
2023-01-22 23:27:24 +00:00
Aevann e8323127f9 fix this https://stupidpol.site/post/141309/marseyxdmarseywall-twitter-influencer-seethemaxxing-after-being/3453484#context 2023-01-22 11:04:09 +02:00
Aevann d5f6296e70 remove fauulty slur filter 2023-01-22 10:41:42 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann fff3fac07c do this https://stupidpol.site/post/141476/kavanaugh/3457056#context 2023-01-22 09:35:26 +02:00
Aevann 51808b6f40 make it possible to mute without @ 2023-01-22 02:15:07 +02:00
Aevann 55298766af remove unnecessary printing 2023-01-22 02:12:32 +02:00
Aevann 9a82c3f1c6 use tabs instead of spaces 2023-01-21 07:53:56 +02:00
Aevann df803791ef exclude snappy from fishylinks_regex 2023-01-21 06:18:02 +02:00
Aevann 96eacd73df same as last commit 2023-01-21 02:40:32 +02:00
Aevann c380572c13 fix posting 2023-01-21 02:21:51 +02:00
Aevann eae3f51c56 stop using mailgun 2023-01-21 02:19:07 +02:00
Aevann c560d1d9fe improve the "show more" button 2023-01-21 01:47:27 +02:00
Aevann 96a692114e don't spam the console 2023-01-20 11:07:42 +02:00
Aevann 897b2f6604 add it's almost like to slur filter 2023-01-20 09:20:06 +02:00
Aevann 7ccf87aa9a add econjobrumors.com to BOOSTED_SITES 2023-01-20 09:17:33 +02:00
Aevann f17fade8a6 purge discord from site code 2023-01-20 07:31:53 +02:00
Aevann 61202cb5aa dont replace "cool it" with "fetch it" 2023-01-20 07:23:19 +02:00
Aevann 9f0b238370 increase ts gate for masterbaiters from 0 to 100 and ban merari from it 2023-01-20 07:13:53 +02:00
Aevann 630dc9cf55 reduce chudrama ts gate from 5k to 1488 2023-01-20 07:10:50 +02:00
Aevann 74c482f312 add 2 boosted sites 2023-01-20 07:09:45 +02:00
Aevann 1919fc822a give me push notifs for DMs 2023-01-20 05:42:05 +02:00
Aevann 7c7fab6a36 introduce JL4 2023-01-20 03:27:00 +02:00
Aevann 30dd9bc5d5 restore chat for rdrama 2023-01-20 02:12:36 +02:00
Aevann 736acc094b add new tagline 2023-01-16 16:22:56 +02:00
official-techsupport 0f4e66c070 Halve the offsite notifs spam (#83)
don't notify for /u/Automoderator messages

Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: #83
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
2023-01-13 11:36:10 +00:00
Aevann 8d2b342c81 use my own email server 2023-01-08 20:40:07 +02:00
Aevann 748e39a43a add 3 new slur filters 2023-01-03 13:29:05 +02:00
Aevann 898ef997f0 boost slackernews 2023-01-03 13:27:43 +02:00
Aevann daad32d0ce fix nonces in py files 2023-01-02 06:20:59 +02:00
Aevann dd3dfa5197 make users list viewable by everypony 2023-01-01 16:52:16 +02:00
Aevann 37aa25c139 change homoween timespan 2023-01-01 16:35:52 +02:00
Aevann f7874b2c4e fix show more button 2023-01-01 14:26:25 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann b0b70d2f0f better 200w behavior 2023-01-01 13:30:33 +02:00
Aevann 91b8602714 Revert "stop using 200w"
This reverts commit cabc0d3603.
2023-01-01 13:18:24 +02:00
Aevann cabc0d3603 stop using 200w 2023-01-01 10:10:06 +02:00
Aevann dce00a0d3f more chud images 2023-01-01 09:55:22 +02:00
Aevann db6db63836 change event structure 2023-01-01 07:33:09 +02:00
Aevann 224b339df3 add func for homoween 2023-01-01 06:48:36 +02:00
Aevann 661646f134 fix IMAGE_FORMATS 2023-01-01 05:38:37 +02:00
Aevann 03fb84e618 fix HOLIDAY_EVENT check 2023-01-01 04:50:11 +02:00
Aevann e2bd765b62 fix 500 error on badge geant 2023-01-01 04:36:04 +02:00
Aevann 7fc1796b1e fix fistmas timespan 2023-01-01 04:08:59 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 9f73e7bb34 do length checks in badge_grant 2023-01-01 02:38:41 +02:00
Aevann 7cb721e6bb make HOLIDAY_EVENT a function 2023-01-01 02:27:45 +02:00
Aevann 9bd64ed1f6 increase chat length limit from 200 to 1000 on rdrama 2022-12-31 16:03:51 +02:00
Aevann 8362a4c497 js fixes 2022-12-30 21:35:23 +02:00
Aevann c4872ecb07 Revert "attempt to fix ratelimiting user"
This reverts commit 99597fc36c.
2022-12-30 20:43:13 +02:00
Aevann 99597fc36c attempt to fix ratelimiting user 2022-12-30 20:40:58 +02:00
Aevann 9a8c986f93 attempt to fix ratelimiting user 2022-12-30 20:33:07 +02:00
Aevann ddf4e1ee46 make fistmas end earlier 2022-12-30 19:31:23 +02:00
Aevann 9490f1796c check badge names 2022-12-30 18:28:24 +02:00
Aevann e0e8eb3dd6 fix mod log links 2022-12-30 18:10:29 +02:00
Aevann fa15b1fdf8 minor syntax change 2022-12-30 17:47:40 +02:00
Aevann 3bdfa2b13f add new chud image 2022-12-30 16:59:05 +02:00
Aevann 2805ecbfca improve fishylinks_regex 2022-12-30 15:20:42 +02:00
Aevann 9e43cf0724 minor css fix 2022-12-30 05:40:06 +02:00
Aevann e0941af957 add gamefaqs to boosted sites 2022-12-30 05:35:15 +02:00
Aevann 8cb3337c19 remove bad slur filter 2022-12-30 05:34:01 +02:00
Aevann 54b49d374c minor fix 2022-12-27 07:37:21 +02:00
Aevann d9de913cb9 add yt3.ggpht.com to approved image hosts 2022-12-27 04:17:04 +02:00
Aevann 68673292c1 Revert "notify idio3 too"
This reverts commit ee264631b9.
2022-12-27 04:10:22 +02:00
Aevann ee264631b9 notify idio3 too 2022-12-27 04:08:23 +02:00
Aevann 7b8483b83f fix 2022-12-27 04:07:38 +02:00
Aevann bff5723d4e fix 500 error 2022-12-27 03:31:21 +02:00
Aevann 44a8c2338e Revert "handle race condition for signup notifs"
This reverts commit 4d5440a7f3.
2022-12-26 22:14:33 +02:00
Aevann 4d5440a7f3 handle race condition for signup notifs 2022-12-26 22:08:42 +02:00
Aevann 604aed2d96 edit slur filter 2022-12-26 18:59:18 +02:00
Aevann 7b8e7b33aa add slur filter 2022-12-26 18:58:35 +02:00
Aevann 0886c39674 fix push notifs on localhost 2022-12-26 05:13:48 +02:00
Aevann eec2992be8 use user timezone in /stats 2022-12-26 04:45:55 +02:00
Aevann f37e1dc702 disallow jannoids from undoing chud awards 2022-12-26 04:38:32 +02:00
Aevann 561b14cfd6 make post thumbnails not animated 2022-12-26 04:16:46 +02:00
Aevann abb905b1de exclude emojis 2022-12-26 01:41:00 +02:00
Aevann 78bccfb089 notify me for "capy" 2022-12-25 22:43:33 +02:00
Aevann 205ca3dc6f same as last commit 2022-12-25 22:41:36 +02:00
Aevann c4e4a8d853 give jannies push notifs for chat 2022-12-25 22:30:50 +02:00
Aevann d30d6b8314 limit chat on rdrama to jannoids 2022-12-25 22:13:29 +02:00
Aevann ca4ffdb91a replace fistmas with christmas in snappy quotes 2022-12-25 19:17:15 +02:00
Aevann b0430f82e7 change carp_id on WPD 2022-12-25 07:46:38 +02:00
Aevann a122986111 fix giphy framerate 2022-12-25 06:10:54 +02:00
Aevann f255a6d8c8 move more env vars to const.py 2022-12-25 05:28:57 +02:00
Aevann 80322388bd conslidate if statements in const.py 2022-12-25 05:12:35 +02:00
Aevann bd0890dc57 move 3 env vars to const.py 2022-12-25 05:09:24 +02:00
Aevann f8a8779537 fix wpd 2022-12-25 03:59:59 +02:00
Aevann 663541d0ce use 200w_d.webp for giphy 2022-12-25 03:22:17 +02:00
Aevann 366f445f2e replace giphy.gif with giphy.webp 2022-12-25 02:54:47 +02:00
Aevann 96533921c3 add randomized taglines 2022-12-25 01:12:05 +02:00
Aevann 727a6d0180 add slur filter entry 2022-12-25 00:22:28 +02:00
Aevann 2aabe19a53 add onionfarms.com into BOOSTED_SITES 2022-12-24 21:12:17 +02:00
Aevann 568e2ddbe8 change hole neglector description 2022-12-24 20:55:26 +02:00
Aevann 1f899c5821 add this https://stupidpol.site/post/134079/new-image-to-spam-at-transphobic/3299559 2022-12-24 20:22:49 +02:00
Aevann a63b02470d use sets with in statements 2022-12-24 00:22:41 +02:00
Aevann 9a49b66940 fix 500 error 2022-12-23 23:42:12 +02:00
Aevann b82d29dfde randomize chud addendums 2022-12-23 03:55:11 +02:00
Aevann 6a222e5ee5 categorize boosted sites 2022-12-23 00:28:49 +02:00
Aevann 5d6d108dd5 remove redundant domain bans 2022-12-23 00:25:31 +02:00
Aevann 9da1287c6e add 3 boosted sites 2022-12-22 23:33:47 +02:00
Aevann e6274e06f3 delete ability of jannies to clear internal cache 2022-12-22 22:52:36 +02:00
Aevann 0e6b144ed7 alt graph 2022-12-22 22:03:40 +02:00
Aevann 23faabd467 make fistmas end one day earlier 2022-12-22 19:15:16 +02:00
Aevann 57b37634bb make fistmas automated 2022-12-22 19:13:03 +02:00
Aevann1 837000505f remove DONT_LINK_ALTS in favor of DONT_SHADOWBAN 2022-12-22 00:38:12 +02:00
Aevann1 697e7d60b0 same as last commit but for @jimjones 2022-12-22 00:23:24 +02:00
Aevann1 e1fdd64d31 try to fix weird error 2022-12-21 19:05:50 +02:00
Aevann1 6df9ac1b53 stop using exiv2 2022-12-21 18:59:16 +02:00
Aevann1 46225890ef fix this https://stupidpol.site/h/classified/post/133139/sweet-sasquatch-statue/3279824 2022-12-21 18:47:13 +02:00
Aevann1 ea70e4473e fix prev commit 2022-12-21 15:11:07 +02:00
Aevann1 745e741d95 remove most env defaults (i dislike them, cope and sneeze) 2022-12-21 15:09:23 +02:00
Aevann1 4be65cab86 remove unused IMGUR_KEY env var 2022-12-21 15:05:01 +02:00
Aevann1 1d3fa2f93f remove CARD_VIEW env var 2022-12-21 15:04:45 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
Aevann1 ab00277c72 fix repo link 2022-12-21 13:06:20 +02:00
Aevann1 9b7c0a674b fix /stats 2022-12-21 01:44:53 +02:00
Aevann1 11ed781b7a wtf? 2022-12-21 01:30:05 +02:00
Aevann1 1b7eb7cb87 Revert "add print statements for debugging /stats"
This reverts commit a7ec033698.
2022-12-21 01:00:26 +02:00
Aevann1 a7ec033698 add print statements for debugging /stats 2022-12-21 00:50:51 +02:00
Aevann1 7fabf323f8 remove leftover print statements for debugging 2022-12-21 00:35:02 +02:00
Aevann1 90aff8f086 remove redundant boosted sites 2022-12-20 22:07:14 +02:00
Aevann1 7bec755cb0 fix boosted site 2022-12-20 22:05:08 +02:00
Aevann1 2b56bf5c51 fix bladebot 2022-12-20 04:36:05 +02:00
Aevann1 6d9171bdae fix prev commit 2022-12-20 04:30:42 +02:00
Aevann1 c3dc1dc20e add missing import 2022-12-20 04:29:04 +02:00
Aevann1 74457e5468 rework stats a bit 2022-12-20 04:26:27 +02:00
Aevann1 373a6cf0db add grinch 2022-12-20 03:13:34 +02:00
Aevann1 69dee20918 Revert "print debugging for stats"
This reverts commit 02bb36159f.
2022-12-20 03:01:14 +02:00
Aevann1 02bb36159f print debugging for stats 2022-12-20 03:00:33 +02:00
Aevann1 4b5647993c fix modmail I hope 2022-12-20 02:51:09 +02:00
Aevann1 bd02df4177 fix reddit mention notifs 2022-12-20 02:36:53 +02:00
Aevann1 f6c1f94614 more print debugging 2022-12-20 02:27:09 +02:00
Aevann1 4594a6ecb8 more print debugging 2022-12-20 02:23:36 +02:00
Aevann1 569f0269e3 print debugging for reddit mentions 2022-12-20 02:20:16 +02:00
Aevann1 9a96fd643b reduce post ratelimit from 50/day to 20/day 2022-12-20 01:28:56 +02:00
Aevann1 e386caf581 Revert "generate mod log item for removals"
This reverts commit e4d4c4798d.
2022-12-19 23:52:06 +02:00
Aevann1 e4d4c4798d generate mod log item for removals 2022-12-19 23:48:50 +02:00
Aevann1 e4734f4ec4 fix 2 notifs on same comment 2022-12-19 23:44:46 +02:00
Aevann1 3fa6e4d020 fix 2022-12-19 23:36:41 +02:00
Aevann1 9ceca862d9 notify me too 2022-12-19 23:32:52 +02:00
Aevann1 c99f4bd2c5 blackjack rework 2022-12-19 23:29:21 +02:00
Aevann1 248c7ef50d fix errors 2022-12-19 23:00:48 +02:00
Aevann1 c842d44384 minor css change 2022-12-19 22:54:45 +02:00
Aevann1 e325e537af add /themes to cachebusting system 2022-12-19 21:45:21 +02:00
Aevann1 80a12a1c0b move lootbox to be first award 2022-12-19 21:31:01 +02:00
Aevann1 f19bbb1c09 double XP 2022-12-19 21:09:51 +02:00
Aevann1 e6c26659b0 anchor lootboxes to the top 2022-12-19 21:00:48 +02:00
Aevann1 29fa5bcf4d add lootboxes 2022-12-19 19:12:07 +02:00
Aevann1 2028216c45 do this https://stupidpol.site/h/slackernews/post/132440/ml-engineer-analyzes-what-chatgpt-marks/3265102#context 2022-12-19 19:12:07 +02:00
Aevann1 98afe7d2c3 don't use linux symlinks so the site works in windows 2022-12-19 19:12:05 +02:00