wfc-server/api
ppeb 6a40b5c9ec
Store blob hashes, require on login
Blob hashes are now stored in the database under the `hashes` table.
They are stored internally as a map of packIDs to a map of versions to a
map of regions to the hash.

On login, a pack ID, version, and hash are required or the login attempt
is rejected.

Hashes can be updated using the `/api/hash` endpoint.

The schema has been updated accordingly.
2025-03-10 08:39:19 -05:00
..
ban.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00
clear.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00
groups.go QR2: Add create time to /api/groups 2024-02-13 10:55:58 -05:00
hash.go Store blob hashes, require on login 2025-03-10 08:39:19 -05:00
kick.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00
main.go Store blob hashes, require on login 2025-03-10 08:39:19 -05:00
motd.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00
stats.go QR2: Add create time to /api/groups 2024-02-13 10:55:58 -05:00
unban.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00
user_action_response.go Revert "Revert motd, clear, and user action response" 2025-03-05 20:33:20 -06:00