-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from elyby/1_mojang_skins_proxy
Restore Mojang skins proxy implementation
- Loading branch information
Showing
37 changed files
with
3,382 additions
and
917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ sudo: required | |
|
||
language: go | ||
go: | ||
- 1.9 | ||
- 1.12 | ||
|
||
services: | ||
- docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
### Added | ||
- `CHANGELOG.md` file. | ||
- [#1](https://github.com/elyby/chrly/issues/1): Restored Mojang skins proxy. | ||
- New StatsD metrics: | ||
- Counters: | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.invalid_username` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.request` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.cache_hit_nil` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.queued` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.cache_hit` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.already_in_queue` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.uuid_miss` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.uuid_hit` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.textures.cache_hit` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.textures.request` | ||
- Gauges: | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.iteration_size` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.queue_size` | ||
- Timers: | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.result_time` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.usernames.round_time` | ||
- `ely.skinsystem.{hostname}.app.mojang_textures.textures.request_time` | ||
|
||
### Changed | ||
- Bumped Go version to 1.12. | ||
|
||
### Fixed | ||
- `/textures` request no longer proxies request to Mojang in a case when there is no information about the skin, | ||
but there is a cape. | ||
|
||
### Removed | ||
- `hash` field from `/textures` response because the game doesn't use it and calculates hash by getting the filename | ||
from the textures link instead. | ||
|
||
[Unreleased]: https://github.com/elyby/chrly/compare/4.1.1...HEAD |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.