Commit Graph

1075 Commits (759c90fdf8f23ca31fe7191d5122dc4463d3a90b)

Author SHA1 Message Date
Aevann fc05cf4c80 add king award 2023-10-04 18:42:03 +03:00
Aevann 5c1a2ac7a1 18+ -> NSFW 2023-10-04 17:04:06 +03:00
Aevann dc7970db23 also show over_18 emojis to ppl who went through a nsfw warning in the past hour 2023-10-04 16:45:16 +03:00
Aevann bc8427d932 +18 -> 18+ 2023-09-29 23:57:58 +03:00
Aevann 43822b3322 add nsfw emojis 2023-09-29 10:15:29 +03:00
Aevann e0dc797ac8 allow deleting any snappy quotes, not just the last one 2023-09-29 09:26:46 +03:00
Aevann fc59615e30 unpin deleted comments 2023-09-29 04:25:14 +03:00
Aevann 8e27789847 make sure to wipe stickied_utc too 2023-09-29 04:24:36 +03:00
Aevann 7128f4eee7 remove linebreak 2023-09-26 20:12:01 +03:00
Aevann f11c687866 make award punishments still apply even if a janny edits the post/comment 2023-09-21 22:24:26 +03:00
HeyMoon c410b5b4d0 Add new chud msgs (#202)
yeah

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#202
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-09-20 15:01:03 +00:00
Aevann 42385ea60f better removal for repeated notifications 2023-09-15 16:32:35 +03:00
Aevann ce62364262 check lowercase snappy quotes 2023-09-15 13:49:17 +03:00
Aevann b3ef4734a5 more accurate function name 2023-09-15 03:07:17 +03:00
Aevann a22c14f21c remove unnecessary shit 2023-09-15 02:19:44 +03:00
Aevann 95239be400 remove last snappy quote if author deletes their comment adding it 2023-09-15 02:17:47 +03:00
Aevann f392c6bb9c disallow permabanned-cels from all POST endpoints that require auth except /reply /contact /delete/post /delete/comment 2023-09-14 19:49:46 +03:00
Aevann 018cf5e21d fix snappy quotes 2023-09-13 20:15:55 +03:00
Aevann 8d90e76805 fix repeated linebreaks in snappy quotes 2023-09-13 01:08:34 +03:00
Aevann bcab0ef9c3 always commit or rollback 2023-09-09 00:04:39 +03:00
Aevann 6662eb0606 do this https://rdrama.net/h/countryclub/post/79285/-/4899909#context 2023-09-06 21:02:47 +03:00
Aevann 69bf4ccf80 fix /!commenters ordering 2023-09-05 21:31:55 +03:00
Aevann 7facf9ff5b do this https://rdrama.net/h/countryclub/post/79285/-/4911807#context 2023-09-05 21:24:10 +03:00
Aevann f2ed74ec6a dedup sorting in the jinja templates 2023-09-05 17:32:36 +03:00
Aevann c2c9c79e20 decrease edit and delete ratelimits to hinder mass-deleting and mass-editing 2023-09-01 11:23:49 +03:00
Aevann 024542510d add SITE condition 2023-09-01 10:56:44 +03:00
Aevann 024c532bb3 dont notify ppl when someone they blocked replies to them 2023-09-01 10:51:20 +03:00
Aevann aa1c0903e6 do this https://rdrama.net/h/countryclub/post/200985/-/4900434#context 2023-08-31 16:22:49 +03:00
Aevann d6cbbc05c6 simplar syntax 2023-08-31 13:46:07 +03:00
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann ef3564c1a1 stop using NOTIFICATION_THREAD 2023-08-23 13:42:25 +03:00
Aevann 1705893fa6 Revert "very needful update"
This reverts commit b0fb782b3c.
2023-08-23 05:26:41 +03:00
Aevann b0fb782b3c very needful update 2023-08-23 00:54:15 +03:00
Aevann 57d7342802 fix polls not appearing when making comment 2023-08-21 18:51:40 +03:00
Aevann e1d6c97465 Revert "use gevent.with_timeout whenever u can"
This reverts commit eb0af76e46.
2023-08-20 19:24:53 +03:00
Aevann eb0af76e46 use gevent.with_timeout whenever u can 2023-08-20 19:14:02 +03:00
Aevann e1eecfc0f2 make sure shadowbanned-cels cant generate push notifs 2023-08-20 05:36:43 +03:00
Aevann 293dd09ee4 make it so ppl are able to comment on shadowbanned niggas' walls so its a little less obvious they're shadowbanned 2023-08-17 02:23:13 +03:00
Aevann a026721ea6 wipe /badges cache when a new badge is added 2023-08-17 01:13:08 +03:00
Aevann 577b1e3780 fix this https://rdrama.net/post/197158/pov-you-are-a-coyote-you/4809394#context 2023-08-16 01:02:02 +03:00
Aevann d920ae47c1 addendum to last commit 2023-08-15 23:34:06 +03:00
Aevann 2c19f5922c allow comment editing by JL5 2023-08-15 23:22:49 +03:00
Aevann c0a02b3b3c more line for efficiency 2023-08-14 22:57:51 +03:00
Aevann 48da547fb8 fix this https://watchpeopledie.tv/h/meta/post/27855/hidden-thread-for-viewing-notifications/1443770#context 2023-08-14 22:57:24 +03:00
Aevann bd1ea70a1a - make rainbow, sharpen, queen not retroactive
- make sharpen fully affect all future posts
- make old posts and comments affected by these awards unfixable after they expire
2023-08-14 14:00:29 +03:00
Aevann 1964c65f17 update edited_string when editing comments 2023-08-14 10:04:51 +03:00
Aevann 2e80ebdc0d update comment ping cost on edit 2023-08-13 19:03:29 +03:00
Aevann b99bc05bb3 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4740259#context 2023-08-12 22:32:30 +03:00
Aevann aee38394f8 remove the incentive for paypigs to enable perma-marsify to avoid ever getting chudded 2023-08-12 21:38:41 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
Aevann 67f968d04d show who exiled the user in the icon 2023-08-08 20:01:58 +03:00
Aevann 96388bfde2 fix unnecessary \n 2023-08-04 15:42:17 +03:00
Aevann 7bbd80ab69 make comments in admigger threads not increase author comment_count 2023-08-02 01:03:41 +03:00
Aevann bd942fe12e remove useless tabs 2023-08-01 10:38:58 +03:00
Aevann bcc494ecdb fix snappy merge conflicts 2023-08-01 04:30:50 +03:00
Aevann 6e9d3d68dc strip after not before 2023-07-30 09:20:02 +03:00
Aevann 8b5bf42b54 fix snappy dupe detection 2023-07-30 09:16:01 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann e1853befaa restore needful .strip() 2023-07-29 22:17:50 +03:00
Aevann 7c462bc17f remove a bunch of unnecessary/confusing garbage 2023-07-29 22:13:37 +03:00
Aevann e8d8804c83 fix hieroglyphs award not applying in walls 2023-07-29 02:00:50 +03:00
Aevann b476022774 use SITE_FULL_IMAGES 2023-07-28 02:07:18 +03:00
Aevann be6526b958 diverge site badges 2023-07-27 23:11:17 +03:00
Aevann 36b2db7b2b allow nsfw via the api, why the hell was that disabled 2023-07-27 03:15:50 +03:00
Aevann ffba8b3b2d only query the columns u need 2023-07-26 15:31:44 +03:00
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: 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 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: rDrama/rDrama#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