Skip to content

Complete comments moderation flow - #140

Merged
ssavutu merged 1 commit into
mainfrom
comments
Aug 1, 2026
Merged

Complete comments moderation flow#140
ssavutu merged 1 commit into
mainfrom
comments

Conversation

@ssavutu

@ssavutu ssavutu commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Enforce closed article comment settings on public comment submission.
  • Default new public comments to pending when Akismet is not configured.
  • Allow nested replies to approved reader comments while keeping parent validation scoped to the same article.
  • Expand the CMS comments queue with selection, bulk moderation, restore-to-pending, soft trash, and permanent delete from trash.
  • Add comment submission integration coverage behind CMS_TEST_DSN and update Swagger for the new 403 response.

Validation

  • go test ./...
  • go test ./internal/handlers -run CommentHTTP -v (DB-backed cases skipped locally because CMS_TEST_DSN is not set)
  • npm run build in frontend
  • npm run lint in frontend

Related public-site changes were committed and pushed separately to Scalene CMS-Testing (dcf17c6).

@ssavutu
ssavutu marked this pull request as ready for review August 1, 2026 07:25
@ssavutu
ssavutu merged commit 620c455 into main Aug 1, 2026
6 checks passed
@ssavutu
ssavutu deleted the comments branch August 1, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant