forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

173 Commits (3524b7f0e9ccbb0dc55fc067976c603f89bf834e)

Author SHA1 Message Date
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: 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 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
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann fd27199c68 add admin chat to admin hole 2023-01-20 06:37:20 +02:00
Aevann dd3dfa5197 make users list viewable by everypony 2023-01-01 16:52:16 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 0bbe5d5ddd show live commit to everyone 2022-12-30 15:32:58 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann db8d0bb1e5 add padding to "admin tools" in admin tools 2022-12-29 10:35:30 +02:00
Aevann e6274e06f3 delete ability of jannies to clear internal cache 2022-12-22 22:52:36 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
justcool393 e36bd8611a remove unclosed {{brackets}} 2022-11-30 13:15:06 -06:00