Commit Graph

29 Commits (master)

Author SHA1 Message Date
Up 76e7ba02ad
always delete claimed vouchers 2024-05-15 04:27:53 +02:00
Up e7cff35d69
delete vouchers when claiming them 2024-05-15 00:50:50 +02:00
Up 81853b1863
forgot to update stats column 2024-05-12 08:38:57 +02:00
Up a44a6c382f
save data when applying vouchers 2024-05-12 08:30:46 +02:00
Krystian Chmura 03865f9b94
run golangci-lint in CI 2024-05-11 14:41:25 +02:00
Flashfyre 2704e64e38 Add newclear endpoint 2024-05-10 18:07:14 -04:00
Up 1f95f7c042
hotfix: move save data to DB (#2)
* 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
2024-05-07 17:10:33 -04:00
maru 512a24e5c3
Remove anti cheat 2024-04-30 14:34:40 -04:00
maru 786e947e09
Change 'banned' to 'limited 2024-04-30 00:32:55 -04:00
maru 8481626193
Relicense under AGPL 2024-04-29 17:26:46 -04:00
maru 235fb9c91c
Add copyright notice to files 2024-04-29 15:32:58 -04:00
maru e8240c9c38
Rename to rogueserver 2024-04-29 15:22:27 -04:00
maru b52abbf7fe
Ban if daily score over 20000 2024-04-28 22:21:30 -04:00
maru e184e9da91
Ban if vouchers over a certain threshold 2024-04-28 20:59:53 -04:00
Flashfyre bc8084b70b Increment server version 2024-04-28 20:44:33 -04:00
Flashfyre 2f8c2d3f07 Match trainer and secret ID on update for data integrity 2024-04-25 09:56:56 -04:00
maru 768900d885
Change seedCompletions to dailyRunCompletions 2024-04-25 03:40:22 -04:00
maru 96f8a74396
Unduplicate more code 2024-04-22 18:32:45 -04:00
maru 1de3ce72e4
Reuse zstandard encoder 2024-04-22 18:20:58 -04:00
maru 697c5335d7
Prevent writing empty save files 2024-04-22 18:06:32 -04:00
maru b00ed4c0b9
Use WriteFile instead of stream writing to files 2024-04-22 18:01:17 -04:00
Flashfyre 6acbb6448a Protect against cross-session overwrites 2024-04-21 16:23:25 -04:00
maru 75cf6f3ab1
Use Sprintf instead of encoding UUIDs to hex 2024-04-20 17:10:48 -04:00
Flashfyre a36a8f5be9 Update schema and version for variant update 2024-04-18 21:54:07 -04:00
maru 35641e420b
Clean up compensation code 2024-04-18 02:11:31 -04:00
maru 9477889390
Use better cron package 2024-04-16 21:01:24 -04:00
Flashfyre 420a4d17b3 Fix version check for outdated client 2024-04-16 09:21:23 -04:00
Flashfyre d232773ecd Add game version check to save (WiP) 2024-04-15 10:10:22 -04:00
maru 1f0f38d38e
Move endpoint categories into their own packages 2024-04-14 20:03:53 -04:00