Commit Graph

13 Commits

Author SHA1 Message Date
2f3b17ad07
build http client with default configuration if there's no client configuration in the config (#20) 2020-11-13 12:04:32 +03:00
6c029e905f
ability to set certificate pool into the HTTP client (#19) 2020-11-12 17:24:40 +03:00
e6dd1643cf
[feature] Individual localizer for each context
* proposal with context localizer (engine.GetLocalizedMessage shouldn't be used for localizing for individual requests data)
* normal test for SetLocale
* use sync.Map
* method to preload languages into localizer
* DefaultLanguages variable
* PreloadLanguages field in core.Engine
* don't copy sync.Map
* patch for goroutine safety usage of Localizer
* fix for engine constructor
* additional test for localizer middleware, which is more close to real environment
* filter language.Und
* prevent root placeholder tag usage
* remove reduntant bundle storage, deprecated (*core.Localizer).FetchLanguage()
2020-05-18 13:37:24 +03:00
fc90dd21ce make logger locking optional, fix for logger tests 2019-12-27 12:23:10 +03:00
b82d4e8258 better engine coverage 2019-12-26 17:23:26 +03:00
ee1de01b31 changes for JobManager internal logic, partial tests 2019-12-17 10:39:48 +03:00
20dc1f1aa8 pass error reason to csrf abort handler 2019-12-12 12:06:38 +03:00
6290301815 updated gin, better code 2019-12-12 12:06:38 +03:00
3432853c8b csrf middleware 2019-10-31 14:21:39 +03:00
f9c4a5d462 More tests 2019-10-25 13:18:43 +03:00
b1ac06c604 fixes for tests & more tests 2019-10-18 15:18:00 +03:00
f5ae2ea6c5 Feature: HTTP client configuration 2019-10-18 13:18:49 +03:00
dba7552731 travis, codecov, more tests 2019-09-19 14:16:52 +03:00