Commit Graph

33 Commits (b113ffceee027bb3722ae8b3c8bc9bc61c4f919e)

Author SHA1 Message Date
maru 15a32c0e23
Various cleanup
maru 805ac408e8
Don't use := false
maru 7bfd9dfba7
Fix code
maru fc458fad73
Revert "Remove anti cheat"
This reverts commit 512a24e5c3.
Up 76e7ba02ad
always delete claimed vouchers
Up e7cff35d69
delete vouchers when claiming them
Up 81853b1863
forgot to update stats column
Up a44a6c382f
save data when applying vouchers
Krystian Chmura 03865f9b94
run golangci-lint in CI
Flashfyre 2704e64e38 Add newclear endpoint
Up 1f95f7c042
hotfix: move save data to DB ()
* start reading save data from DB

* finish migration code

* remove leftover dir creation

* fix import cycle

* remove more dir creation

* update gitignore

* fix pk

* better table creation

* use REPLACE INTO

* fix typo
maru 512a24e5c3
Remove anti cheat
maru 786e947e09
Change 'banned' to 'limited
maru 8481626193
Relicense under AGPL
maru 235fb9c91c
Add copyright notice to files
maru e8240c9c38
Rename to rogueserver
maru b52abbf7fe
Ban if daily score over 20000
maru e184e9da91
Ban if vouchers over a certain threshold
Flashfyre bc8084b70b Increment server version
Flashfyre 2f8c2d3f07 Match trainer and secret ID on update for data integrity
maru 768900d885
Change seedCompletions to dailyRunCompletions
maru 96f8a74396
Unduplicate more code
maru 1de3ce72e4
Reuse zstandard encoder
maru 697c5335d7
Prevent writing empty save files
maru b00ed4c0b9
Use WriteFile instead of stream writing to files
Flashfyre 6acbb6448a Protect against cross-session overwrites
maru 75cf6f3ab1
Use Sprintf instead of encoding UUIDs to hex
Flashfyre a36a8f5be9 Update schema and version for variant update
maru 35641e420b
Clean up compensation code
maru 9477889390
Use better cron package
Flashfyre 420a4d17b3 Fix version check for outdated client
Flashfyre d232773ecd Add game version check to save (WiP)
maru 1f0f38d38e
Move endpoint categories into their own packages