ErickSkrauch
6accffed45
Replace dep with go mod, migrate from travis to github-actions
2023-12-12 01:35:08 +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
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
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
5dbe6af1d0
Added --cpuprofile flag for the dev Docker images
2020-05-01 00:06:56 +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
2d555d9253
Resolves #20 . Print Chrly's version during server startup.
2020-04-23 21:22:12 +03:00
ErickSkrauch
2df31704c1
Fix cape url scheme
2020-04-21 16:24:30 +03:00
ErickSkrauch
a07905ca5a
Rework db layer.
...
Add database checker.
Rename SkinsRepositoryInterface and CapesRepositoryInterface methods.
2020-04-20 22:18:27 +03:00
ErickSkrauch
4ff164fffd
Don't return an empty object if Mojang's textures don't contain any skin or cape
2020-04-20 19:58:31 +03:00
ErickSkrauch
e098b8d86f
Fix tests
2020-04-20 17:22:04 +03:00
ErickSkrauch
d9fbfe658a
Cleanup TODO items
2020-04-20 15:40:20 +03:00
ErickSkrauch
0be85b356b
Handling correctly closing the server
2020-04-20 15:34:52 +03:00
ErickSkrauch
cc4cd2874c
Drop usage of the SkinNotFoundError and CapeNotFoundError
...
More accurate redis results checking
Return correct errors from filesystem db driver
2020-04-20 15:16:15 +03:00
ErickSkrauch
2ea4c55d37
Split Dispatcher interface and use it across application
2020-04-20 14:29:33 +03:00
ErickSkrauch
f58b980948
Simplify health checkers initialization
2020-04-20 13:58:53 +03:00
ErickSkrauch
3f81a0c18a
Completely move app configuration from cmd to di container
...
Implemented graceful server shutdown
Extract records manipulating API into separate handlers group
2020-04-19 02:31:09 +03:00
ErickSkrauch
9046338396
Introduce di into the project
2020-04-16 19:42:38 +03:00
ErickSkrauch
0c81494559
Fix tests for worker
2020-04-15 17:52:13 +03:00
ErickSkrauch
c9f6079d90
Enable requests logging for the worker.
...
Code is still duplicated. Will search for a solution later.
2020-04-15 16:01:30 +03:00
ErickSkrauch
532f2206da
Add simple requests logger (in style of Apache Common log format).
...
Fix Gopkg.lock integrity error.
2020-04-02 19:34:39 +03:00
ErickSkrauch
40c53ea0d9
Add stats reporter events listener, restore all events for http layer, rework authentication middleware and authenticator interface
2020-02-16 13:23:47 +03:00
ErickSkrauch
2abe2db469
Integrate event dispatcher into mojangtextures package
2020-02-08 14:27:58 +03:00
ErickSkrauch
b2ee10f72f
Completely rework the HTTP app layer structure. Replace a logger with an event dispatcher. Adjust tests to the new app architecture.
2020-01-29 01:34:15 +03:00
ErickSkrauch
57b7c59929
Make extra property in the signed textures response to be adjusted
2020-01-06 00:16:38 +03:00
ErickSkrauch
17f82ec6d3
Resolve golangcibot issues
2020-01-05 20:39:17 +03:00
ErickSkrauch
9946eae73b
Update docs
2020-01-05 20:19:41 +03:00
ErickSkrauch
5a0c10c1a1
Implemented worker command
2020-01-03 00:51:57 +03:00
ErickSkrauch
1e91aef0a6
Rework http app structure, get rid of the golang/mock package, rewrite http tests
2020-01-01 23:42:45 +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
ab78af33a5
Remove validation rules for a hash field
2019-05-06 17:17:44 +03:00
ErickSkrauch
ed0b9bb040
Resolves #6 . Remove hash field from the project structures
2019-05-01 02:16:11 +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
6daec4dc4b
#1 : Fix GolangCI issues
2019-04-28 20:30:55 +03:00
ErickSkrauch
9250d53fb3
#1 : Remove comments about compatibility check with exists Authlibs
2019-04-28 20:21:46 +03:00
ErickSkrauch
2c7a1625f3
#1 : Tests for http layer are restored
2019-04-28 00:43:22 +03:00
ErickSkrauch
f7cdab243f
#1 : Integrate queue to the application
2019-04-27 01:46:15 +03:00
ErickSkrauch
50a19202a5
#1 : Fix build
2019-04-21 20:35:35 +03:00
ErickSkrauch
7db4d27fba
#1 : Implemented necessary Mojang APIs
2019-04-14 17:36:46 +03:00
ErickSkrauch
b73582bbf4
Do not limit hash format only to md5
2018-03-19 02:16:07 +03:00
ErickSkrauch
34598e39bc
Allow any uuid version
2018-03-19 01:16:37 +03:00
ErickSkrauch
ce4dce49a2
Completely rename project to the Chrly and make it ready to be opensourced
2018-02-16 00:13:57 +03:00
ErickSkrauch
778bc615aa
The configuration file was deleted in favor of using environment variables.
...
Token generation functionality remove. Secret token now provided via CHRLY_SECRET env variable.
2018-02-15 23:57:23 +03:00
ErickSkrauch
055f3ce6c0
Rename ely field into chrly
2018-02-11 17:03:13 +03:00
ErickSkrauch
a9f5632743
Remove Ely.by documentation link from not found response
2018-02-11 16:57:20 +03:00
ErickSkrauch
ce99ac8cf8
Removed Ely-specific faces API
2018-02-01 23:16:52 +03:00
ErickSkrauch
6192a58f63
Removed buildUrl() helper for automatically adding ely.by domain to skin. Now it's universtal
2018-02-01 22:58:34 +03:00
ErickSkrauch
ad7faf6e81
Added statsd metrics logging for newly created API
2018-01-24 00:14:31 +03:00