Commit Graph

147 Commits

Author SHA1 Message Date
Rambo6Glaz
7ea395eec2 Improve QR2 kick order by sending it to all QR2-authenticated sessions 2025-04-03 03:05:31 +09:00
Rambo6Glaz
2e83f14d4e Add QR2 kick order to ensure the peer is disconnected from the game session 2025-04-03 01:16:33 +09:00
ppeb
434eed19ee
Merge remote-tracking branch 'upstream/main' 2025-03-29 20:40:21 -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
ppeb
043b41f89e
Send custom ban reason on login 2025-03-21 19:05:50 -05:00
ppeb
c740f07750
Bump translations, mark error_messages.go as vendored 2025-03-21 18:14:49 -05:00
ppeb
50138d6afc
Bump translations 2025-03-20 00:48:33 -05:00
ppeb
08b6ef218e
Require a valid csnum to log in 2025-03-20 00:01:29 -05:00
ppeb
14419b35ed
Fix logging and bad version parsing of login hash 2025-03-20 00:01:05 -05:00
ppeb
5d7ec0edbc
Fix incorrect hash length check 2025-03-14 20:00:36 -05:00
ppeb
54b8d7ab82
Define unsupported languages, bump translations 2025-03-10 20:31:04 -05:00
ppeb
6a40b5c9ec
Store blob hashes, require on login
Blob hashes are now stored in the database under the `hashes` table.
They are stored internally as a map of packIDs to a map of versions to a
map of regions to the hash.

On login, a pack ID, version, and hash are required or the login attempt
is rejected.

Hashes can be updated using the `/api/hash` endpoint.

The schema has been updated accordingly.
2025-03-10 08:39:19 -05:00
ppeb
406660115d
Sourcegen translations from Google Sheet 2025-03-08 20:49:41 -06:00
ppeb
2d6073c7e9
Merge remote-tracking branch 'upstream/main' 2025-03-08 10:45:33 -06: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
ppeb
433ade0293
Merge remote-tracking branch 'upstream/main' 2025-03-06 22:18:08 -06: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
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
ppeb
41f7fddc4d
Revert "Revert motd, clear, and user action response"
This reverts commit 3144bd7cf8.

The reason this commit had to be made was because certain apis were PR'd
upstream, but were unwanted and thus removed in a separate commit. It
would likely have been better to drop the commits pushed upstream but
it's too late to fix that, so now we have a revert of a revert.
2025-03-05 20:33:20 -06:00
ppeb
ea26b1a849
Fix Japanese for WWFCMsgKickedGeneric 2025-03-05 19:26:51 -06:00
ppeb
0e2d1bcaad
Fix syntax, formatting, and newlines in error.go 2025-03-05 19:26:51 -06:00
Eppeu
53171ded94
Update error.go (JPN & FRA) 2025-03-05 19:26:51 -06:00
Matthew Toro
a127ecd3b7
Revert "Update error.go (JPN & FRA)" 2025-03-05 19:19:28 -06:00
Eppeu
35d470679b
Update error.go (JPN & FRA) 2025-03-05 19:19:28 -06:00
ZPL
ab2abc1980
Update error.go 2025-03-05 19:19:24 -06:00
ZPL
7601f0f39c
Update error.go 2025-03-05 19:02:30 -06:00
Palapeli
c01f080f2c
API: Handle OPTIONS request method 2025-03-05 06:26:06 -05:00
ppeb
95360023a5
Move custom kick and ban error messages to error.go 2025-03-04 06:59:57 -06:00
ppeb
3144bd7cf8
Revert motd, clear, and user action response 2025-03-03 19:33:41 -06: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
d1dd5816c2
Rework ban, kick, unban APIs. Add motd API. 2025-03-02 23:29:49 -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
2e798b591a
Database: Support multiple devices on one profile 2025-03-01 03:49:59 -05: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
4e94cdde4a
QR2: Add MKW course and engine class to groups API 2024-09-11 21:22:30 -04:00
MikeIsAStar
5e4eecc382 GPCM: Kick players who drop too many frames 2024-07-25 23:44:11 -04:00
MikeIsAStar
72d55664d4 GPCM: Handle 'mkw_room_stall' messages 2024-06-26 23:10:55 -04:00
mkwcat
498287bf89
GPCM: Send friend auth message via bm 1 2024-05-11 03:46:01 -04:00
mkwcat
ce3c532848
GPCM: Handle split packets 2024-05-09 22:21:20 -04:00
mkwcat
dda86fc9cf
All: Add O_TRUNC to open flags for state file 2024-05-08 02:55:46 -04:00
mkwcat
5dfb1eeda7
GPCM: Privatize state functions 2024-05-07 21:21:31 -04:00
mkwcat
94c03d5693
Add silent reload feature to GPCM and QR2 2024-05-06 23:58:40 -04:00
mkwcat
fc69fe9a61
Add RPC support for GPSP, GameStats, ServerBrowser 2024-05-06 18:13:14 -04:00
mkwcat
9f9f3b10f8
Merge branch 'main' into split-process 2024-05-05 20:15:22 -04:00
mkwcat
443ac5ee41
GPCM: Log remove friend profile ID 2024-04-26 11:23:17 -04:00
mkwcat
ddbf445a0d
Run frontend and backend in a separate process
This will in the future allow the server to be restarted without closing open connections
2024-04-22 10:16:27 -04:00
mkwcat
597f974a1c
Fix incorrect unit code on cross-platform games 2024-04-21 13:45:28 -04:00