3
0
Commit Graph

116 Commits

Author SHA1 Message Date
Peter Grlica
7f0fe201db Deprecated Corteza plugin support
The current plugin support was not stable enough in go >= 1.18, so the
current implementation was dropped for a future alternate solution.
2022-09-13 10:57:42 +02:00
Tomaž Jerman
6799d3f8de Fix global value store URL construction with custom paths 2022-08-22 15:59:49 +02:00
Denis Arh
8ec05a032c Optimize hostname detection
When corteza is running inside docker container
HOSTNAME env var is set to container ID and this effectively
misconfigures URLs and domain names.

HOSTNAME and HOST are now removed and default hostname is now
'localhost' (no longer 'local.cortezaproject.org')
2022-08-04 15:41:35 +02:00
Vivek Patel
75b7d78eac Fix SMTP values in settings on server restart
It addresses issue with SMTP_* setting value, which were overwritten by values from env on server restart and also, removed default value of SMTP_HOST and SMTP_PORT, which were also causing the same issue.
2022-08-04 18:06:29 +05:30
Tomaž Jerman
bba02ec9df Implement base valuestore for env variables
* Base facility to store generic values,
* integrate with templates,
* integrate with workflows.
2022-08-02 13:13:28 +02:00
Denis Arh
39bf9b75ea Deprecate ACTIONLOG_COMPOSE_RECORD_ENABLED 2022-08-01 08:55:46 +02:00
Denis Arh
d1d00d7771 Handle new auth options for signature algo & key 2022-07-14 11:09:26 +02:00
Vivek Patel
0d9b63635e Add env config for webapp sentry DSN
Also, updates sentry DSN entry in config.js for webapp
2022-07-11 14:58:18 +05:30
Vivek Patel
e7a36e26c5 Add env options to enable/disable Compose record action log
It will enable/disable action log entry for compose record create, update or delete.
2022-07-04 12:53:39 +02:00
Denis Arh
dd3d25a5ae Deprecate/remove AUTH_JWT_EXPIRY
JWT expiration is now controled via AUTH_OAUTH2_ACCESS_TOKEN_LIFETIME
2022-05-24 10:44:54 +02:00
Peter Grlica
919532b820 Fixed queue and route search in admin 2022-05-19 11:19:18 +02:00
Denis Arh
0a2175f384 Make settings decoding more robust (numbers & strings) 2022-05-09 17:28:11 +02:00
Tomaž Jerman
eca14bf438 Add .env option to disable runtime WF stacktrace 2022-03-24 12:02:34 +01:00
Peter Grlica
65fa3d1551 Fixed SMTP options env values 2022-03-21 15:06:28 +01:00
Peter Grlica
cf0568cead Profiler options defaults updated 2022-03-21 15:03:17 +01:00
Peter Grlica
f33336b21d Added global profiler setting, options to apigw handlers 2022-03-21 12:59:01 +01:00
Peter Grlica
476084a3bf Added profiler to apigw 2022-03-21 12:59:01 +01:00
Denis Arh
7bde98697a 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-02-22 17:13:59 +05:30
Denis Arh
7fa5e43d08 Add HTTP_SERVER_ASSETS_PATH option
Fix description for AUTH_ASSETS_PATH
2022-02-21 13:45:11 +01:00
Denis Arh
22c47d6ba7 Add webconsole 2022-02-17 17:21:01 +01:00
Denis Arh
7fd719364e Fix options defaults (Defaults() fn must be called before fill()) 2022-02-16 20:34:37 +01:00
Denis Arh
d103d60a3d Refactor option definitions 2022-02-08 09:13:56 +01:00
Denis Arh
a035e6106f Ported options codegen to cue 2022-01-29 12:18:00 +01:00
Denis Arh
43de7ebba7 Add uncommited codegen changes 2022-01-26 15:41:13 +01:00
Denis Arh
771a60abd7 Post dep-upgrade fixes 2022-01-11 10:53:49 +01:00
Denis Arh
2ab2c17a51 Upgrade deps 2022-01-11 10:53:48 +01:00
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
Tomaž Jerman
c5b730b524 Make the passwordSecurity .env variable caution clearer 2021-11-22 13:48:21 +01:00
Tomaž Jerman
420b5ee195 Implement support for base password constraints 2021-11-22 13:36:32 +01:00
Tomaž Jerman
14450dc45f Add support for setting oauth token TTL 2021-11-17 12:57:12 +01:00
Denis Arh
614d2b3015 Initial support for plugins 2021-11-02 18:45:08 +01:00
Denis Arh
402006bebb Support recording and searching actionlogs 2021-10-28 09:43:26 +02:00
Denis Arh
0b69d1a2e3 Support SMTP server config via setting with dynamic reload 2021-10-21 11:45:23 +02:00
Denis Arh
a7e861cdda Refactor resource translation processing 2021-10-01 10:08:58 +02:00
Vivek Patel
0bfa57acd2 Tweak adoc templates
- Updates path for generated docs
- Adds adoc codegen for expression and fixes expr_types.gen.adoc.tpl
2021-10-01 10:08:58 +02:00
Tomaž Jerman
f865d63bc1 Add a call stack to prevent infinite WF invocations 2021-10-01 10:08:58 +02:00
Denis Arh
e89160be1e Raise def. value for request rate limit to 60 2021-10-01 10:08:58 +02:00
Denis Arh
dd8921d392 Add ability to disable CSRF 2021-10-01 10:08:58 +02:00
Denis Arh
1b3a811cfd Add resource limiting for users 2021-09-22 07:16:40 +02:00
Denis Arh
a9914a5626 Import corteza-locale as golang pkg and allow hybrid lang importing 2021-09-02 14:42:51 +02:00
Peter Grlica
f02ff7338b Added support for async routes 2021-09-01 12:55:59 +02:00
Denis Arh
922f4c3138 Add explicit option for enabling RBAC logging 2021-08-26 17:52:21 +02:00
Denis Arh
77b593a192 Refactor log init, add new env options, filter 2021-08-26 17:28:50 +02:00
Denis Arh
e48ffb2e08 Upgraded zap logger to v1.19 2021-08-26 13:42:14 +02:00
Peter Grlica
34aaad7800 Refactored pipelines, errors 2021-08-26 10:36:38 +02:00
Denis Arh
3a9348500b Refactor lang loading, support sorting, enabling 2021-08-25 22:46:15 +02:00
Denis Arh
62c1571bdc Add configurable locale reloading (via options) 2021-08-25 17:07:14 +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
e695081286 Add reporter webapp to the list of webapps (HTTP_WEBAPP_LIST) 2021-08-16 16:20:31 +02:00