aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0/server.go
AgeCommit message (Collapse)Author
2022-10-23pkg/api/api0: Only parse the query oncepg9182
2022-10-21all: pg9182 -> r2northstarpg9182
2022-10-19pkg/api/api0: Add metricspg9182
2022-10-19pk/api/api0: Fix /server/remove_server success HTTP statuspg9182
2022-10-19pkg/api/api0: Use different error code for a2s timeout when verifying serverpg9182
2022-10-16pkg/api/api0: Store launcher version in server listpg9182
2022-10-15pkg/api/api0: Rework error responsespg9182
* NorthstarLauncher expects the error field to be an object with enum and msg fields as strings, and often crashes if this isn't the case. * Shorter code, less duplication.
2022-10-15pkg/api/api0{,/api0gameserver}: Refactor game server auth requestspg9182
2022-10-15pkg/api/api0: Clean up old commentspg9182
2022-10-15pkg/api/api0: Implement bad words filter optionpg9182
2022-10-15pkg/api/api0: Fix playerCount and maxPlayers server value updatespg9182
I seem to have been a little short on sleep...
2022-10-15pkg/api/api0: Implement /server/remove_serverpg9182
2022-10-15pkg/api/api0: Add more descriptive error for attempts to update nonexistent ↵pg9182
server
2022-10-15pkg/api/api0: Implement all server update endpointspg9182
Share the same handler, conditionally allowing different fields to be updated, controlling whether create/update is enabled based on the endpoint, and (re)verifying servers whenever it results in a new server being created.
2022-10-15pkg/api/api0: Refactor server verification processpg9182
* Add an additional pending state for unverified servers. * This allows verification to be done without knowing ahead of time if a server is going to be created or updated. * Also moves more logic into the serverlist.
2022-10-15pkg/api/api0: Fix /server/add_server response statuspg9182
2022-10-15pkg/api/api0: Refactor server list updatespg9182
* Merge update and replace into ServerHybridUpdatePut. * Integrate limits into ServerList itself. * Allow new servers to replace live servers if gameserver and authserver IP and port are identical. * Move server token generation into ServerList.
2022-10-15pkg/api/api0: Implement /server/add_serverpg9182
2022-10-13pkg/api/api0: Implement /client/mainmenupromospg9182
Also support varying it so things like version-specific messages can be shown.