| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 3 days | Privatize access to internal session map | Jomar Milan | |
| This way, RwLockReadGuard isn't being juggled anywhere, and the bounds of the session MutexGuard is limited to the FnOnce explicitly passed to with_session (less room for accidents, nice!) This approach was inspired by the source code of RegionMap of Bamboo (https://gitlab.com/macmv/bamboo ref 8e32b54a5e7a69986339fea465d4afcc20425dd7), which uses a similar RwLock<HashMap<_, Mutex<_>>>. I like this approach because it allows me to provide access to the Session without having to clone it and allows the MutexGuard and RwLockReadGuard to be held as the user needs without allowing the user to access the RwLockReadGuard and poke around the rest of the entries in the HashMap. | |||
| 5 days | Use separate function to handle play messages | Jomar Milan | |
| Also remove Arc from the HashMap | |||
| 5 days | Use enum for storing player color | Jomar Milan | |
| 9 days | Remove serve_template | Jomar Milan | |
| It felt unnecessary | |||
| 2026-06-10 | Add function to update session hands | Jomar Milan | |
| 2026-06-10 | Add crate docs and lint warns | Jomar Milan | |
| 2026-06-10 | Fix incorrect iteration over color select options in session script | Jomar Milan | |
| 2026-06-10 | Add syncing of color list to browser | Jomar Milan | |
| 2026-06-10 | Add syncing of player hand updates to browsers | Jomar Milan | |
| 2026-06-09 | Maintain weak references to sessions for play sockets | Jomar Milan | |
| Changes in this commit have somewhat mollified my code-smell-o-meter. | |||
| 2026-06-09 | Add player hand display in browser | Jomar Milan | |
| 2026-06-08 | Remove passcodes and session listing | Jomar Milan | |
| Instead, the session ID is treated as a secret | |||
| 2026-06-08 | Use axum::response::Result | Jomar Milan | |
| For incrutable and enigmatic reasons | |||
| 2026-06-07 | Use RwLock for sessions in app state | Jomar Milan | |
| 2026-06-07 | Respond with hand data after handshake | Jomar Milan | |
| 2026-06-02 | Implement play websocket handshake | Jomar Milan | |
| 2026-05-31 | Add websocket route | Jomar Milan | |
| 2026-05-31 | Add suggested pre-commit hook | Jomar Milan | |
| 2026-05-30 | Add route to accept player hand updates | Jomar Milan | |
| 2026-05-30 | Add unimplemented color selection box | Jomar Milan | |
| 2026-05-30 | Store sessions in a hash map | Jomar Milan | |
| 2026-05-29 | Start with basic session creation | Jomar Milan | |
