Commit Graph

146 Commits (bb7192c92959c2e3e1cdee88ae42618269fb03a3)

Author SHA1 Message Date
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann 74587b12da use can_see_shadowbanned 2023-10-05 12:44:42 +03:00
Aevann 2f9a5a30bf show note for emoji award too 2023-10-05 12:39:58 +03:00
Aevann c07c97b9ec make notes look better 2023-10-05 12:39:08 +03:00
Aevann 82e9d1fc0c display new name, new flair, and chud phrase in tooltips of "namelock" "flairlock" and "chud" awards respectively 2023-10-04 19:49:52 +03:00
Aevann 5c1a2ac7a1 18+ -> NSFW 2023-10-04 17:04:06 +03:00
Aevann 7fced29fba change wholesome award to emoji award 2023-10-04 16:05:43 +03:00
Aevann 776d9fc091 revert the modal change 2023-10-02 09:04:05 +03:00
Aevann b99d4ae05d fix emoji button in chat 2023-10-02 06:18:09 +03:00
Aevann 92a5174466 use my own modal system instead of bootstrap in preparation for potentially not using bootstrap.js anymore (also I like it more and wanna see if anybody notices any changes at all) 2023-10-01 15:03:52 +03:00
Aevann bc8427d932 +18 -> 18+ 2023-09-29 23:57:58 +03:00
Aevann 445f7c5598 fix inline-emoji-search placement in chat 2023-09-29 07:10:55 +03:00
Aevann 21de5bfb3a add tabs 2023-09-29 06:20:48 +03:00
Aevann 92aba70f3b only show "hot" sort in specific places 2023-09-29 05:05:21 +03:00
Aevann 9f7a761b73 homoween III + other random shit 2023-09-29 02:58:09 +03:00
Aevann 08bdb9100f fix 500 error 2023-09-17 22:48:02 +03:00
Aevann 516ef19603 hide bannedfor and chuddedfor icons in chudrama html-side 2023-09-17 22:20:26 +03:00
Aevann 8f4f0b8cb3 disable "submit" buttons unless theres a value in textbox to prevent annoying misclicks 2023-09-15 16:55:27 +03:00
Aevann c4dcb3e312 remove unnecessary ; 2023-09-15 14:28:43 +03:00
Aevann 0c9a7e76bc do this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/1685005#context 2023-09-15 03:33:08 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann f2ed74ec6a dedup sorting in the jinja templates 2023-09-05 17:32:36 +03:00
Aevann 7ce4e34453 user PERMS whenever u can 2023-08-31 13:31:04 +03:00
Aevann 01de9f4320 add padding 2023-08-24 02:50:18 +03:00
Aevann 6994ea3605 use far for "Reported by", it looks better 2023-08-23 23:46:09 +03:00
Aevann ba47449685 use solid icons instead of regular 2023-08-23 03:52:50 +03:00
Aevann fad062cea4 fix some broken images 2023-08-18 23:33:29 +03:00
Aevann e452340b4a remove spaces 2023-08-17 01:43:27 +03:00
Aevann 5fcf534bf5 remove unneeded d-none 2023-08-14 20:00:22 +03:00
Aevann 416ecf3558 dedup some html code 2023-08-14 17:28:27 +03:00
Aevann 70047a3004 add patron backgrounds in chat 2023-08-14 15:26:42 +03:00
Aevann 07309ee35d fix padding 2023-08-12 17:56:50 +03:00
Aevann 34860303fb fix emojis in shadowbanned tooltip 2023-08-10 18:37:29 +03:00
Aevann c9abf14349 use shorter syntax in chat code 2023-08-09 18:19:32 +03:00
Aevann 784f881c5b addendum to last commit 2023-08-09 16:11:22 +03:00
Aevann 67f968d04d show who exiled the user in the icon 2023-08-08 20:01:58 +03:00
Aevann 0030858521 change "quote selection" to "reply" when we're done 2023-08-03 10:33:57 +03:00
Aevann 588a8bb7a0 move function call to js file 2023-08-03 10:13:10 +03:00
Aevann 8225e69cb0 cachebust badges 2023-08-01 10:44:35 +03:00
Aevann eebc6db138 use tabs not spaces 2023-08-01 10:38:30 +03:00
Aevann 63c9715d7c fix this https://discord.com/channels/1104830662831247492/1104909974238400542/1135806954611167252 2023-08-01 09:43:32 +03:00
Aevann 5e0bd47da0 do this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4688748#context 2023-07-30 10:12:26 +03:00
Aevann b6da873767 add margin to report indicator 2023-07-30 07:53:00 +03:00
Aevann 3b94812973 remove ghost-town-box when making a comment 2023-07-25 21:41:24 +03:00
Aevann a72c18bed7 fix mention html (im retarded) 2023-07-22 21:12:04 +03:00
Aevann 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
Aevann 988a14f187 use SITE_FULL_IMAGES whenever u possibly can 2023-07-22 19:24:16 +03:00
Aevann 39f1bbf0d7 fix manually applied errors not working 2023-07-14 15:07:21 +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 eeb975b177 cachebust everything 2023-06-29 23:14:30 +03:00