ErickSkrauch
1e3307dcbe
Fixes CHRLY-S. Don't return an error for an invalid username
2021-03-03 00:24:31 +01:00
ErickSkrauch
6f148a8791
Implemented /profile/{username} endpoint to get complete profile with signed by the current server textures.
...
Implemented /signing-key endpoint to get public key in der format, used to sign the textures.
Improved logging of errors from http package.
Changed behavior of the /cloaks endpoint
2021-02-26 02:45:45 +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
620bb95c74
Fix in_memory_textures_storage_test [skip deploy]
2020-05-01 20:11:49 +03:00
ErickSkrauch
fd05220299
Ensure that queue for Mojang textures provider is initialized before any job will be scheduled
2020-05-01 17:36:37 +03:00
ErickSkrauch
4c21fc5c90
Implemented health checker for textures provider from Mojang's API
2020-04-30 23:16:22 +03:00
ErickSkrauch
c4566a337b
Rework in_memory_textures_storage. Handle empty properties correctly
2020-04-30 00:24:41 +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
f997fdf9b0
Resolves #26 . Rework UUIDs storage interface to simplify results handling
2020-04-28 17:57:51 +03:00
ErickSkrauch
585318d307
Another attempt to fix FullBus test
2020-04-26 21:05:54 +03:00
ErickSkrauch
b2e501af60
Fix FullBus test
2020-04-26 20:58:46 +03:00
ErickSkrauch
1b9e943c0e
Fixed strategies implementations, added tests
2020-04-26 03:48:23 +03:00
ErickSkrauch
29b6bc89b3
Extracted strategy from batch uuids provider implementation.
...
Reimplemented Periodic strategy.
Implemented FullBus strategy (#24 ).
Started working on tests.
2020-04-24 19:38:37 +03:00
ErickSkrauch
2ea4c55d37
Split Dispatcher interface and use it across application
2020-04-20 14:29:33 +03:00
ErickSkrauch
db19fe62f2
Add mojang_textures:batch_uuids_provider:result event for the batch uuids provider
2020-04-10 02:47:53 +03:00
ErickSkrauch
092ea3d4e2
Resolves #13 . Add a config param to completely disable Mojang textures provider
2020-04-06 17:16:11 +03:00
ErickSkrauch
767971a197
Call mojang_textures:after_result event before broadcasting results to listeners
2020-04-04 00:28:50 +03:00
ErickSkrauch
e1c30a0ba1
Generalize mojang textures events
2020-03-29 22:10:31 +03:00
ErickSkrauch
2abe2db469
Integrate event dispatcher into mojangtextures package
2020-02-08 14:27:58 +03:00
ErickSkrauch
92473d15d6
Replace simple Mutex with RWMutex for in memory textures storage
2020-01-05 23:45:11 +03:00
ErickSkrauch
a8e4f7ae56
Ugly and dirty solution to sync batch_uuids_provider_test
2020-01-05 23:25:17 +03:00
ErickSkrauch
a4a9201034
Add additional synchronization layer for bath_uuids_provider_test
2020-01-03 01:41:51 +03:00
ErickSkrauch
7f9b60ab3a
Fix race condition error
2020-01-03 01:04:23 +03:00
ErickSkrauch
5a0c10c1a1
Implemented worker command
2020-01-03 00:51:57 +03:00
ErickSkrauch
1033069211
Implemented remote api mojang uuids provider
2019-11-24 04:29:22 +03:00
ErickSkrauch
d27caa4922
Add sync channel to batch_uuids_provider_test
2019-11-21 19:33:05 +03:00
ErickSkrauch
0644dfe021
Completely rework mojang textures queue implementation, split it across separate data providers
2019-11-21 02:18:36 +03:00