Commit Graph

14 Commits

Author SHA1 Message Date
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
Jett
02b76adb7a
Replace keygen with CyberChef (#1677) 2024-12-11 16:58:37 +00:00
Daniel Seiler
fbdcc17bb5
fix: Docker Compose README (#1403)
* fix: Docker Compose README

* fix: add password requiremnts hint

* fix: note on sudo / docker compose

* fix: add note on UGCUSE3DSERVICES

* fix: reorder

* fix: duplicate word

* fix: move broken line

* fix(compose): enable USER_ENABLE_REGISTER by default
2024-01-08 09:13:28 -06:00
David Markowitz
e5b69745aa
feat: Remove NET_VERSION define (#1153)
* Remove NET_VERSION define

I get to test this on 4 different platforms.  yay...

* move stuff around

finally fixed you docker

i love this

Update Dockerfile

Update Dockerfile

change type

Update AuthPackets.cpp

Update AuthServer.cpp

* Update CMakeVariables.txt

* Update sharedconfig.ini
2023-08-03 21:38:33 -05:00
Nils Bergmann
eef2ed0b4c
Add special character warning 2022-01-05 17:46:59 +01:00
Jack Kawell
3b90669d03 Added a link to keygen for flask secret 2021-12-09 00:34:14 -07:00
Jack Kawell
18d797150e PR comments 2021-12-09 00:10:29 -07:00
Jack Kawell
59f053433c External IP configuration as well as other small improvements 2021-12-07 23:33:34 -07:00
Nils Bergmann
0dfc962df5
WIP: connection issue 2021-12-08 02:40:27 +01:00
Nils Bergmann
cf6f69ba93
WIP: try to fix navmesh load 2021-12-08 00:40:15 +01:00
Nils Bergmann
4a3d341c9a
WIP: default to BUILD_VERSION=171022 2021-12-07 23:18:20 +01:00
Nils Bergmann
0780824e31
WIP: change the example thread size to 1 2021-12-07 22:44:08 +01:00
Kay Kaprolat
7a55db3f21 moved AccountManager secret to environment 2021-12-07 22:08:53 +01:00
Nils Bergmann
9387e88dc0
WIP: still no working MasterServer binary 2021-12-07 20:58:18 +01:00