Add real invite code, PIN, and location discovery to Rooms
Rooms were open-join-by-id only with no geo features, despite that being the intended design. Generates a unique invite code server-side on every create, adds an optional PIN (hashed like account passwords, rate-limited on guesses via a third reuse of AuthAttempt) gating join/stream/websocket alike, and adds optional lat/lon with a haversine-sorted nearby lookup (haversine itself extracted to a shared geo service once a second caller needed it).
Showing
src/services/geo.py
0 → 100644
tests/test_geo.py
0 → 100644
Please
register
or
sign in
to comment