You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Harden chat threads, sign-up email, and first-name rules
- Cap new chat threads at 6 per hour per initiator (keeps 10 msgs/hour)
- Add profiles first_name DB trigger aligned with app validation
- Block disposable inbox domains at sign-up (package list + merepost.com)
- validateFirstName on sign-up and profile settings; friendly RLS errors in chat
- Add i18n strings for disposable email and first-name validation
Made-with: Cursor
* First name: normalise Unicode spaces; drop duplicate disposable domain
Made-with: Cursor
* Fix chat_threads RLS policy syntax; use fakeout for disposable emails
- Rewrite CREATE POLICY WITH CHECK without the extra closing paren that broke Postgres.
- Replace stale disposable-email-domains with fakeout (isDisposableEmail).
- Drop unused disposable-email-domains ambient types.
Made-with: Cursor
* Persist trimmed profile first_name from DB trigger
Assign NEW.first_name after trim so stored value matches validation.
Follow-up migration for branches that already ran the earlier file.
Made-with: Cursor
* Restrict chat_threads INSERT to initiator (close rate-limit bypass)
Owner-role inserts skipped thread-initiation limit via OR branch.
App only creates threads as donor/initiator (ChatWindow).
Made-with: Cursor
* signUpAction: trim email for checks, redirect query, and auth.signUp
Made-with: Cursor
* Document why follow-up chat_threads and first_name migrations stay in the chain
Made-with: Cursor
Copy file name to clipboardExpand all lines: messages/de.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,12 @@
97
97
"signUpFailed": "Registrierung fehlgeschlagen",
98
98
"tooManyListings": "Du hast die maximale Anzahl erlaubter Einträge erreicht. Lösche einen deiner aktuellen drei Einträge, um einen neuen zu erstellen.",
99
99
"tooManyMessages": "Du hast zu viele Nachrichten gesendet. Bitte versuche es später erneut.",
100
+
"tooManyThreads": "Du hast in der letzten Stunde zu viele neue Unterhaltungen begonnen. Bitte versuche es später erneut.",
101
+
"firstNameTooShort": "Bitte verwende mindestens 2 Zeichen für deinen Vornamen.",
0 commit comments