Vivek Patel
044d02bb76
Adds expr functions for KV, KVV, Vars manipulation
...
- Adds/Refactors methods for Set, Merge, Filter, Delete
- Renames expr/Vars.Merge to MustMerge, updates its usage
- Appends kvFunctions to parser in pkg/expr
- Update/Fixes tests and example testable
2021-05-21 06:58:52 +02:00
Denis Arh
28e1774cd2
Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it
2021-05-21 06:58:41 +02:00
Denis Arh
5a153093e1
Fixed the rest of wf tests
2021-05-14 13:23:43 +02:00
Vivek Patel
8eef51d445
Fixes websocket server and session tests
2021-05-14 13:22:06 +02:00
Denis Arh
70dedcaaba
Refactor & move websocket code under pkg
2021-05-13 14:08:54 +02:00
Denis Arh
bcf83b25e8
Extend token verification to non-standard auth flow
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
72368aa99c
Change guessBaseURL() with fullURL()
2021-05-12 18:24:52 +02:00
Tomaž Jerman
53cf96848a
Tweak ComposeRecord exporting
...
* Fix pagination cursors
* Use service functions for AC
* Add tests
2021-05-10 10:53:13 +02:00
Denis Arh
090f65335a
Small improvements for PROVISION_SETTINGS_AUTH_EXTERNAL_ env var
2021-05-09 20:28:07 +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
Denis Arh
31a4f55a8b
Set and log res&event types properly
2021-05-06 13:51:21 +02:00
Tomaž Jerman
1ab7ccc508
Improve CSV & JSON decoders for larger datasets
...
The built in buffer had a strange interaction with the CSV library.
Changed both decoders for consistency.
2021-05-05 13:47:15 +02:00
Denis Arh
9e2d4e9b8b
Make sure vars-to-json does not crash if value is nil
2021-05-04 21:52:35 +02:00
Denis Arh
10ef5b0df5
Improve how HTTP status on error is sent
2021-04-29 07:46:07 +02:00
Denis Arh
b245726c9b
Implement client_credentials g.type with user imp.
2021-04-29 07:46:07 +02:00
Denis Arh
73995b2307
Minor improvement to app migration procedure
2021-04-29 07:46:07 +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
0bc9e9baa0
Added message queue rbac rules
2021-04-21 10:19:50 +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
b72ccd8a8a
Fix typo (Streammer) in pkg/envoy
2021-04-15 18:11:17 +02:00
Denis Arh
dca7a7fde2
Remove RedirectURI provisioning for def. client
...
This caused too much confusion on simple setup.
For sites that need more secure setup, this can be filled-in at the
later point
2021-04-13 13:42:06 +02:00
Tomaž Jerman
3f4f7974c1
Tweak envoy system field handling
...
Use compose record service for record owner calculation.
2021-04-13 08:19:16 +02:00
Tomaž Jerman
2450bd9367
Restructure ComposeRecord store/encode error handling
2021-04-12 20:06:40 +02:00
Tomaž Jerman
beca3c1e9c
Envoy store encode improvements
...
* Add default createdBy,
* improve ComposeRecord xreferencing,
* fix ComposeRecord self references.
2021-04-12 17:17:59 +02:00
Denis Arh
4c42222be4
Fix auth client provision
...
It uses configured default auth client handle for check
and create default client on provision
2021-04-11 13:03:16 +02:00
Tomaž Jerman
d70916705d
Post testing Envoy tweaks
...
* ComposeRecord encoding with reference to self,
* improved ComposeRecord reference handling,
* tweaked Select ComposeModuleField validation.
2021-04-06 23:28:08 +02:00
Denis Arh
6b0c32d956
Add redirect URI info when provisioning client
2021-04-03 21:52:17 +02:00
Denis Arh
7383310d36
Better handling empty/uninit values
2021-04-03 13:06:01 +02:00
Denis Arh
99d5f75419
Ensure CastToFloat gets untyped value
2021-04-03 08:26:17 +02:00
Tomaž Jerman
7c759ceef8
Allow Reader to cast to String
2021-04-02 14:37:31 +02:00
Tomaž Jerman
1f6a83280b
Add Slice alongside Dict
2021-04-02 13:32:07 +02:00
Denis Arh
1a54155d83
Improve workflow session handling & storing
2021-04-01 21:10:51 +02:00
Denis Arh
daba028d7b
Recheck untyped value for Dict implementation
2021-04-01 21:10:51 +02:00
Denis Arh
b458746167
Prevent wf exec if wf/trigger are disabled (when not tracing)
2021-04-01 21:10:51 +02:00
Denis Arh
fdf916b7f9
Rework/simplify expr.Vars handling
2021-04-01 21:10:51 +02:00
Tomaž Jerman
fc331cc388
Tweaks
2021-03-31 19:32:22 +02:00
Tomaž Jerman
5f3243c1a4
Add support for workflow automation page block buttons
2021-03-31 17:29:04 +02:00
Denis Arh
9150b3852b
Beter ref handling, some cleanups, added tests
2021-03-31 15:04:08 +02:00
Denis Arh
1edb005fe2
Corredor is no longer enabled by default
2021-03-31 08:27:22 +02:00
Denis Arh
d49f4fbbad
Additional tests & bool handling
2021-03-30 20:07:20 +02:00
Denis Arh
565a64d0c1
Add workflow ID to errors & logs
2021-03-30 17:44:15 +02:00
Denis Arh
e49f09405b
Rework render vars, allow (R)Vars as input arg
2021-03-30 16:18:34 +02:00
Denis Arh
333b2f344f
More improvements on expr vars & rec values
2021-03-30 15:53:13 +02:00
Denis Arh
597c18fd16
Improvments on expressions, gw tests
2021-03-30 14:58:04 +02:00
Denis Arh
723c361171
Use built-in len function for wf exec
2021-03-30 14:58:04 +02:00