mantimon-tcg/backend/tests/unit/services
Cal Corum cd3efcb528 Implement ProfilePage and profanity filter for display names (F1-006)
ProfilePage implementation:
- Full profile page with avatar, editable display name, session count
- LinkedAccountCard and DisplayNameEditor components
- useProfile composable wrapping user store operations
- Support for linking/unlinking OAuth providers
- Logout and logout-all-devices functionality

Profanity service with bypass detection:
- Uses better-profanity library for base detection
- Enhanced to catch common bypass attempts:
  - Number suffixes/prefixes (shit123, 69fuck)
  - Leet-speak substitutions (sh1t, f@ck, $hit)
  - Separator characters (s.h.i.t, f-u-c-k)
- Integrated into PATCH /api/users/me endpoint
- 17 unit tests covering all normalization strategies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:06:42 -06:00
..
__init__.py Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
test_connection_manager.py Complete Phase 4 implementation files 2026-01-30 08:03:43 -06:00
test_deck_validator.py Fix medium priority issues from code review 2026-01-28 14:32:08 -06:00
test_game_service.py Complete Phase 4 implementation files 2026-01-30 08:03:43 -06:00
test_game_state_manager.py Implement GameService.end_game with history archival (GS-005) 2026-01-29 20:10:27 -06:00
test_profanity_service.py Implement ProfilePage and profanity filter for display names (F1-006) 2026-01-30 16:06:42 -06:00
test_turn_timeout_service.py Complete Phase 4 implementation files 2026-01-30 08:03:43 -06:00