mantimon-tcg/backend/tests
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
..
api Implement UserRepository pattern with dependency injection 2026-01-30 07:30:16 -06:00
core Remove legacy modifier field from WeaknessResistance 2026-01-29 13:16:51 -06:00
db Switch to testcontainers for automatic test container management 2026-01-28 16:49:11 -06:00
scripts Simplify card image URLs to use set-based paths 2026-01-27 16:16:51 -06:00
services Implement UserRepository pattern with dependency injection 2026-01-30 07:30:16 -06:00
socketio Add integration tests for WebSocket game flow (TEST-002) 2026-01-30 00:02:40 -06:00
unit Implement ProfilePage and profanity filter for display names (F1-006) 2026-01-30 16:06:42 -06:00
__init__.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
conftest.py Switch to testcontainers for automatic test container management 2026-01-28 16:49:11 -06:00
factories.py Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
test_health.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00