132 Commits

Author SHA1 Message Date
Jonathan Barrow
c04bcab437 Merge pull request #27 from PretendoNetwork/fix/course-uploads
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
feat(datastore): adjust GetApplicationConfig with new information
2026-08-09 13:10:25 -04:00
mrjvs
c38c372b92 Merge pull request #28 from PretendoNetwork/feat/level-delete-grpc
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
CourseDelete + GRPC server
2026-08-02 18:57:26 +02:00
mrjvs
91364538c0 chore: run go mod tidy
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-08-02 16:00:30 +02:00
mrjvs
d009ef06a5 fix: run go fmt 2026-08-02 16:00:02 +02:00
mrjvs
d0b3cbdeda feat: Update GRPC package
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run
2026-08-01 15:23:50 +02:00
Daniel López Guimaraes
6ceb3ff207 fix(datastore): use int32 for config values on GetApplicationConfig
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
This has been wrong since forever, the DDL trees say the config values
are supposed to be signed integers.
2026-07-31 22:36:39 +01:00
Daniel López Guimaraes
99dc519a94 feat(datastore): add constants for GetApplicationConfig 2026-07-31 22:34:13 +01:00
mrjvs
a0d765c87e feat: implement DeleteCourse into GRPC server 2026-07-31 21:51:25 +02:00
mrjvs
5f6db106ca Add GRPC server to SMM 2026-07-31 21:51:08 +02:00
Daniel López Guimaraes
37e1e7a100 fix(datastore): rename player config to global config 2026-07-31 16:40:43 +01:00
Daniel López Guimaraes
5a2001fb06 feat(datastore): adjust GetApplicationConfig with new information
Document new information and apply the 100 couse upload limit to
everyone. This was previously only happening to those with 0 or 1
medals, but now we know how to apply it to those with more.
2026-07-31 16:35:09 +01:00
William Oldham
85673ae9f8 Revert "fix: resolve "Course data can't be loaded" on 3DS Recommended Courses (#21)"
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
This reverts commit 12deaca1cf.
2026-03-22 22:15:58 +00:00
mrjvs
7db08c6a6c feat: add keybase to jpg 2026-03-22 20:15:27 +01:00
mrjvs
8d9abc6035 feat: Add keybase env variable 2026-03-22 19:56:22 +01:00
mrjvs
1e1736431a Merge pull request #23 from EJ-Edwards/master
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run
fix: resolve "Course data can't be loaded" on 3DS Recommended Courses…
2026-03-22 14:01:01 +01:00
EJHacks
12deaca1cf fix: resolve "Course data can't be loaded" on 3DS Recommended Courses (#21)
- Use LEFT JOIN instead of INNER JOIN in GetRandomCoursesWithLimit so
  courses without custom ranking entries (unrated) are included in results
- Use COALESCE(ranking.value, 0) to default unrated courses to score 0
- Move object filters from JOIN ON clause to WHERE clause
- Add input length validation to CTRPickUpCourseSearchObject (cap at 25)
- Remove unreachable sql.ErrNoRows check (Query never returns it)
2026-03-12 08:45:21 -04:00
mrjvs
bb1f927fd6 Merge pull request #22 from PretendoNetwork/feat/delete-course-script
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
feat: add script to delete a course
2026-01-02 12:24:10 +01:00
mrjvs
e2ae61055f feat: add script to delete a course 2025-11-15 00:04:21 +01:00
TraceEntertains
4edd248eea Merge pull request #20 from TraceEntertains/master
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
Hotfix 5, fix postgres arrays
2025-02-23 17:34:01 -05:00
TraceEntertains
d74ecaedec Merge branch 'master' of https://github.com/TraceEntertains/super-mario-maker 2025-02-23 17:32:08 -05:00
TraceEntertains
b6fa38a8a3 Hotfix 5, postgres doesn't like nex strings in lists 2025-02-23 17:31:28 -05:00
TraceEntertains
b2fd842916 Merge pull request #19 from TraceEntertains/master
Hotfix 4, fix commented out s3 😭
2025-02-23 17:13:23 -05:00
TraceEntertains
0f63dee88b Hotfix 4, fix commented out s3 😭 2025-02-23 17:12:23 -05:00
TraceEntertains
7fec60a222 Hotfix 3, hopefully finally fixes this (#18)
* Hotfix 2 (electric boogaloo), initialize server accounts

* The server Actually Runs™️!
2025-02-23 21:57:24 +00:00
William Oldham
992cb5b00a ci: split ARM and AMD building of Docker images
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run
2025-02-22 22:42:56 +00:00
TraceEntertains
9fffc2d693 Hotfix 2 (electric boogaloo), initialize server accounts (#17) 2025-02-22 22:30:48 +00:00
William Oldham
db650dad82 Merge pull request #16 from TraceEntertains/master
Hotfix usestructureheader
2025-02-22 22:05:45 +00:00
TraceEntertains
ae3d8eef0c Merge branch 'PretendoNetwork:master' into master 2025-02-22 16:59:33 -05:00
TraceEntertains
a38b2a9c40 Hotfix, changes usestructureheader to true 2025-02-22 16:59:17 -05:00
William Oldham
8357d96d50 fix: initialise the plogger 2025-02-22 21:32:01 +00:00
William Oldham
a458ecd583 Merge pull request #15 from TraceEntertains/master
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
Update to nex-go v2 libraries
2025-02-22 13:01:35 +00:00
TraceEntertains
56905f89df Pointers aren't really used on types since types rewrite, so use indexes on for statements instead 2025-02-21 15:01:52 -05:00
TraceEntertains
f6f600d897 Various list related stylistic improvements 2025-02-20 20:47:20 -05:00
TraceEntertains
d6da729ca8 Remove kerberos password from readme 2025-02-20 20:28:14 -05:00
TraceEntertains
8ff2a00801 Added kerberos password generation 2025-02-20 20:27:04 -05:00
TraceEntertains
616a2a1978 Update dockerfile to use go 1.23 2025-02-20 18:09:48 -05:00
TraceEntertains
33c0090de7 Initial library update (untested) 2025-02-19 22:53:57 -05:00
Ash Logan
6aaa5d24fc chore(gitignore): Add idea
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-02-05 15:01:12 +11:00
Ash Logan
9dd77621ae fix(datastore): Limit returned course count to manage db load
We need to change the schema here, but the nested query with the schema is losing the plot entirely in prod (50k rows)
2025-02-05 15:00:44 +11:00
Ash Logan
abc7796369 chore: update go modules 2025-02-05 14:56:36 +11:00
Jonathan Barrow
b3703180d6 Merge pull request #13 from PretendoNetwork/endian-config
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-31 18:25:13 -05:00
Daniel López Guimaraes
590452189e chore(datastore): Update comments to remove redundancy 2025-01-31 23:23:00 +00:00
Daniel López Guimaraes
cfb789e8b8 fix(datastore): Use proper endianness on GetApplicationConfig
Most of the values are wronly represented with endianness flipped, which
would get sent as big endian. This causes issues like the game not
triggering the API requests for 100 Mario or bookmarks. Use proper
endianness to fix the issue.
2025-01-31 23:09:28 +00:00
Jonathan Barrow
b9df34c078 Merge pull request #11 from binaryoverload/master 2024-08-07 15:46:28 -04:00
William Oldham
2abcd77bf1 Don't use fatal log for .env not existing 2024-08-05 19:25:28 +01:00
Jonathan Barrow
033d8786b0 Merge pull request #10 from binaryoverload/master 2024-08-04 17:49:18 -04:00
William Oldham
c4b7fdcb6e Add environment variable for S3 whether to use http or https 2024-08-04 20:14:44 +01:00
Jonathan Barrow
3f22dc178c Merge pull request #9 from mrjvs/master 2024-07-27 12:23:59 -04:00
mrjvs
5af2964a48 Add Dockerfile & CI
Co-authored-by: William Oldham <github@binaryoverload.co.uk>
2024-07-27 13:04:02 +02:00
Jonathan Barrow
b5d5140a04 Merge pull request #5 from PretendoNetwork/modernize
Modernize
2023-11-01 09:28:42 -04:00