Commit Graph
4004 Commits
Author SHA1 Message Date
Tomaž Jerman 55702ec256 Temporary patch for invalid type encoding in Compose charts 2022-10-26 11:53:19 +02:00
Shmuel Kamensky eb899925c8 Fix issue #427 (respected required fields)
since ModuleField's attribute "Required" was not explicitly passed as a
negated value to Attribute.Type.Nullable, Attribute.Type.Nullable's
default value always persisted (false). This made all columns required.

This change makes it so the ModuleField's attribute "Required" properly
maps to Attribute.Type.Nullable
2022-10-25 15:21:20 +02:00
Yangruipis 8926c040cd fix: report paging 2022-10-25 15:21:04 +02:00
Katrin Yordanova 79ac014eb7 Reword password not secure error message in auth_actions.yaml 2022-10-25 14:45:40 +02:00
Tomaž Jerman f6266fb3d5 Fix aggregation count when no arguments are provided
Older versions allowed count(), the new one did not.
The new version now allso supports count() which behaves
how it did before.
2022-10-25 14:45:40 +02:00
Tomaž Jerman 24b5d7c72d Improve total and page list computation to be less intensive
The prev. version iterated everything even if we didn't want the
totals there.
The new version ends processing sooner.
2022-10-25 11:09:13 +02:00
Tomaž Jerman bc8a0f0859 Change compose record report dal types to be consistent 2022-10-24 16:07:12 +02:00
hantian_pang a80e2655fe Fix marshal expr.Type into empty object bug
When using to_json(...) marshal expr.Type into string will get empty
object {} if this Type doesn't implement marshal method. So UntypedValue
obj before json.Marshal if this obj isn't json.Marshaler.
2022-10-24 08:10:18 +02:00
Denis Arh 5b2ba54280 Fix sub-workflow filtering 2022-10-23 09:36:21 +02:00
Vivek Patel 5e087748ab Fix locale.ErrorMetaKey case type
Add method to convert string to kebab-case and apply fix to actions.gen.go.tpl for locale.ErrorMetaKey generation.
2022-10-22 15:47:21 +05:30
Vivek Patel 81d6a484a1 Fix settings password constraints validations
Fixes validation for constraint values, which are integer type instead of string
2022-10-21 20:55:39 +05:30
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