- remove "unit" build flag
- make sure tests without build flag (integration, external) run
without deps
- move unit-tests step in front of "docker image build" drone pipeline
- Add module field ID
- Rename db table (compose_module_form => compose_module_field)
- Add id, created_at, updated_at, deleted_at db columns
- Rename json to options, module_id to rel_module
- Fix primary keys (now just ID), add unique indexes (mod+place, mod+name)
- Add foreign key from fields to modules
- module repo Update() func no longer does REPLACE but UPDATE
- in updateFields(), fields are removed more precisely (only missing fields are removed)
- Add integration tests for module/field updates
Remove rule reset from roles cli command
Add generic "provision" command for each binary and (re)set perm. rules
Permission rules are now separated and part of AccessControl service
Facility for watchers was added.
- migrate from log to go.uber.org/zap package
- add requestID header with sticky log field
- push logging via context to REST controllers & HTTP middleware
- enhance request/resnpose logging
- add service logging framework
- add ZapProfiler for db query profiling
Other fixes and improvements:
- add parseISODateWithErr and parseISODatePtrWithErr handlers for incoming data
- add service & repository errors
- cleanup old (unbound) attachment controllers from router
- fix system repository error prefix (auth => system)