3
0

590 Commits

Author SHA1 Message Date
Tomaž Jerman
46eb0f1749 Fix missing role references for namespace export 2022-03-23 12:06:56 +01:00
Vivek Patel
8015c39e96 Fixes record field validation translations 2022-03-22 19:29:59 +05:30
Denis Arh
4e2a87ec97 Fix crash on unexisting module
Module proc() called with nil for module.
2022-03-22 12:16:43 +01:00
Tomaž Jerman
1931534c52 Improve workflow record paging support 2022-03-16 16:13:02 +01:00
Denis Arh
640a90c20c Improve temporal value filtering 2022-03-15 06:43:54 +01:00
Vivek Patel
e9dfe8254e Fix module fields missing translations
Adds missing locale option `extended: true` in module.cue
2022-03-15 00:32:54 +05:30
Tomaž Jerman
d95eec9973 Make resource translation sanitization looser
Reuse record value configuration to allow rich text from
content page blocks.
2022-03-14 15:26:54 +01:00
Tomaž Jerman
9e5fd42d48 Limit/default compose record list rest endpoint 2022-03-14 15:23:41 +01:00
Vivek Patel
84f918a1d7 Add meta column to resource_activity_log table
Also adds resourceID filter in discovery resource routes
2022-03-07 19:26:47 +05:30
Tomaž Jerman
631811929e Fix resource translation codegen and empty string handling 2022-03-03 11:36:08 +01:00
Tomaž Jerman
908008eba7 Add namespace validation for compose record report datasource 2022-03-02 14:13:50 +01:00
Vivek Patel
4e3d5dd003 Fix log reference on discovery service initialisation 2022-02-28 17:32:32 +05:30
Tomaž Jerman
8e679bf97c Improve namespace export
* Add RBAC rules
* add resource translations
* slight refactor
2022-02-25 16:48:25 +01:00
Denis Arh
0f6e712487 Append custom args when executing corredor scripts via Compose REST handlers 2022-02-25 15:13:14 +01:00
Denis Arh
6f19f00b29 Improve attachment uploading & constraints 2022-02-25 08:35:50 +01:00
Tomaž Jerman
e7bca92d84 Fix record value Clone method 2022-02-22 17:41:18 +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
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
Tomaž Jerman
bc1550938f Prevent compose-system import cycles 2022-02-17 13:11:50 +01:00
Tomaž Jerman
6ee6607c64 Fix improper page blockID assignment on create 2022-02-16 13:38:40 +01:00
Denis Arh
1949782ccd Remove unused CustomRowScanner & RowScanners features from store 2022-02-12 09:00:13 +01:00
Denis Arh
b478b37775 Add support for page config 2022-02-10 13:55:54 +01:00
Denis Arh
53dd7cc292 Validate token and resolve identity from token earlier in the chain. 2022-02-09 10:58:47 +01:00
Denis Arh
2404ce9f8d Add support for body translations for content block 2022-02-02 09:18:13 +01:00
Denis Arh
2eb3500ecb Refactor automation-page-block translations 2022-02-01 17:57:08 +01:00
Denis Arh
74d6eabf94 Various template & def fixes 2022-01-26 16:27:38 +01:00
Denis Arh
1284371bb3 Add cue tooling & codegen to makefile 2022-01-26 16:27:36 +01:00
Denis Arh
a437913f85 Migrate codegen for envoy to CUE 2022-01-26 16:25:53 +01:00
Denis Arh
3568d0841e Migrate codegen for locale to CUE 2022-01-26 16:25:53 +01:00
Denis Arh
c19ee84f5d Base CUE, def, schemas 2022-01-26 16:25:53 +01:00
Denis Arh
691481424a Make compose page removal more flexible
Support four delete strategies
 - abort: raise an error of page to be deleted contains subpages
 - force: delete the page regardles of any potential subpages
 - cascade: remove all subpages
 - rebase: remove page and move subpages one level lower (to the place
   where the parent page was)
2022-01-26 15:50:21 +01:00
Denis Arh
43de7ebba7 Add uncommited codegen changes 2022-01-26 15:41:13 +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
4b113af9cc Allow content-type header to specify the charset 2022-01-18 21:50:19 +01:00
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Tomaž Jerman
1a8d262032 Fix namespace import panic if no namespace provided 2022-01-18 21:50:18 +01:00
Peter Grlica
937ec1d584 Updated generated files 2022-01-18 21:50:18 +01:00
Denis Arh
60d0d4dd5f Fix attachment automation function label/desc 2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
4b264798ea Fix handling empty-string translations 2022-01-10 17:44:12 +01:00
Denis Arh
ff6cadc075 Reload RBAC & workflows after namespace import 2022-01-05 14:23:33 +01:00
Vivek Patel
23a24469ed Refactor minion store
- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name
- Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths
- Decouples minio client from New method
- Provides methods for generating bucket name, object name with path using bucket related env variables
- Adds tests
- Fixes issue#295
2021-12-22 21:12:07 +05:30
Tomaž Jerman
907cb25ceb Add support for multipart/form-data request parsing 2021-12-21 09:11:51 +01:00
Denis Arh
c72902a86b Improve module-field translations, add i18n support for select field option texts 2021-12-17 13:04:52 +01:00
Denis Arh
127bd00002 Fix typo in pageExtendedAutomatinBlock 2021-12-17 13:04:52 +01:00
Denis Arh
5b545107ce Fix potential "out-of-range" crash when translating field expressions 2021-12-17 13:04:52 +01:00
Denis Arh
de11e7d20a Support for select field option text translations 2021-12-17 13:04:52 +01:00
Denis Arh
92c0c3feb7 Add support for additional argument when invoking Corredor script 2021-12-17 12:59:24 +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