Commit Graph

248 Commits (master)

Author SHA1 Message Date
Aevann 24fc61fedf remove leftover code 2023-12-03 19:46:03 +02:00
Aevann e98f9ad084 wipe extra_username when patron expires 2023-12-03 17:21:45 +02:00
Aevann bc110ea9b3 try smth 2023-11-13 12:24:08 +02:00
Aevann 3140ba1957 its joever 2023-11-12 22:27:09 +02:00
Aevann 259eb5f754 use UTC time to prevent daylight savings confusion 2023-11-11 14:49:25 +02:00
Aevann 14dcbb100d dont run _create_post if no file orgy 2023-11-03 00:07:01 +03:00
Aevann 4596fd3698 remove unnecessary [ and ] 2023-10-29 16:22:36 +03:00
Aevann 8c90c14708 exempt /h/test from deletion 2023-10-29 16:03:48 +03:00
Aevann 83c82f29ba accurate notification 2023-10-28 15:24:32 +03:00
Aevann 3524b7f0e9 enable emoji form on WPD 2023-10-24 22:04:40 +03:00
Aevann dd555e42cf subscripe me to posts automatically 2023-10-22 21:01:04 +03:00
Aevann 26f442a6d8 fix movie night rerun pin duration 2023-10-22 20:59:37 +03:00
Aevann 217df4c78a improve cron order 2023-10-20 19:23:01 +03:00
Aevann c0efb06860 improve bathroom break description 2023-10-20 18:51:46 +03:00
Aevann 80d7e1fd9a fix get_names 2023-10-20 18:51:46 +03:00
Aevann 1f0dd04406 rename column and award kind 2023-10-13 22:04:45 +03:00
Aevann 09b881c9f1 remove now-useless cron triggers 2023-10-13 17:06:36 +03:00
Aevann f978df8580 automate more aspects of mn + allow scheduling orgies 2023-10-13 00:09:38 +03:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 3d930f6aae fix error 2023-10-07 03:08:31 +03:00
Aevann 6c403fcb18 change "king" award to "gold" award 2023-10-06 20:39:27 +03:00
Aevann 27711ab1a9 plural 2023-10-06 15:23:48 +03:00
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann fc05cf4c80 add king award 2023-10-04 18:42:03 +03:00
Aevann edd07137f7 add end_utc to file orgies 2023-10-02 07:21:04 +03:00
Aevann 8e27789847 make sure to wipe stickied_utc too 2023-09-29 04:24:36 +03:00
Aevann 9f7a761b73 homoween III + other random shit 2023-09-29 02:58:09 +03:00
Aevann 620cb49ddd _delete_all_posts() before creating a new post 2023-09-27 01:19:45 +03:00
Aevann fb0b92364a fix /refresh_chat once and for all 2023-09-26 23:59:56 +03:00
Aevann 6c46de47de try smth on devrama to fix chat refreshing 2023-09-26 23:45:16 +03:00
Aevann 4f227e5c8b use POST instead of GET 2023-09-26 18:19:29 +03:00
Aevann 40c14f21f6 end orgy automatically and refresh chat page 2023-09-26 16:12:37 +03:00
Aevann 8eada5a5ac remove unnecessary code 2023-09-26 15:45:27 +03:00
Aevann c9f3b95f86 refresh chat automatically when orgy starts 2023-09-26 15:29:36 +03:00
Aevann d089d18e2d merge /chat and /orgy again 2023-09-25 01:12:42 +03:00
Aevann aa7d812cb6 dont stop orgy automatically cuz encore 2023-09-23 04:49:07 +03:00
Aevann 64f66347a1 add a monthly janny salary of 10k mbux per janny level 2023-09-21 23:17:45 +03:00
Aevann c9e2179b05 make rerun post only pinned for 1 hour to reduce spam 2023-09-20 20:53:32 +03:00
Aevann f9b4d182b9 automate sunday rerun too 2023-09-20 20:52:39 +03:00
Aevann e4d663d241 pin the 1st post for 11 hours 2023-09-15 20:06:24 +03:00
Aevann 8deea6e608 use codeblock 2023-09-15 16:26:10 +03:00
Aevann b029ae2c38 only print "Cron tasks finished" when they're actually finished 2023-09-14 20:36:14 +03:00
Aevann 12a3d7b026 fix ppl not getting kicked from !verifiedrich when their paypig expires 2023-09-14 02:48:20 +03:00
Aevann 9b75debb2d automate movie night 2023-09-14 01:39:47 +03:00
Aevann 506bf91dc0 test last commit 2023-09-13 23:57:03 +03:00
Aevann 6afd8d64ab add every_fri cron flag 2023-09-13 23:55:59 +03:00
Aevann 210e97dff0 fix transaction timeout issues and prevent long locks 2023-09-13 21:11:58 +03:00
Aevann dbddee2fa1 remove forgotten line 2023-09-12 22:53:31 +03:00
Aevann 4c87c88cfc revert last commit 2023-09-11 22:49:02 +03:00
Aevann ac46269278 try smth 2023-09-11 22:43:15 +03:00
Aevann 809112b8e1 restore offsite_mentions_task 2023-09-11 20:26:30 +03:00
Aevann 7f1a713956 disable offsite_mentions_task temporarily 2023-09-09 21:57:59 +03:00
Aevann b1ae6a324a restore y'all-seeing-eye function using pullpush (initial commit) 2023-09-09 21:51:09 +03:00
Aevann b42b20d5bf fix localhost being impossible to use 2023-09-06 01:14:14 +03:00
Aevann 0b4582f2ae fix transaction timeout 2023-09-06 00:57:46 +03:00
Aevann 6c0935d6b9 refresh shit stored in redis when redis gets wiped 2023-09-06 00:53:43 +03:00
Aevann 1771728a3e fix old award name 2023-09-01 11:27:50 +03:00
Aevann 1664c82374 move yearly badges to cron 2023-08-31 13:09:18 +03:00
Aevann 8139b908f3 improve last commit 2023-08-23 00:44:06 +03:00
Aevann a9a68ae79d fix additional error due to flask patch 2023-08-23 00:43:36 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
Aevann 3b24eca320 move emoji download buttons to /emojis 2023-08-05 16:52:53 +03:00
Aevann 02f36bdcaf move generate_charts_task 2023-08-05 16:45:13 +03:00
Aevann 3832da4554 fix last commit 2023-08-03 06:46:36 +03:00
Aevann fa7d137efa not even 1GB, amazing 2023-08-03 06:44:08 +03:00
Aevann e8acb1f6c1 fix last commit 2023-08-03 06:33:17 +03:00
Aevann 1280588283 add emojis_original_zip 2023-08-03 06:29:01 +03:00
Aevann 7fd46442d2 make !verifiecdrich a real ping group so ppl are able to leave it 2023-08-02 00:56:17 +03:00
Aevann 84191d224b move _sub_inactive_purge_task to the bottom since it has a flush 2023-08-02 00:56:17 +03:00
Aevann 8627bad918 boost /h/highrollerclub and exempt it from deletion 2023-08-01 09:54:41 +03:00
Aevann 0cb19d06cc fix missing import 2023-07-26 04:14:41 +03:00
Aevann 2f8fec6fff partially revert a94dda90dd. restore some commits that turned out to be necessary 2023-07-26 00:42:47 +03:00
Aevann a57ff00e09 make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks) 2023-07-26 00:26:34 +03:00
Aevann a94dda90dd remove unnecessary flushes 2023-07-25 23:35:54 +03:00
Aevann b35d3ac183 use the cron file in the repo 2023-07-23 18:04:52 +03:00
Aevann d0c7524154 put cron_fn in gevent to make it stop blocking 2023-07-23 00:31:44 +03:00
Aevann 7f6a45a5b6 run cron in localhost too 2023-07-22 20:11:07 +03:00
Aevann 3570c2304f add timestamp 2023-07-17 20:30:38 +03:00
Aevann 21fa8c7996 remove unused --every-1h cron flag 2023-07-17 17:47:46 +03:00
Aevann 54ace27323 remove every-1mo flag 2023-07-13 15:52:49 +03:00
Aevann f22a362f37 fix bug when both queen and namelock expire at the same time 2023-07-08 19:11:29 +03:00
Aevann bc419a52da restore shit i accidentially removed :marseybrainlet: 2023-07-08 18:58:16 +03:00
Aevann 36ff17a7d5 print-debug smth on wpd 2023-07-08 18:31:47 +03:00
Aevann 683d722426 move _award_timers_task() under everything else cuz it tends to break the most 2023-07-08 16:07:06 +03:00
Aevann 6dacba53b6 tinker with cache to stop insane cpu usage by redis-server 2023-07-07 22:08:23 +03:00
Aevann 97d6ba5d48 dont leave transactions open in cron 2023-07-05 20:01:39 +03:00
Aevann 225c63af0b same as last commit 2023-07-04 23:59:42 +03:00
Aevann ca2f50f7ce same as last commit 2023-07-04 23:52:00 +03:00
Aevann f249b1e158 fix i think 2023-07-04 23:44:41 +03:00
Aevann 963223495c urgent fix for cron award shit 2023-07-03 04:58:05 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann dd37775c6b try moving _award_timers_task to every_1h 2023-07-02 22:51:16 +03:00
HeyMoon 36779a7ad1 Add the edgy award (and some other goodies) (#157)
# The Edgy Award
* Makes text bold, italic, and red, symbolizing the fire that burns within.
* Adds "fucking" to various places, after articles and prepositional phrases (I think) (tbh I just eyeballed it). EX: He is the fucking best
* Adds "motherfucker" and "bitch" to exclamations and questions, respectively.

# Goodies
* For the queen award:
	* based => comfy
    * Xpilled => x vibes
    * Xmaxxing => normalizing X

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #157
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-06-26 14:38:48 +00:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
HeyMoon 5d53820515 Add the "Misogynist" award to harass incels (#154)
Whazzup? This PR is the final solution to the incel problem. There's an old indian proverb that says: "never judge a man until you've walked two moons in his mocassins". In this case, it should be: "never judge a woman until you've walked 24 hrs in her high-heels".

The misogynist award is a comment-transforming award that "feminizes" comments. It does the following:
 - makes text pink
 - makes text lowercase
 - removes "complicated" punctuation
 - makes paragraphs into run-on sentences
 - adds stereotypical girly remarks to the beginning or end of a paragraph.

For example:
INPUT

> What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You're fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little "clever" comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You're fucking dead, kiddo.

OUTPUT
> im literally screaming, what the fuck did you just fucking say about me, you little bitch? ill have you know i graduated top of my class in the navy seals, and ive been involved in numerous secret raids on al-quaeda, and i have over 300 confirmed kills, i am trained in gorilla warfare and im the top sniper in the entire us armed forces, you are nothing to me but just another target, i will wipe you the fuck out with precision the likes of which has never been seen before on this earth, mark my fucking words, you think you can get away with saying that shit to me over the internet? think again, fucker, as we speak i am contacting my secret network of spies across the usa and your ip is being traced right now so you better prepare for the storm, maggot, the storm that wipes out the pathetic little thing you call your life, youre fucking dead, kid, i can be anywhere, anytime, and i can kill you in over seven hundred ways, and thats just with my bare hands, not only am i extensively trained in unarmed combat, but i have access to the entire arsenal of the united states marine corps and i will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit, if only you could have known what unholy retribution your little clever comment was about to bring down upon you, maybe you would have held your fucking tongue, but you couldnt, you didnt, and now youre paying the price, you goddamn idiot, i will shit fury all over you and you will drown in it, youre fucking dead, kiddo

It also sets the user's pfp to a random white woman. Well, psuedorandom - it's based off of the user's id, so each user will only ever have one pfp assigned to them, which I think is nifty.

Finally, it changes the name of the user toa girly name.

There is one small problem with the PR, which is simply that I manually added a badge for testing purposes. If you like this PR, I will submit the badge throught the proper chanels and fix it.

![image](/attachments/641c7276-ffe4-4e69-b3e9-aec9f4f94191)

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #154
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-06-21 12:36:07 +00:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann b2a906e043 consistency in award expiration messages 2023-05-19 17:20:01 +03:00
Aevann 91987cd080 add code for namelock badge 2023-05-16 03:20:55 +03:00
Aevann fc5af9c044 1. move _generate_emojis_zip and _leaderboard_task to every_1d, they take 6 and 5 seconds respectively and dont rly need to run every hour
2. remove time measuring statements
3. remove redundant commit at the end
2023-05-14 19:27:33 +03:00