3
0
Commit Graph

714 Commits

Author SHA1 Message Date
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
c27b0281ca Support lang extanding for internal translations 2021-08-25 22:47:29 +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
Vivek Patel
e4a59a5f03 Adds expr functions
- modWeek returns modify week part of the date input
- random returns random number between range if given
- sub returns diff between two dates in milliseconds
2021-08-24 14:08:39 +05:30
Denis Arh
65fb7065be Translation fixes 2021-08-23 23:46:25 +02:00
Denis Arh
af09848dd8 Fix tests (use translation keys) 2021-08-23 19:10:21 +02:00
Denis Arh
5d6945cec9 Add locale handling, translation dec/enc and serving 2021-08-23 19:10:21 +02:00
Peter Grlica
49a9e5fdd5 Added duration to apigw pipeline, fixed int64 input to jsenv 2021-08-19 10:38:06 +02:00
Denis Arh
f375070236 Role name consolidation 2021-08-18 19:58:27 +02:00
Denis Arh
d1ccbc3e17 Fix encoding on save & re-encoding on fetch 2021-08-18 18:35:27 +02:00
Peter Grlica
6645ac0c66 Reload routes on filter update, jsenv update, http handler body fix 2021-08-18 14:10:14 +02:00
Tomaž Jerman
b95e878c92 Allow store functions to define codegen imports 2021-08-17 10:26:32 +02:00
Tomaž Jerman
244b0cf8ed Rework workflow step scheduling to improve stacktraces
The initial implementation caused them to be flaky when working
with loops.
2021-08-17 09:18:50 +02:00
Tomaž Jerman
fdbf7e6d53 Add support for record specific RBAC rules 2021-08-17 09:03:43 +02:00
Denis Arh
14b3f07941 Allow appending to KVV values (kvv.field[] = val) 2021-08-16 21:46:58 +02:00
Denis Arh
e695081286 Add reporter webapp to the list of webapps (HTTP_WEBAPP_LIST) 2021-08-16 16:20:31 +02:00
Tomaž Jerman
072bea9d6b Add missing envoy system:report definitions 2021-08-16 15:10:40 +02:00
Peter Grlica
767f86f01a Added match() regex matching to expr 2021-08-16 12:58:22 +02:00
Tomaž Jerman
37e75293e3 Improve frame def. grouping logic based on model step 2021-08-16 09:24:47 +02:00
Tomaž Jerman
259da8561c Add AST value type validation & support for Number 2021-08-16 09:24:47 +02:00
Tomaž Jerman
efb94908f2 Extra expression parsing and formatting tweaks
* persist `raw` on AST nodes
* remove unneeded groupping by the ql pkg
* allow store flavours to specify what operations need to be enclosed
* extra tests
2021-08-16 09:16:07 +02:00
Tomaž Jerman
f21efd5f8d Additional report modeling tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman
5e4397c436 Update group step with AST col. def. 2021-08-16 09:16:07 +02:00
Tomaž Jerman
762ea93c27 Include sort in the data frame 2021-08-16 09:16:07 +02:00
Tomaž Jerman
8d6e96a999 Rework reporting bits to use the reworked qlng package 2021-08-16 09:16:07 +02:00
Tomaž Jerman
25a9be1a54 Refactor pkg/ql for more flexibility
Created a temporary pkg/qlng package which contains the reworked
logic to avoid (potentially) breaking the rest of the system.

Most of the testing will be done implicitly via reporting tests.
2021-08-16 09:16:07 +02:00
Tomaž Jerman
9e5ae5df30 Restructure report sources & adjust testcases 2021-08-16 09:16:07 +02:00
Tomaž Jerman
4ed615585b Additional model loading & describing tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman
0b35f4ec0d Rename Sorting -> Sort for consistency 2021-08-16 09:16:07 +02:00
Tomaž Jerman
7f38c65199 Fix filter parsing lapsus 2021-08-16 09:16:07 +02:00
Tomaž Jerman
41895b5dad Improve request pre-processing
Make the query planner run at run-time, allowing us to taylor
based on the requested definitions.

This allows us to request data from any step of the model, not
just the root steps.
2021-08-16 09:16:07 +02:00
Tomaž Jerman
9872d92c95 Add support for paging & slight refactor 2021-08-16 09:16:07 +02:00
Tomaž Jerman
67a79602f9 Imply group column kind based on context 2021-08-16 09:16:07 +02:00
Tomaž Jerman
9b07ed3af9 Default column labels to their names 2021-08-16 09:16:07 +02:00
Tomaž Jerman
7626714050 Add a report description endpoint to query shape 2021-08-16 09:16:07 +02:00
Tomaž Jerman
4da71e78ad Tweak relay model definitions and processing
* tmp. remove paging
* tweak join and group step definitions
* better support multi frame requests
2021-08-16 09:16:07 +02:00
Tomaž Jerman
a6c7f90663 Base tests & tweaks 2021-08-16 09:16:07 +02:00
Tomaž Jerman
519a5503ec Improve datasource joining
* use partitioning to reduce DB load
* allow local datasource sorting based on foreign datasource
2021-08-16 09:16:07 +02:00
Tomaž Jerman
4aa429362b Base reporting service definitions 2021-08-16 09:16:07 +02:00
Tomaž Jerman
6751d0ec8b Base pkg/report definition 2021-08-16 09:15:15 +02:00
Tomaž Jerman
98c16227b2 Define TypedValue comparators; Make parser init more flexible 2021-08-16 09:15:15 +02:00
Peter Grlica
d60823b8b5 Added async support 2021-08-16 08:12:52 +02:00
Peter Grlica
84598a8a52 Refactored functions to filters 2021-08-11 17:26:05 +02:00
Peter Grlica
ea9dd61559 Added JWT and oauth2 outbound authenticators
Proxy auth definitions for the UI
2021-08-11 17:25:12 +02:00
Peter Grlica
14df5e98c8 Added a payload processer 2021-08-11 17:25:12 +02:00