14 Commits

Author SHA1 Message Date
Vari
6d5698f10e Tried adjusting the playerdata lock
changed online-player endpoint return type to json from plain html
2024-08-31 04:55:01 +02:00
Vari
365ba978c0 Implemented Model,logic and response for inbox messages. 2024-05-26 05:07:13 +02:00
Vari
bad4324d86 Changed ban check to also consider the start and end time.
Also moved the colored ban status check into own component.
2024-05-20 01:12:54 +02:00
Vari
b9431836c4 Added player alive check for queue and matched games to detect crashed or not joined players. 2024-03-12 00:06:56 +01:00
Vari
1e1620be6b Added queue/cancel endpoint
Added some locks to combat some race conditions, hopefully they work.
2024-03-09 12:26:15 +01:00
Vari
b600883e36 Adjusted queue status to only check for open or created matches the user is part of to return. 2024-03-09 12:26:15 +01:00
Vari
f179af9185 Added Matchmaking database tables and Models 2024-03-09 12:26:15 +01:00
Vari
3f8ee86eb8 Implemented Quitter state database table and getQuitterState endpoints 2024-03-01 14:17:05 +01:00
Vari
eeb29a6f46 Added Importer to import the catalog from Shaggy into the Database for future use for the other endpoints like managing inventory and stuff. 2024-02-18 18:52:43 +01:00
Vari
b9de1db675 Fixed User database fields not being filled while being created due to not being in the $fillable array.
also added getting the username while logging in via game.
2024-02-18 05:12:27 +01:00
Vari
135a1cef6d Removed .idea folder 2024-02-15 22:06:43 +01:00
Vari
90a233e7f2 Completed steam web login, forget i only had a dd() there.
Fixed auth implementation in user model.
2024-02-14 22:38:21 +01:00
Vari
1bf28e2c50 Added package spatie/laravel-permission for adding roles and permissions.
Setup default admin and view-log role and permission (the whole reason i added all this stuff).

also added artisan command to give user a role via command line with artisan permissions:AddRoleToUser {rolename} {userId}
2024-02-14 21:50:42 +01:00
Vari
154105a374 Added Ban Status endpoint and created a ban table to ban users. 2024-02-13 02:32:24 +01:00