DarkflameServer/thirdparty
David Markowitz a60865cd19
feat: allow SQLite database backend (#1663)
* simplify leaderboard code, fully abstract database

* update exception catching

* update exception catching and sql references, remove ugc from gamemessages

fix deleting model

remove unrelated changes

Update GameMessages.cpp

* remove ugc from gamemessages

* Update GameMessages.cpp

* Update Leaderboard.cpp

* bug fixes

* fix racing leaderboard

* remove extra stuff

* update

* add sqlite

* use a default for optimizations

* update sqlite

* Fix limits on update and delete

* fix bugs

* use definition to switch between databases

* add switch for different backends

* fix include guard and includes

* always build both

* add mysql if block

* Update Database.cpp

* add new options and add check to prevent overriding mysql

* correct config names

* Update README.md

* Update README.md

* merge to 1 sql file for sqlite database

* move to sqlite folder

* add back mysql migrations

* Update README.md

* add migration to correct the folder name or mysql

* yes aron

* updates

* Update CMakeLists.txt

* dont use paths at all, add where check to only update if folder name still exist

check also doesnt check for slashes and assumes one will be there since it will be.

* default dont auto create account

for releases we can change this flag

* default 0

* add times played query

* fix leaderboard not incrementing on a not better score

* add env vars with defaults for docker

* use an "enum"

* default to mariadb

* Update .env.example
2024-12-17 16:07:07 -08:00
..
cpp-httplib@824e7682e4 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
cpplinq Improve cpplinq checks 2022-07-12 03:06:54 +01:00
libbcrypt@d6523c370d Attempting to fix submodules 2021-12-05 19:13:03 +01:00
magic_enum@e55b9b54d5 feat: Improve console output to show packet enum names (magic_enum) (#1344) 2023-12-23 10:51:59 -06:00
mariadb-connector-cpp@ef0873998b fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
MD5 remove sha512, move md5 to thirdparty (#1443) 2024-02-09 09:15:28 -06:00
raknet feat: Bump standard to 20 (#1376) 2024-01-02 07:53:00 +00:00
recastnavigation@c5cbd53024 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
SQLite feat: allow SQLite database backend (#1663) 2024-12-17 16:07:07 -08:00
tinyxml2@a977397684 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
CMakeLists.txt feat: Make use of CMake presets to enable easy switching between debug and release configurations on all platforms (#1439) 2024-11-17 19:03:54 -06:00