ErickSkrauch
|
d678f61df7
|
Upgrade dependencies
|
2023-12-14 02:16:24 +01:00 |
|
ErickSkrauch
|
26042037b6
|
Increase Mojang's API response timeout
|
2021-03-03 01:23:34 +01:00 |
|
ErickSkrauch
|
247499df6a
|
Fixes #29. If a previously cached UUID no longer exists, it will be invalidated and re-requested
|
2021-02-07 21:19:01 +01:00 |
|
ErickSkrauch
|
60774b6b72
|
Resolves #27. Replace import of the gock with gopkg.in/h2non/gock.v1
|
2020-08-21 18:12:31 +03:00 |
|
ErickSkrauch
|
05c68c6ba6
|
Fixes CHRLY-B. Handle the case when the textures property is not presented in Mojang's response
|
2020-04-29 21:54:40 +03:00 |
|
ErickSkrauch
|
8001eab9db
|
Add rough sentry reporting to catch panic in the mojang textures decoder
|
2020-04-29 21:15:13 +03:00 |
|
ErickSkrauch
|
f43c1a9a37
|
Resolves #23. Allow to spoof Mojang's API addresses
|
2020-04-26 21:56:03 +03:00 |
|
ErickSkrauch
|
bd13480175
|
Added uuid normalization for mojang's uuid to textures request
|
2020-04-03 20:23:34 +03:00 |
|
ErickSkrauch
|
280a55d553
|
Restored logger for mojang textures providers errors
|
2020-04-02 02:29:14 +03:00 |
|
ErickSkrauch
|
0644dfe021
|
Completely rework mojang textures queue implementation, split it across separate data providers
|
2019-11-21 02:18:36 +03:00 |
|
ErickSkrauch
|
7353047467
|
Increase queue loop delay from 1 to 2.5 seconds. Add configuration param to adjust its value
|
2019-11-08 01:54:16 +03:00 |
|
ErickSkrauch
|
b2a1fd450b
|
Handle 403 Forbidden error from Mojang's API
|
2019-11-08 01:32:26 +03:00 |
|
ErickSkrauch
|
6d6d0e4b79
|
Decrease queue batch size. Log all 400 response from the Mojang's API. Resolves #10.
|
2019-10-03 01:24:25 +03:00 |
|
ErickSkrauch
|
f872fe4698
|
Fix race condition, introduced in the previous commit
|
2019-06-19 00:56:09 +03:00 |
|
ErickSkrauch
|
5b4761e4e5
|
Fixes #9. Start GC loop for in-memory textures cache.
|
2019-06-18 23:34:16 +03:00 |
|
ErickSkrauch
|
1f057a27aa
|
Adjust Mojang's queue behavior
|
2019-05-06 17:12:37 +03:00 |
|
ErickSkrauch
|
9dde5715f5
|
Adjust Mojang's queue behavior
|
2019-05-05 23:06:29 +03:00 |
|
ErickSkrauch
|
a81c6fc9f8
|
Resolves #4. Fix Gopkg.toml structure, update all outdated dependencies, use middlewares introduced in gorilla/mux 1.6.1, replace gopkg.in/h2non/gock.v1 with it's GitHub link github.com/h2non/gock
|
2019-05-01 02:15:57 +03:00 |
|
ErickSkrauch
|
94b930f388
|
#1: Add test case for panic when trying to store response without textures
|
2019-04-30 00:45:29 +03:00 |
|
ErickSkrauch
|
f213ed45c7
|
#1: Log unexpected errors from Mojang API
|
2019-04-30 00:36:51 +03:00 |
|
ErickSkrauch
|
6daec4dc4b
|
#1: Fix GolangCI issues
|
2019-04-28 20:30:55 +03:00 |
|
ErickSkrauch
|
90ce22f687
|
#1: Attempt to fix travis tests run
|
2019-04-28 20:24:08 +03:00 |
|
ErickSkrauch
|
f7cdab243f
|
#1: Integrate queue to the application
|
2019-04-27 01:46:15 +03:00 |
|
ErickSkrauch
|
533afcc689
|
#1: Add logging mechanic and remove awaiting of finishing of all textures requests in usernames queue
|
2019-04-25 00:45:04 +03:00 |
|
ErickSkrauch
|
d7f03ce182
|
#1: Implemented in-memory storage for textures
|
2019-04-21 20:28:58 +03:00 |
|
ErickSkrauch
|
ad300e8c1c
|
#1: Implemented helper to decode/encode base64 textures value
|
2019-04-21 20:27:54 +03:00 |
|
ErickSkrauch
|
7d1506d0d9
|
#1: Fix Mojang's API HTTPClient default configuration, make mojang.ResponseError interface not applicable to any type, add handling of some possible network errors
|
2019-04-21 03:04:03 +03:00 |
|
ErickSkrauch
|
a8bbacf8b1
|
#1: Handle Mojang's server errors too
|
2019-04-20 23:04:29 +03:00 |
|
ErickSkrauch
|
c2921400b0
|
#1: Add case when Mojang's API returns empty response
|
2019-04-20 22:39:17 +03:00 |
|
ErickSkrauch
|
e7c0fac346
|
#1: Split textures processing to 2 separate steps
|
2019-04-20 22:22:02 +03:00 |
|
ErickSkrauch
|
bd099cfb2a
|
#1: User golang 1.12 for travis build. Improve random usernames generator
|
2019-04-20 20:04:57 +03:00 |
|
ErickSkrauch
|
96af45b2a1
|
#1: Disallow to query invalid Mojang usernames
|
2019-04-20 19:51:55 +03:00 |
|
ErickSkrauch
|
b1e18d0d01
|
#1: Add storage integration
|
2019-04-20 19:35:37 +03:00 |
|
ErickSkrauch
|
abea94a41f
|
#1: Add broadcaster structure to broadcast results of the same usernames
|
2019-04-20 03:23:49 +03:00 |
|
ErickSkrauch
|
8244351bb5
|
#1: Fix race conditions errors and rewrite tests
|
2019-04-19 01:41:52 +03:00 |
|
ErickSkrauch
|
e14619e079
|
#1: add initial tests for queue, upgrade github.com/stretchr/testify
|
2019-04-18 02:56:20 +03:00 |
|
ErickSkrauch
|
fd4e5eb9ca
|
#1: Pull queue into struct, add storage interface
|
2019-04-15 02:52:00 +03:00 |
|
ErickSkrauch
|
879a33344b
|
#1: Renaming
|
2019-04-15 01:32:22 +03:00 |
|
ErickSkrauch
|
d2d6d07fa6
|
#1: Rough implementation of textures queue
|
2019-04-15 00:52:10 +03:00 |
|
ErickSkrauch
|
44f3ee7413
|
#1: Improve uuidToTextures method, organize tests
|
2019-04-15 00:31:09 +03:00 |
|
ErickSkrauch
|
7db4d27fba
|
#1: Implemented necessary Mojang APIs
|
2019-04-14 17:36:46 +03:00 |
|