Commit Graph

32 Commits

Author SHA1 Message Date
96ac6a6940 integrate zap logger 2024-06-07 17:56:49 +03:00
7d1f722a9e allow SetLogger call before Prepare 2024-06-07 17:56:01 +03:00
f5bda28e92 gin middleware for logging 2024-06-07 17:56:01 +03:00
8fd4bc26bf partial GIN logging replacement 2024-06-07 17:56:01 +03:00
a2eb85eb25 wip: structured logging 2024-06-07 17:56:01 +03:00
1b39ec70a3 zabbix collector support 2022-12-19 10:06:57 +03:00
e7d06fa208
Add localizer interfaces (#46)
* add localizer interfaces
* add 1.18 to the supported versions
* use go 1.17 for lint for now
* use localizer interfaces in the library
* fix incorrect naming of the HTTPResponseLocalizer interface
* fix coverage collection
2022-04-22 09:37:16 +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
RenCurs
db67f0bcb2
Add embed pack instead packr (#26) 2021-07-29 11:29:31 +03:00
d15ed7ffec
Static analysis (#23)
* lint stage for a workflow
* golangci-lint config
* lint only new code or last commit
* run lint only for pull requests
2021-02-09 14:57:14 +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
66b13fc30b
enable stacktrace in the core.Engine by default (#17) 2020-10-30 13:05:42 +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
ea81193031 fixes for doc 2019-12-26 18:00:55 +03:00
990f4f0697 logger accessor via mutex 2019-12-26 17:23:26 +03:00
9ad220967e allow alternative logger implementations 2019-12-26 17:23:26 +03:00
ee1de01b31 changes for JobManager internal logic, partial tests 2019-12-17 10:39:48 +03:00
7186c1aa66 untether HTTPClientBuilder from Engine 2019-12-13 09:30:16 +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
37a4c72a4b Possibility to replace HTTP client inside Engine 2019-10-24 16:44:28 +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
bd5de124be part of tests 2019-09-18 18:02:40 +03:00
f26e535fd8 object migrations 2019-09-18 13:44:20 +03:00
bb0172bc8d resource embedding 2019-09-18 13:44:20 +03:00
e0f3e6d6e0 improved error helpers, fix for invalid column definitions in models 2019-09-12 11:49:41 +03:00
Alex Lushpai
34cba277b9 init 2019-09-04 15:22:27 +03:00