Commit Graph

108 Commits

Author SHA1 Message Date
8eb0d6b31f add Body helper 2024-06-07 17:56:01 +03:00
57d7084b74 update HTTPStatus helper 2024-06-07 17:56:01 +03:00
4c1f29ba01 add HTTPStatus helper 2024-06-07 17:56:01 +03:00
b97f05e666 add more predetermined log keys 2024-06-07 17:56:01 +03:00
2d1b2351ee add json unmarshaling helper 2024-06-07 17:56:01 +03:00
a2eb85eb25 wip: structured logging 2024-06-07 17:56:01 +03:00
8c71692047 fix lint errors 2024-06-06 14:11:11 +03:00
655b86abb0 add proxy support to the HTTP client built by library
This change restores default *http.Transport behavior for the client built by the library.
2024-06-06 14:06:20 +03:00
d108e6d7a2 update gock 2024-04-17 11:47:10 +03:00
Ефанов Руслан
4405f30535 refactoring upload to aws s3 2023-05-03 17:07:28 +03:00
Ефанов Руслан
28cec0b90c add new field in zabbix config 2023-02-09 10:37:00 +03:00
1932d489e5 use provided reset period in counters 2023-01-10 10:41:09 +03:00
6385bc177f
fix doc string for NotifyMessageLocalizer 2023-01-10 10:36:08 +03:00
278dca5d35 update lint fixes 2023-01-09 16:12:23 +03:00
0f7c6c6669 lint fixes 2023-01-09 16:09:17 +03:00
6d1ce327e7 test coverage 2023-01-09 15:53:24 +03:00
c09319ce8c notifier func, sequential job execution 2023-01-09 15:53:24 +03:00
1c6689583a name support & slight changes in business logic 2023-01-09 15:53:24 +03:00
7bff09f467 WIP: healthcheck counters 2023-01-09 15:53:24 +03:00
0e3710add7 fix fieldalignment 2022-12-19 10:11:11 +03:00
1b39ec70a3 zabbix collector support 2022-12-19 10:06:57 +03:00
Tyschitskaya Maria
17b5c18b4c docs uploader tests 2022-12-16 15:12:05 +03:00
Tyschitskaya Maria
2812610eaa module features uploader 2022-12-15 15:37:17 +03:00
Ruslan Efanov
6fe4be5dd5 remove clp currency 2022-12-07 13:06:42 +03:00
Tyschitskaya Maria
680fa2cdd4 fix json for public_url field in connection model 2022-11-16 14:24:29 +03:00
Tyschitskaya Maria
28de9a4879 add public_url field to connection model 2022-11-16 14:07:33 +03:00
Maria Tyschitskaya
6dd1b801a0 lang field in connection 2022-08-10 14:32:35 +03:00
aaa0f81294
statements executor (can simplify migrations) 2022-06-15 17:24:50 +03:00
a2db1e41b2 statements executor (can simplify migrations) 2022-06-15 17:22:41 +03:00
Tyschitskaya Maria
b0c2ca5ab1 camelCase json parameters in GateUrl & GateToken fields 2022-06-06 09:30:17 +03:00
Tyschitskaya Maria
e9489f0ab9 camelCase json parameters in Connection and Account models 2022-06-03 17:56:52 +03:00
8c5a614c93
Update migration generator to v2 migrations
* update migration generator to v2 migrations
* use %w verb
2022-05-13 13:31:21 +03:00
7124c801e8 goroutine-safe BufferLogger 2022-04-22 15:07:56 +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
54326b4193
Endpoint field for aws config
* endpoint fields for aws config
* fix for linter
* fix for demo in the readme
2022-04-12 17:11:52 +03:00
tishmaria90
604e6fda58
Add localizer interface 2022-03-28 16:51:41 +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
Tyschitskaya Maria
df2a898092 trans template in FuncMap 2022-02-17 09:39:25 +03:00
Akolzin Dmitry
fafd016fff add public methods for gettings allowed domains 2021-12-21 14:29:44 +03:00
5ddaa6fc8a credentials backport 2021-12-13 16:49:42 +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
b0d5488f5a
One-step connection middlewares (#34) 2021-11-18 10:43:30 +03:00
tishmaria90
65f0ecfa6a
Improve errors handling 2021-11-03 17:27:56 +03:00
Akolzin Dmitry
e81960e4c6 add secret field for transport 2021-11-02 09:38:27 +03:00
Andrey Muriy
51cbd9898d Add a function to format currency value 2021-09-29 10:27:36 +03:00
dbfac6a56d update Account.Name size limit 2021-09-20 14:07:47 +03:00
RenCurs
db67f0bcb2
Add embed pack instead packr (#26) 2021-07-29 11:29:31 +03:00
Сергей Чазов
5c010bffa4
New CRM url validator (#27) 2021-07-27 14:29:05 +03:00
92cf5fa5f0
use ISO code for Mexican peso (#25) 2021-03-25 17:20:41 +03:00
Yura
6ae7bdc9a3
extended domain validation (#24) 2021-02-09 15:57:34 +03:00