Commit Graph

372 Commits

Author SHA1 Message Date
8216ec7943 clean up cache info 2024-04-13 17:17:13 +01:00
c198339acc put player in a player object in the return json and update the cache information in json responses 2024-04-13 17:10:40 +01:00
2895525412 degraded status if response time is more than 1 second 2024-04-13 16:50:17 +01:00
348edfd1ef add a status instead of a boolean online / offline for the endpoint status 2024-04-13 16:46:45 +01:00
66f5660274 only allow GET on /mojang/status 2024-04-13 16:42:21 +01:00
55c2c95269 only fetch the head on the endpoint status check 2024-04-13 16:30:22 +01:00
77bd9a7c7e cleanup 2024-04-13 16:27:19 +01:00
0b187a852c check the mojang api statuses in parallel 2024-04-13 16:24:49 +01:00
4d4e8557d8 remove unnecessary skin fallback 2024-04-13 16:09:01 +01:00
b708191267 add more endpoints to check the status for 2024-04-13 15:59:44 +01:00
3cf16bd2eb add fallback skins 2024-04-13 15:54:32 +01:00
852f5a8bea fix WebRequest (again) 2024-04-13 15:42:30 +01:00
57601acbb1 cleanup WebRequest 2024-04-13 15:41:08 +01:00
471c3e6e80 fix bug with calling apis 2024-04-13 15:36:20 +01:00
811ea348cf add mojang api status endpoint 2024-04-13 15:34:19 +01:00
0c8f769ee7 cleanup imports 2024-04-13 14:08:12 +01:00
586539d810 move cors to the Config 2024-04-13 14:07:54 +01:00
52d89a6d9f change the cache for player name to uuid to be 6 hours 2024-04-13 14:06:48 +01:00
5381a2887e update blocked servers hourly 2024-04-13 14:03:08 +01:00
4ababb0cb5 remove target dir 2024-04-12 20:17:24 +01:00
4f4a06a4fb update a log 2024-04-12 20:15:17 +01:00
53c50b3a05 don't log as much for request logging 2024-04-12 20:07:25 +01:00
f1dae95a4c fix cache hash for player skin part 2024-04-12 20:05:00 +01:00
f4cf93cf08 fix slim skin models not being recognised 2024-04-12 19:59:59 +01:00
157bdf5e5a cleanup and add player skin format link 2024-04-12 19:56:57 +01:00
4b672de85d add minimum size to player images 2024-04-12 19:52:38 +01:00
55c1ca4139 add skin overlays to all images if it's enabled 2024-04-12 19:50:36 +01:00
4e08955ab9 cleanup 2024-04-12 18:56:25 +01:00
e788ae003f fix skin part tests 2024-04-12 18:50:17 +01:00
a1ad295e0c fix skin part tests 2024-04-12 18:48:13 +01:00
2ea58d8080 make the skin renderer less bad (thanks bray) 2024-04-12 18:46:54 +01:00
83a95fb26c cleanup head renderer 2024-04-11 08:21:53 +01:00
9debdece9e cleanup isometric head 2024-04-11 08:11:21 +01:00
9acb7c259a cleanup isometric head 2024-04-11 08:08:57 +01:00
d9e6becebb fix overlay on player head 2024-04-11 07:45:16 +01:00
654037c8e1 lower size limit 2024-04-11 07:15:12 +01:00
977a1dcbc4 add size limit to player images 2024-04-11 07:14:13 +01:00
bfbaf34b24 fix legacy skins 2024-04-11 07:07:49 +01:00
c8b6f2aad8 implement overlays for skins (skin layers) 2024-04-11 06:54:06 +01:00
9b7b761ffd add working skin layers and rename param for overlay 2024-04-11 06:33:51 +01:00
f63d1cc3ec add head endpoint and finish the body renderer 2024-04-11 06:10:37 +01:00
1a74b0099b rename FlatRenderer to SquareRenderer 2024-04-11 03:58:51 +01:00
4f26110405 add trimmed uuid to player response 2024-04-11 03:57:46 +01:00
6f840654e9 update some logs 2024-04-11 03:54:39 +01:00
e9fa275002 cleanup isometric skin renderer 2024-04-11 03:51:21 +01:00
b682153ebb cleanup isometric skin renderer 2024-04-11 03:48:54 +01:00
a16fda1b53 fix username lookup test 2024-04-11 03:11:09 +01:00
8e5adf337a add isometric head renderer 2024-04-11 03:08:17 +01:00
557c0facb7 cleanup username to uuid endpoint 2024-04-11 00:50:57 +01:00
a11a90f530 cleanup username to uuid endpoint 2024-04-11 00:49:16 +01:00