3
0

3837 Commits

Author SHA1 Message Date
Tomaž Jerman
d65bd241b7 Fix role unarchiving caused by updatng wrong vars 2022-09-13 10:09:18 +02:00
Vivek Patel
70d9bbb512 Enable the make test.all command 2022-09-09 11:41:30 +05:30
Vivek Patel
f0bf220666 Temporarily disable make test.all command for dev.2 release 2022.9.0-dev.2 2022-09-07 17:24:15 +05:30
Jože Fortun
61b5fd58be Update corteza-locale dep 2022-09-07 13:05:23 +02:00
Vivek Patel
efc8a324b4 Fix system data-privacy connection endpoint
- There was nil pointer due to dalConnection was not initialised in data-privacy struct.
- Update PrivacyDataConnection struct as per DalConnection struct, and responses accordingly
2022-09-07 16:28:04 +05:30
Katrin Yordanova
0bf47a2fc4 Add cypress ids to auth/templates 2022-09-05 14:41:16 +03:00
Denis Arh
f30c2de43b Fix authorized-clients filter 2022-09-02 13:48:51 +02:00
Denis Arh
2e222d1bfa Fix template searching, add query (by handle, type) 2022-09-02 08:49:40 +02:00
Tomaž Jerman
e7690e42dd Merge branch '2022.9.x-feature-reporter' into 2022.9.x 2022-09-01 16:55:41 +02:00
Tomaž Jerman
9bfe742fb7 Add basic tests for system/reporter pkg 2022-09-01 16:55:21 +02:00
Tomaž Jerman
8ac3b50077 WIP/POC pkg for common gval handlers 2022-09-01 16:55:21 +02:00
Tomaž Jerman
319a29fdc6 Cleanup system/reporter - DAL/pipeline migration 2022-09-01 16:55:21 +02:00
Tomaž Jerman
21fe776cc6 Cover nil panic when the filter doesn't define any constraints
The RDBMS/dal SQL builder merged model-defined constraints and
filter defined constraints.

Now that model-defined constraints are no longer guaranteed,
it was panicing.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
0e7f40ca2e Define proper types for system module fields 2022-09-01 16:55:20 +02:00
Tomaž Jerman
4b65286df1 Add refs to DAL models constructed from compose modules 2022-09-01 16:55:20 +02:00
Tomaž Jerman
ccc1064fac Expand test suite, cleanup/refactor based on results 2022-09-01 16:55:20 +02:00
Tomaž Jerman
7e0d55dfa1 Move step definition validators to the end
This allows the init to correct invalid/missing bits.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
3f15fa2a82 Fix pkg/dal tests 2022-09-01 16:55:20 +02:00
Tomaž Jerman
625d4c2e0f Update dal internal filter to conform to new interface 2022-09-01 16:55:20 +02:00
Tomaž Jerman
eb57c03e6c Port the old system reporter to the DAL pipeline 2022-09-01 16:55:20 +02:00
Tomaž Jerman
b378b87313 Make pkg/dal.Row more robust 2022-09-01 16:55:20 +02:00
Tomaž Jerman
5fe71bf3b1 Tweak DAL pipeline preparation & exec flow
* Add a dryrun option; split init into init and exec
* move the iterator method from pipeline to service to allow
  more context when preprocessing/initializing the pipeline
* add an extra value to link's right rows to simplify identification
2022-09-01 16:55:20 +02:00
Tomaž Jerman
dc70e2aeb8 Export dal.Row for reusability 2022-09-01 16:55:20 +02:00
Tomaž Jerman
377e07cbd9 Move dal attribute types to constants for reusability 2022-09-01 16:55:20 +02:00
Tomaž Jerman
9aba555179 Move pkg/report types to sys/types; drop pkg/report package 2022-09-01 16:55:20 +02:00
Tomaž Jerman
787d51e136 Move ASTNode merging methods to QL package 2022-09-01 16:55:20 +02:00
Tomaž Jerman
b6cb376d83 Introduce base model constraints and rework record filter constraints 2022-09-01 16:55:20 +02:00
Tomaž Jerman
1ad7323ce7 Define base dal pipeline implementation 2022-09-01 16:55:20 +02:00
Tomaž Jerman
f8595ca827 Implement pipeline link (left) execution step 2022-09-01 16:55:20 +02:00
Tomaž Jerman
bad80e5d81 Implement pipeline join (left) execution step 2022-09-01 16:55:20 +02:00
Tomaž Jerman
5b89af4e01 Implement pipeline aggregate execution step 2022-09-01 16:55:20 +02:00
Tomaž Jerman
f80a0b8107 Add an inmemory buffer for easier testing 2022-09-01 16:55:20 +02:00
Tomaž Jerman
a4c61d63ad Add base testing boilerplate and generic utilities 2022-09-01 16:55:20 +02:00
Tomaž Jerman
a6abc01927 Outline base pipeline step definition and costing model
Pipeline step definitions are used to construct underlaying
execution nodes operate over datasources.

The costing model is the initial approach to provide optimizers
more context on what they should do.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
40dbbae730 Add an internalFilter wrapping struct for filter.Filter
The struct simplifies filter manipulation when performing
analysis and optimization.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
61051e998e Define tester & evaluator interfaces for asserting/computing attrs 2022-09-01 16:55:20 +02:00
Tomaž Jerman
985c063d89 Expand pkg/filter for easier paging cursor construction/use
* Add a cursor method to return an ql.ASTNode representation.
* Add a package function to construct a cursor from an arbitrary
  value input.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
689be25a89 Cover ASTNode.String() nil ptr edgecase 2022-09-01 16:55:20 +02:00
Tomaž Jerman
8c7b8ebb8b Add /profiles to gitignore for profiling outputs 2022-09-01 16:55:20 +02:00
Tomaž Jerman
9ef72e47e6 Add github.com/tidwall/btree for a b-tree implementation 2022-09-01 16:55:20 +02:00
Denis Arh
a32a580a28 Add support for exec-workflow step type 2022-09-01 15:27:58 +02:00
Denis Arh
5d45846fdd Prevent panic in locale/LocalizedList fn 2022-08-29 07:39:25 +02:00
Denis Arh
764cfd63fd Make rec-rev-searching code easier to debug 2022-08-28 12:42:38 +02:00
Denis Arh
013f25ec77 Generate fresh IDs for rec rev. models 2022-08-28 12:42:05 +02:00
Denis Arh
34d4de0e73 Add workaround for field alias (recordID => ID) in rec. query filter 2022-08-28 12:41:40 +02:00
Denis Arh
258068bdfb Improve model-by-ref handling 2022-08-28 12:41:06 +02:00
Tomaž Jerman
dac927ba4a Make namespace name sortable to unbreak reporter modals 2022-08-25 12:20:45 +02:00
Peter Grlica
85e004910b Github notifications to matrix support 2022-08-24 14:23:29 +02:00
Denis Arh
e734f44795 Access token no longer removed on own pwd change 2022-08-24 09:50:14 +02:00
Vivek Patel
e5915b3424 Fix nil pointer while replacing dal connection 2022-08-23 13:00:24 +05:30