forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

247 Commits (fe981e97d682e30bab6429173875b271be9b91b6)

Author SHA1 Message Date
Aevann fe981e97d6 fix 500 error 2023-09-28 23:47:30 +03:00
Aevann ad16527a40 fix keyerror when referrer is https://watchpeopledie.tv/notifications/messages?page=2 2023-09-28 01:09:09 +03:00
Aevann 5ea9bfcde0 fix 500 error 2023-09-28 01:04:19 +03:00
Aevann c9aa92cc04 remove print-debugging 2023-09-27 00:34:23 +03:00
Aevann 0bfeabd682 Revert "remove unnecessary response code"
This reverts commit f7e4c77898.
2023-09-27 00:30:03 +03:00
Aevann 21e37172f8 print-debugging 2023-09-27 00:17:52 +03:00
Aevann 59d984af3f make the important part of disconnect always work 2023-09-26 23:47:42 +03:00
Aevann 28559e6d34 try fixing /notifications/messages live thing 2023-09-26 23:35:41 +03:00
Aevann e7ab0be33b make /notifications/messages LIVE 2023-09-26 23:05:39 +03:00
Aevann 568f66e070 dont show <img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain2:" title=":marseytrain2:" src="https://i.rdrama.net/e/marseytrain2.webp"> when its not rendered 2023-09-26 18:39:06 +03:00
Aevann f7e4c77898 remove unnecessary response code 2023-09-26 18:20:43 +03:00
Aevann 4f227e5c8b use POST instead of GET 2023-09-26 18:19:29 +03:00
Aevann c9f3b95f86 refresh chat automatically when orgy starts 2023-09-26 15:29:36 +03:00
Aevann 204c756de5 remove leftover print code 2023-09-26 14:33:49 +03:00
Aevann 75d2739c29 try to fix online count increasing infinitely issue 2023-09-26 13:26:39 +03:00
Aevann d089d18e2d merge /chat and /orgy again 2023-09-25 01:12:42 +03:00
Aevann dbd170f205 make jannies immune to automatic chat mute 2023-09-23 20:51:34 +03:00
Aevann a9b078007e refactor slurs and profanities and put them in their own file 2023-09-22 20:01:30 +03:00
Aevann 60580cc6fa add orgy icon 2023-09-17 23:58:08 +03:00
Aevann 7d49737e5d revert earlier change that caused chat messages by shadowbanned-cels to go through 2023-09-16 02:54:58 +03:00
Aevann 4cafef23fd minor reorder 2023-09-14 20:36:14 +03:00
Aevann f392c6bb9c disallow permabanned-cels from all POST endpoints that require auth except /reply /contact /delete/post /delete/comment 2023-09-14 19:49:46 +03:00
Aevann ef906cb8da add forgotten field 2023-09-14 00:40:25 +03:00
Aevann 7e171e8b50 easier subtitle handling 2023-09-13 20:48:27 +03:00
Aevann cc22f009c2 redirect new chat entrants to /orgy when an orgy is active and display number of ppl in the orgy 2023-09-13 01:04:58 +03:00
Aevann d2a61cab1c remove unnecessary f 2023-09-13 01:04:58 +03:00
Aevann e28a748d81 have orgy chat be running at all times instead of the error message 2023-09-09 02:32:39 +03:00
Aevann 3ff47224cf 403 instead of 404 2023-09-08 19:13:27 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann 95d59a418d fix chat errors 2023-09-06 17:29:31 +03:00
Aevann 07a5beac1c allow chat users to upload images higher than 1,000,000 bytes 2023-09-05 22:45:00 +03:00
Aevann 8bae228129 add separate chatroom for orgies 2023-09-05 18:32:57 +03:00
Aevann 8af12ad2c9 make CC and chat threshold the same for movie night purposes 2023-08-26 00:00:53 +03:00
Aevann 60eaa5d282 remove /old_chat (needless bloat) 2023-08-16 23:12:37 +03:00
Aevann 4b977054f2 do what g-tix wants 2023-08-16 00:42:33 +03:00
Aevann 70047a3004 add patron backgrounds in chat 2023-08-14 15:26:42 +03:00
Aevann 414bd30fd7 allow verified-email-cels into chat 2023-08-13 18:13:09 +03:00
Aevann 028a92162b make blocking affect chat too 2023-08-09 18:19:43 +03:00
Aevann a0c0f2af64 remove unnecessary () 2023-08-06 06:33:25 +03:00
Aevann 63c9715d7c fix this https://discord.com/channels/1104830662831247492/1104909974238400542/1135806954611167252 2023-08-01 09:43:32 +03:00
Aevann 7c462bc17f remove a bunch of unnecessary/confusing garbage 2023-07-29 22:13:37 +03:00
Aevann 30b7e3e96e add socketio-friendly wrappers 2023-07-24 13:33:04 +03:00
Aevann 5160c11478 since tempbanned can't speak, make it so they can't emit a typing event 2023-07-24 13:14:28 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
HeyMoon abd91f81ac Orgies: Support Rumble and Twitch and Mobile Viewing (#169)
Hell yeah

 - Rumble.com, basically youtube for rightoids (so you can do more edgy streams)
 - Twitch
 - Mobile orgy support, it's pretty bad thoever
 - Button to switch back to normalchat for phonefags

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#169
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-10 00:38:02 +00: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 cf230fa7d9 disallow permabanned-cels from chat 2023-06-15 08:36:28 +03:00
Aevann f5a68a7e79 fix 500 errors 2023-03-19 14:01:57 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann d604a6cd99 commit leftover file from last commit 2023-03-06 21:52:31 +02:00