Commit Graph
3964 Commits
Author SHA1 Message Date
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
Denis Arh 4d02146d01 Fix field initialization on record export 2022-09-30 15:50:58 +02:00
Vivek Patel ef72ffa373 Fix total and page navigation for records
Introduce helper func(IteratorPaging) to count total and create page navigation for records and also fixes timezone and milliseconds fir dateTime field value for query.
2022-09-30 18:29:38 +05:30
Tomaž Jerman ff5cba8508 Return empty arrays for empty report frames instead of null 2022-09-30 14:45:52 +02:00
Denis Arh bdeb0dc7d3 Re-implement (missing) record value migration 2022-09-30 14:29:49 +02:00
Tomaž Jerman 7eaab982b7 Fix lapsus with join row merge mapping 2022-09-30 13:41:07 +02:00
Jože Fortun 6065cbc05a Fix compose reporter with multiple metrics 2022-09-30 13:30:17 +02:00
Denis Arh 5c96a2b2f2 Fix crash in attachment handling when we close on error 2022-09-30 12:42:55 +02:00
Denis Arh e95970d33d Make column-rename RDBMS DDL MySQL compatible 2022-09-30 10:14:37 +02:00
Denis Arh 25d23b740c Add (and refactor) RDBMS fix for values, revision and meta column 2022-09-30 10:14:37 +02:00
Tomaž Jerman 79f3c4ba46 Add provision for report migration 2022-09-30 10:07:47 +02:00
Tomaž Jerman 4400929c4d Fix broken compose tests 2022-09-30 08:32:28 +02:00
Tomaž Jerman 51ee96dd89 Apply frame definition filtering to link pipeline step 2022-09-29 23:08:16 +02:00
Tomaž Jerman d18c8bd80d Quick fix for invalid aggregate attribute type determination
The logic should change along with how pipeline description
is done and how the pipeline represents attributes.
2022-09-29 22:21:46 +02:00
Tomaž Jerman 8d480e67c0 Allow rdbms model ops to use already parsed filter expressions 2022-09-29 16:34:00 +02:00
Tomaž Jerman 75a3394d15 Make DAL QL functions consistent and introduce DAY
* date outputs the date without the time part
* day outputs the day of the month
2022-09-29 15:40:36 +02:00
Denis Arh aabefd972c Fix definitions for fed. module mapping 2022-09-29 15:20:13 +02:00
Denis Arh 50550a83da Fix RDBMS upgrade procedures 2022-09-29 15:20:13 +02:00
Denis Arh 323a6bb34b Refactor RDBMS DDL 2022-09-29 15:20:13 +02:00
Tomaž Jerman f759141e5a Tweak system reporter output for nil values and new aliases 2022-09-29 13:43:54 +02:00
Tomaž Jerman e240013386 Add missing types to paging cursor's value guesser 2022-09-29 13:43:54 +02:00
Tomaž Jerman c587db760e Prefix DAL pipeline join attributes with source identifier
This helps avoid name collisions in case the identifiers weren't
provided manually.
2022-09-29 13:43:54 +02:00
Tomaž Jerman 5fa45e0cf7 Make ql parser init more flexible 2022-09-29 13:43:54 +02:00
Vivek Patel 92324e1495 Fix privacy record list
Filter outs non-private module from data list by adding check to see if any sensitive record values exists before pushing record to list.
2022-09-28 20:52:27 +05:30
Jože Fortun 67ebfde016 Update corteza-locale dep 2022.9.0-rc.1 2022-09-28 16:54:51 +02:00
Vivek Patel b8a011d5f8 Fix deleted filter for DalConnection list
It assigns valid filter state for deleted param for `0` value.
2022-09-28 19:11:21 +05:30
Jože Fortun d9a5ab85b3 Adjust subworkflow with triggers error 2022-09-28 13:28:58 +02:00
Tomaž Jerman b4ae293fdb Fix concurrecy issues with QL query conversion
Internal QL parser's state prevents this from being reusable.
2022-09-28 13:08:11 +02:00
Tomaž Jerman 92c2a0d12e Add system field translations for report data frames 2022-09-28 11:05:51 +02:00
Tomaž Jerman 7360b72dbf Fix query interval definitions for date add/sub 2022-09-28 10:10:49 +02:00