Commit Graph
82 Commits
Author SHA1 Message Date
Vivek Patel dcf4e9e933 Add compose host address to discovery options 2022-01-13 15:43:00 +05:30
Denis Arh 2d65409a98 Corteza discovery
- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
2022-01-13 15:42:57 +05:30
Vivek Patel c3516dd184 Allow version in DB_DSN for dev mode
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.
2022-01-07 13:04:17 +05:30
Vivek Patel 23a24469ed Refactor minion store
- 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
2021-12-22 21:12:07 +05:30
Vivek Patel a2091dbbf6 Add Corteza OIDC support
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.
2021-12-06 13:55:29 +05:30
Tomaž Jerman 420b5ee195 Implement support for base password constraints 2021-11-22 13:36:32 +01:00
Denis Arh 614d2b3015 Initial support for plugins 2021-11-02 18:45:08 +01:00
Denis Arh 0b69d1a2e3 Support SMTP server config via setting with dynamic reload 2021-10-21 11:45:23 +02:00
Peter Grlica 94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Tomaž Jerman 5acd267470 Fix improper auth context when processing automation scripts 2021-10-07 10:48:58 +02:00
Vivek Patel 124b9e2a05 Instantiates API GW after system service
Fixes workflow filter panics after reloading API GW routes
2021-10-06 19:50:30 +05:30
Tomaž Jerman 0d429fa641 Improve API GW route mounting for easier remounting 2021-10-03 13:57:15 +02:00
Denis Arh 2ee926940a Cleanup app settings, implement env var to enable res. translatons 2021-10-01 10:08:58 +02:00
Vivek Patel 54cbfe20d8 Adds JWT token generation methods
- Generates token encoded with user and save it to store
- Updated token generation method usage in Corredor and Impersonalization
2021-09-22 21:09:55 +02:00
Denis Arh 1e02164c01 Implement access to lang lists in the (current) app settings 2021-09-22 11:26:14 +02:00
Denis Arh 75c5efb520 Move resource locale initial load to boot proc 2021-09-22 11:26:14 +02:00
Denis Arh 1b3a811cfd Add resource limiting for users 2021-09-22 07:16:40 +02:00
Denis Arh c6f95e858f Extend settings to hold federation enabled/disabled flag 2021-09-14 07:44:31 +02:00
Vivek Patel 3ac2a1f3fa Extends user add cli command
- 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
2021-09-12 12:49:34 +05:30
Denis Arh 922f4c3138 Add explicit option for enabling RBAC logging 2021-08-26 17:52:21 +02:00
Denis Arh 3a9348500b Refactor lang loading, support sorting, enabling 2021-08-25 22:46:15 +02:00
Denis Arh 04d274fb70 Improve lang-detection on backend 2021-08-25 16:10:53 +02:00
Denis Arh 5d6945cec9 Add locale handling, translation dec/enc and serving 2021-08-23 19:10:21 +02:00
Denis Arh 969581343c Implement split-credentials-check auth flow 2021-08-05 20:09:44 +02:00
Andre Perry 6977ade5df Add ValidConfiguration and test for external auth provider 2021-08-05 19:09:48 +02:00
Denis Arh 02b137d19e Fix non-OIDC IdP skip due to invalid req. check 2021-07-23 06:41:08 +02:00
Denis Arh 205da42186 Move seeder package under pkg 2021-07-22 07:58:45 +02:00
Denis Arh dca5757fe7 Add system user to context for system CLI ops 2021-07-15 12:31:51 +02:00
Denis Arh 5962d19cd0 Fix external auth provider management 2021-07-14 21:38:52 +02:00
Vivek Patel 568a9e6262 Adds fake data generation for compose records and users
- 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
2021-07-13 21:27:44 +05:30
Denis Arh 20e05280b3 System wide RBAC changes 2021-07-08 11:42:18 +02:00
Denis Arh b923953ca5 Removing superuser logic 2021-07-08 11:24:12 +02:00
Denis Arh 48e1d0e4aa Optimized boot levels order & logic 2021-07-08 11:23:18 +02:00
Denis Arh 7941e7ba4a Add general suport for new role types 2021-07-08 11:22:11 +02:00
Vivek Patel a3d5b7d21e Adds validation for corredor steps in workflow
- Adds check at workflow step level for corredorExec function
- Adds `disabled` flag for corredor related functions from `workflows/functions` api response if corredor is disabled
2021-05-26 21:58:47 +05:30
Denis Arh 28e1774cd2 Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it 2021-05-21 06:58:41 +02:00
Peter Grlica bb1043181c Added SAML service 2021-05-18 08:07:50 +02:00
Denis Arh 70dedcaaba Refactor & move websocket code under pkg 2021-05-13 14:08:54 +02:00
Vivek Patel 7d58795123 Adds watcher at service level and sends reminders via websocket 2021-05-13 14:08:54 +02:00
Vivek Patel 1e126f8981 Refactors sending pending prompts via websocket and Adds gorilla/websocket to go.mod 2021-05-13 14:08:54 +02:00
Vivek Patel ac72bd7bcb Improves sending pending prompts via websocket and adds config for log enabled for websocket 2021-05-13 14:08:54 +02:00
Vivek Patel 21c9e9010e Sends pending prompts via websocket 2021-05-13 14:08:54 +02:00
Vivek Patel d6b3278b6e Implements websocket along with in memory websocket sessions.
- Implements route for websocket
- Adds default config and encoder for websocket messaging
2021-05-13 14:08:54 +02:00
Denis Arh 1d59a3acf2 Allow custom URL prefix for all corteza endpoints
Add new env. variables and options
 - HTTP_BASE_URL to control URL prefix, defaults to /
 - HTTP_SSL_TERMINATED to explicitly set if Corteza is running behind HTTPS
Refresh and document webapp/Makefile with more dev tasks
Fix all absolute URLs in applications, logos, icons
Improve logic behind integrated webapp serving, inject/replace <base href> tag according to URL prefix
Prevent mounting api & webapps to the same base
2021-05-09 16:47:19 +02:00
Peter Grlica d81c3339fe Refactored messagebus handlers to consumers, removed readers, added
eventbus consumer
2021-04-26 08:54:03 +02:00
Peter Grlica 8bba825706 Added rest api 2021-04-21 10:19:50 +02:00
Denis Arh 64c9b664df Added messagebus, generated store files, workflow triggers 2021-04-21 10:19:50 +02:00
Denis Arh 2f54a9611e Fixed another TLS typo 2021-03-29 08:52:09 +02:00
Denis Arh 5d8301f4b5 Fix TSL=>TLS typo, fixes #156 2021-03-28 09:25:55 +02:00
Denis Arh e17e16106d Add workflow options, ability to disable wf registration 2021-03-12 13:12:07 +01:00