Commit Graph

85 Commits (7c040367fa6936fc358b33d079d48513fa25220d)

Author SHA1 Message Date
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 499781329f remove event_darkmode 2023-07-03 01:55:56 +03:00
borntolurk 0762f179b7 PWA fixes (#161)
* Content now takes the whole screen on latest iPhones and bottom bar now respects the bottom safe area inset
* You can now pull to refresh in PWA

Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: #161
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
2023-06-30 19:39:19 +00: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 9519020de8 replace icon and headericon with carp 2023-06-28 17:31:41 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann 55b6956c84 use a better pink color than ff66ac 2023-06-07 06:31:10 +03:00
Aevann 8488e98780 change manifest to "standalone" 2023-05-30 15:36:06 +03:00
Aevann 626b770662 "refresh manifest" 2023-05-30 15:30:37 +03:00
Aevann 9d1a004be0 remove event favicons 2023-04-27 14:36:59 +02:00
Aevann 3282e07422 dedup some event codde 2023-04-27 14:08:11 +02:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann 0ca88b5941 same as last couple of commits 2023-04-25 17:59:16 +02:00
Aevann 28d74b5c7d make event folder 2023-04-25 17:47:46 +02:00
Aevann 16766981bc DKD 2023-04-25 16:34:09 +02:00
Aevann 3c1b752d97 revert last commit 2023-03-21 19:22:14 +02:00
Aevann e1ae9bcf1f temporarily change PWA display for rdrama to standalone so i can install it 2023-03-21 19:17:39 +02:00
Aevann c480b159fc add theme_color to manifest_rDrama.json 2023-03-21 19:15:36 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann f66fcdc6ce make chudding and banning in profiles more seamless 2023-03-17 16:23:42 +02:00
Aevann 397ab186f6 hide a bunch of user customization on shadowbanned profiles 2023-03-11 09:11:58 +02:00
Aevann 99d12c6fac remove unused variable 2023-03-11 08:05:34 +02:00
Aevann 9f66e33061 Revert "convert IS_FISTMAS and IS_HOMOWEEN from functions to variables"
This reverts commit b45d845630.
2023-03-08 08:51:40 +02:00
Aevann b45d845630 convert IS_FISTMAS and IS_HOMOWEEN from functions to variables 2023-03-08 08:10:18 +02:00
Aevann 055d4fce98 restore author_name in html_head.html 2023-03-04 17:45:37 +02:00
Aevann 9d081d093b same as last commit 2023-03-03 23:37:52 +02:00
Aevann 90c10e76e7 fix 500 error 2023-03-03 23:36:29 +02:00
Aevann ac5b58cdb6 fix shadowbannedcel post count and comment count 2023-02-28 19:54:01 +02:00
Aevann 5d4c9abc15 show shaowbanned bios to jannoids 2023-02-28 19:30:57 +02:00
Aevann 88762071aa hide shadowbannedcels bios 2023-02-27 17:33:04 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 835414fab7 fix chat 2023-01-21 12:39:55 +02:00
Aevann f2fdefa8cd chat overhaul 2023-01-21 12:36:21 +02:00
Aevann acc71d4cae add /admin/chat and dont store profile_url in chat dict 2023-01-20 06:10:25 +02:00
Aevann 9f89352489 same as last commit 2023-01-02 05:50:49 +02:00
Aevann db6db63836 change event structure 2023-01-01 07:33:09 +02:00
Aevann 3d9569a59f remove unnecessary stuff 2022-12-31 09:51:35 +02:00
Aevann f5211c19f9 fix chat annoyance 2022-12-30 20:09:55 +02:00
Aevann 0325295b89 fix background in holiday theme 2022-12-30 14:17:44 +02:00
Aevann 1759039f75 remove </input> 2022-12-30 11:45:14 +02:00
Aevann a42f0ffb81 minor fix 2022-12-30 10:23:27 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
Aevann1 98afe7d2c3 don't use linux symlinks so the site works in windows 2022-12-19 19:12:05 +02:00
Aevann1 46c21e5e08 load light.css 2022-12-19 04:23:21 +02:00
Aevann1 cda5870f8e disable transparent.css when event 2022-12-19 03:45:00 +02:00
geese_suck 1574b4da63 fistmas (#79)
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Nekobit Bitneko <me@ow.nekobit.net>
Reviewed-on: #79
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-12-19 01:20:14 +00:00
Aevann1 1f99bb0aa6 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3211375?context=8#context 2022-12-09 14:03:11 +02:00