forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

693 Commits (95ec09a6b37dfa97ec6867715804e79344d97d5f)

Author SHA1 Message Date
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
Aevann 9f89352489 same as last commit 2023-01-02 05:50:49 +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
Aevann b34b654175 restore all bootstrap margin and padding selectors 2023-01-01 10:38:09 +02:00
Aevann db6db63836 change event structure 2023-01-01 07:33:09 +02:00
Aevann 46023a4c08 pass element instead of its generated id 2023-01-01 05:05:09 +02:00
Aevann 3d9569a59f remove unnecessary stuff 2022-12-31 09:51:35 +02:00
Aevann f5211c19f9 fix chat annoyance 2022-12-30 20:09:55 +02:00
Aevann 72aefec753 minor padding fix 2022-12-30 18:57:49 +02:00
Aevann 7c78ec0adb remove unnecessary form elements 2022-12-30 18:56:16 +02:00
Aevann 0325295b89 fix background in holiday theme 2022-12-30 14:17:44 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 1759039f75 remove </input> 2022-12-30 11:45:14 +02:00
Aevann a42f0ffb81 minor fix 2022-12-30 10:23:27 +02:00
Aevann 1bfa5f5747 style change for format buttons 2022-12-30 10:20:09 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann 2b6698e2dd make xmas badge graphic site-specific 2022-12-26 21:36:19 +02:00
Aevann 070a22d02e remove accessiblity shit 2022-12-25 04:10:56 +02:00
Aevann c279eeb9d2 rename expandDesktopImage to expandImage 2022-12-25 03:56:19 +02:00
Aevann e6803f93e9 rework gif modal 2022-12-25 03:45:24 +02:00
Aevann ecfcbaf3df make hat_active return a tuple 2022-12-25 00:21:49 +02:00
Aevann1 3ae5292ce4 remove pcm from code 2022-12-21 14:42:41 +02:00
Aevann1 98afe7d2c3 don't use linux symlinks so the site works in windows 2022-12-19 19:12:05 +02:00
Aevann1 46c21e5e08 load light.css 2022-12-19 04:23:21 +02:00
Aevann1 cda5870f8e disable transparent.css when event 2022-12-19 03:45:00 +02:00
geese_suck 1574b4da63 fistmas (#79)
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Nekobit Bitneko <me@ow.nekobit.net>
Reviewed-on: rDrama/rDrama#79
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-12-19 01:20:14 +00:00
justcool393 34ce953884 Fix DM and modmail replies 404ing (#65)
messages got borked completely by this commit

this reverts commit b649a16b46.

---

Snakes note: DM and modmail replies 404'd because dispatched
to the wrong endpoint. The fix to that affected cancel buttons
in some contexts, so this PR also fixes those. Cancel button
presence and behavior should be same as it was a ~week ago
(i.e. correct), and all reply everywhere seem to work right.

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#65
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-14 04:16:43 +00:00
Aevann1 972c5533f1 Revert "disable banner expansion in WPD"
This reverts commit 273341d45b.
2022-12-13 23:54:34 +02:00
Aevann1 47d597a716 Revert "Revert "disable banner expansion in WPD""
This reverts commit b7bbc2cc1e.
2022-12-13 23:51:53 +02:00
Aevann1 b7bbc2cc1e Revert "disable banner expansion in WPD"
This reverts commit 273341d45b.
2022-12-13 23:49:26 +02:00
Aevann1 273341d45b disable banner expansion in WPD 2022-12-13 23:24:24 +02:00
Aevann1 36fca9caab minor bugfix 2022-12-13 20:50:38 +02:00
Aevann1 b649a16b46 fix cancel button 2022-12-13 20:26:25 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 06e1195189 restore "cancel" button JC removed 2022-12-10 18:55:39 +02:00
Aevann1 82a4903702 add margin to wall comment textarea 2022-12-10 17:25:34 +02:00
Aevann1 1f99bb0aa6 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3211375?context=8#context 2022-12-09 14:03:11 +02:00
Aevann1 ca4e0f5e66 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3210978?context=8#context 2022-12-09 12:54:29 +02:00
Aevann1 4561bb3e34 make custom css not affect all settings 2022-12-09 07:59:27 +02:00
justcool393 f848f68799 walls: remove duplication among routes/templates (#52)
removes a bunch of duplicated code in commenting and userpages

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#52
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:35:28 +00:00
Aevann1 bd3f0fcc84 fix 500 error 2022-12-07 19:57:56 +02:00
Aevann1 93063516ce tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
Aevann1 fee6e7150b same as last commit 2022-12-07 11:03:02 +02:00
Aevann1 e4b102873d in jinja, convert some + instances to ~ 2022-12-07 10:59:40 +02:00
Aevann1 d781c853f8 force transparent theme on userprofiles with a profile background 2022-12-07 10:23:03 +02:00