Commit Graph

960 Commits (39ff09e777bad5193288b34323d9f6bd4b364fb8)

Author SHA1 Message Date
Aevann 39ff09e777 restore bump sort 2023-07-26 01:59:49 +03:00
Aevann a57ff00e09 make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks) 2023-07-26 00:26:34 +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 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
Aevann a2106d191a disasllow ppl from publishing drafts while banned 2023-07-22 17:40:23 +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 ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann a0f3866193 more extensible ADMIGGER_THREADS 2023-07-12 14:59:27 +03:00
Aevann fca27c37eb remove unnecessary v shit 2023-07-08 16:32:14 +03:00
Aevann 517ed8a9d3 disallow ALL bots from voting 2023-07-08 02:18:03 +03:00
Aevann ecf3e1133f exempt kaamrev from 1week edit limit 2023-07-08 00:28:08 +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: #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 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 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann dcf7c282a6 fix editing push notif 2023-06-29 22:22:12 +03:00
Aevann f33f0647a9 expand thread caching 2023-06-27 23:08:52 +03:00
Aevann 3d3e517a4c Add House Edgy 2023-06-26 18:05:27 +03:00
HeyMoon 36779a7ad1 Add the edgy award (and some other goodies) (#157)
# The Edgy Award
* Makes text bold, italic, and red, symbolizing the fire that burns within.
* Adds "fucking" to various places, after articles and prepositional phrases (I think) (tbh I just eyeballed it). EX: He is the fucking best
* Adds "motherfucker" and "bitch" to exclamations and questions, respectively.

# Goodies
* For the queen award:
	* based => comfy
    * Xpilled => x vibes
    * Xmaxxing => normalizing X

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #157
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-06-26 14:38:48 +00: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 bb3c120e8c fix wrong autojanny comment count 2023-06-23 20:47:08 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann e607c39d67 make chud effects not retroactive 2023-06-23 16:14:23 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann de655269a0 same as last commit 2023-06-14 23:24:48 +03:00
Aevann 9c6c264307 limit the "show more" button to comments only 2023-06-08 04:36:41 +03:00
Aevann d8bfc0a0a9 dont pass db session as an argument unless necessary 2023-06-08 03:49:37 +03:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann cd942c18a2 rename the over_18 cookie key in a last ditch attempt to relieve the duplicate cookie victims of infinite +18 warnings 2023-05-16 06:45:54 +03:00
Aevann 2685b844c1 dont run execute_under_siege on editing 2023-05-14 23:39:03 +03:00
Aevann 6eff7abe49 replace "bots" with "BOT_IDs" 2023-05-13 01:29:34 +03:00
Aevann b69b50f063 dont notify carp of top level comments on this post https://rdrama.net/post/33652/megathread-marseysnappypat-snappy-quotes-megathread-suggest 2023-05-12 19:54:19 +03:00
Aevann 35ba2f7abb trim badges 2023-05-12 19:15:14 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann d0cc9a4822 revert a606d9ed67 2023-05-04 22:55:08 +03:00
Aevann a606d9ed67 implement cloudflare caching instead of redis caching 2023-05-03 23:41:41 +03:00
Aevann 6c397ea291 cache posts in redis 2023-05-03 17:40:36 +03:00
Aevann de47c992fa remove !wordle since nobody uses it (only 2 ppl used it last 30 days in rdrama and WPD) 2023-04-29 23:27:45 +02:00
Aevann ed375c27d5 retire /h/changelog 2023-04-29 18:31:51 +02:00
Aevann 8ef54cb720 fix 500 errors 2023-04-29 15:33:29 +02:00
Aevann 7d64346d90 disallow ppl from posting top-level comments in bugfixing megathread 2023-04-27 18:39:29 +02:00
Aevann 084036d71a support for changelog megathread 2023-04-25 07:15:10 +02:00
Aevann 5bc6597188 add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
Aevann f52aae0ec3 change autojanny chud message 2023-03-25 18:46:50 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann 4f788cb909 dedup chud-checking logic 2023-03-23 14:50:01 +02:00
Aevann f78cd322d1 much better chud award logic 2023-03-22 23:39:25 +02:00
Aevann 50680e0fa8 cut down on chud award evasion 2023-03-21 23:33:43 +02:00
Aevann 0a12e0c069 fix minor annoyance when uploading files 2023-03-21 20:35:31 +02:00
Aevann 836c6ae29f fix 500 error 2023-03-19 19:31:00 +02:00