3
0

598 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
9a93473cea Fix resource translation reloading 2022-03-30 14:24:16 +02:00
Vivek Patel
3c5132e642 Fix transaction inside resource translation upsert
Fixes slow module update with many resource translation
2022-03-29 18:24:17 +05:30
Tomaž Jerman
c0200345ac Add back-end support for boolean label res. translations 2022-03-23 16:51:16 +01:00
Tomaž Jerman
a1a462c5fb Fix improper ns import resource re-id due to resources being ignored 2022-03-23 12:06:56 +01:00
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