github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-20 10:33 pm

[dreamwidth/dreamwidth] 0c0f75: Skip forced captcha on high-comment entries less t...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 0c0f75384cb09c6515b5381d9873105581cad595 https://github.com/dreamwidth/dreamwidth/commit/0c0f75384cb09c6515b5381d9873105581cad595 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-20 (Fri, 20 Feb 2026)

Changed paths: M cgi-bin/LJ/Protocol.pm M cgi-bin/LJ/S2/ReplyPage.pm M cgi-bin/LJ/Talk.pm

Log Message:


Skip forced captcha on high-comment entries less than 30 days old

The 5k-comment captcha threshold was meant to slow bots targeting specific entries, but most spam hits old/abandoned journals while active anon memes are the ones suffering from the forced captcha.

Entries posted within the last 30 days can now receive up to the full 10k comments without a forced captcha. Entries older than 30 days keep the existing 5k threshold. All other captcha triggers (rate limiting, journal settings, spam heuristics) are unchanged.

Also refactors require_captcha_test to accept an LJ::Entry object instead of a bare ditemid, since the entry is already available at all call sites.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Commit: e78529d60c5e457534481f350c381821dc5810fd https://github.com/dreamwidth/dreamwidth/commit/e78529d60c5e457534481f350c381821dc5810fd Author: Mark Smith mark@dreamwidth.org Date: 2026-02-20 (Fri, 20 Feb 2026)

Changed paths: M .gitignore

Log Message:


Add .worktrees/ to .gitignore

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Compare: https://github.com/dreamwidth/dreamwidth/compare/86a23512cf4a...e78529d60c5e

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications