ErickSkrauch
cfe8fea3f7
Add signature to the custom profile property when ?unsigned=false
2024-07-09 18:37:47 +02:00
ErickSkrauch
27c7b79b32
Added onUnknownProfileRespondWithUuid
param to the /profile
endpoint
...
Introducing profiles endpoint was a mistake, but we had to deal with that mistake until I'll remove it. The Accounts service needs textures with a signature. But it is possible that a user has a fresh account and Chrly has not yet received the profile information. In this case we have no way to get textures for the player. Adding the onUnknownProfileRespondWithUuid parameter solves this problem. This is a bad solution and nobody should use it except Ely.by infrastructure. In v5 version the texture signature on Chrly will be removed.
2024-06-11 02:31:47 +02:00
ErickSkrauch
ad31fdb709
Quick fix for production data inconsistency
2023-12-22 18:45:38 +01:00
ErickSkrauch
fa62d45d00
Update mojang api username filter
2023-12-22 02:00:31 +01:00
ErickSkrauch
cadb89f00a
Fixes #40 . Allow to upload profile information without a skin
...
Remove skin file uploading stubs
2023-12-22 01:56:02 +01:00
ErickSkrauch
20ba78953b
Handle absence of the additional reporters
2023-12-14 03:01:55 +01:00
ErickSkrauch
883a7bda3c
Fixes #8 . Replace radix v2 with v4
2023-12-14 02:16:24 +01:00
ErickSkrauch
d678f61df7
Upgrade dependencies
2023-12-14 02:16:24 +01:00
ErickSkrauch
1543e98b87
Restore codecov export and update README badges
2023-12-13 17:09:46 +01:00
ErickSkrauch
0e0b41d6d7
Update LICENSE
2023-12-13 15:11:07 +01:00
ErickSkrauch
3cd12acc1b
Export profile requests metrics to statsd
2023-12-13 01:56:40 +01:00
ErickSkrauch
dac4ed0ac6
Update CHANGELOG
2023-12-13 01:51:22 +01:00
ErickSkrauch
11a779c670
Another version CI fix
2023-12-13 01:34:15 +01:00
ErickSkrauch
6cb5e1eb42
Fix version generation
2023-12-13 01:23:53 +01:00
ErickSkrauch
8959e53270
Generate version and commit refs for built docker image
2023-12-13 01:09:21 +01:00
ErickSkrauch
3526570dd3
Run release only when previous step succeeded
2023-12-12 02:37:52 +01:00
ErickSkrauch
4b7f1346f5
Add an edge tag for master releases
2023-12-12 02:30:27 +01:00
ErickSkrauch
e7721f9e5a
Enable pushing
2023-12-12 02:21:22 +01:00
ErickSkrauch
26bfbd1517
Read secrets from secrets
2023-12-12 02:13:19 +01:00
ErickSkrauch
ecbb06b83c
Fix release pipeline and upgrade Dockerfile
2023-12-12 02:06:00 +01:00
ErickSkrauch
6accffed45
Replace dep with go mod, migrate from travis to github-actions
2023-12-12 01:35:08 +01:00
ErickSkrauch
980c920ceb
Prepare 4.6.0 release
2021-03-04 07:03:07 +01:00
ErickSkrauch
32a9fee3e6
Replace /signature-verification-key endpoint with extension-specific ones /signature-verification-key.{der|pem}.
...
Fix Content-Disposition header
2021-03-03 13:33:56 +01:00
ErickSkrauch
7cf5ae13be
Update Changelog [skip ci]
2021-03-03 01:38:47 +01:00
ErickSkrauch
98d280240e
Resolves #28 . We didn't manage to catch this error during testing, so we're normalizing its handling and hope that this will not happen again
2021-03-03 01:32:38 +01:00
ErickSkrauch
26042037b6
Increase Mojang's API response timeout
2021-03-03 01:23:34 +01:00
ErickSkrauch
1e3307dcbe
Fixes CHRLY-S. Don't return an error for an invalid username
2021-03-03 00:24:31 +01:00
ErickSkrauch
d1d2c7ee6e
Merge branch 'sign_textures'
2021-02-27 02:40:13 +01:00
ErickSkrauch
2bc9f8eb57
Rename the signature key param.
...
Rename the signature verification key endpoint.
Update CHANGELOG and README files
2021-02-27 02:37:59 +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
3bf6872f3e
Resolves CHRLY-H. Add debug statement to investigate #28
2021-02-07 16:47:21 +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
37cc8cda32
Prepare 4.5.0 release
2020-05-01 21:38:18 +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
dfe024756e
Fix default redis pool size value
2020-05-01 03:57:22 +03:00
ErickSkrauch
66ef76ce6d
Handle SIGTERM as a valid stop signal for a graceful shutdown since it's the default stop code for the Docker
2020-05-01 03:06:45 +03:00
ErickSkrauch
aabf54e318
Added new stats reporter to check suitable redis pool size
2020-05-01 02:46:12 +03:00
ErickSkrauch
5dbe6af1d0
Added --cpuprofile flag for the dev Docker images
2020-05-01 00:06:56 +03:00
ErickSkrauch
4c21fc5c90
Implemented health checker for textures provider from Mojang's API
2020-04-30 23:16:22 +03:00
ErickSkrauch
2ea094bbf6
Really fix usernames cache hit events
2020-04-30 00:44:31 +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
33b286cba0
Improve test case for redis.GetUuid
2020-04-28 18:13:01 +03:00
ErickSkrauch
f997fdf9b0
Resolves #26 . Rework UUIDs storage interface to simplify results handling
2020-04-28 17:57:51 +03:00
ErickSkrauch
be30c23823
Merge branch '4.5.0'
2020-04-26 22:06:59 +03:00
ErickSkrauch
f43c1a9a37
Resolves #23 . Allow to spoof Mojang's API addresses
2020-04-26 21:56:03 +03:00
ErickSkrauch
585318d307
Another attempt to fix FullBus test
2020-04-26 21:05:54 +03:00