Commit Graph

185 Commits (master)

Author SHA1 Message Date
Aevann 36f65ede46 add orgies for private chats 2024-04-08 08:33:47 +02:00
Aevann b9bd44339b no extra backslash 2024-03-07 00:04:35 +02:00
Aevann 5b9dd4a8c4 add form to submit banners and sidebar images 2024-03-05 01:54:15 +02:00
Aevann 3099ec3f34 dont show the configuration categories for jannies who have no access to its contents 2024-02-11 16:31:01 +02:00
Aevann bbc7ba4de0 add hold polls to /admin 2024-02-03 03:10:22 +02:00
Aevann e8db105a73 remove "Change" 2024-02-01 03:30:06 +02:00
Aevann 76866e2b07 allow under siege customization 2024-02-01 01:28:45 +02:00
Aevann 6993f29f0a add charts to the stats page 2024-01-23 14:36:51 +02:00
Aevann bf2dbb38a9 remove unnecessary property 2024-01-12 09:20:32 +02:00
Aevann 23274536cd better page title 2023-11-25 21:47:38 +02:00
Aevann a68dcfd5fe fix up tabs 2023-10-29 16:01:59 +03:00
Aevann c945b7814c admins can still wanna update emojis or hats even if user submissions are off 2023-10-26 18:44:09 +03:00
Aevann 3524b7f0e9 enable emoji form on WPD 2023-10-24 22:04:40 +03:00
Aevann 79ec2e6a62 actually dont hide it, just disable it 2023-10-19 00:28:43 +03:00
Aevann d23a77aea0 hide under attack toggle since jannies cant use it anymore bc it get reverted almost instantly 2023-10-19 00:24:15 +03:00
Aevann 3e26b1f59a add "insert transaction" form 2023-10-18 21:17:50 +03:00
Aevann f61ba62426 add more orgy controls 2023-10-13 18:56:12 +03:00
Aevann f978df8580 automate more aspects of mn + allow scheduling orgies 2023-10-13 00:09:38 +03:00
Aevann bbc7a4772f stop using "flair" instead of "hole" in wpd 2023-10-07 21:04:12 +03:00
Aevann 74587b12da use can_see_shadowbanned 2023-10-05 12:44:42 +03:00
Aevann 60580cc6fa add orgy icon 2023-09-17 23:58:08 +03:00
Aevann c4dcb3e312 remove unnecessary ; 2023-09-15 14:28:43 +03:00
Aevann 93d89218b1 remove login_required from ddos_detected 2023-08-10 00:46:12 +03:00
Aevann 9a28e36265 remove login_required from ddos_detected effects 2023-08-10 00:41:51 +03:00
Aevann 66c2740a8a fix signup toggle 2023-08-10 00:22:46 +03:00
Aevann bda8b2b303 disable signups toggle too 2023-08-10 00:19:51 +03:00
Aevann 8caa93f9cd use {patron} 2023-08-02 00:56:17 +03:00
Aevann eebc6db138 use tabs not spaces 2023-08-01 10:38:30 +03:00
Aevann 65f9b986dd add button to claim paypig rewards for all users 2023-08-01 04:28:29 +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: #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 fd5cdf23d3 rename "Multi Vote Analysis" to "Alt Vote Analysis" 2023-06-06 22:15:25 +03:00
Aevann c7a7d6a2b9 complement 519fbef9a7 2023-05-12 18:35:31 +03:00
Aevann 519fbef9a7 rename dm_images to dm_media 2023-05-12 18:27:46 +03:00
Aevann 90127ffa27 rename path 2023-05-03 17:45:14 +03:00
Aevann 02427b6da0 same as last commit 2023-04-09 00:38:26 +02:00
Aevann 33464589aa add "offline mode" 2023-03-25 23:35:13 +02:00
Aevann 312abdee28 fix capitalizaation 2023-03-25 23:13:47 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 7b65b062b1 fix /admin 2023-03-15 06:50:56 +02:00
Aevann 84cebda61f rename perm to be more clear 2023-03-11 06:53:54 +02:00
Aevann 7417a115af combine 2 janny perms 2023-03-05 12:03:21 +02:00
Aevann 288fcde832 add /admin/delete_media 2023-02-19 21:31:26 +02:00
Aevann 8d660cb49a add perms conditionals in /admin 2023-02-19 21:17:09 +02:00
Aevann d7d7a681f9 add 2 additional links in /admin 2023-02-18 23:07:37 +02:00
Aevann 44a80f0492 make under_attack a setting and use it in /submit for WPD 2023-02-09 05:50:30 +02:00
Aevann f19f34bc49 change site_settings to SITE_SETTINGS for consistency 2023-02-09 05:49:50 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 5df10ec0e0 remove unnecessary margin 2023-01-28 12:50:54 +02:00
Aevann 51d0480452 hide dm image button from jannies who cant view them 2023-01-28 10:41:11 +02:00
Aevann d813e91427 add padding 2023-01-27 15:00:06 +02:00