Commit Graph

21411 Commits (9b0dc1f44ecbf569f83a59406ac10f7610b10021)

Author SHA1 Message Date
Aevann ca2f50f7ce same as last commit 2023-07-04 23:52:00 +03:00
SneedBot 8b88be98f3 sneed 2023-07-04 20:48:38 +00:00
SneedBot 2d7afc704f sneed 2023-07-04 20:47:33 +00:00
Aevann f249b1e158 fix i think 2023-07-04 23:44:41 +03:00
SneedBot 469d4a8e62 sneed 2023-07-03 23:44:25 +00:00
Aevann 8c526576ad fix repeated mentions 2023-07-04 02:43:29 +03:00
Aevann 963223495c urgent fix for cron award shit 2023-07-03 04:58:05 +03:00
Aevann 5014cce503 fix up /old_chat 2023-07-03 03:36:25 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
Aevann 8c08818d35 improve NOT_IN_CODE_OR_LINKS 2023-07-03 03:20:55 +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
Aevann a5f21ea658 restore /update for !everyone since its needed 2023-07-03 00:48:23 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann a11c12ef77 remove unnecessary const 2023-07-03 00:41:35 +03:00
Aevann 4aedec05d1 increase session age 2023-07-03 00:21:35 +03:00
Aevann 8f323c3ec6 restore perma-marsify toggle for paypigs only 2023-07-02 23:07:31 +03:00
Aevann 9d2f855b8e remove wpd special condition 2023-07-02 23:03:31 +03:00
Aevann f4af0779fd add error for signatures for non-paypigs 2023-07-02 22:57:08 +03:00
Aevann dd37775c6b try moving _award_timers_task to every_1h 2023-07-02 22:51:16 +03:00
HeyMoon 331b35a3f9 fix Xmaxxing (and add badass images) (#164)
Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#164
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 17:41:46 +00:00
SneedBot 731f5ecbef sneed 2023-07-02 17:41:21 +00:00
Aevann fb153e9a14 when u visit someone's profile, see who chudded them 2023-07-02 20:40:39 +03:00
Aevann 1cd13cf4da make jannies able to award shadowbanned-cels 2023-07-02 20:24:21 +03:00
Aevann 07695039d7 escape / 2023-07-02 20:24:21 +03:00
Aevann 11e8e93901 fix overflow 2023-07-02 17:31:13 +03:00
Aevann 4841ab1864 fix 500 error 2023-07-02 02:50:41 +03:00
Aevann ca375b72ca dont advertise push notifs 2023-07-02 02:35:14 +03:00
Aevann b072783887 remove now-unnecessary err,css 2023-07-02 02:27:29 +03:00
Aevann f1b9cdd701 add today tld 2023-07-02 02:26:57 +03:00
Aevann 3d1905d51c make error page prettier 2023-07-02 02:20:04 +03:00
Aevann 0b4ead5f81 fix 500 error 2023-07-02 02:14:57 +03:00
SneedBot 784de237db sneed 2023-07-01 23:05:09 +00:00
Aevann 1ec48ce9e8 remove exclamation mark 2023-07-02 02:04:51 +03:00
Aevann b58c09f374 restore app tooltip + add something for iphonecels on it 2023-07-02 02:03:41 +03:00
Aevann c1d7b9acc2 fix duplicate cookie issue 2023-07-02 02:00:56 +03:00
borntolurk 072010ff8a Fix PWA top padding (#163)
Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: rDrama/rDrama#163
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
2023-07-01 22:14:59 +00:00
Aevann c69400482e make block button be red 2023-07-02 00:41:36 +03:00
SneedBot 6a4f978d14 sneed 2023-07-01 21:26:34 +00:00
Aevann f4d96c4e88 fis this https://rdrama.net/post/184174/hecko-its-independence-gay-weekend-grill/4483286#context 2023-07-02 00:22:13 +03:00
Aevann fb1f282804 remove unnecessary route 2023-07-01 22:37:43 +03:00
Aevann b2b5633c8b fix forgotten subdomain 2023-07-01 22:37:32 +03:00
Aevann 7f6675f7f9 remove unddit.com (RIP u will not be forgotten) 2023-07-01 19:41:59 +03:00
SneedBot 0d6cc6745c sneed 2023-07-01 16:35:05 +00:00
Aevann 8555e370be restore necessary xhr.withCredentials for WPD 2023-07-01 19:34:47 +03:00
Aevann 2dde07bf0f shorten profile background url on mobile too 2023-07-01 18:33:06 +03:00
Aevann ecb13538ec remove bard law sidebar for being insulting to treasured effortposters 2023-07-01 18:31:46 +03:00
Aevann eccea6347f add name notifs on wpd 2023-07-01 18:30:57 +03:00
Aevann eed7410277 make spam bans generate modlog items + dedup 2023-07-01 18:27:56 +03:00
SneedBot 864a6ff321 sneed 2023-07-01 15:14:57 +00:00
Aevann b7d089d0c3 Revert "change dramblr unread color"
This reverts commit 848aa08e57.
2023-07-01 18:14:40 +03:00
SneedBot adbdb4e395 sneed 2023-07-01 14:21:03 +00:00
Aevann e863d93b2b increase post ratelimit on WPD 2023-07-01 17:19:53 +03:00
Aevann d237d30bd7 make popover view button unbreakable 2023-07-01 04:29:40 +03:00
Aevann f6391c7997 fix birthgay 500 error 2023-07-01 04:13:41 +03:00
Aevann c0748c8a36 add guide to enabling push notifs 2023-07-01 04:11:21 +03:00
Aevann 6bd40e1c41 fix wrong condition 2023-07-01 04:05:37 +03:00
Aevann e8253b1240 hide app icon inside the PWA 2023-07-01 04:05:28 +03:00
Aevann 54a7a81469 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4421734#context 2023-07-01 03:51:38 +03:00
Aevann aaa618657f disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them 2023-07-01 03:39:24 +03:00
Aevann 3cbea18327 make emoji search work on original usernames 2023-07-01 03:25:12 +03:00
Aevann 21cd802ccb fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4302260#context 2023-07-01 03:13:57 +03:00
KindaCrayCray fedb366b6b Improve inline emoji modal (with bugfixes) (#162)
- Fix/modernize keyboard navigation (making selections work and autoscroll)
- Allow capital letters to be used in the inline emoji input
- Fix first emoji typed not causing the picker to appear

\*Fixed bug that broke emoji pickers

Reviewed-on: rDrama/rDrama#162
Co-authored-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
Co-committed-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
2023-07-01 00:04:23 +00:00
Aevann f0cfa8c916 fix this https://rdrama.net/post/173066/my-im-starting-to-believe-rightoid/4217124#context 2023-07-01 02:59:42 +03:00
Aevann 71dcc51512 delete sidebar 2023-07-01 02:59:42 +03:00
SneedBot 628275a04c sneed 2023-06-30 23:11:28 +00:00
Aevann cecacc25a4 fix wrong badge order 2023-07-01 02:10:50 +03:00
Aevann 3c07d4bcd8 remove unnecessary lookaround groups 2023-07-01 01:52:11 +03:00
Aevann 67fa522b82 dont use pay_account and charge_account in votes 2023-07-01 00:49:10 +03:00
Aevann d4613c3308 allow ppl to make reposts 2023-07-01 00:35:39 +03:00
Aevann 36bb237216 make repost warning more noticable 2023-07-01 00:34:15 +03:00
Aevann e315ca0f65 fix /is_repost 2023-07-01 00:32:57 +03:00
Aevann 07b534dee2 remove unnecessary xhr.withCredentials 2023-07-01 00:30:35 +03:00
Aevann af4b262c7d add padding 2023-07-01 00:30:24 +03:00
Aevann 2eeb0dcbdf disable leaderboard in wpd temporarily 2023-06-30 23:38:59 +03:00
Aevann 486bacf5e6 use error()instead of abort() in sanitize 2023-06-30 23:34:29 +03:00
Aevann 243368c106 add padding 2023-06-30 23:32:36 +03:00
Aevann 6d23974d58 add padding 2023-06-30 23:31:24 +03:00
Aevann 57e29f3aa2 Revert "change midnight unread color"
This reverts commit 4547493787.
2023-06-30 23:25:01 +03:00
Aevann 1b7757d36f Revert "change unread color in classic_dark"
This reverts commit f84b9d15c9.
2023-06-30 23:24:47 +03:00
Aevann c721b26b61 dylan 2023-06-30 23:17:56 +03:00
Aevann 57ed09561b make sure ppl know the benefit of linking an email 2023-06-30 23:07:44 +03:00
Aevann e4662247b7 revert commit that caused pat emojis not to get mirrored
This reverts commit 3a3615d292.
2023-06-30 22:54:36 +03:00
Aevann daedb5f047 nasty hack to stop underscores being interpreted as italic which breaks mentioning users with two underscores and links sometimes 2023-06-30 22:47:38 +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 fa70dc4e93 fix this https://media.discordapp.net/attachments/1104910184901525544/1124420076662173776/image.png?width=1144&height=611 2023-06-30 22:33:18 +03:00
Aevann 0039bc3d56 make inline emoji search case insensitive 2023-06-30 22:10:03 +03:00
Aevann f84b9d15c9 change unread color in classic_dark 2023-06-30 22:03:30 +03:00
Aevann 1e3f48e31f unify highlighting css selectors 2023-06-30 22:03:11 +03:00
Aevann 8f9367ed93 change 4chan unread color 2023-06-30 21:50:39 +03:00
Aevann 4547493787 change midnight unread color 2023-06-30 21:48:27 +03:00
Aevann 848aa08e57 change dramblr unread color 2023-06-30 21:47:40 +03:00
Aevann ac387e4bac add /donate to directory 2023-06-30 21:38:15 +03:00
Aevann d003822dc0 constantify frequently-used regex negative lookahead group 2023-06-30 21:29:53 +03:00
Aevann af095e4bbf same as last commit 2023-06-30 20:54:31 +03:00
Aevann 30b4ac2272 minor tweak to popover size 2023-06-30 20:51:30 +03:00
Aevann 0bc64ef1ac increase popover banner height 2023-06-30 20:45:51 +03:00
Aevann 6faf24b8be make tooltip clearer 2023-06-30 20:36:26 +03:00
Aevann 4a1356c371 Revert "Improve inline emoji modal (#159)"
This reverts commit 3d5355e30f.
2023-06-30 20:31:42 +03:00
Aevann 15415a2c5a shorten password length 2023-06-30 19:51:59 +03:00