3
0

72 Commits

Author SHA1 Message Date
Denis Arh
a7e2eec9fd Improve expr types, add r/w locking 2021-07-14 10:49:32 +02:00
Denis Arh
20e05280b3 System wide RBAC changes 2021-07-08 11:42:18 +02:00
Denis Arh
46f86dbd21 Role migration 2021-07-08 11:22:11 +02:00
Denis Arh
f867b310af Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it 2021-07-08 11:22:11 +02:00
Denis Arh
7383310d36 Better handling empty/uninit values 2021-04-03 13:06:01 +02:00
Denis Arh
fdf916b7f9 Rework/simplify expr.Vars handling 2021-04-01 21:10:51 +02:00
Denis Arh
597c18fd16 Improvments on expressions, gw tests 2021-03-30 14:58:04 +02:00
Denis Arh
b428752412 More strict variable handling in assigners/converers 2021-03-25 08:15:23 +01:00
Denis Arh
261ad71460 Serve event contraints via API 2021-03-18 08:20:55 +01:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Denis Arh
8ce11a3376 Implement email sending wf functions 2021-03-16 20:24:34 +01:00
Denis Arh
82c76bbe6c Do not decode JSON from body if no POST params are spec. 2021-03-12 14:50:40 +01:00
Denis Arh
7e78867733 Implement delay & prompt steps 2021-03-12 13:12:07 +01:00
Denis Arh
6903ecfcf2 Fix record-value setting 2021-03-12 13:12:07 +01:00
Denis Arh
cfe02be081 Add support for labels on automation functions
Idea for these labels is to give instructions which labels to copy
on step and on workflow when function step is added to the graph.

Labels are defined with "step,workflow", "workflow" or "step" for value.
UI should follow these instructions when copying labels to workflow
and/or step.
2021-03-12 13:12:07 +01:00
Denis Arh
1fa6c6cb9b Improve event-types <> workflow 2021-03-12 13:12:07 +01:00
Denis Arh
13b57c8d72 Automation workflow implementation 2021-03-12 13:12:07 +01:00
Denis Arh
d56f2fa82f Codegen for automation types & functions 2021-03-12 13:12:07 +01:00
Denis Arh
d44e3474e8 More verbose info on store scan error 2021-03-12 13:12:07 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Denis Arh
34d9f6bf7b Fix paging cursor sort-direction flag
Fixes issue cortezaproject/corteza-webapp-compose#213
2021-01-25 16:45:21 +01:00
Tomaž Jerman
bf3bc2af68 Options doc codegen tweaks 2020-12-08 10:16:43 +01:00
Tomaž Jerman
402289016d Doc codegen tweaks & cleanup 2020-12-05 10:30:22 +01:00
Denis Arh
cf00a274fa Minor codegen code cleanup 2020-12-05 07:46:08 +01:00
Denis Arh
cccb3ec5f8 Port types codegen to yaml.v3
v3 threats empty defs a bit differently (see changes in yaml files)
2020-12-05 07:44:49 +01:00
Urban Klinc
3b47701ffa Add events docs template + logic 2020-12-04 14:27:13 +01:00
Urban Klinc
e57b8e8cad Change gopkg.in/yaml.v2 to gopkg.in/yaml.v3 2020-12-03 09:31:00 +01:00
Urban Klinc
d3f85d953e Change yaml.v2 to yaml.v3 and UnmarshalYAML to v3 standard 2020-12-03 09:27:38 +01:00
Denis Arh
44f7166d97 Options codegen improvements
- Add extra cli switches to generate docs from options
 - More automation/fallbacks/default values for options
2020-12-02 16:12:07 +01:00
Urban Klinc
6b928d3a18 Fix a typo, add empty line at end of file 2020-12-02 11:59:21 +01:00
Urban Klinc
595d929e89 Add options.gen.adoc.tpl, modify options.go to enable .adoc codegen from .gen.adoc.tpl 2020-12-02 11:58:26 +01:00
Denis Arh
66c5501d4f Fix RDBMS store upsert + labels & settings 2020-12-01 15:45:04 +01:00
Denis Arh
8cc6e5917f Fix store/rdbms template (invalid cursor gen fn) 2020-11-27 11:15:16 +01:00
Denis Arh
65d43e7ed5 Rename options tpl for consistency 2020-11-27 11:14:49 +01:00
Denis Arh
b4b3e15d81 Copy error handling fn from cli pkg
This way we can avoid problems when recompiling codegen bin
and invalid code has been generated
2020-11-27 10:51:40 +01:00
Urban Klinc
efc418e5fd Fix typo, rework readme 2020-11-27 09:37:16 +01:00
Urban Klinc
df9ebe54aa Add codegen template + logic, modifiyed codegen.go to accept new files 2020-11-26 11:11:08 +01:00
Denis Arh
b6eb143c38 Pagination fixes 2020-11-26 06:23:24 +01:00
Denis Arh
11ea5df303 Pagination/sorting fixes & improvements 2020-11-16 14:20:43 +01:00
Denis Arh
fc0ed924de Make sure cursor to next page is not returned if there are no resources 2020-11-13 13:01:34 +01:00
Denis Arh
b7de337db9 Fix sorting&paging on RDBMS store 2020-11-13 08:10:09 +01:00
Denis Arh
979acf0a84 Make store sorting more robust 2020-11-10 16:04:41 +01:00
Denis Arh
8189f40fc0 Add support for type label codegen 2020-11-06 07:47:53 +01:00
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
02d18175f9 Fix codegen when search cfg is sorting&&!paging 2020-10-29 08:23:04 +01:00
Denis Arh
24285e8d32 Support custom parsers for REST params 2020-10-26 19:16:47 +01:00
Denis Arh
9a21226163 Fix Delete/delete store config inconsistency 2020-10-18 16:13:36 +02:00
Denis Arh
754ebbde95 Refactor value preprocessing out of RDBMS to store 2020-10-18 16:13:36 +02:00
Denis Arh
56422397cc Fix types.yaml search path for codegen 2020-10-06 21:11:38 +02:00
Denis Arh
02f70476b1 Fix codegen templates to gen. list of PKs
check*Constraints fn now generates list of PKs when ensuring constraints
2020-09-30 12:29:44 +02:00