3
0

825 Commits

Author SHA1 Message Date
Denis Arh
4cd54a58f8 Remove fallback to base language in case of missing translation 2021-10-21 16:10:15 +02:00
Denis Arh
0b69d1a2e3 Support SMTP server config via setting with dynamic reload 2021-10-21 11:45:23 +02:00
Peter Grlica
6142371a87 Added Bytes type, fixed locale regen 2021-10-19 08:56:31 +02:00
Peter Grlica
94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Denis Arh
59ffe768a8 Fix create and update with unique constraints
When creating or updating resource that did not match unique constraint
filters, check wrongly reported not-unique error when matching (and
valid) resource was found in the store.

This fix adds explicit check if resource to be stored does not match
constraint filters and skips the rest of the constraint checking
procedure.
2021-10-13 17:35:32 +02:00
Denis Arh
db7b21d855 Fix list of language tags 2021-10-11 19:47:01 +02:00
Tomaž Jerman
d388cf2f7f Add a temporary exception to HTTP request variable encoding 2021-10-11 15:49:50 +02:00
Tomaž Jerman
fd290dcf91 Fix improper logger initialization 2021-10-11 15:49:23 +02:00
Tomaž Jerman
2d8f2d7782 Add missing page weight yaml unmarshal 2021-10-11 13:48:49 +02:00
Tomaž Jerman
0dfe990485 Add missing page parent parameter to exported yaml 2021-10-10 13:31:02 +02:00
Denis Arh
96a27b13ad Elevate permissions for user lookup when registering triggers, iterators 2021-10-08 17:40:11 +02:00
Tomaž Jerman
859aec34eb Revert "Fixes Wf duplicate issues for gateway steps"
This reverts commit d4bf6fc6bb167a93944a4beb3b752f2def7db5f6.
2021-10-08 17:18:01 +02:00
Tomaž Jerman
873b809094 Make the expr/count function a bit more robust with typed values 2021-10-08 12:27:24 +02:00
Tomaž Jerman
b352bec657 Defer report filter validation to the runtime 2021-10-08 10:13:39 +02:00
Tomaž Jerman
7a96376865 Properly handle join cases where local key is not unique 2021-10-07 20:11:32 +02:00
Denis Arh
832a4557c5 Return default language when there are no headers
This change also affects test setup: we need to load locale service
without any languages/translations to avoid test flakines
2021-10-07 15:24:59 +02:00
Tomaž Jerman
dc56f8a624 Fix sink script execution by assurring sufficient ctx credentials 2021-10-07 14:50:58 +02:00
Vivek Patel
d4bf6fc6bb Fixes Wf duplicate issues for gateway steps
Prevents gateway steps from verifying again by fixing return logic for converting those step definitions into workflow.Step instances
2021-10-07 15:08:48 +05:30
Tomaž Jerman
de0d6776b0 Fix nil ptr exception on invalid report prefilter 2021-10-06 16:31:22 +02:00
Tomaž Jerman
d2e722688d Add missing ref. types to expr. registry 2021-10-06 16:31:22 +02:00
Katrin Yordanova
40e0385045 Remove colon from error message in report/model 2021-10-05 15:03:23 +03:00
Vivek Patel
a22083573c APIGw updates
- Fixes filter status update
- Updates search route API param for status
- Updates envoy marshaling for filter
- Fixes/Updated test for route and filter
2021-10-05 11:57:36 +05:30
Denis Arh
179381ef08 Improve workflow & system tests, logging
A set of changes touching different parts of system
all related to initialization of system users and
groups
2021-10-03 17:53:41 +02:00
Denis Arh
6c8bec2c3c Re-enable API Gateway route handling (/api/gateway/...)
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
2021-10-03 15:51:35 +02:00
Tomaž Jerman
0d429fa641 Improve API GW route mounting for easier remounting 2021-10-03 13:57:15 +02:00
Denis Arh
bb59bc1f72 Fix translation variable replacement when extending 2021-10-02 08:32:45 +02:00
Tomaž Jerman
2def92d41f Tweak expr record value selection and bool casting
* properly handle casting of false values (empty string)
* add support for record.values.xyz expressions where values is not set
2021-10-01 12:40:23 +02:00
Denis Arh
2ee926940a Cleanup app settings, implement env var to enable res. translatons 2021-10-01 10:08:58 +02:00
Denis Arh
a7e861cdda Refactor resource translation processing 2021-10-01 10:08:58 +02:00
Vivek Patel
2d2e02b3a0 Fixes apigw prefilter for string with hyphen 2021-10-01 10:08:58 +02:00
Tomaž Jerman
4092f1bfc7 Add a call stack to prevent infinite WF invocations 2021-10-01 10:08:58 +02:00
Tomaž Jerman
f81c21c05d Handle special \n string case for YAML exports 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
Tomaž Jerman
a122d75b8f Improve RBAC rule migration logic
* Add missing federation rule edgecases
* Properly construct resource paths using parent resources
2021-10-01 10:08:58 +02:00
Tomaž Jerman
9929886372 Remove api gw filter expression from error messages 2021-10-01 10:08:58 +02:00
Tomaž Jerman
7ea20c489b Add missing res. tr. identification logic 2021-10-01 10:08:58 +02:00
Tomaž Jerman
5c1e57393e Rename report projection -> block 2021-10-01 10:08:58 +02:00
Vivek Patel
d2bff9e3fd Apigw tweaks
- Add system/apigw tests
- Removes permissions from APIGw filters from each level
2021-10-01 10:08:58 +02:00
Tomaž Jerman
74d7c6c7a2 Fix RecordList field selection export 2021-10-01 10:08:58 +02:00
Tomaž Jerman
2936fda461 Rework API GW js func handling
Remove base64 encode/decede as it was not consistent.
Using built-in JSON marshling was the better solution.
2021-10-01 10:08:58 +02:00
Tomaž Jerman
c2136c54c6 Remove frame column caster from YAML def 2021-10-01 10:08:58 +02:00
Tomaž Jerman
edcac041bc Add missing rbac envoy resources 2021-10-01 10:08:58 +02:00
Tomaž Jerman
1251bac373 Fix locale loading race conditions 2021-10-01 10:08:58 +02:00
Tomaž Jerman
6ceadf40fc Setup the API GW testing env 2021-09-27 15:50:18 +02:00
Tomaž Jerman
52e0e838e9 Prevent API GW filters from overwriting the same registry struct 2021-09-27 14:11:40 +02:00
Tomaž Jerman
e7fb1e3e07 Tweak typed value Array casting; add missing selected prop 2021-09-27 10:42:35 +02:00
Tomaž Jerman
2511476f4c Fix improper module field resource translation refs 2021-09-25 09:36:03 +02:00