Commit Graph

384 Commits

Author SHA1 Message Date
Palapeli
c084fc940a
Database: Fix login query from GameStats 2025-12-28 14:47:18 -05:00
Palapeli
4c10435b92
QR2: Only check relevant VR in public matches 2025-12-28 12:09:31 -05:00
Palapeli
65f0eb460e
database: Support whitelisting certain profiles without keys 2025-12-28 09:25:29 -05:00
Palapeli
93269e8b8d
Merge pull request #85 from BDMCGaming/main
Some checks failed
Build CI / build (push) Has been cancelled
Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation
2025-08-20 21:08:13 -04:00
BDMCGaming
1287d49440 Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation 2025-08-20 17:12:14 -04:00
Palapeli
9aba0bbeae
NAS: Forward payload requests to external server
Some checks failed
Build CI / build (push) Has been cancelled
2025-06-03 19:46:20 -04:00
Palapeli
262dbdec94
Merge pull request #82 from ppebb/length-checks
Add length checks to natneg handleReport and qr2 messages
2025-06-03 18:58:32 -04:00
Palapeli
91d60b2cde
Merge pull request #76 from ppebb/main
Make all time.Now() usage UTC
2025-06-03 18:57:11 -04:00
Palapeli
9d5913bd76
QR2: Fix missing mutex lock in SendClientMessage
Some checks failed
Build CI / build (push) Has been cancelled
2025-05-12 19:29:10 -04:00
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
ppeb
3722170a18
Make all time.Now() usage UTC 2025-03-23 20:42:54 -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