Commit Graph

19 Commits (cf1b33e170cc75623ccfdf3031489ac54c8b6d6c)

Author SHA1 Message Date
gamray 4567108da8 Added separate endpoints to handle eggs (get, update and delete) 2024-05-12 22:37:43 +02:00
Up 5d6bfe0c22
add accounts activity index 2024-05-12 05:12: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
maru 693663103b
Run formatter on files 2024-05-10 15:49:26 -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 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
maru 4971ad9d42
Add new database limits 2024-05-08 20:19:33 -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
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 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 54d4d9a389
Set max open MariaDB connections 2024-04-25 16:27:24 -04:00
maru 8d3d24a58a
Add mysql driver 2023-12-28 19:58:54 -05:00
maru 4600b7b024
More changes 2023-12-28 19:53:59 -05:00
maru f690c53607
Add changes so far 2023-12-05 13:28:08 -05:00