forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

6701 Commits (e5aaca4a18135b3b2d605d66a63a8894b7013eb7)

Author SHA1 Message Date
Aevann 74695cfef8 fix repeated endpoint 2023-07-05 00:55:53 +03:00
Aevann fcb74c7c9b convert /marseys into /emojis 2023-07-05 00:40:00 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
HeyMoon 7c040367fa Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165)
This PR adds orgies back into rdrama. Long ago, snakes made the original orgy code, and it was super fun. But he had to rush it out, and ended up making it a bit unsustainable, and had a couple questionable coding decisions, which meant that it had to be removed. Hey, the man literally did it in a few hours before the DB trial continued, lmao.

Anyways, I took my own approach to it. I do not use iframes, i just just repurpose code from /chat window. Because I had that freedom, I also moved things around to make the user experience a bit better. I also added a title to give users some context about what's happening. Check it out

![image](/attachments/6719146c-4922-4d75-967d-8d424a09b198)

Most importantly, this is all configurable from the site. Admins with the permission "ORGIES" will see this in their control panel

![image](/attachments/423d6046-a11d-4e84-bd2c-a2a641afd552)

Nigga, idk where to put it, so I made my own category.

If there is no orgy in progress, admins will see this:

![image](/attachments/7c64b9fa-cdf4-4986-a0c4-f2324878062e)

Click the button, and, viola, the orgy begins.

If there is an orgy in progress, the page will look like this:

![image](/attachments/b65be4b3-5db1-43cb-8857-7d3a8ea24ca7)

Click the button, and the orgy stops.

If an orgy is in progress, navigating to /chat will take the user to the orgy seemlessly. But what if they don't want to participate, liek some kind of spoilsport? Just navigate to /old_chat.

That's just about it, it's really that simple. I have lots of ideas for the future, but I'll let that wait til later :).

A few notes about implementation:
 - I moved some functionality out of /templates/chat.html and into /templates/util/macros.html. This is just so I could reference the code directly from my new template, /templates/orgy.html.
 - The orgy is stored as a single row in the new table "orgies". Okay, I know this is a little silly, but you know what they say: "if it's stupid and it works, it's not stupid". (tbf the oceangate ceo also said that)

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#165
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 23:55:37 +00:00
Aevann 499781329f remove event_darkmode 2023-07-03 01:55:56 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann 8f323c3ec6 restore perma-marsify toggle for paypigs only 2023-07-02 23:07:31 +03:00
Aevann f4af0779fd add error for signatures for non-paypigs 2023-07-02 22:57:08 +03:00
Aevann 1cd13cf4da make jannies able to award shadowbanned-cels 2023-07-02 20:24:21 +03:00
Aevann 0b4ead5f81 fix 500 error 2023-07-02 02:14:57 +03:00
Aevann c1d7b9acc2 fix duplicate cookie issue 2023-07-02 02:00:56 +03:00
Aevann fb1f282804 remove unnecessary route 2023-07-01 22:37:43 +03:00
Aevann b2b5633c8b fix forgotten subdomain 2023-07-01 22:37:32 +03:00
Aevann 7f6675f7f9 remove unddit.com (RIP u will not be forgotten) 2023-07-01 19:41:59 +03:00
Aevann aaa618657f disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them 2023-07-01 03:39:24 +03:00
Aevann 3cbea18327 make emoji search work on original usernames 2023-07-01 03:25:12 +03:00
Aevann cecacc25a4 fix wrong badge order 2023-07-01 02:10:50 +03:00
Aevann 67fa522b82 dont use pay_account and charge_account in votes 2023-07-01 00:49:10 +03:00
Aevann d4613c3308 allow ppl to make reposts 2023-07-01 00:35:39 +03:00
Aevann af4b262c7d add padding 2023-07-01 00:30:24 +03:00
Aevann 2eeb0dcbdf disable leaderboard in wpd temporarily 2023-06-30 23:38:59 +03:00
Aevann 486bacf5e6 use error()instead of abort() in sanitize 2023-06-30 23:34:29 +03:00
Aevann fa70dc4e93 fix this https://media.discordapp.net/attachments/1104910184901525544/1124420076662173776/image.png?width=1144&height=611 2023-06-30 22:33:18 +03:00
Aevann 15415a2c5a shorten password length 2023-06-30 19:51:59 +03:00
Aevann ed322add97 use more secure token_urlsafe 2023-06-30 19:51:14 +03:00
Aevann 8d608e2939 add "reset password' button to JL-5 2023-06-30 19:39:24 +03:00
Aevann f22df30161 add forgotten clarification in notification 2023-06-30 19:21:18 +03:00
Aevann d417fe14f0 rename property 2023-06-29 23:52:07 +03:00
Aevann 812a637180 fix 500 error 2023-06-29 23:19:15 +03:00
Aevann 8b3388cb29 fix d98f8afde8 2023-06-29 23:15:12 +03:00
Aevann eeb975b177 cachebust everything 2023-06-29 23:14:30 +03:00
Aevann 348f16266f remove carprama 2023-06-29 23:14:24 +03:00
Aevann d98f8afde8 unlock /donate to loggedoutcels 2023-06-29 23:10:31 +03:00
Aevann 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann bac356db1d make sure all usages of subprocess have timeout duration 2023-06-29 22:38:55 +03:00
Aevann dcf7c282a6 fix editing push notif 2023-06-29 22:22:12 +03:00
Aevann f3f01bad96 make the "Enable push notifications" button link to /app on non-pwa iphone 2023-06-29 22:05:24 +03:00
Aevann 0a8b2b23cc same as last commit 2023-06-29 19:14:24 +03:00
Aevann e5bf894bf6 fix internal server error 2023-06-29 19:13:25 +03:00
Aevann 3a07bd1d25 remove print statement 2023-06-29 18:56:54 +03:00
Aevann 034cc436f1 delete unnecessary space 2023-06-29 18:56:40 +03:00
Aevann 512fe8d710 fix loggedout_counter 2023-06-29 18:56:16 +03:00
Aevann 9519020de8 replace icon and headericon with carp 2023-06-28 17:31:41 +03:00
Aevann 5c0dcbf585 extend edgy founder deadline 2023-06-28 01:20:43 +03:00
Aevann 6b2c838e3a x4 coin multipler for wpd 2023-06-28 00:04:53 +03:00
Aevann f33f0647a9 expand thread caching 2023-06-27 23:08:52 +03:00
Aevann 7493722457 redis cache frontpage 2023-06-27 23:03:14 +03:00
Aevann 15c3026c93 remove unnecessary award restrictions 2023-06-27 20:20:41 +03:00
Aevann 95c25d73e6 fix last commit 2023-06-27 15:08:02 +03:00
Aevann 2ecd9c4dec force permachudded posts in chudrama 2023-06-27 15:08:01 +03:00
Aevann 60b5b33a79 Revert "remove poor mode"
This reverts commit 33d281cc2e.
2023-06-27 15:01:40 +03:00
Aevann af0c8a702b same as last commit 2023-06-26 21:02:15 +03:00
Aevann 5b86ee21b0 fix bug that caused urls with quoted spaces to not work https://i.imgur.com/RFyI9jB.png 2023-06-26 18:28:07 +03:00
Aevann da9c19a54a make everyone who joins house edgy in the next 48hours a founder 2023-06-26 18:08:20 +03:00
Aevann 3d3e517a4c Add House Edgy 2023-06-26 18:05:27 +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: rDrama/rDrama#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 33d281cc2e remove poor mode 2023-06-26 13:55:38 +03:00
Aevann c8116a401a do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4439973#context 2023-06-26 13:35:42 +03:00
Aevann 787da2ffbf fix 500 error 2023-06-26 13:31:38 +03:00
Aevann 7434e1ce8d reduce threshold to 1000 2023-06-25 21:49:05 +03:00
Aevann 6958b70975 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4197134#context 2023-06-24 23:31:12 +03:00
Aevann 883c96a830 fix 500 erro 2023-06-24 21:54:36 +03:00
Aevann ed65f92500 do this https://rdrama.net/h/countryclub/post/79285/-/4412224#context 2023-06-24 21:48:13 +03:00
Aevann 8769023985 order /admin/shadowbanned by ban reason 2023-06-24 21:18:17 +03:00
Aevann 0750bd365f hide alts in /admin/shadowbanned 2023-06-24 21:02:25 +03:00
Aevann e256d70984 fix improperly typed func 2023-06-24 21:02:16 +03:00
Aevann 8bd657b726 add /blockers and /blocking to profile pages 2023-06-24 20:39:50 +03:00
Aevann 5fe6c599df make the unblockable and fish notifs actually get sent 2023-06-24 20:34:07 +03:00
Aevann c62eec7203 fix new emojis not appearing in WPD 2023-06-24 19:05:19 +03:00
Aevann f2fb61c7f0 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4182880#context 2023-06-24 18:49:32 +03:00
Aevann af1581be66 update emoji leaderboard description 2023-06-24 17:50:44 +03:00
Aevann 1b1e13f025 fix yearly badge logic 2023-06-24 16:43:15 +03:00
Aevann 3a6481f3da allow ppl to search their own ghost comments 2023-06-24 16:37:08 +03:00
Aevann 28cf9cc605 pick the queen name based on first letter of username 2023-06-23 21:08:10 +03:00
Aevann fe5261df36 make chudding affect the comment its applied on 2023-06-23 20:47:57 +03:00
Aevann bb3c120e8c fix wrong autojanny comment count 2023-06-23 20:47:08 +03:00
Aevann 5e8f04b2ac rename flags to reports 2023-06-23 19:49:26 +03:00
Aevann 04b17b180e add carp badges 2023-06-23 19:49:26 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann e607c39d67 make chud effects not retroactive 2023-06-23 16:14:23 +03:00
Aevann 3dfd56c352 delete alt cache when delinking alts 2023-06-23 14:45:17 +03:00
Aevann 2452f94231 give new unlinked users award immunity in rdrama 2023-06-23 14:37:22 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann 7207eb2911 reduce ddos cutoff to 1300 2023-06-23 11:03:29 +03:00
Aevann 24ea1414d6 avoid potential server error 2023-06-22 20:56:46 +03:00
Aevann 9838398d55 better logic for queen names 2023-06-22 20:50:10 +03:00
Aevann 0c3b8d8d32 use real girl names with queen award 2023-06-22 20:29:56 +03:00
Aevann 2167de2624 add the emoji name requirement to "Carp" and "Capy" 2023-06-22 19:33:46 +03:00
Aevann 0106d3d69f same as last commit 2023-06-22 19:19:08 +03:00
Aevann 57ac7f4f73 increase pronouns character limit from 11 characters to 15 characters 2023-06-22 15:57:36 +03:00
Aevann cc7176868d fix ban_reason getting wiped accidentially 2023-06-22 14:24:03 +03:00
Aevann e50bbe0da0 remove cookie shit 2023-06-22 14:15:41 +03:00
HeyMoon b304d00169 Improve the Queen award (#156)
Fixed bugs:
 - Sometimes two people would get the same username
 - Sometimes a whole post would have the same prefix
 - Links would be broken
 - Greentext would be broken
 - strings of periods do not become "and, and, and, and,"

New stuff:
 - New girl catchphrases
 - New girl pfps
 - Catchphrases have a chance to not be applied (50%, but configurable)
 - A lot more regexes
 	- everyone => literally everyone (and others)
    - into => totally into
    - hello => hiiiiiiii (and others)
    - just => like just
    - i mean => i mean like
    - ! => !!!

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#156
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-06-22 05:20:33 +00: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: rDrama/rDrama#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 8203af3595 increase snally/tgtw pin duration to 8hrs 2023-06-20 13:29:39 +03:00
Aevann 3ec950e3f5 add GLOBAL2 2023-06-20 11:36:25 +03:00
Aevann 1003663071 increase snappy,tgtw pin duration 2023-06-19 08:03:41 +03:00
Aevann d2fe3a631d fix unban awards 2023-06-16 05:08:08 +03:00
Aevann cf230fa7d9 disallow permabanned-cels from chat 2023-06-15 08:36:28 +03:00
Aevann de655269a0 same as last commit 2023-06-14 23:24:48 +03:00