If server is executed through Makefile we set BUILD_VERSION in .env and use it to replace {version} in DB_DSN.
This would help developers to automatically use different db when switching between versions.
- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name
- Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths
- Decouples minio client from New method
- Provides methods for generating bucket name, object name with path using bucket related env variables
- Adds tests
- Fixes issue#295
This provides `well know` endpoint for corteza which defines a set of values that can be retrieved by a client in order to self-configure.
Added route for `public-keys` which can help a client to determine if the public key is changed since the last time and automatically update itself to use this new information.
API Gateway routes are now bind under <base>/api/gateway.
This also removes custom route method validation and
handles not-found responses with a chi's NotFound method
- Adds flag `make-password-link` to generate temp token to create users password
- Adds route and handler for create user password
- Updates few auth label translation reference
- Fixes reset-password issue with existing login session
- Updates tests
Added tests
Added ac to routes and functions
Proxy processer and auth servicer
Added options and extensive logging
Fixed calls to rbac in service, added default http handler on gateway root
- For users, It takes struct fields and generated value using third party pkg
- For records, It takes module fields type and options to generate the value
- Also adds cli integration for it