28 Commits (2f9ed3a0a7f4b237c0109ddb748b394c53e285ee)

Author SHA1 Message Date
Pancakes 5480c2ee72
Remove isInLocalDb flag, start dumping saves into S3 4 weeks ago
Pancakes ad8fa03503
Migrate all local accounts 4 weeks ago
Pancakes e432d64acb
Emergency fix, read/write saves to S3 from now on 4 weeks ago
Pancakes ea4ba75c93
Use AND in SQL query instead of && 1 month ago
Pancakes a1263e66c6
Clean up RetrieveSystemSaveFromS3 1 month ago
Pancakes c09d277678
Change more stuff 1 month ago
Pancakes 00e783ff8a
Styling fixes 1 month 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
1 month ago
Pancakes 8ac507d2d5
Don't use best compression encoder level for zstandard 3 months ago
Pancakes a7d5f60d5f
Add new compression code 3 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
5 months ago
Pancakes 048db67609
Remove timestamp guard 6 months ago
Pancakes 9efd1b751a
Update StoreSystemSaveData 6 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
6 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
6 months ago
Flashfyre 2704e64e38 Add newclear endpoint 7 months ago
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 8481626193
Relicense under AGPL 7 months ago
maru 235fb9c91c
Add copyright notice to files 7 months ago
maru 768900d885
Change seedCompletions to dailyRunCompletions 7 months ago
maru beb829d20f
Remove redundant padding insert in TryAddSeedCompletion 7 months ago
Flashfyre 2cb7be52eb Change daily seed generation and update schema for recording failed daily runs 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