Commit Graph

1094 Commits (34deaff535b84fe251df1c7f07599eaa58b42d60)

Author SHA1 Message Date
Aevann 63f049f1b6 do this https://rdrama.net/h/countryclub/post/79285/-/5103984#context 2023-10-17 22:25:41 +03:00
Aevann d4d4afe866 process_poll_options -> process_options 2023-10-17 12:02:53 +03:00
Aevann 502fb2bb64 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5171921#context 2023-10-15 18:51:59 +03:00
Aevann 1f0dd04406 rename column and award kind 2023-10-13 22:04:45 +03:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 625ff6b006 more consistency between body-altering awards + effortpost protection 2023-10-07 18:35:16 +03:00
Aevann 149bfe5c17 prevent unnecessary db writes 2023-10-06 22:28:32 +03:00
Aevann f83427bb12 prevent retards from doxing themselves through tiktok links - comment edition 2023-10-06 22:22:11 +03:00
Aevann 6c403fcb18 change "king" award to "gold" award 2023-10-06 20:39:27 +03:00
Aevann d1c9badb7a unify all truescore thresholds 2023-10-05 16:44:31 +03:00
Aevann 0e6c996cf4 fix 500 error 2023-10-05 15:23:58 +03:00
Aevann 5abefbcf85 fix 500 error 2023-10-05 14:13:03 +03:00
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann 019621490a refactor can_see and use it more 2023-10-05 13:09:58 +03:00
Aevann d952bf49db Revert "refactor can_see and use it more"
This reverts commit a0cf583460.
2023-10-05 12:55:35 +03:00
Aevann 74587b12da use can_see_shadowbanned 2023-10-05 12:44:42 +03:00
Aevann a0cf583460 refactor can_see and use it more 2023-10-05 12:22:05 +03:00
Aevann d44bd1241c dont generate notifs that wont be seen 2023-10-05 11:48:49 +03:00
Aevann 544adc4de6 allow jannies to get all kinds of notifs from shadowbanned users 2023-10-04 22:34:00 +03:00
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: #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: #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