336 Commits

Author SHA1 Message Date
Sirz Benjie
fb8956007c
docs: add badges and center title text 2025-09-16 22:37:56 -05:00
Sirz Benjie
5c05900180
Reuse compliance (#66) 2025-09-16 22:23:18 -05:00
Sirz Benjie
66c6c53432
docs: fix broken anchor 2025-09-16 22:19:56 -05:00
Sirz Benjie
dba08ae1b3
docs: fix broken anchors and adjust some wording 2025-09-16 22:19:01 -05:00
Sirz Benjie
9c9b5243cf
Refactor to use dependency injection, allowing for unit testing (#67) 2025-09-16 22:04:45 -05:00
Sirz Benjie
a68d4cc3f1
Dramatically improve podman support and provide step by step instructions (#65) 2025-09-16 20:03:14 -05:00
Sirz Benjie
95cbbee81d
Adjust GHCR workflow to not run unless pushed to master 2025-09-16 16:59:32 -05:00
Sirz Benjie
40323809f7
Adjust db to allow mocking for unit tests 2025-09-16 15:01:00 -05:00
Sirz Benjie
27a1e8f363
Fix errors in golangci.yml 2025-09-16 14:04:38 -05:00
Sirz Benjie
f01bc9aaf4
Dramatically improve podman support and provide step by step instructions 2025-09-16 13:17:05 -05:00
Sirz Benjie
d73f761869
Fix ribbon tracking (#64) 2025-08-23 16:51:28 -04:00
Sirz Benjie
e11eaec05a
Merge pull request #63 from pagefaultgames/add-named-runs
Add named runs
2025-08-14 16:01:25 -05:00
Sirz Benjie
55e0cfb6e4
Add named runs 2025-08-14 15:56:26 -05:00
Pancakes
bbf64a3c3b
Create new session on password change 2025-08-08 01:06:17 -04:00
Pancakes
446272e3ea
Delete sessions on password change 2025-08-08 01:06:09 -04:00
Pancakes
692c7681c1
Fix handleAdminSearch 2025-04-27 12:03:34 -04:00
Pancakes
aff371836c
Update generic savedata Update function 2025-04-26 14:57:10 -04:00
Pancakes
42a53dbb57
Remove GetPlaytime, update handleSystem and handleUpdateAll 2025-04-26 13:22:03 -04:00
Pancakes
e1e075ef1f
Update copyright year 2025-04-25 19:50:49 -04:00
Pancakes
7da9a39e1b
Various cleanup in endpoints.go 2025-04-25 19:50:11 -04:00
Pancakes
ef9b659127
Use r.PostFormValue instead of r.Form.Get 2025-04-25 19:38:18 -04:00
Pancakes
e48b092de4
Combine error checks in handleAccountInfo 2025-04-25 19:27:52 -04:00
Pancakes
21209ef4a7
Return generic error on non-existent save 2025-04-25 19:20:22 -04:00
Pancakes
4141d13a69
New GetPlaytime function 2025-04-25 14:58:09 -04:00
Pancakes
f6e35d3c7a
Reuse S3 client 2025-04-25 14:55:40 -04:00
Pancakes
add5fbc326
Make RetrievePlaytime pull time directly from save 2025-04-25 12:53:03 -04:00
Pancakes
857bdee976
Don't defer Close call to zstandard writer 2025-04-24 17:38:36 -04:00
Pancakes
81032ec299
Fix query in UpdateAccountPassword 2025-04-24 16:00:54 -04:00
Pancakes
e95edb0ca1
Comment out SQL max conns code 2025-01-23 10:07:18 -05:00
Pancakes
87a3d6d290
Comment out SQL migrations-related code 2025-01-21 22:02:07 -05:00
Pancakes
ce035a88af
Remove unneeded function 2025-01-20 12:04:20 -05:00
Pancakes
02f765c114
Check for S3_SYSTEM_BUCKET_NAME instead of AWS_ENDPOINT_URL_S3
Signed-off-by: Pancakes <patapancakes@pagefault.games>
2025-01-20 12:01:40 -05:00
Pancakes
8b00b14ffb
Rewrite save code, remove S3 migration runner 2025-01-20 11:59:28 -05:00
Pancakes
4d6de1e2a8
Add new S3_SYSTEM_BUCKET_NAME env 2024-11-27 19:41:18 -05:00
Pancakes
5480c2ee72
Remove isInLocalDb flag, start dumping saves into S3 2024-10-29 21:26:10 -04:00
Pancakes
ad8fa03503
Migrate all local accounts 2024-10-29 21:18:38 -04:00
Pancakes
e432d64acb
Emergency fix, read/write saves to S3 from now on 2024-10-29 21:15:10 -04:00
Opaque02
c2af4a07e9
Made changes to server to allow admin panel to retrieve last activity instead of last logged in date (#58)
* Made changes to server to allow admin panel to retrieve last activity instead of last logged in date

* Added TODO comment for lastLoggedIn json result

* Updated variable names as per Pancake's comments
2024-10-27 21:25:46 -04:00
Pancakes
07bd7fc1d1
Add AWS_REGION back, keep other changes 2024-10-23 09:35:07 -04:00
Pancakes
cf2abd4f20
Remove AWS_REGION 2024-10-23 09:23:24 -04:00
Pancakes
ea4ba75c93
Use AND in SQL query instead of && 2024-10-23 08:28:40 -04:00
Pancakes
a1263e66c6
Clean up RetrieveSystemSaveFromS3 2024-10-23 05:23:48 -04:00
Pancakes
56ef175646
Get rid of the S3 scheduler 2024-10-22 16:23:54 -04:00
Pancakes
c09d277678
Change more stuff 2024-10-22 16:12:16 -04:00
Pancakes
00e783ff8a
Styling fixes 2024-10-22 15:50:01 -04:00
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
2024-10-16 20:36:55 -04:00
Opaque02
430496941c
Admin panel upgrade server updates (#54)
* Changes for testing

* Updating server code to allow unlinking discord IDs as needed

* Fixed some debug issues commented out code

* Updating server to allow updated admin panel functionality

* Updated some commentted out code

* Updated missed /

* Updated to allow for a single query to the db with multiple columns, and a conversion to allow string outputs instead of sql.NullStrings

* Deleted .bak files and .vs folder as per Walker's discord message

* Added logic to check server to make sure usename exists for discord linking and unlinking

* Changes to allow linking and unlinking of google Id from DB

* Removed .vs folder

* Reverted dev code

* PR comments

* Updates from Pancake's comments
2024-10-16 20:36:44 -04:00
Amani H.
b2aa37b2ef
[Dev] Remove Version Checking (#55) 2024-10-16 18:36:53 -04:00
Katzteam
ad43cccb41
Update example docker compose file to use environment variables (#56) 2024-09-28 17:38:09 -04:00
Pancakes
7b6cf6fe4e
Update FUNDING.yml 2024-09-28 13:13:38 -04:00