Phil Skentelbery 3467d97828 feat: implement Story 4.2 - New Participant Registration
Implement participant registration with the following features:

- POST handler for /exchange/<slug>/register
- Create Participant record with lowercased email
- Generate magic token and send confirmation email
- Redirect to success page after registration
- Rate limiting: 10 registrations per hour per IP
- Validation for exchange state (must be registration_open)
- Form validation for required fields (name, email)
- Email format validation
- Optional fields support (gift_ideas, reminder_enabled)

Also includes:
- Registration success page template
- 429 error handling template
- Flash message support in base template
- Test config update for email service dev mode
- Comprehensive test suite with 8 tests

All tests passing (86 total), 91% coverage maintained.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 17:14:11 -07:00
2025-12-22 11:28:15 -07:00
2025-12-22 11:28:15 -07:00
2025-12-22 11:28:15 -07:00
2025-12-22 13:10:47 -07:00
2025-12-22 12:41:28 -07:00
Description
No description provided
412 KiB
Languages
Python 89.5%
HTML 9.4%
Dockerfile 0.5%
Shell 0.3%
Mako 0.3%