Commit Graph

  • 632ad4795a Disable FOSSA ErickSkrauch 2020-04-20 20:12:44 +03:00
  • 4ff164fffd Don't return an empty object if Mojang's textures don't contain any skin or cape ErickSkrauch 2020-04-20 19:58:31 +03:00
  • 5862d1cbf6 Fix statsd initialization ErickSkrauch 2020-04-20 19:03:47 +03:00
  • 440b505306 Merge pull request #19 from elyby/di ErickSkrauch 2020-04-20 18:44:09 +03:00
  • a4cf29c797 Update README [skip ci] ErickSkrauch 2020-04-20 18:41:24 +03:00
  • ced4171eef Update CHANGELOG ErickSkrauch 2020-04-20 17:22:19 +03:00
  • e098b8d86f Fix tests ErickSkrauch 2020-04-20 17:22:04 +03:00
  • bca1436baf Resolves #18. Log panics to the Sentry ErickSkrauch 2020-04-20 17:12:58 +03:00
  • d9fbfe658a Cleanup TODO items ErickSkrauch 2020-04-20 15:40:20 +03:00
  • 0be85b356b Handling correctly closing the server ErickSkrauch 2020-04-20 15:34:52 +03:00
  • cc4cd2874c Drop usage of the SkinNotFoundError and CapeNotFoundError More accurate redis results checking Return correct errors from filesystem db driver ErickSkrauch 2020-04-20 15:16:15 +03:00
  • 2ea4c55d37 Split Dispatcher interface and use it across application ErickSkrauch 2020-04-20 14:29:33 +03:00
  • f58b980948 Simplify health checkers initialization ErickSkrauch 2020-04-20 13:23:02 +03:00
  • 3f81a0c18a Completely move app configuration from cmd to di container Implemented graceful server shutdown Extract records manipulating API into separate handlers group ErickSkrauch 2020-04-19 02:31:09 +03:00
  • 9046338396 Introduce di into the project ErickSkrauch 2020-04-16 19:42:38 +03:00
  • 0c81494559 Fix tests for worker ErickSkrauch 2020-04-15 17:52:13 +03:00
  • c9f6079d90 Enable requests logging for the worker. Code is still duplicated. Will search for a solution later. ErickSkrauch 2020-04-15 16:01:30 +03:00
  • b0ba94751a Merge branch 'worker_health_status'. Resolves #16 ErickSkrauch 2020-04-10 16:38:51 +03:00
  • 2a5be658d8 Implemented batch uuids provider queue length checker ErickSkrauch 2020-04-10 15:39:48 +03:00
  • 153efdcce6 Implemented error expiring for batch mojang uuids provider response checker ErickSkrauch 2020-04-10 15:19:00 +03:00
  • 677f48ff3f Simple implementation of the health checker for the worker ErickSkrauch 2020-04-10 03:07:53 +03:00
  • db19fe62f2 Add mojang_textures:batch_uuids_provider:result event for the batch uuids provider ErickSkrauch 2020-04-10 02:47:53 +03:00
  • f11dee57ff Fix passing emitter to the authentication service ErickSkrauch 2020-04-07 00:13:04 +03:00
  • d526b74d07 Enable dependencies caching ErickSkrauch 2020-04-06 19:37:05 +03:00
  • 270e93d39e Squashed commit of the following: ErickSkrauch 2020-04-06 19:12:10 +03:00
  • 53296c7015 Fix travis warnings ErickSkrauch 2020-04-06 17:32:10 +03:00
  • 092ea3d4e2 Resolves #13. Add a config param to completely disable Mojang textures provider ErickSkrauch 2020-04-06 17:15:40 +03:00
  • 03c5a03c73 Bump Go version to 1.14 ErickSkrauch 2020-04-06 16:37:22 +03:00
  • 262babbeaa Merge pull request #17 from elyby/event_dispatcher_refactoring ErickSkrauch 2020-04-06 16:32:04 +03:00
  • a459809b6b Update CHANGELOG ErickSkrauch 2020-04-06 16:30:55 +03:00
  • 2fbeb492f0 Initialize subscribers on app bootstrapping ErickSkrauch 2020-04-04 19:14:12 +03:00
  • 0546b0519b Do not send debug messages from logger event subscriber. Debug messages will be implemented later in a separate events' listener. ErickSkrauch 2020-04-04 00:36:56 +03:00
  • 767971a197 Call mojang_textures:after_result event before broadcasting results to listeners ErickSkrauch 2020-04-04 00:28:50 +03:00
  • 336fcdd072 Replace map with slice in stats_reporter test to avoid maps randomized order ErickSkrauch 2020-04-03 23:03:15 +03:00
  • 49a1aaada0 Cleanup: remove tests and scripts folders. Introduce Subscriber interface to make eventsubscriber package independent of package dispatcher. ErickSkrauch 2020-04-03 22:20:56 +03:00
  • bd13480175 Added uuid normalization for mojang's uuid to textures request ErickSkrauch 2020-04-03 20:23:34 +03:00
  • 20a8d90ad7 Add tests for requests logger ErickSkrauch 2020-04-03 17:18:02 +03:00
  • 532f2206da Add simple requests logger (in style of Apache Common log format). Fix Gopkg.lock integrity error. ErickSkrauch 2020-04-02 19:34:39 +03:00
  • 280a55d553 Restored logger for mojang textures providers errors ErickSkrauch 2020-04-02 02:29:14 +03:00
  • c5e92e7a02 Added missing tests ErickSkrauch 2020-03-31 03:53:46 +03:00
  • 880182ccbf Replace event dispatcher by the fork to allow emitting events with nil arguments ErickSkrauch 2020-03-30 15:44:12 +03:00
  • e3b9e3c069 Add events handlers to reimplement all statsd metrics, available before refactoring. Tests aren't working at this time :( Removed mojang_textures.invalid_username metric. ErickSkrauch 2020-03-30 12:30:06 +03:00
  • e1c30a0ba1 Generalize mojang textures events ErickSkrauch 2020-03-29 17:17:11 +03:00
  • 40c53ea0d9 Add stats reporter events listener, restore all events for http layer, rework authentication middleware and authenticator interface ErickSkrauch 2020-02-16 13:23:47 +03:00
  • db728451f8 Implemented event dispatcher ErickSkrauch 2020-02-08 14:31:47 +03:00
  • 2abe2db469 Integrate event dispatcher into mojangtextures package ErickSkrauch 2020-02-08 13:28:10 +03:00
  • b2ee10f72f Completely rework the HTTP app layer structure. Replace a logger with an event dispatcher. Adjust tests to the new app architecture. ErickSkrauch 2020-01-29 01:34:15 +03:00
  • fbfe9f4516 Try to fix deploy stage condition ErickSkrauch 2020-01-06 00:28:31 +03:00
  • 57b7c59929 Make extra property in the signed textures response to be adjusted ErickSkrauch 2020-01-06 00:16:38 +03:00
  • 0f2b000d70 Update Go badge ErickSkrauch 2020-01-06 00:05:40 +03:00
  • af49eef84c Merge pull request #12 from elyby/iss_11 ErickSkrauch 2020-01-05 23:47:24 +03:00
  • 92473d15d6 Replace simple Mutex with RWMutex for in memory textures storage ErickSkrauch 2020-01-05 23:45:11 +03:00
  • bc1427dd1f Exclude deployment for pull requests, move docker and sudo requirements to deploy step ErickSkrauch 2020-01-05 23:35:10 +03:00
  • a8e4f7ae56 Ugly and dirty solution to sync batch_uuids_provider_test ErickSkrauch 2020-01-05 23:25:17 +03:00
  • 17f82ec6d3 Resolve golangcibot issues ErickSkrauch 2020-01-05 20:39:17 +03:00
  • 9946eae73b Update docs ErickSkrauch 2020-01-05 20:19:41 +03:00
  • a4a9201034 Add additional synchronization layer for bath_uuids_provider_test ErickSkrauch 2020-01-03 01:41:51 +03:00
  • 7f9b60ab3a Fix race condition error ErickSkrauch 2020-01-03 01:04:23 +03:00
  • 5a0c10c1a1 Implemented worker command ErickSkrauch 2020-01-03 00:51:57 +03:00
  • 1e91aef0a6 Rework http app structure, get rid of the golang/mock package, rewrite http tests ErickSkrauch 2020-01-01 23:42:45 +03:00
  • 1033069211 Implemented remote api mojang uuids provider ErickSkrauch 2019-11-24 04:07:56 +03:00
  • d27caa4922 Add sync channel to batch_uuids_provider_test ErickSkrauch 2019-11-21 19:33:05 +03:00
  • 0644dfe021 Completely rework mojang textures queue implementation, split it across separate data providers ErickSkrauch 2019-11-21 01:33:13 +03:00
  • ab847589ba Merge branch 'master' into ely 4.3.0-ely ErickSkrauch 2019-11-08 02:13:05 +03:00
  • 6fd88e077e Prepare 4.3.0 release 4.3.0 ErickSkrauch 2019-11-08 02:12:31 +03:00
  • ae185e1daa Bump Go version to 1.13 ErickSkrauch 2019-11-08 02:08:10 +03:00
  • 7353047467 Increase queue loop delay from 1 to 2.5 seconds. Add configuration param to adjust its value ErickSkrauch 2019-11-08 01:54:16 +03:00
  • b2a1fd450b Handle 403 Forbidden error from Mojang's API ErickSkrauch 2019-11-08 01:32:26 +03:00
  • e573e6146d Merge branch 'master' into ely 4.2.3-ely ErickSkrauch 2019-10-03 01:40:30 +03:00
  • 334e60ff2f Prepare 4.2.3 release 4.2.3 ErickSkrauch 2019-10-03 01:26:34 +03:00
  • 6d6d0e4b79 Decrease queue batch size. Log all 400 response from the Mojang's API. Resolves #10. ErickSkrauch 2019-10-03 01:00:27 +03:00
  • 2775b14e78 Merge branch 'master' into ely 4.2.2-ely ErickSkrauch 2019-06-19 01:08:32 +03:00
  • 0cfed45b64 Prepare 4.2.2 release 4.2.2 ErickSkrauch 2019-06-19 01:02:41 +03:00
  • f872fe4698 Fix race condition, introduced in the previous commit ErickSkrauch 2019-06-19 00:56:09 +03:00
  • 5b4761e4e5 Fixes #9. Start GC loop for in-memory textures cache. ErickSkrauch 2019-06-18 23:34:16 +03:00
  • c25a2f2360 Merge branch 'master' into ely 4.2.1-ely ErickSkrauch 2019-05-06 17:27:28 +03:00
  • e81ca1520d Add codecov shield [skip ci] ErickSkrauch 2019-05-06 17:26:55 +03:00
  • d36fc77df0 Prepare 4.2.1 release 4.2.1 ErickSkrauch 2019-05-06 17:20:52 +03:00
  • ab78af33a5 Remove validation rules for a hash field ErickSkrauch 2019-05-06 17:17:44 +03:00
  • 1f057a27aa Adjust Mojang's queue behavior ErickSkrauch 2019-05-06 17:12:37 +03:00
  • 9dde5715f5 Adjust Mojang's queue behavior ErickSkrauch 2019-05-05 23:06:29 +03:00
  • edc368aa81 Merge branch 'master' into ely 4.2.0-ely ErickSkrauch 2019-05-02 21:56:04 +03:00
  • f3a8af6866 Upgrade Alpine version to 3.9, add ca-certificates 4.2.0 ErickSkrauch 2019-05-02 21:55:21 +03:00
  • 4097e61a02 Merge branch 'master' into ely ErickSkrauch 2019-05-02 21:08:21 +03:00
  • e6bac323c5 Update changelog ErickSkrauch 2019-05-02 21:07:40 +03:00
  • 26a8628070 Remove faces endpoint ErickSkrauch 2019-05-02 20:55:50 +03:00
  • ae0ff91a64 Fix test for signed textures ErickSkrauch 2019-05-02 20:54:18 +03:00
  • ab6410ff4a Merge branch 'master' into ely ErickSkrauch 2019-05-02 20:53:45 +03:00
  • 6515e3e5bd Resolves #5. Return Redis connection to the pool after commands are executed ErickSkrauch 2019-05-01 02:10:11 +03:00
  • ed0b9bb040 Resolves #6. Remove hash field from the project structures ErickSkrauch 2019-05-01 01:51:16 +03:00
  • 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 ErickSkrauch 2019-05-01 01:47:55 +03:00
  • 8aeb1929b5 Merge pull request #3 from elyby/1_mojang_skins_proxy ErickSkrauch 2019-05-01 00:56:11 +03:00
  • b97647318f Enable codecov ErickSkrauch 2019-04-30 14:31:04 +03:00
  • 8d619d52cd #1: Fixed misspells in README and CHANGELOG KolFoxy 2019-04-30 11:03:58 +03:00
  • a5daae3cb8 #1: Add CHANGELOG.md, update README.md ErickSkrauch 2019-04-30 01:55:59 +03:00
  • 94b930f388 #1: Add test case for panic when trying to store response without textures ErickSkrauch 2019-04-30 00:45:29 +03:00
  • f213ed45c7 #1: Log unexpected errors from Mojang API ErickSkrauch 2019-04-30 00:36:51 +03:00
  • 6daec4dc4b #1: Fix GolangCI issues ErickSkrauch 2019-04-28 20:30:55 +03:00
  • 90ce22f687 #1: Attempt to fix travis tests run ErickSkrauch 2019-04-28 20:24:08 +03:00
  • 9250d53fb3 #1: Remove comments about compatibility check with exists Authlibs ErickSkrauch 2019-04-28 20:21:46 +03:00