Commit Graph

374 Commits

Author SHA1 Message Date
ppeb
f5ffcbccec Add length check to natneg handleReport 2025-04-28 15:15:48 -05:00
ppeb
3029af0ecb Properly verify qr2 messages 2025-04-28 15:11:38 -05:00
Palapeli
01ed435176 GPCM: Fix wrong public IP check
Some checks failed
Build CI / build (push) Has been cancelled
2025-03-23 17:04:10 -04:00
Palapeli
5f8ea98a3b GPCM: Fix incorrect TOS ban message
Some checks failed
Build CI / build (push) Has been cancelled
2025-03-07 09:09:23 -05:00
Palapeli
c2ef0069ed GPCM: Fix positional format strings in ban errors 2025-03-07 09:08:03 -05:00
Palapeli
81475368bd GPCM: Bump payload version to 5
Some checks are pending
Build CI / build (push) Waiting to run
2025-03-06 08:04:24 -05:00
Palapeli
0642e14672 GameStats: Return 1 from getpd/setpd in error 2025-03-06 08:03:51 -05:00
Palapeli
c0196a65bd GPCM: Update report to use the "wl:" namespace 2025-03-06 05:20:32 -05:00
Palapeli
1212a4f64c Reformat added record to use "wl:" namespace 2025-03-06 04:56:10 -05:00
Palapeli
f1741b0718 ServerBrowser/Filter: Return result of group node
Some checks are pending
Build CI / build (push) Waiting to run
2025-03-05 11:24:27 -05:00
Palapeli
c01f080f2c API: Handle OPTIONS request method 2025-03-05 06:26:06 -05:00
Palapeli
543f4ff017 Merge pull request #73 from WiiLink24/dependabot/go_modules/golang.org/x/net-0.33.0
Some checks are pending
Build CI / build (push) Waiting to run
Bump golang.org/x/net from 0.23.0 to 0.33.0
2025-03-04 10:10:02 -05:00
Palapeli
e5a6aedb34 Merge pull request #72 from Retro-Rewind-Team/api
Update APIs
2025-03-04 10:07:08 -05:00
ppeb
95360023a5 Move custom kick and ban error messages to error.go 2025-03-04 06:59:57 -06:00
dependabot[bot]
6dd9936421 Bump golang.org/x/net from 0.23.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 09:17:59 +00:00
Palapeli
658d789462 Merge pull request #69 from WiiLink24/dependabot/go_modules/golang.org/x/crypto-0.31.0
Some checks are pending
Build CI / build (push) Waiting to run
Bump golang.org/x/crypto from 0.21.0 to 0.31.0
2025-03-04 04:17:09 -05:00
Palapeli
34d13199b0 ServerBrowser: Support bitwise operators in filter 2025-03-04 04:00:24 -05:00
ppeb
3144bd7cf8 Revert motd, clear, and user action response 2025-03-03 19:33:41 -06:00
Palapeli
f8339dbf87 GameStats: Support public data for getpd and setpd
Some checks are pending
Build CI / build (push) Waiting to run
2025-03-03 09:34:21 -05:00
ppeb
ea56689f08 Fix missing ban reason dropped during merge 2025-03-02 23:51:22 -06:00
ppeb
df1c6a83fc Send kick and ban reasons to players 2025-03-02 23:33:46 -06:00
ppeb
e12944ccab Remove HEAD support, change sql query name 2025-03-02 23:30:32 -06:00
ppeb
64e007631f Add /api/clear to drop user from database 2025-03-02 23:30:14 -06:00
ppeb
3099499868 Rename utils.go to user_action_response.go for clarity 2025-03-02 23:30:09 -06:00
ppeb
c099348636 Include User object with responses to some APIs 2025-03-02 23:30:02 -06:00
ppeb
90f38dccca Move mmss to api/utils.go 2025-03-02 23:29:55 -06:00
ppeb
d1dd5816c2 Rework ban, kick, unban APIs. Add motd API. 2025-03-02 23:29:49 -06:00
ppeb
cfec099bdd Add IP logging to ban, kick, unban 2025-03-02 23:29:43 -06:00
Palapeli
788bf7ff0b Database: Only update last IP addr on real login
Some checks failed
Build CI / build (push) Has been cancelled
2025-03-01 08:50:22 -05:00
Palapeli
87c17df031 Database: Add option to allow mismatched device ID with same IP address 2025-03-01 08:29:57 -05:00
Palapeli
ab4e52c649 Database: Fix improper use of NG device ID column 2025-03-01 04:08:14 -05:00
Palapeli
0032fa4350 Database: Update embedded schema 2025-03-01 03:56:21 -05:00
Palapeli
2e798b591a Database: Support multiple devices on one profile 2025-03-01 03:49:59 -05:00
Palapeli
46b82d1262 Add open_host field to schema
Some checks are pending
Build CI / build (push) Waiting to run
2025-03-01 00:52:41 -05:00
Palapeli
0b10738c16 QR2: Check if session is deleted in sendChallenge
Some checks failed
Build CI / build (push) Has been cancelled
2024-12-27 19:23:02 -05:00
Palapeli
79167423b9 Merge pull request #70 from lilousky/profanity-update
Some checks failed
Build CI / build (push) Has been cancelled
Profanity update
2024-12-19 12:30:04 -05:00
Lilia
0d2b3016f4 Profanity update
Mii names now get normalised, and the bad word list's cache gets cleared if the profanity.txt file has been updated.
2024-12-15 14:08:59 -05:00
dependabot[bot]
d388f3e767 Bump golang.org/x/crypto from 0.21.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 23:53:22 +00:00
mkwcat
b20accb031 GPCM: Accept AP cert timestamp
Some checks failed
Build CI / build (push) Has been cancelled
2024-10-20 23:59:21 -04:00
mkwcat
3a55fdd733 GameStats: Fix length error in last commit 2024-09-16 21:36:45 -04:00
mkwcat
cc36857182 GameStats: Return empty \key\value pair on getpd 2024-09-16 21:31:33 -04:00
mkwcat
4e94cdde4a QR2: Add MKW course and engine class to groups API 2024-09-11 21:22:30 -04:00
mkwcat
3d1cdc7ab5 SAKE: More thorough validation of MKW ghost data 2024-09-11 16:35:35 -04:00
Palapeli
1b63ae4a1d Merge pull request #66 from MikeIsAStar/support-file-download-requests-for-rival-ghosts
SAKE: Support file download requests for rival ghosts from Mario Kart Wii
2024-09-10 16:55:27 -04:00
MikeIsAStar
ccbbeebeba SAKE: Support file download requests for rival ghosts from Mario Kart Wii
Helps address issue #43.
2024-09-10 00:01:07 -04:00
MikeIsAStar
eddb4416f7 SAKE: Validate the scores submitted in file uploads from Mario Kart Wii 2024-09-09 23:55:12 -04:00
Palapeli
eb8bf13326 Merge pull request #65 from MikeIsAStar/support-file-download-requests-for-champion-ghosts
SAKE: Support file download requests for champion ghosts from Mario Kart Wii
2024-09-09 13:01:50 -04:00
MikeIsAStar
a55800eb2f SAKE: Support file download requests for champion ghosts from Mario Kart Wii
Helps address issue #43.
2024-09-08 12:59:45 -04:00
mkwcat
46f269d470 Database: Add upload timestamp to MKW ghost data 2024-09-07 15:05:51 -04:00
Palapeli
240fdea556 Merge pull request #64 from MikeIsAStar/support-file-download-requests-from-mario-kart-wii
SAKE: Support file download requests from Mario Kart Wii
2024-09-07 12:57:47 -04:00