forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

3582 Commits (74533ae72f79d4f37c6401e9e2c297fb7beaa0f0)

Author SHA1 Message Date
Aevann 783c90f9d3 do this https://rdrama.net/h/countryclub/post/79285/-/4494243#context 2023-07-05 23:44:50 +03:00
Aevann 31b685db57 boost all stealth holes by x2 2023-07-05 23:39:15 +03:00
Aevann 9aea183438 fix my mention 2023-07-05 21:50:21 +03:00
Aevann 97d6ba5d48 dont leave transactions open in cron 2023-07-05 20:01:39 +03:00
Aevann fcb74c7c9b convert /marseys into /emojis 2023-07-05 00:40:00 +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 8c526576ad fix repeated mentions 2023-07-04 02:43:29 +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 8c08818d35 improve NOT_IN_CODE_OR_LINKS 2023-07-03 03:20:55 +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 a5f21ea658 restore /update for !everyone since its needed 2023-07-03 00:48:23 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann a11c12ef77 remove unnecessary const 2023-07-03 00:41:35 +03:00
Aevann dd37775c6b try moving _award_timers_task to every_1h 2023-07-02 22:51:16 +03:00
HeyMoon 331b35a3f9 fix Xmaxxing (and add badass images) (#164)
Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#164
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 17:41:46 +00:00
Aevann 07695039d7 escape / 2023-07-02 20:24:21 +03:00
Aevann f1b9cdd701 add today tld 2023-07-02 02:26:57 +03:00
Aevann f4d96c4e88 fis this https://rdrama.net/post/184174/hecko-its-independence-gay-weekend-grill/4483286#context 2023-07-02 00:22:13 +03:00
Aevann 7f6675f7f9 remove unddit.com (RIP u will not be forgotten) 2023-07-01 19:41:59 +03:00
Aevann eccea6347f add name notifs on wpd 2023-07-01 18:30:57 +03:00
Aevann eed7410277 make spam bans generate modlog items + dedup 2023-07-01 18:27:56 +03:00
Aevann e863d93b2b increase post ratelimit on WPD 2023-07-01 17:19:53 +03:00
Aevann f0cfa8c916 fix this https://rdrama.net/post/173066/my-im-starting-to-believe-rightoid/4217124#context 2023-07-01 02:59:42 +03:00
Aevann 3c07d4bcd8 remove unnecessary lookaround groups 2023-07-01 01:52:11 +03:00
Aevann 486bacf5e6 use error()instead of abort() in sanitize 2023-06-30 23:34:29 +03:00
Aevann 243368c106 add padding 2023-06-30 23:32:36 +03:00
Aevann 6d23974d58 add padding 2023-06-30 23:31:24 +03:00
Aevann c721b26b61 dylan 2023-06-30 23:17:56 +03:00
Aevann e4662247b7 revert commit that caused pat emojis not to get mirrored
This reverts commit 3a3615d292.
2023-06-30 22:54:36 +03:00
Aevann daedb5f047 nasty hack to stop underscores being interpreted as italic which breaks mentioning users with two underscores and links sometimes 2023-06-30 22:47:38 +03:00
Aevann d003822dc0 constantify frequently-used regex negative lookahead group 2023-06-30 21:29:53 +03:00
Aevann 8d608e2939 add "reset password' button to JL-5 2023-06-30 19:39:24 +03:00
Aevann 9974590a19 better user links in mod log 2023-06-30 19:19:05 +03:00
Aevann eca2a84e75 boost exploding-heads.com 2023-06-30 01:53:10 +03:00
Aevann 27c78f55f7 fix weird slur filter bug https://i.imgur.com/WjmZuzu.png 2023-06-30 01:05:21 +03:00
Aevann b2ac0efc8c make link posts look visited when u visit them from notifs 2023-06-30 01:00:05 +03:00
Aevann 10a715302f show !everyone's cost 2023-06-29 23:48:27 +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 bac356db1d make sure all usages of subprocess have timeout duration 2023-06-29 22:38:55 +03:00
Aevann 1b48488996 expand slur filter 2023-06-29 20:47:19 +03:00
Aevann 9519020de8 replace icon and headericon with carp 2023-06-28 17:31:41 +03:00
Aevann a017fdfbb9 add new taglines and titles 2023-06-28 17:03:14 +03:00
Aevann 2494b78116 increase COSMETIC_AWARD_COIN_AWARD_PCT from 10% to 50% 2023-06-28 00:32:34 +03:00
Aevann a8eae44c25 make a bunch of awards cheaper 2023-06-28 00:04:54 +03:00
Aevann cc5a8db4e7 reduce marsey award price from 3000 to 2000 2023-06-27 20:25:25 +03:00