Skip to content

DEV-420 Rate limiting - #66

Merged
jfmath04 merged 7 commits into
previewfrom
rate-limiting
Feb 17, 2026
Merged

DEV-420 Rate limiting#66
jfmath04 merged 7 commits into
previewfrom
rate-limiting

Conversation

@asze17

@asze17 asze17 commented Feb 2, 2026

Copy link
Copy Markdown
Member

References

Proposed Changes

  • Add proper rate-limiting models
  • Integrate rate limiting into the route handlers

@asze17
asze17 requested a review from jfmath04 February 2, 2026 19:02
@linear

linear Bot commented Feb 2, 2026

Copy link
Copy Markdown

DEV-420 Rate Limiting

@vercel

vercel Bot commented Feb 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mail Ready Ready Preview, Comment Feb 17, 2026 7:06am

Request Review

@asze17
asze17 changed the base branch from main to preview February 2, 2026 19:02
Comment thread backend/hoagiemail/email/limiter.py
@asze17
asze17 marked this pull request as ready for review February 5, 2026 18:43
@asze17
asze17 requested a review from jfmath04 February 5, 2026 18:43

@jfmath04 jfmath04 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, make a migration to add the model in and commit the migration script.

Comment thread backend/hoagiemail/api/mail_view.py Outdated
def handle_email_now(mail_data, user):
is_test = mail_data["schedule"] == "test"

if not settings.DEBUG:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can change this to if settings.SEND_EMAIL (merge from preview first)

@jfmath04 jfmath04 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Just a few comments for you to review.

Comment thread backend/hoagiemail/api/mail_view.py Outdated
Comment thread backend/hoagiemail/email/limiter.py Outdated
@jfmath04
jfmath04 merged commit 06f5fd8 into preview Feb 17, 2026
5 checks passed
@jfmath04
jfmath04 deleted the rate-limiting branch February 17, 2026 07:07
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.

2 participants