Denis Arh
b82ddad83a
Implement support for labels on compose resources
2020-11-06 08:32:42 +01:00
Denis Arh
fc74d44563
go vet fixes
2020-11-05 19:57:47 +01:00
Denis Arh
eca90b1fc1
Fix record update with update-denied fields
...
Scenario:
- values already exist on the record
- record is updated with users that can not update all fields
- only values for updatable fields are provided
Access control was moved from generalValueSetValidation to procCreate/procUpdate
to allow return of record value error set.
Existing values from fields with update-deny set are copied to updating set
to ensure proper handling by RVS's Merge fn().
2020-11-05 10:39:25 +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
ecb7f52c31
Improve error creation & handling by API
2020-11-04 14:18:33 +01:00
Denis Arh
02c2ffc195
Refactor and simplify store upgrade proc running
2020-10-22 14:05:16 +02:00
Denis Arh
31bf551621
Fix compose module tests
2020-10-12 15:22:35 +02:00
Denis Arh
4c45aa6d1a
Replace nodemon with fswatch, improve test tasks
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
d21cd72f7c
Simplify access to system user service
2020-09-18 07:56:58 +02:00
Denis Arh
6154d36976
Fix & improve provisioning procedures
2020-09-16 17:31:51 +02:00
Denis Arh
1c2f4de28c
Optimize RBAC service loading
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
edbeb57f48
Fix ordering records by values, record organizer
2020-09-09 13:11:11 +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
be76207e50
Fix compose integration tests
2020-09-08 14:51:19 +02:00
Denis Arh
d14b26923e
Remove (repository-layer) resource filtering
2020-09-06 16:41:17 +02:00
Denis Arh
f7070b4fa5
Fix tests, improve constraint checking
2020-09-06 15:37:19 +02:00
Denis Arh
3540b4f128
Migrated messaging message to store
2020-09-01 21:31:25 +02:00
Denis Arh
720dc38da6
Port compose record builder
2020-08-29 15:00:43 +02:00
Denis Arh
e8049fe7aa
Pass ctx+store to validators, refactor record (script) triggering
2020-08-27 23:21:14 +02:00
Denis Arh
0c085d7b24
Ported compose attachments
2020-08-27 23:19:49 +02:00
Denis Arh
361a9007bf
Cleaner store API
2020-08-26 14:49:33 +02:00
Denis Arh
349ff3cf2d
Add improved sorting and key-based pagination
2020-08-24 15:43:04 +02:00
Denis Arh
a5990ca093
System services migrated
2020-08-24 15:43:03 +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
c8d552e6a6
Implement new store infrastructure
2020-08-24 15:40:15 +02:00
Denis Arh
ed0fc88690
Tweaked severity on action log actions
2020-07-22 22:57:18 +02:00
Jože Fortun
dec88dcd98
Fix number sanitizer bug
2020-07-17 13:37:11 +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
Tomaž Jerman
f2b2279547
Fix page reordering on root node
...
When operating on root node, the parentID is 0; the page is not
found so it fails.
2020-06-30 20:58:29 +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
df6909286a
Improve number sanitization (precision)
2020-06-26 13:14:11 +02:00
Tomaž Jerman
ce9c997584
Respect Number field's specified precision
2020-06-26 13:14:10 +02:00
Tomaž Jerman
3b15dbc350
Improve bulk record field error handling
2020-06-23 08:58:44 +02:00
Denis Arh
d18d679b63
Add perm. check for record value field update
2020-06-20 17:58:19 +02:00
Denis Arh
2b0e65bf7d
Refactor transaction handling for records
...
Now wrapping only storage related code
2020-06-19 19:36:46 +02:00
Denis Arh
8b752a0331
Add missing export action, fix import action log
2020-06-02 14:37:34 +02:00
Denis Arh
b46bc8c570
Reroute user lookups for notifications and record export
...
Temporary disable gRPC comm between compose and system services
2020-06-02 14:37:34 +02:00
Denis Arh
4245630ec6
Add actionlog debugging flag, implement policies
2020-06-01 23:13:04 +02:00
Denis Arh
d0afb17cf3
Implement service actions & errors on messaging
2020-05-31 19:23:43 +02:00
Denis Arh
ebff2fd6a6
Implement actions & errors for notifications
2020-05-31 13:49:49 +02:00
Denis Arh
709a3a946a
Improve auditlog meta handling (support for omitting empty values)
2020-05-31 10:38:27 +02:00
Denis Arh
4d2b0fc7d3
Improve record value error handling & cleanup errors in rest
2020-05-30 09:37:11 +02:00