Commit Graph

30 Commits (02f765c1148347eba612f45b7e48dcd75a52f847)

Author SHA1 Message Date
Pancakes 8b00b14ffb
Rewrite save code, remove S3 migration runner 2 days ago
Pancakes 4d6de1e2a8
Add new S3_SYSTEM_BUCKET_NAME env 2 months ago
Pancakes 5480c2ee72
Remove isInLocalDb flag, start dumping saves into S3 3 months ago
Pancakes ad8fa03503
Migrate all local accounts 3 months ago
Pancakes e432d64acb
Emergency fix, read/write saves to S3 from now on 3 months ago
Pancakes ea4ba75c93
Use AND in SQL query instead of && 3 months ago
Pancakes a1263e66c6
Clean up RetrieveSystemSaveFromS3 3 months ago
Pancakes c09d277678
Change more stuff 3 months ago
Pancakes 00e783ff8a
Styling fixes 3 months ago
Frederico Santos ac360ccb1c
Cold storage (#57)
* feat: Implement S3 integration for system save data migration and retrieval

* feat: Refactor system save data handling to use JSON and improve error logging

* feat: Update S3 migration schedule to hourly and limit old account retrieval to 3000 records

* fix: Clean up S3 migration code by removing unnecessary blank lines and improving logging messages
3 months ago
Pancakes 8ac507d2d5
Don't use best compression encoder level for zstandard 5 months ago
Pancakes a7d5f60d5f
Add new compression code 5 months ago
Frederico Santos 4cac6b6ce8
Update SaveData to handle session and system out of date overwrites (#43)
* chore: Update savedata API to handle session out of date errors

* chore: Handle session out of date errors in savedata API

* chore: Handle session out of date errors in savedata API

* chore: Update savedata API to handle session out of date errors
7 months ago
Pancakes 048db67609
Remove timestamp guard 8 months ago
Pancakes 9efd1b751a
Update StoreSystemSaveData 8 months ago
Frederico Santos 52c5c9ee6c
Reject saves with 2 days difference (#29)
* Reject saves with 2 days difference

* improved timestamp checks

* chore: Refactor timestamp checks for saving system data

* Refactor timestamp checks for saving system data
8 months ago
Frederico Santos 87e8f00cd6
Refactor saving session and system data to prevent saving older saves on previous waves (#26)
* chore: Refactor saving session data to prevent saving older sessions

* chore: Refactor saving system data to prevent saving older sessions

* Refactor saving session and system data to prevent saving older versions
8 months ago
Flashfyre 2704e64e38 Add newclear endpoint 9 months ago
maru 7dbcb18ebf
Use INSERT instead of REPLACE for savedata storage functions 9 months ago
maru 6cb179b553
Clean up savedata.go 9 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.
9 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
9 months ago
maru 8481626193
Relicense under AGPL 9 months ago
maru 235fb9c91c
Add copyright notice to files 9 months ago
maru 768900d885
Change seedCompletions to dailyRunCompletions 9 months ago
maru beb829d20f
Remove redundant padding insert in TryAddSeedCompletion 9 months ago
Flashfyre 2cb7be52eb Change daily seed generation and update schema for recording failed daily runs 10 months ago
Flashfyre 71889f7daa Add score to session save data 10 months ago
Flashfyre 5214c4aff4 Add mode to seed completion 10 months ago
Flashfyre 2e964b007d Add daily runs and seed completions 10 months ago