maru
c76746ad35
Replace REPLACE INTO usage
7 months ago
maru
3489ae91bf
Change max connections code again
7 months ago
maru
15a32c0e23
Various cleanup
7 months ago
maru
4cc2d3431c
Set conns value to 128
7 months ago
maru
1441d47694
Remove legacy save migration code
7 months ago
maru
7bfd9dfba7
Fix code
7 months ago
maru
fc458fad73
Revert "Remove anti cheat"
...
This reverts commit 512a24e5c3
.
7 months ago
Flashfyre
df92ff8b6f
Add last activity update on verify
8 months ago
Up
f31f130c14
also check for empty
8 months ago
Up
c17c583321
update active session if none is found
8 months ago
Up
a063b1740c
add missing foreign key declarations
8 months ago
Up
e2efcd550c
fix faulty sql query
8 months ago
Up
834d1e62a0
add foreign key constraint on client session table
8 months ago
Up
c0aade2e65
simplify ID handling
8 months ago
Up
436fce8759
add client session ID tokens
8 months ago
Up
5d6bfe0c22
add accounts activity index
8 months ago
Krystian Chmura
03865f9b94
run golangci-lint in CI
8 months ago
maru
36f353b8a6
Clean up db.go
8 months ago
maru
5656fb96d1
Use log.Fatal isntead of panic
8 months ago
Flashfyre
2704e64e38
Add newclear endpoint
8 months ago
maru
693663103b
Run formatter on files
8 months ago
maru
b5e8094039
Don't return INVALID on seed-related function error
8 months ago
Up
3ed5f41d58
make server automatically create DB schema if not exists ( #5 )
...
* add default values for CLI args
* add development docker compose file
* prevent crash if userdata dir does not exist
* accounts, acccountStats
* account stats and create db indices
* compensations and daily runs
* ensure uniqueness of daily seed
* start on port 8001 by default for client parity
* make generated schema match production
* sort imports
8 months ago
maru
e4de7c2391
Update database limiting code more
8 months ago
maru
de0bd74dc2
Update database limits
8 months ago
maru
59ea469fb6
Don't import legacy saves if system exists in database
8 months ago
maru
4971ad9d42
Add new database limits
8 months ago
maru
7dbcb18ebf
Use INSERT instead of REPLACE for savedata storage functions
8 months ago
maru
6cb179b553
Clean up savedata.go
8 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
.
8 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
8 months ago
maru
a087234aa8
Replace usernameFromRequest
8 months ago
maru
808a9e6c7d
Remove redundant error check
8 months ago
Flashfyre
3553891e6e
Temporarily remove session expiration check
8 months ago
Flashfyre
e19104c86a
Prevent initial out of date message on register
8 months ago
maru
512a24e5c3
Remove anti cheat
8 months ago
maru
786e947e09
Change 'banned' to 'limited
8 months ago
maru
8481626193
Relicense under AGPL
8 months ago
maru
235fb9c91c
Add copyright notice to files
8 months ago
maru
e8240c9c38
Rename to rogueserver
8 months ago
maru
e184e9da91
Ban if vouchers over a certain threshold
8 months ago
maru
cbcc68f8e4
Add password changes
8 months ago
maru
54d4d9a389
Set max open MariaDB connections
8 months ago
maru
2adb70dd7e
Styling consistency
8 months ago
Flashfyre
2f8c2d3f07
Match trainer and secret ID on update for data integrity
8 months ago
maru
768900d885
Change seedCompletions to dailyRunCompletions
8 months ago
Flashfyre
6acbb6448a
Protect against cross-session overwrites
8 months ago
maru
beb829d20f
Remove redundant padding insert in TryAddSeedCompletion
9 months ago
maru
522ce9f4fa
Update GitHub link
9 months ago
Matthew Olker
6a0a130b1d
Nil check battle and classic session count
9 months ago