forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

190 Commits (95ec09a6b37dfa97ec6867715804e79344d97d5f)

Author SHA1 Message Date
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: 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
Aevann 1e30acc5a8 make all images have loading="lazy" 2023-01-27 19:55:25 +02:00
Aevann 1507ebc7c0 improve pin icon 2023-01-25 05:32:08 +02:00
Aevann 5502715122 replace type="hidden" with hidden 2023-01-24 07:10:16 +02:00
Aevann 4cc1635bac make pin icon look better 2023-01-22 10:50:03 +02:00
Aevann 24f6436b8f back to snake_case 2023-01-21 13:48:27 +02:00
Aevann 9717646755 remove all role attributes 2023-01-20 09:14:59 +02:00
Aevann 44aceee28c fix pinned timestamps 2023-01-03 13:00:06 +02:00
Aevann f694a695a4 remove padding 2023-01-03 12:48:20 +02:00
Aevann 445371c4cd fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3342093#context 2023-01-01 17:49:43 +02:00
Aevann 361f5a6549 fix popovers 2023-01-01 14:16:27 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00