3
0
Commit Graph

464 Commits

Author SHA1 Message Date
Denis Arh
a57866bcab Add basic impersonation support for admins 2020-08-12 18:39:28 +02:00
Denis Arh
97a74e30c4 Fix path constraint when signature is in-path 2020-07-24 11:52:04 +02:00
Denis Arh
ed0fc88690 Tweaked severity on action log actions 2020-07-22 22:57:18 +02:00
Denis Arh
520277f82d Add crude permission checking 2020-07-22 17:30:51 +02:00
Denis Arh
da28b761a1 Add healthchecks for db, mail, scheduler, corredor, store 2020-07-11 13:26:52 +02:00
Denis Arh
08e1fb7a14 Ability to disable action logging
Introduce new policy type (NewPolicyNone, MakeDisabledPolicy),
add ACTIONLOG_ENABLED configuration (true by default)
2020-07-09 16:29:01 +02:00
Denis Arh
c89b4713e9 Switch all *after event from dispatch to waitfor
It removes a problem where (http) requests ends before *after script are
executed with canceled context
2020-06-27 21:21:54 +02:00
Denis Arh
75a394f82d Refactor FindByAny() to support context param
This simplifies DI for corredor
2020-06-19 19:34:58 +02:00
Denis Arh
1397e8eeb5 Simplify db connection handling
Due to incompatibilities with update of github.com/titpetric/factory,
we are crippeling db connection handling (MustGet fn) - only supporting
one ("default") connection
2020-06-19 12:44:14 +02:00
Denis Arh
ef95660d4b Fix actionlog filtering, optimize req. origin values 2020-06-06 16:51:06 +02:00
Denis Arh
4245630ec6 Add actionlog debugging flag, implement policies 2020-06-01 23:13:04 +02:00
Denis Arh
709a3a946a Improve auditlog meta handling (support for omitting empty values) 2020-05-31 10:38:27 +02:00
Denis Arh
51d8fbcbb4 Remove spew.Dump leftovers 2020-05-29 06:49:43 +02:00
Denis Arh
f99ca1e9be System error def namings & log messages improvements 2020-05-28 21:49:35 +02:00
Denis Arh
f4213e5a7f Add path constraint, improve CLI 2020-05-27 16:32:10 +02:00
Denis Arh
2b3b2f1755 Refactor sink command, add --signature-in-path 2020-05-27 13:54:10 +02:00
Denis Arh
af428e99f9 Support sink signature in a path
For certain cases where we can not afford to have query params
like OAuth, sink signature can be placed at the end of the sink path
2020-05-27 13:46:34 +02:00
Denis Arh
ef47a0d612 Small codegen bits changes, add adoc template for events 2020-05-27 11:06:10 +02:00
Denis Arh
4d751c1875 Improve actionlog err/message placeholder replacement 2020-05-26 19:02:32 +02:00
Denis Arh
2597029164 Replace repository.ErrUserNotFound with service.UserErrNonexistent 2020-05-26 18:44:05 +02:00
Denis Arh
a0c732f6ff Add check if lambda action can be called 2020-05-26 15:48:05 +02:00
Denis Arh
2d71effdf3 Update used credentials on password login 2020-05-26 15:45:39 +02:00
Denis Arh
566405b648 Remove obsolete system service error type 2020-05-26 14:59:14 +02:00
Denis Arh
854c3c9047 Implement actionlog for reminders 2020-05-26 14:52:41 +02:00
Denis Arh
7867593bea Implement actionlog for attachments 2020-05-26 14:16:33 +02:00
Denis Arh
a7bc1e4d37 Cleanup actions, errors, implement actionlog for stats 2020-05-26 11:46:55 +02:00
Denis Arh
84bb75e6f7 Implement actionlog for applications 2020-05-26 08:40:01 +02:00
Denis Arh
e8b81396ef Support for HTTP errors, add sink impl. 2020-05-26 08:07:03 +02:00
Denis Arh
5f8fb8a294 Implementation actions & errors for access control, auth, role & user 2020-05-26 08:00:53 +02:00
Denis Arh
f84f8b5b33 Add rest endpoints for action log 2020-05-22 07:16:15 +02:00
Denis Arh
3e2e915418 Add db migration for actionlog 2020-05-22 07:16:15 +02:00
Denis Arh
48b0fe4c53 Fix paths to default app icon/logo 2020-04-21 13:19:38 +02:00
Denis Arh
c7df11af0b Add support for attachment (system, settings) 2020-04-20 12:27:57 +02:00
Denis Arh
08de3dfdf2 Define ui.* settings on system 2020-04-20 12:27:57 +02:00
Denis Arh
8c93135124 Describe settings/current endpoint 2020-04-20 12:27:57 +02:00
Denis Arh
8e4f3bf886 Improve delete/undelete & unique handling 2020-04-08 17:43:15 +02:00
Denis Arh
3d1e6af8d5 Harden user data input check 2020-04-08 17:17:46 +02:00
Denis Arh
337361e1c6 When creating user (not signup) autoconfirm email 2020-04-08 17:02:28 +02:00
Denis Arh
23bf0c52c7 Add missing raw&has for post&get 2020-04-08 17:02:07 +02:00
Denis Arh
44498c324c Fix missing (super)user on provision 2020-04-08 13:46:05 +02:00
Denis Arh
fe8db890b0 Add support for limit/offset 2020-03-27 18:36:05 +01:00
Denis Arh
7a6a0851c2 Add limit/offset params, reformat all paging & sorting params 2020-03-27 18:36:05 +01:00
Denis Arh
7fec663f2c Add support for limit/filter 2020-03-27 18:36:05 +01:00
Denis Arh
5a966a2303 Add request param getters & checkers 2020-03-27 18:36:05 +01:00
Denis Arh
ce10e46e71 Refactor corredor service and make it less events-oriented 2020-03-26 19:07:13 +01:00
Denis Arh
f7191963dc Improve handling of complex constraint checks 2020-03-26 19:07:13 +01:00
Denis Arh
4ab0b61daa Fix another service loading order issue 2020-03-11 11:55:49 +01:00
Denis Arh
76c15ca84f Add list of roles to internal auth rsp 2020-03-05 11:16:09 +01:00
Denis Arh
86fcfff237 Cleanup auth response, add list of roles 2020-03-04 21:40:53 +01:00
Denis Arh
bed6317d71 Swap service startup order 2020-03-03 18:32:54 +01:00