forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

103 Commits (bd3a672c2d16f139768153b5454619756ffe3db3)

Author SHA1 Message Date
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: 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 eeb975b177 cachebust everything 2023-06-29 23:14:30 +03:00
Aevann 66d806c5f7 better popovers 2023-06-27 17:14:33 +03:00
Aevann 6958b70975 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4197134#context 2023-06-24 23:31:12 +03:00
Aevann 5e8f04b2ac rename flags to reports 2023-06-23 19:49:26 +03:00
Aevann 0c2e0f0b67 restore transparency for namelock badge 2023-05-16 03:25:31 +03:00
Aevann 814bf0a5f3 same as last comit 2023-05-16 03:07:41 +03:00
Aevann c4b246d3ac fix removing post reports 2023-05-16 03:01:53 +03:00
Aevann 4735650f77 fix last commit 2023-05-15 01:17:22 +03:00
Aevann bbaa6cd6b0 1. tell jannies the location of the report that caused someone to get under-sieged
2. allow jannies to see reports by shadowbanned users
3. destroy the shadowbanned underworld for reports
4. dedup reports HTML code
5. show JL5 the message that caused someone to get under-sieged
2023-05-15 01:01:10 +03:00
Aevann 35ba2f7abb trim badges 2023-05-12 19:15:14 +03:00
Aevann 7ebfd9808d cachebust badges 2023-05-10 22:16:18 +03:00
Aevann 0dc8b5ccb1 don't use pomf for DM images anymore and allow for video and audio in DMs 2023-05-05 00:52:37 +03:00
Aevann b5ab2b5436 fix this https://rdrama.net/post/158709/its-223am-central-time-chicagoburger-hey/3880628#context 2023-05-04 00:58:37 +03:00
Aevann 4f0f790038 add alts to pfps and hat images 2023-05-03 20:53:51 +03:00
Aevann f5a97ae709 add new patron tier for benefactor-cels 2023-05-03 18:29:31 +03:00
Aevann f1c66a31e3 add P̵͇̕S̶̔̇Ȳ̴͙C̶͋͗H̵͒̉O̴̎̍ tier to WPD 2023-05-02 22:27:39 +03:00
Aevann ec2629e706 increase patron images and house images height to 25px 2023-05-02 20:21:21 +03:00
Aevann 716e7f877e Revert "stop patron and house images from causing page jumps"
This reverts commit aabeca66f0.
2023-05-02 20:13:02 +03:00
Aevann 7e9e143642 cachebust house and patron images 2023-05-02 20:09:22 +03:00
Aevann aabeca66f0 stop patron and house images from causing page jumps 2023-05-02 19:48:49 +03:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann 35ffcc5d67 do #1 here https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3853278#context 2023-03-24 13:59:46 +02:00
Aevann 0c3600e9a0 preload banner url 2023-03-23 14:38:30 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 084d76b001 break flairs to stop overflowing 2023-03-17 09:31:06 +02:00
Aevann bb67ab8526 add gets 2023-03-16 08:36:24 +02:00
Aevann 2f043d8b0d fix undeleting highlighted comment 2023-03-11 07:13:45 +02:00
Aevann 964a3d3883 move IMAGE_FORMATS to root.html 2023-03-07 06:44:11 +02:00
Aevann 379b332825 remove lazy loading from the banner 2023-03-06 18:43:21 +02:00
Aevann 3a67c1647d fix bug with pasting in /submit + dedup 2023-03-04 21:54:06 +02:00
Aevann 60a5de8254 fix weird banner naming 2023-03-02 04:01:55 +02:00
Aevann c6dcb2e93d add progress bar to comments 2023-02-27 19:25:38 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 7cd1b2a83f remove duplicated code 2023-02-17 19:20:07 +02:00
Aevann dad3580137 add margin to "Draft" 2023-02-10 06:21:19 +02:00
Aevann 72b6ad67f4 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3540666#context 2023-02-07 03:36:41 +02:00
Aevann f35bfca450 reposition formatting help again in replies 2023-02-07 02:29:03 +02:00
Aevann b896efcf82 reposition formatting help 2023-02-06 06:57:09 +02:00
Aevann 2086b64c22 remove new year banners 2023-02-06 06:26:50 +02:00
mummified-corroding-granny e45d64ed4e Post Meta: prevent/minimize meta elements getting split between multiple lines (#110)
prevent/minimize meta elements getting split between multiple lines in post meta:
* posted relative time: 2m ago
* type (youtube.com)
* edited: x time ago
* views: 5 thread views

While this is not common for your average post with low ammount of awards on a 1080p desktop, it is especially bad:
* on mobile for most posts
* users with different system zoom
* on posts popular posts
* when the poster has a long flair

Reviewed-on: rDrama/rDrama#110
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-03 19:55:19 +00:00
Aevann 8133b219a4 refactor popovers 2023-02-02 22:07:14 +02:00
Aevann 29b5a16ad5 enable new year banners 2023-02-01 23:38:40 +02:00