Skip to content

[To Staging] Throttle registration, remove dead code, accent-insensitive search - #595

Merged
jrhoads merged 4 commits into
stagingfrom
dev
Sep 30, 2026
Merged

jrhoads merged 4 commits into
stagingfrom
dev

Conversation

@jrhoads

@jrhoads jrhoads commented Sep 30, 2026

Copy link
Copy Markdown
Member

This pull request brings the next batch of quick wins from dev to staging. Anonymous client registration is throttled at 5 requests per hour. Unused GRID conversion commands, the LaunchDarkly call site, and other dead code are removed, along with the Django contrib apps and middleware the API does not use. It also makes v2 search case- and accent-insensitive by normalizing keyword fields at index time and folding accents in the name analyzers.

These changes together tighten the registration endpoint, remove code that is no longer part of the running service, and improve v2 search matching.

Open in Web Open in Cursor 

jrhoads and others added 4 commits September 28, 2026 21:49
Add a ClientRegistrationThrottle (AnonRateThrottle subclass with a
class-level rate) on ClientRegistrationView so settings.py stays
unchanged. Cover the wiring and 429-after-five-requests path with a
unit test that never sends email.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@jrhoads
jrhoads merged commit ee2a863 into staging Sep 30, 2026
5 of 6 checks passed
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