3
0
Commit Graph

3993 Commits

Author SHA1 Message Date
Peter Grlica
702e6255e8 Fixed issue and issue comment notifications for GH actions 2022-10-20 13:26:08 +02:00
Tomaž Jerman
e2ac9c4f3e Allow envoy resources to implement custom error wrappers
Custom error wrappers allow additional context for more complex
cases.
2022-10-19 16:48:42 +02:00
Denis Arh
a8d2fef3cc Fix broken compose-record reference check
Pre DAL code ignored module ID when doing record lookup. This fix
ensures proper module ID is used (one from the module field options)
when doing lookup
2022-10-19 15:05:59 +02:00
Vivek Patel
4fa4933712 Enables paging & sorting for dal connection
Also, for the dal sensitivity level.
2022-10-19 17:41:13 +05:30
Denis Arh
ca7d4b00c0 Fix workflow filtering and response encodings
Fix backend and replaced []uint64 with []string for
filter.workflowID that corrupted the input value
for JavaScript (uint64 vs int64).

Also implements actual filtering by workflow on RDBMS
that was missing
2022-10-19 10:09:23 +02:00
Tomaž Jerman
1fa5f39ab2 Fix lapsus in action log filter timestamp usage 2022-10-18 12:11:14 +02:00
Vivek Patel
eac2f075e1 Fix deDup case-sensitive rule
It will check duplication only for selected field
2022-10-18 14:54:09 +05:30
Tomaž Jerman
d64b732c25 Fix sub-workflows not executable on server restart 2022-10-18 10:56:04 +02:00
Tomaž Jerman
fd6465d0f9 Remove sys users from user metric 2022-10-14 13:46:09 +02:00
Jože Fortun
a853f7cfd1 Update corteza-locale dep 2022.9.1 2022-10-13 16:54:52 +02:00
Tomaž Jerman
269cdb1ba1 Fix API gw route tests 2022.9.1-rc.1 2022-10-13 09:53:11 +02:00
Jože Fortun
e90fe42ceb Update corteza-locale dep 2022-10-13 09:38:57 +02:00
Vivek Patel
99da9719de Update ApiGw route filters
It adds filter for method, endpoint which was renamed from query, and fixes route filter which filters by ID.
2022-10-12 17:18:06 +05:30
Peter Grlica
0996f80dbe Added link sanitization tests 2022-10-12 17:17:00 +05:30
Peter Grlica
f1f4f4bd1d Replace schema on logout backlink
Replace string on back link
 - removes any chars before //
 - adds additional `//` in front of the string, removing any javascript
   calls
2022-10-12 17:17:00 +05:30
Vivek Patel
955c4d9b92 ApiGw reload only existing route on save/update
Add reloadEndpoint method to refresh only saved/update route as needed and for the routes no longer exist we attach the 404 handler.
2022-10-12 17:16:56 +05:30
Tomaž Jerman
1215511e2c Merge branch '2022.9.x-feature-dal-rdbms-aggregation' into 2022.9.x 2022-10-12 09:17:31 +02:00
Tomaž Jerman
7c743da936 Fix aggregate attribute expr type guessing for functions 2022-10-12 09:16:40 +02:00
Denis Arh
27ff07a14b Properly handle aliased expressions and having condition 2022-10-12 09:16:40 +02:00
Denis Arh
ef12ab9aaa Properly support CONCAT in Postgres and SQLite 2022-10-12 09:16:40 +02:00
Tomaž Jerman
2bd455cab7 Use values instead of pointers for DAL aggregate attributes 2022-10-12 09:16:40 +02:00
Tomaž Jerman
01c6f7cc6e Add base support for offloading pipeline steps to the data source level 2022-10-12 09:16:40 +02:00
Tomaž Jerman
449401dbdf Remove home(filter package)-brew any to typed value conversion 2022-10-12 09:16:40 +02:00
Tomaž Jerman
8703133eac Fix runner gval ref out types to use pointers 2022-10-12 09:16:40 +02:00
Tomaž Jerman
3536ef8c6c Add missing geometry field-attribute mapping 2022-10-12 09:16:40 +02:00
Tomaž Jerman
a45a08d91c Remove unneeded analyze dal operation 2022-10-12 09:16:40 +02:00
Denis Arh
1be37ab02e Add support for cursors in RDBMS DAL aggregation 2022-10-12 09:16:40 +02:00
Denis Arh
2fc9392367 Fix 'having' condition on RDBMS DAL aggregation 2022-10-12 09:16:40 +02:00
Denis Arh
f1557e451f Allow group-by withour aggr. expressions in RDBMS DAL 2022-10-12 09:16:40 +02:00
Denis Arh
b5609a27b2 Additional flexibility for aggregator and iterator
RDBMS DAL iterator now supports different source and destination models
in order to handle (scan) results from aggregation (and later join)
queries.
2022-10-12 09:16:40 +02:00
Denis Arh
2927826ecd Fix DATE type parsing in SQLite 2022-10-12 09:16:40 +02:00
Denis Arh
fbf4410335 Add RDBMS DAL aggregation functions (avg, sum and count) 2022-10-12 09:16:40 +02:00
Denis Arh
8d2718bef7 Add aggregation support to DAL RDBMS driver 2022-10-12 09:16:40 +02:00
Denis Arh
f2e4d23cb0 Add support for creation of TEMP tables 2022-10-12 09:16:40 +02:00
Denis Arh
9ab496b3d4 Better handling of invalid type input in RDBMS drivers 2022-10-12 09:16:40 +02:00
Denis Arh
185349d17a Fix NUMERIC type handling for postgres 2022-10-12 09:16:40 +02:00
Denis Arh
7e59d958bd Remove obsolete files 2022-10-12 09:16:40 +02:00
Denis Arh
41056a1db0 Moving DAL related REST tests to test/system 2022-10-12 08:23:09 +02:00
Tomaž Jerman
b581fe86a8 Quick fix for workflow function result expr. eval. when arrays are used 2022-10-12 08:23:09 +02:00
Denis Arh
bb6f0e9082 Fix typo in tests (forbiden => forbidden) 2022-10-12 08:23:09 +02:00
Denis Arh
b03a098127 Regenerated API docs, fix version, add automation definition 2022-10-12 08:23:09 +02:00
Vivek Patel
57721291b2 Add fallback values on error for signup
Also, fixes redirection on error on auth handler
2022-10-07 18:33:39 +05:30
Tomaž Jerman
5d476dcfa0 Add missing .Close() calls for report iterators 2022-10-05 12:48:50 +02:00
Denis Arh
ce6d7d02e3 Use fastjson pkg as SimpleJsonDocColumn decoder
It shaves off about 50% of time needed for parsing and decoding
in case of large amounts of small JSON docs
2022-10-05 11:39:35 +02:00
Denis Arh
7e4e4d3b5a Improve compose record value migration 2022-10-04 17:35:24 +02:00
Vivek Patel
422f870f40 Add nil check for Vars methods
Fix nil pointer error while calling Vars method with nil Vars, that caused due to 1st statement in method was locking the Vars and expecting the mux preset in given Vars.
2022-10-04 17:16:17 +05:30
Vivek Patel
df119da7a2 Fix tests for record pagination 2022.9.0 2022.9.0-rc.2 2022-09-30 20:01:37 +05:30
Vivek Patel
f3ad5e2a1a Fix divide by zero panic
Add check for zero before dividing it.
2022-09-30 19:48:00 +05:30
Jože Fortun
3d7c7bc393 Update corteza-locale dep 2022-09-30 16:11:20 +02:00
Vivek Patel
6469cb1ea0 Fix data privacy request list test
Add dateTime sorting back to test
2022-09-30 19:37:37 +05:30