Commit Graph

18 Commits

Author SHA1 Message Date
90e9de051a linter fixes 2024-06-14 18:10:48 +03:00
96ac6a6940 integrate zap logger 2024-06-07 17:56:49 +03:00
a2eb85eb25 wip: structured logging 2024-06-07 17:56:01 +03:00
627ceae0bc
Replace old Sentry client with the new SDK
* replace old Sentry client with the new SDK
* do not initialize Sentry SDK twice, correct panic processing
* account prefix for panics
* log errors with account context data
* tests
* linter fixes
* removed 1.18 from available versions
2022-03-18 10:46:22 +03:00
52109ee4ba
Refactoring and new features (#35)
* new error collector & improvements for errors
* update golangci-lint, microoptimizations, linter fixes
* UseTLS10 method
* remove dead code
* add 1.17 to the test matrix
* fix for docstring
* split the core package symbols into the subpackages (if feasible)
2021-12-01 15:40:23 +03:00
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