3
0

309 Commits

Author SHA1 Message Date
Denis Arh
773d64636f Refactored store codegen, replace squirrel with goqu 2022-04-23 16:34:04 +02:00
Vivek Patel
195c2bb13e Fix mimeType detection for CSV file 2022-04-20 11:30:04 +02:00
Tomaž Jerman
6fd2288dfd Fix attachment management for all supported types
* Add missing expr.Bytes expr. type
* Fix attachment upload when []bytes used (missing type, improper
  size calculation)
* Fix attachment upload when ReadSeeker used (missing size calculation)
* Fix attachment upload when Reader used (missing logic, missing size
  calculation)
2022-04-19 14:32:04 +02:00
Tomaž Jerman
0792c0a17d Add missing limit arg. to workfow iterator handlers 2022-04-04 12:31:27 +02:00
Tomaž Jerman
f1215fe3da Fix sequence iterator looping condition and improper state 2022-03-24 12:02:34 +01:00
Vivek Patel
8015c39e96 Fixes record field validation translations 2022-03-22 19:29:59 +05:30
Peter Grlica
d72870a77d Fixed options parameter, more verbose info output, hit handling on panic 2022-03-21 13:06:50 +01:00
Tomaž Jerman
ab86689559 Fix report DB builder name conflicts 2022-03-02 12:40:06 +01:00
Denis Arh
ae34f35542 Proof that 2nd level iterator break works 2022-03-01 08:40:06 +01:00
Tomaž Jerman
8e679bf97c Improve namespace export
* Add RBAC rules
* add resource translations
* slight refactor
2022-02-25 16:48:25 +01:00
Denis Arh
6f19f00b29 Improve attachment uploading & constraints 2022-02-25 08:35:50 +01:00
Denis Arh
eb7cd34047 Skip whole TestMessageWrite 2022-02-23 19:22:27 +01:00
Denis Arh
7bde98697a Corteza discovery
- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
2022-02-22 17:13:59 +05:30
Denis Arh
e13e429ca9 Add test cases for denied role member management 2022-02-21 12:08:09 +01:00
Vivek Patel
ef904e0cd3 Extend set/omit expr function
It updates 1st parameter of set expr function from merger type to interface, so It will accept constant values, also extend set/omit usage for ComposeRecordValues.
2022-02-18 00:22:21 +05:30
Denis Arh
b4f17a8df0 Skip test if messagebus consume test failes 2022-02-17 13:48:53 +01:00
Denis Arh
b478b37775 Add support for page config 2022-02-10 13:55:54 +01:00
Vivek Patel
760aec1c18 Update argument type of set expr function
It changes 3rd argument type os set expr function from TypedValue to interface, since GvalParser parses argument to native types before evaluating the expression.
2022-02-07 09:21:31 +01:00
Denis Arh
a4e5d2691a Fix invoker/runner mixup & move exec access-control check higher 2022-01-25 15:34:50 +01:00
Denis Arh
8988bf4f9c Fix failing TestAuthExternalSAMLSuccess test 2022-01-22 16:32:51 +01:00
Denis Arh
ef0588f365 Fix federation node-pairing tests 2022-01-22 16:32:51 +01:00
Denis Arh
6c3bef0750 Refactor token-issuer (ex-jwt) to be more robust and configurable 2022-01-21 15:31:10 +01:00
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Denis Arh
29a135843f Minor fix of SAML tests, trim endlines in static files 2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
3ffa0ef8be Fixing codebase after JWT lib switch 2022-01-11 15:35:05 +01:00
Denis Arh
72999ca692 Replacing dgrijalva/jwt-go with lestrrat-go/jwx 2022-01-11 10:56:17 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
771a60abd7 Post dep-upgrade fixes 2022-01-11 10:53:49 +01:00
Denis Arh
ff7f642681 Refresh testing documentation 2021-12-20 07:52:48 +01:00
Tomaž Jerman
a45c914ecf Improve string support for reporter expressions 2021-12-10 12:59:20 +01:00
Vivek Patel
0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
Tomaž Jerman
59ef8da1ac Fix panicking report filter marshaling when invalid 2021-12-09 15:55:53 +01:00
Peter Grlica
eecf867090 Added jwt generate wf function 2021-12-08 10:21:50 +01:00
Denis Arh
70352a0be4 Remove unwrapping of workflow errors
It removes important details about step ID from the error
2021-12-02 10:48:59 +01:00
Denis Arh
b9f96d920a Support attachment management in workflow 2021-12-02 10:48:59 +01:00
Denis Arh
edbbf2f01b Fix bool/false value sanitization
Boolean value sanitization MUST return empty string for false boolean
value to ensure consisten behaviour when empty or false value for field
is send back and that field is read-only (via RBAC).
2021-11-21 18:07:00 +01:00
Tomaž Jerman
aced989ae6 Fix default record module field value validation setup 2021-11-15 12:45:24 +01:00
Tomaž Jerman
597484914d Properly handle ID-like report filter responses 2021-11-15 10:16:17 +01:00
Tomaž Jerman
4b6b52b3f6 Add back-end support for report scenarios 2021-11-10 16:39:21 +01:00
Denis Arh
7fb993d784 Resolve duplicate issues 2021-11-04 11:19:26 +01:00
Denis Arh
7b065769da Revert "Updates WF step verification logic before creating graph"
This reverts commit e2e7510c074238abd8ca043dcb6f04809ee8ac17.
2021-11-04 10:53:33 +01:00
Denis Arh
402006bebb Support recording and searching actionlogs 2021-10-28 09:43:26 +02:00
Denis Arh
20757e58fa Disallow use of reserved names for module fields
List of reserved names:
 - recordID
 - ownedBy
 - createdBy
 - createdAt
 - updatedBy
 - updatedAt
 - deletedBy
 - deletedAt
2021-10-21 13:20:50 +02:00
Peter Grlica
94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Vivek Patel
e2e7510c07 Updates WF step verification logic before creating graph
- Fixes duplicate issues for function, iterator and gateway steps
- Extends workflow tests for above scenario
2021-10-18 12:54:13 +05:30
Tomaž Jerman
0dfe990485 Add missing page parent parameter to exported yaml 2021-10-10 13:31:02 +02:00
Tomaž Jerman
7a96376865 Properly handle join cases where local key is not unique 2021-10-07 20:11:32 +02:00
Denis Arh
832a4557c5 Return default language when there are no headers
This change also affects test setup: we need to load locale service
without any languages/translations to avoid test flakines
2021-10-07 15:24:59 +02:00
Vivek Patel
955ea9c0fa Includes disabled entries to APIGw list call
For APIgw route and filter List API assigned default value 1 to `disabled` filter
2021-10-05 17:21:28 +05:30