53 Commits (192b777ac3e0c7b7c603f621637423de0467384a)

Author SHA1 Message Date
maru 7dbcb18ebf
Use INSERT instead of REPLACE for savedata storage functions 7 months ago
maru 6cb179b553
Clean up savedata.go 7 months ago
Up 0d6539a87b
continue on existing save (#3)
* long blob

* fix continue

* one slot only?

* fallback if there is no slot data yet

* Revert "one slot only?"

This reverts commit 20997e9cd8.
7 months ago
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
7 months ago
maru a087234aa8
Replace usernameFromRequest 7 months ago
maru 808a9e6c7d
Remove redundant error check 7 months ago
Flashfyre 3553891e6e Temporarily remove session expiration check 7 months ago
Flashfyre e19104c86a Prevent initial out of date message on register 7 months ago
maru 512a24e5c3
Remove anti cheat 7 months ago
maru 786e947e09
Change 'banned' to 'limited 7 months ago
maru 8481626193
Relicense under AGPL 7 months ago
maru 235fb9c91c
Add copyright notice to files 7 months ago
maru e8240c9c38
Rename to rogueserver 7 months ago
maru e184e9da91
Ban if vouchers over a certain threshold 7 months ago
maru cbcc68f8e4
Add password changes 7 months ago
maru 54d4d9a389
Set max open MariaDB connections 7 months ago
maru 2adb70dd7e
Styling consistency 7 months ago
Flashfyre 2f8c2d3f07 Match trainer and secret ID on update for data integrity 7 months ago
maru 768900d885
Change seedCompletions to dailyRunCompletions 7 months ago
Flashfyre 6acbb6448a Protect against cross-session overwrites 7 months ago
maru beb829d20f
Remove redundant padding insert in TryAddSeedCompletion 8 months ago
maru 522ce9f4fa
Update GitHub link 8 months ago
Matthew Olker 6a0a130b1d Nil check battle and classic session count 8 months ago
Flashfyre a4014feea8 Track player vouchers 8 months ago
Flashfyre 992864b785 Add voucher compensation logic 8 months ago
maru 0edfeab3ca
Various styling changes 8 months ago
Flashfyre dcb1c76370 Add endpoints for stats 8 months ago
Flashfyre 99d3490172 Update account stats on system save 8 months ago
maru d12a008259
Various changes 8 months ago
Flashfyre fa972bab37 Don't include banned users on rankings 8 months ago
Flashfyre 7d23859dea Add player count handler 8 months ago
Flashfyre 2495c1ee9a Fix incorrect page count for weekly rankings 8 months ago
Flashfyre 53ccdc5921 Add weekly rankings and ranking pagination support 8 months ago
Flashfyre 48c533cb78 Fix higher score being overwritten by worse daily runs 8 months ago
Flashfyre be04408336 Update random daily seed logic 9 months ago
Flashfyre 2cb7be52eb Change daily seed generation and update schema for recording failed daily runs 9 months ago
Flashfyre 4710617f23 Add limit and pagination to rankings query 9 months ago
Flashfyre ff98047caa Add daily run rankings 9 months ago
Flashfyre 71889f7daa Add score to session save data 9 months ago
Flashfyre 5214c4aff4 Add mode to seed completion 9 months ago
Flashfyre 2e964b007d Add daily runs and seed completions 9 months ago
Flashfyre 23eb0bbbe8 Log last activity date 9 months ago
maru a19280d02c
Add cloud save data 11 months ago
Flashfyre e05f6f752b Add last logged in date to accounts table 11 months ago
maru 575167f0f9
Simplify error return in GetUsernameFromToken 11 months ago
Flashfyre 9ef76f1064 Fix account session insert query typo 11 months ago
Flashfyre 688b435bd1 Rename key column to hash 11 months ago
Flashfyre b4be49bf80 Fix query keyword conflict by using alias 11 months ago
maru f5d9cc6760
Workaround for column name 11 months ago
maru 0e6b2bbf5c
Fix query in GetUsernameFromToken 11 months ago