Denis Arh
a0036bdecf
Fix default-addr and test-email sending
2020-09-30 17:12:28 +02:00
Denis Arh
d1b21514a0
Fix user create fn, return new user
2020-09-30 12:29:44 +02:00
Denis Arh
7508659165
RBAC refactored (pkg renamed, init improved)
2020-09-18 07:56:58 +02:00
Denis Arh
1c2f4de28c
Optimize RBAC service loading
2020-09-16 07:37:06 +02:00
Denis Arh
d0aefb83b6
Fix object store path for system
2020-09-16 07:37:06 +02:00
Denis Arh
4cef8eecd4
Tidy up id.Next() and time.Now() use
2020-09-16 07:37:06 +02:00
Denis Arh
3a7cc105d0
Renamed temp ng-store variables to store
2020-09-16 07:37:06 +02:00
Denis Arh
5e55340759
Renamed pkg/store to pkg/objstore (Object Store)
2020-09-16 07:37:06 +02:00
Denis Arh
5eba380f19
Cleanup, instrumentation
2020-09-15 07:24:28 +02:00
Denis Arh
24f8457d71
Rename Storable interface to Storer
...
See https://golang.org/doc/effective_go.html#interface-names
2020-09-09 08:40:50 +02:00
Denis Arh
11b7803305
Use store pkg functions instead of struct methods
...
Mainly for consistenct
2020-09-08 20:06:03 +02:00
Denis Arh
875b08f1df
Fix system integration tests
2020-09-08 14:51:27 +02:00
Denis Arh
be76207e50
Fix compose integration tests
2020-09-08 14:51:19 +02:00
Denis Arh
4e2f9fdfcd
Fix provisioning over new store
2020-09-08 10:16:45 +02:00
Denis Arh
d14b26923e
Remove (repository-layer) resource filtering
2020-09-06 16:41:17 +02:00
Denis Arh
f64bf4673e
Ported pkg/rh to pkg/filter and removed obsolete code
2020-09-06 16:33:57 +02:00
Denis Arh
f7070b4fa5
Fix tests, improve constraint checking
2020-09-06 15:37:19 +02:00
Denis Arh
001950a3e0
More robust settings value conversion
...
Fixes #16
2020-08-29 17:05:56 +02:00
Denis Arh
361a9007bf
Cleaner store API
2020-08-26 14:49:33 +02:00
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