Peter Grlica
495fac3845
Fix peer-closed connection error
2022-07-04 12:58:19 +02:00
Tomaž Jerman
94fbe4bd44
Improve DAL sensitivity level
...
* Integrate with pkg/dal package
* Additional validation/constraints
2022-05-26 13:24:16 +02:00
Denis Arh
d74239c735
Improve HTTP server startup, add wrapping handler
...
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.
When server is fully activated it switches to "active"
router.
Shutdown stage is also handled with catch-all route.
2022-02-13 18:52:59 +01:00
Denis Arh
665a15093c
Fix how errors are reported/masked
2022-01-21 15:31:09 +01:00
Denis Arh
61efc20e94
Return 404 on errors.KindNotFound
2021-09-05 13:09:11 +02:00
Denis Arh
3a9348500b
Refactor lang loading, support sorting, enabling
2021-08-25 22:46:15 +02:00
Denis Arh
af09848dd8
Fix tests (use translation keys)
2021-08-23 19:10:21 +02:00
Denis Arh
5d6945cec9
Add locale handling, translation dec/enc and serving
2021-08-23 19:10:21 +02:00
Denis Arh
20e05280b3
System wide RBAC changes
2021-07-08 11:42:18 +02:00
Denis Arh
10ef5b0df5
Improve how HTTP status on error is sent
2021-04-29 07:46:07 +02:00
Denis Arh
2586fb9c23
Properly handle/write response headers
2020-11-27 18:59:07 +01:00
Denis Arh
873fc46556
Include wrapped error in JSON error payload
2020-11-06 11:51:04 +01:00
Denis Arh
fc74d44563
go vet fixes
2020-11-05 19:57:47 +01:00
Denis Arh
93db1279d6
Implement transfer of Corredor stack to int. errors
2020-11-05 10:34:23 +01:00
Denis Arh
92ca66cade
Improve corredor auto. server error handling
...
Errors are now typified, node.js stack from error is accepted and converted
2020-11-05 07:57:27 +01:00
Denis Arh
111beae959
Safe errors
2020-11-04 15:13:53 +01:00
Denis Arh
ed8fc547f7
Config. environment (throughenv var 'ENVIRONMENT')
2020-11-04 15:13:27 +01:00
Denis Arh
ecb7f52c31
Improve error creation & handling by API
2020-11-04 14:18:33 +01:00