forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

6659 Commits (a775786d240ff3ae3802935f4276d7d33b141e81)

Author SHA1 Message Date
Aevann 6c89776b1d dont autopin ghost threads 2023-07-06 04:44:05 +03:00
Aevann bc13b908c8 increase loggedout_counter limit to 2000 2023-07-06 00:52:04 +03:00
Aevann 1adc447d18 do this https://rdrama.net/h/countryclub/post/79285/-/4493631#context 2023-07-05 23:45:57 +03:00
Aevann 31b685db57 boost all stealth holes by x2 2023-07-05 23:39:15 +03:00
Aevann 7ed0b8b494 improve GLOBAL 2023-07-05 21:44:57 +03:00
Aevann 9f8ffb528b fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4496247#context 2023-07-05 21:36:13 +03:00
Aevann e658bb6d01 fix /emojis on wpd 2023-07-05 19:22:40 +03:00
Aevann 86fa1090c3 remove edgy founder line 2023-07-05 19:17:04 +03:00
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