Commit Graph

215 Commits (983e17c8945e541fdcbcb86373e3052824e1b833)

Author SHA1 Message Date
Up 983e17c894
continue if linting fails 2024-05-14 13:23:22 +02:00
Up b88b3f6fab
explicitly define linter config 2024-05-14 13:18:39 +02:00
Up c24d006f88
move linter args to config file 2024-05-14 13:07:07 +02:00
Up 12b0a0df0b
try make linter ignore unused stuff 2024-05-14 13:01:29 +02:00
Up 436fce8759
add client session ID tokens 2024-05-14 12:54:06 +02:00
Up 8439519d8e
start on splitting api call handler function 2024-05-12 20:42:07 +02:00
Up d70c082aa9
simplify json response writing 2024-05-12 20:05:46 +02:00
Up f0c283af42
merge token and uuid lookups to reduce roundtrips 2024-05-12 19:44:04 +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
Up c06b1496a3
add watchtower in example compose file 2024-05-12 08:11:36 +02:00
Up 4430a18dae
update example compose file 2024-05-12 08:05:40 +02:00
Up 5d6bfe0c22
add accounts activity index 2024-05-12 05:12:46 +02:00
Up 2700afafdb
cleanup 2024-05-12 04:41:56 +02:00
Up 94df201bf7
update endpoint name 2024-05-12 03:42:35 +02:00
Up 884bb88cd3
add combined update endpoint 2024-05-12 03:34:08 +02:00
Up ab69d940e6
update action step name 2024-05-12 01:23:29 +02:00
Up 43f2f5a163
Merge pull request #11 from slsyy/run-golangci-lint-in-CI 2024-05-12 00:28:46 +02:00
Krystian Chmura 03865f9b94
run golangci-lint in CI 2024-05-11 14:41:25 +02:00
maru 36f353b8a6
Clean up db.go 2024-05-11 02:30:20 -04:00
maru 5656fb96d1
Use log.Fatal isntead of panic 2024-05-11 02:24:20 -04:00
Up dd013a1626
Merge pull request #8 from cgnetsec/master 2024-05-11 05:44:57 +02:00
ser3n1ty 8c209163db
Update README.md 2024-05-10 20:38:28 -07:00
ser3n1ty 1cec1d313d
Update README.md 2024-05-10 20:36:03 -07:00
Flashfyre 2704e64e38 Add newclear endpoint 2024-05-10 18:07:14 -04:00
maru e97e5f73d5
Update ghcr.yml 2024-05-10 16:00:47 -04:00
maru d4a906a0f1
Move HTTPS-related flags in rogueserver.go 2024-05-10 15:50:19 -04:00
maru 693663103b
Run formatter on files 2024-05-10 15:49:26 -04:00
Up a8502fcd3f
add GitHub actions workflows and build docker image (#9)
* 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

* add GitHub actions scripts and dockerfile

* add os architecture

* only build docker image on main repo

* add example compose file
2024-05-10 15:47:22 -04:00
maru b5e8094039
Don't return INVALID on seed-related function error 2024-05-10 15:44:35 -04:00
maru eea2266920
Remove unneeded assertion check in handleSaveData 2024-05-10 15:40:22 -04:00
maru 17294e5179
Fix handleDailySeed 2024-05-10 15:37:24 -04:00
maru b91c169b16
endpoints.go consistency 2024-05-10 15:33:37 -04:00
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
2024-05-10 15:30:47 -04:00
maru 8a32efeaa3
Clean up rogueserver.go 2024-05-10 13:40:00 -04:00
maru 633142eb29
Allow serving HTTPS 2024-05-10 13:16:35 -04:00
maru fadd10602a
Don't log ErrNoRows in savedata 2024-05-09 14:26:54 -04:00
maru e4de7c2391
Update database limiting code more 2024-05-09 14:22:20 -04:00
maru de0bd74dc2
Update database limits 2024-05-09 14:13:19 -04:00
maru 59ea469fb6
Don't import legacy saves if system exists in database 2024-05-09 05:59:48 -04:00
ser3n1ty e01364e1a6
Update README.md 2024-05-09 01:44:04 -07:00
ser3n1ty d5e7b438f3
Update README.md
added updated information for the docker compose container that is being implemented
2024-05-09 00:57:07 -07:00
ser3n1ty b00321f501
Update README.md 2024-05-09 00:51:44 -07:00
maru 4971ad9d42
Add new database limits 2024-05-08 20:19:33 -04:00
maru 192b777ac3
Set ArgonMaxInstances to number of cores 2024-05-08 20:08:10 -04:00
maru 7dbcb18ebf
Use INSERT instead of REPLACE for savedata storage functions 2024-05-08 17:23:07 -04:00
maru 0ead2da2da
Remove unused endpoint game/playercount 2024-05-08 15:47:56 -04:00
maru 6cb179b553
Clean up savedata.go 2024-05-07 20:38:12 -04:00
Up 405a578e8c manually parse all save states for now 2024-05-07 19:33:21 -04:00
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.
2024-05-07 19:14:07 -04:00