3
0

484 Commits

Author SHA1 Message Date
Denis Arh
6bfb1eebd9 Removed db tags from compse & system 2020-08-24 15:43:04 +02:00
Denis Arh
349ff3cf2d Add improved sorting and key-based pagination 2020-08-24 15:43:04 +02:00
Denis Arh
9290f160a8 Implement new paging with resource check on filter 2020-08-24 15:43:03 +02:00
Denis Arh
a5990ca093 System services migrated 2020-08-24 15:43:03 +02:00
Denis Arh
28c5910bf1 Rename users, credentials tables, fix tests 2020-08-24 15:41:40 +02:00
Denis Arh
977e8fab13 Remove spew.dump 2020-08-24 15:41:40 +02:00
Denis Arh
5419db42ba Ported system user service to new store 2020-08-24 15:41:40 +02:00
Denis Arh
b7655e1cf8 Refactored system auth notification 2020-08-24 15:41:01 +02:00
Denis Arh
8ac6c17ea8 Rename generated interfaces (for easier ext.) 2020-08-24 15:41:01 +02:00
Denis Arh
7ef781d84c Add isGeneric check for action errors 2020-08-24 15:41:01 +02:00
Denis Arh
783cddd523 Ported system user service to new store 2020-08-24 15:41:01 +02:00
Denis Arh
0af3f68d16 Refactored system auth notification 2020-08-24 15:40:15 +02:00
Denis Arh
c8d552e6a6 Implement new store infrastructure 2020-08-24 15:40:15 +02:00
Denis Arh
f3e03a58f8 Migrated types to new codegen 2020-08-24 15:39:39 +02:00
Denis Arh
697f3bc089 Migrated API specs to new codegen 2020-08-24 15:39:39 +02:00
Denis Arh
a7f8cd58cd Remove old migration files 2020-08-24 15:38:42 +02:00
Denis Arh
f4e6d2ae5a Refactor bootstraping procedure 2020-08-24 15:38:42 +02:00
Denis Arh
2c1368262b Refactored provisioning 2020-08-24 15:38:42 +02:00
Denis Arh
25a2f53145 Removing tx from system services
Trying a different approach to handle bad-connection (db) issue
2020-08-20 15:43:02 +02:00
Denis Arh
f712e5e352 Add RBAC operation for impersonation 2020-08-12 19:03:06 +02:00
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