forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

6860 Commits (63f9d02abc98ff5f6ee90b930852bce16a104562)

Author SHA1 Message Date
Aevann 30b7e3e96e add socketio-friendly wrappers 2023-07-24 13:33:04 +03:00
Aevann 5160c11478 since tempbanned can't speak, make it so they can't emit a typing event 2023-07-24 13:14:28 +03:00
Aevann feec6740d1 catch ffmpeg timeout for making poster 2023-07-23 18:14:10 +03:00
Aevann d6c250c910 remove unnecessary flush 2023-07-23 17:41:48 +03:00
Aevann 69de2382a4 fix typo 2023-07-23 17:41:39 +03:00
Aevann 1a9e442331 change wrong response codes 2023-07-23 03:36:28 +03:00
Aevann 4dfaced994 remove wrong response code that results in console error 2023-07-23 03:34:37 +03:00
Aevann 2522154808 fix this https://rdrama.net/h/lit/post/189977/i-like-wendigoon-but-boy-did/4638942#context 2023-07-23 03:10:08 +03:00
Aevann d0c7524154 put cron_fn in gevent to make it stop blocking 2023-07-23 00:31:44 +03:00
Aevann 645af47309 dont allow ppl to reply to normal comments like they're a message, @ThousandBestLives did this 2023-07-22 22:43:29 +03:00
Aevann 01151de87f do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4619404#context 2023-07-22 22:34:16 +03:00
Aevann 36e5845877 fix the last line of this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4609716#context 2023-07-22 22:20:00 +03:00
Aevann 7f6a45a5b6 run cron in localhost too 2023-07-22 20:11:07 +03:00
Aevann 472f1675ef do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4630694#context 2023-07-22 19:37:57 +03:00
Aevann 6726668237 force LLM posts in chudrama 2023-07-22 19:32:46 +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 a2106d191a disasllow ppl from publishing drafts while banned 2023-07-22 17:40:23 +03:00
Aevann 0f76908c3b pin women worldcup posts 2023-07-22 13:57:54 +03:00
Aevann 684522f6b4 remove /badmins for not being highlighted 2023-07-21 17:30:11 +03:00
Aevann f0b51ed2c0 make !jannies dynamic 2023-07-21 17:27:49 +03:00
Aevann e353e67f19 fix this https://rdrama.net/@Aevann/wall/comment/4624316#context 2023-07-21 15:26:43 +03:00
Aevann 16fb709c00 boost /h/countryclub by x2 2023-07-20 19:54:59 +03:00
Aevann af52afb408 use abort in vote 2023-07-19 13:00:59 +03:00
Aevann 851329acb0 mute annoying error 2023-07-18 20:39:55 +03:00
Aevann d613bca1c9 increase /login limit from 10/day to 20/day 2023-07-18 20:31:05 +03:00
Aevann f192720dcf order holes by new by default 2023-07-18 16:06:00 +03:00
Aevann d2ee5be219 mute annoying error 2023-07-18 16:02:31 +03:00
Aevann d1ef92fa17 fix 2023-07-18 14:38:33 +03:00
Aevann 649ea49c67 mute annoying errors 2023-07-18 13:17:37 +03:00
Aevann f6f0d4c4c2 add nr request arg for notifs 2023-07-18 12:24:22 +03:00
Aevann c2d709e9ef dont allow saves sorting in posts (it results in 500 error) 2023-07-17 20:32:41 +03:00
Aevann 2b9647a37e try random bullshit to fix timeouts 2023-07-17 17:49:26 +03:00
Aevann fe183b7fef add exclamation mark 2023-07-17 17:49:07 +03:00
Aevann c8a40deb97 fix this https://rdrama.net/h/toomanyxchromosomes/post/187815/footballer-cleared-of-rpe-for-the/4583480#context 2023-07-16 14:56:24 +03:00
Aevann a139197371 persist ppl's edit text on failure 2023-07-14 20:07:58 +03:00
Aevann 79d8bb7d2c allow session cookie to work on videos.watchpeopledie.tv 2023-07-14 18:45:49 +03:00
Aevann f4dced0d09 fix >100MB uploads 2023-07-14 16:30:55 +03:00
Aevann da701f6e5b give success message when changing sidebar or css 2023-07-14 15:12:57 +03:00
Aevann b0cd42f73e save sidebar value when its too big 2023-07-14 15:12:13 +03:00
Aevann 1cacedf72e remove mass_css_validation_holes 2023-07-14 14:43:40 +03:00
Aevann de61601bf5 add - 2023-07-14 14:40:14 +03:00
Aevann edfe63b100 validate hole css 2023-07-14 14:38:48 +03:00
Aevann 2413af3467 remove worldcup shit 2023-07-14 12:22:08 +03:00
Aevann 955aaf48e5 revert 2 commits 2023-07-14 12:20:33 +03:00
Aevann e15effe223 move boosted_sites to its own file so i can link to it 2023-07-14 06:32:52 +03:00
Aevann 63fa768883 fix 500 error 2023-07-14 06:00:12 +03:00
Aevann 1d726ebd77 fix user counts being 0 in error pages 2023-07-13 17:02:58 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann 6576934dca Revert "fix wrong coin and mbux count in /leaderboard"
This reverts commit 1359384560.
2023-07-13 16:03:04 +03:00
Aevann 1359384560 fix wrong coin and mbux count in /leaderboard 2023-07-13 15:59:34 +03:00
Aevann 75d3eea134 change lemmy boosting 2023-07-13 14:22:22 +03:00
Aevann 5e6fb299dc fix typo 2023-07-13 13:50:36 +03:00
Aevann cbd23b53d9 flush 2023-07-12 14:59:27 +03:00
Aevann a0f3866193 more extensible ADMIGGER_THREADS 2023-07-12 14:59:27 +03:00
Aevann 02c5494703 remove mass_css_validation 2023-07-12 05:12:41 +03:00
Aevann 10e5d52e48 mass css validation 2023-07-12 05:02:31 +03:00
Aevann 8c95a9e9d2 combine endpoints 2023-07-12 04:13:40 +03:00
Aevann 05fd2c60dd consistency 2023-07-12 04:11:47 +03:00
Aevann e5aaca4a18 consistency 2023-07-12 04:10:55 +03:00
Aevann 90824d0f5f another fix 2023-07-12 04:09:02 +03:00
Aevann 7356d52edc another fix 2023-07-12 04:07:58 +03:00
Aevann dc43bca129 consistency 2023-07-11 20:58:01 +03:00
Aevann 251ed10cec Revert "Revert "make it possible to message someone by id""
This reverts commit fd17dab06c.
2023-07-11 20:55:38 +03:00
Aevann ee12cd9d66 Revert "minor improvement"
This reverts commit 2831ae0ccb.
2023-07-11 20:54:32 +03:00
Aevann 8e57ece096 make it possible to message someone by id 2023-07-11 17:36:46 +03:00
Aevann fd17dab06c Revert "make it possible to message someone by id"
This reverts commit 718951f6a6.
2023-07-11 17:31:07 +03:00
Aevann 718951f6a6 make it possible to message someone by id 2023-07-11 15:30:44 +03:00
Aevann 2831ae0ccb minor improvement 2023-07-11 15:27:19 +03:00
Aevann 402ae8e40b allow using of Shit award to negative someone 2023-07-10 16:24:03 +03:00
Aevann cc30ca48af remove blackjack exception 2023-07-10 04:45:55 +03:00
Aevann 54137299ac same as last commit 2023-07-10 04:24:58 +03:00
Aevann 2a785acd5b same as last commit 2023-07-10 04:23:00 +03:00
Aevann 05040a4224 fix 500 error 2023-07-10 04:21:47 +03:00
Aevann 02acb35752 use claim_rewards_all_users everywhere 2023-07-10 04:17:31 +03:00
Aevann 13c99ec9ad fix claim_rewards by not importing Transaction from sqlalchemy which overrides my Transaction class 2023-07-10 03:49:08 +03:00
HeyMoon abd91f81ac Orgies: Support Rumble and Twitch and Mobile Viewing (#169)
Hell yeah

 - Rumble.com, basically youtube for rightoids (so you can do more edgy streams)
 - Twitch
 - Mobile orgy support, it's pretty bad thoever
 - Button to switch back to normalchat for phonefags

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#169
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-10 00:38:02 +00:00
Aevann e7e2b49c84 remove console spam that scrolls me to the bottom 2023-07-10 03:30:30 +03:00
Aevann f22a362f37 fix bug when both queen and namelock expire at the same time 2023-07-08 19:11:29 +03:00
Aevann fca27c37eb remove unnecessary v shit 2023-07-08 16:32:14 +03:00
Aevann 9652c13286 cache /leaderboard for 24hrs 2023-07-08 16:22:14 +03:00
Aevann 8b07f314e8 fix redirect getting wiped on login fail 2023-07-08 16:22:02 +03:00
Aevann d84b3220c3 test leaderboard in wpd 2023-07-08 16:09:58 +03:00
Aevann 3739e6669d make it possible to start the name of a marcus emoji with "marcus" 2023-07-08 02:25:07 +03:00
Aevann 2154684751 remove now-unnecessary app_id column 2023-07-08 02:19:37 +03:00
Aevann 517ed8a9d3 disallow ALL bots from voting 2023-07-08 02:18:03 +03:00
Aevann 21c69eebec use uuid for session_ids 2023-07-08 00:50:26 +03:00
Aevann ecf3e1133f exempt kaamrev from 1week edit limit 2023-07-08 00:28:08 +03:00
Aevann 43ff6a4b7e give ppl flairlocked by jannies the flairlock badge 2023-07-08 00:01:47 +03:00
Aevann a2cadc3815 fix None 2023-07-07 23:46:49 +03:00
Aevann 0e6ec728f1 fix errror 2023-07-07 23:45:39 +03:00
Aevann f11f58ed81 fix typo 2023-07-07 23:40:19 +03:00
Aevann f1856a6ec2 only call calc_users when its necessary 2023-07-07 23:40:16 +03:00
Aevann 6dacba53b6 tinker with cache to stop insane cpu usage by redis-server 2023-07-07 22:08:23 +03:00
float-trip 041481f2b6 Fix /comment JSON response (#167)
Since `replies` is no longer added to the response, returning the JSON for the top level comment makes it impossible to get the JSON for a reply.

Btw - you might want to remove the `author` field [here](60b5b33a79/files/classes/comment.py (L308)). It attaches the full user bio and badge list to every comment, which turns something like `GET https://rdrama.net/post/18459` into a 21MB response. `author_name` is pretty much all anyone needs anyway

Co-authored-by: float-trip <float-trip@fsdfsd.net>
Reviewed-on: rDrama/rDrama#167
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2023-07-07 18:53:14 +00:00
Aevann 15e445b01b disable cookie clearing on wpd in case thats what caused the issue 2023-07-07 21:44:12 +03:00
Aevann 6747557a95 fix this https://rdrama.net/post/185672/the-best-advice-i-ever-received/4524955#context 2023-07-07 08:41:57 +03:00
Aevann 72c61b15c8 redirect /marseys to /emojis 2023-07-07 04:52:19 +03:00
Aevann f28f7b836c fix 500 error when all members leave group 2023-07-07 03:37:17 +03:00
Aevann fdf9e68801 remove unnecessay padding 2023-07-07 02:30:53 +03:00
Aevann 29876efcca increase ddos_detected limit to 3000 2023-07-07 01:23:06 +03:00
Aevann 6c89776b1d dont autopin ghost threads 2023-07-06 04:44:05 +03:00
Aevann bc13b908c8 increase loggedout_counter limit to 2000 2023-07-06 00:52:04 +03:00
Aevann 1adc447d18 do this https://rdrama.net/h/countryclub/post/79285/-/4493631#context 2023-07-05 23:45:57 +03:00
Aevann 31b685db57 boost all stealth holes by x2 2023-07-05 23:39:15 +03:00
Aevann 7ed0b8b494 improve GLOBAL 2023-07-05 21:44:57 +03:00
Aevann 9f8ffb528b fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4496247#context 2023-07-05 21:36:13 +03:00
Aevann e658bb6d01 fix /emojis on wpd 2023-07-05 19:22:40 +03:00
Aevann 86fa1090c3 remove edgy founder line 2023-07-05 19:17:04 +03:00
Aevann 74695cfef8 fix repeated endpoint 2023-07-05 00:55:53 +03:00
Aevann fcb74c7c9b convert /marseys into /emojis 2023-07-05 00:40:00 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +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 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann 8f323c3ec6 restore perma-marsify toggle for paypigs only 2023-07-02 23:07:31 +03:00
Aevann f4af0779fd add error for signatures for non-paypigs 2023-07-02 22:57:08 +03:00
Aevann 1cd13cf4da make jannies able to award shadowbanned-cels 2023-07-02 20:24:21 +03:00
Aevann 0b4ead5f81 fix 500 error 2023-07-02 02:14:57 +03:00
Aevann c1d7b9acc2 fix duplicate cookie issue 2023-07-02 02:00:56 +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
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 cecacc25a4 fix wrong badge order 2023-07-01 02:10:50 +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 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 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 15415a2c5a shorten password length 2023-06-30 19:51:59 +03:00
Aevann ed322add97 use more secure token_urlsafe 2023-06-30 19:51:14 +03:00
Aevann 8d608e2939 add "reset password' button to JL-5 2023-06-30 19:39:24 +03:00
Aevann f22df30161 add forgotten clarification in notification 2023-06-30 19:21:18 +03:00
Aevann d417fe14f0 rename property 2023-06-29 23:52:07 +03:00
Aevann 812a637180 fix 500 error 2023-06-29 23:19:15 +03:00
Aevann 8b3388cb29 fix d98f8afde8 2023-06-29 23:15:12 +03: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 d98f8afde8 unlock /donate to loggedoutcels 2023-06-29 23:10:31 +03:00
Aevann 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann bac356db1d make sure all usages of subprocess have timeout duration 2023-06-29 22:38:55 +03:00
Aevann dcf7c282a6 fix editing push notif 2023-06-29 22:22:12 +03:00
Aevann f3f01bad96 make the "Enable push notifications" button link to /app on non-pwa iphone 2023-06-29 22:05:24 +03:00
Aevann 0a8b2b23cc same as last commit 2023-06-29 19:14:24 +03:00
Aevann e5bf894bf6 fix internal server error 2023-06-29 19:13:25 +03:00
Aevann 3a07bd1d25 remove print statement 2023-06-29 18:56:54 +03:00
Aevann 034cc436f1 delete unnecessary space 2023-06-29 18:56:40 +03:00