Commit Graph

742 Commits (e6706b556f8ab238097b4aea7d850516b9ee1549)

Author SHA1 Message Date
Aevann 904d41230f fix chat file button 2023-10-05 15:40:03 +03:00
Aevann 6368ad7e9a fix chat 2023-10-05 15:29:11 +03:00
Aevann dde1309ef0 add tabs 2023-10-05 14:20:05 +03:00
Aevann 36688139f8 fully use the new macros 2023-10-05 14:11:03 +03:00
Aevann 4274d1633f split macros.file_input into 3 in preparation for next commit 2023-10-05 13:57:32 +03:00
Aevann 0867c47d9c rename customtitle to flair 2023-10-05 13:39:12 +03:00
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann 019621490a refactor can_see and use it more 2023-10-05 13:09:58 +03:00
Aevann d952bf49db Revert "refactor can_see and use it more"
This reverts commit a0cf583460.
2023-10-05 12:55:35 +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 a0cf583460 refactor can_see and use it more 2023-10-05 12:22:05 +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 992f1e6df4 rename 2 css files 2023-10-01 11:15:50 +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 29c54b2284 delete unnecessary code 2023-09-26 23:09:38 +03:00
Aevann e0e33dd8f6 add themes folder to prevent clutter 2023-09-26 19:24:27 +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 6ee03f143b more intuitive css urls for easier css sharing 2023-09-07 19:16:13 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann 8bae228129 add separate chatroom for orgies 2023-09-05 18:32:57 +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 0227a52791 fix chat clipping 2023-08-17 05:23:52 +03:00
Aevann e452340b4a remove spaces 2023-08-17 01:43:27 +03:00
Aevann 60eaa5d282 remove /old_chat (needless bloat) 2023-08-16 23:12:37 +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 3c0e406f90 fix manifest error in localhost 2023-07-22 14:26:08 +03:00
Aevann 39f1bbf0d7 fix manually applied errors not working 2023-07-14 15:07:21 +03:00
Aevann 5014cce503 fix up /old_chat 2023-07-03 03:36:25 +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 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: rDrama/rDrama#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 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 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 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 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 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 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 df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann f66fcdc6ce make chudding and banning in profiles more seamless 2023-03-17 16:23:42 +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 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 2f043d8b0d fix undeleting highlighted comment 2023-03-11 07:13:45 +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 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 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 60a5de8254 fix weird banner naming 2023-03-02 04:01:55 +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 c6dcb2e93d add progress bar to comments 2023-02-27 19:25:38 +02:00
Aevann 88762071aa hide shadowbannedcels bios 2023-02-27 17:33:04 +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 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 24f6436b8f back to snake_case 2023-01-21 13:48:27 +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 9717646755 remove all role attributes 2023-01-20 09:14:59 +02:00
Aevann acc71d4cae add /admin/chat and dont store profile_url in chat dict 2023-01-20 06:10:25 +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