Skip to content

New user comments#1578

Merged
Oaphi merged 4 commits intodevelopfrom
art/new-user-comments
Mar 31, 2025
Merged

New user comments#1578
Oaphi merged 4 commits intodevelopfrom
art/new-user-comments

Conversation

@ArtOfCode-
Copy link
Member

Update the comment rate limiting code so the logic is easier to follow. Adds tests for the rate limit helper to ensure it's returning the right thing. Also changes from a render json to a redirect with flash so that the raw JSON error message isn't displayed.

I haven't been able to run and test this myself, so I'm relying on the automated testing. If anyone is able to test manually when reviewing that would be useful.

Closes #1538, #1577

@Oaphi
Copy link
Member

Oaphi commented Mar 31, 2025

Tested manually locally - LGTM

@Oaphi Oaphi merged commit 808ea07 into develop Mar 31, 2025
9 checks passed
@Oaphi Oaphi deleted the art/new-user-comments branch March 31, 2025 02:52
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.

Misleading false failure message when trying to post a comment on an answer to your own post User without Participate Everywhere can comment freely

2 participants