Commit graph

5 commits

Author SHA1 Message Date
dc8c7bd2b6
Support for multiple games and keys per game, refactor, tweaks
* Update editorconfig for Dockerfile formatting
* Update Dockerfile to strip debug symbols
* Support pushing multiple highscores and use of Options to support traditional API mode
* Support sending and retrieving different highscore lists for a game based on a key
* Support retrieving partial highscore lists for client side pagination
* Use of vweb_global attribute for better performance (No mutex/shared variable) and immutability
* Support for a verification key that is used for checksumming score data with a private key to raise the difficulty for potential cheaters
* Add Logger for nicer console output and severity distinction
* Use of transactions in database for higher reliability
* Additional error checking for improved error recovery and reliability
2023-10-02 14:05:46 +02:00
674aa90c49
Change vlang build image, use latest V ORM returning Results 2023-04-07 10:48:02 +02:00
20fecb22da
Fix typo and use correct sqlite package 2023-01-10 19:00:00 +01:00
7749b7c159
Several improvements
* Make Dockerfile build and run correctly on alpine, fix missing sqlite
* Make config shared to avoid reading from file on each request
* Correctly handle Signals to gracefully stop database connection and
  to speed up shutdown, relevant for docker deployment
* Correctly check for sqlite error on table creation
2023-01-10 11:00:00 +01:00
ba7938dcf4
Initial commit 2023-01-07 13:00:00 +01:00