Jože Fortun
a56e402e0c
Make record report default results an empty array
2022-09-21 15:58:40 +02:00
Vivek Patel
7da0940ae1
Add IncTotal param support to all resource List API
...
- Updates rdbms.go.tpl to extends store search method to include total in response
2022-09-21 19:24:43 +05:30
Vivek Patel
9d46f5c234
Add duplicate detection for compose record values
...
For now only case-sensitive detection is supported, there are 2 type of duplicate detection, one is strict mode which will throw an error on record save if there is any duplicate record with matching value and non-strict mode will only show a warning and won't prevent record saving.
2022-09-21 19:24:43 +05:30
Tomaž Jerman
1535d1e533
Allow module field encoding strategy defaulting to JSON
...
User interface assumes they are defaulted.
2022-09-20 13:47:36 +02:00
Tomaž Jerman
c5c7ca011b
Use module field label for DAL pipeline outputs
2022-09-20 13:11:24 +02:00
Denis Arh
fab9371805
Fix unclosed file-handles (attachments) #410
2022-09-20 12:34:28 +02:00
Tomaž Jerman
95f836f248
Restructure compose/record/report service for easier tests
2022-09-19 16:22:37 +02:00
Tomaž Jerman
82686f14e9
Rework record report to use maps instead of iterators
...
Removes the need to do so in workflow handlers; the dataset will
be small so the JSON encoding magic isn't really needed.
2022-09-19 16:22:37 +02:00
Denis Arh
bc2186fa2f
Refactor module/field dal enc strategy config
2022-09-16 12:58:36 +02:00
Denis Arh
0ba9e06c85
Improve module update robustness
2022-09-16 12:58:09 +02:00
Denis Arh
8162da2a0e
Prevent module update abort in case of DAL issues
2022-09-16 12:55:05 +02:00
Tomaž Jerman
077788d9b8
Remove operations from models and connections
...
For now, operations will be defined on a DB driver.
2022-09-15 13:55:21 +02:00
Denis Arh
6c31e84628
Improve system field encoding configuration
2022-09-15 13:19:32 +02:00
Denis Arh
198830e9de
Fix unique constraint on compose charts table
2022-09-14 12:18:43 +02:00
Denis Arh
f3690b8636
Series of small fixes, prefixing index idents
2022-09-14 12:18:43 +02:00
Denis Arh
1f85b1be2b
Support MySQL table & index creation
2022-09-14 12:18:43 +02:00
Denis Arh
44ba447678
Add support for meta data on attribute types (rdbms:type=integer)
2022-09-14 12:18:43 +02:00
Denis Arh
6939d9e226
Model definition fixes (dal, index)
2022-09-14 12:18:43 +02:00
Denis Arh
4e96804d46
Add support for RDBMS index creation
2022-09-14 12:18:43 +02:00
Denis Arh
5992471337
Add support for default values for RDBMS columns
2022-09-14 12:18:43 +02:00
Denis Arh
a6c0d8ecee
Base support for creating RDBMS tables from models
2022-09-14 12:18:43 +02:00
Tomaž Jerman
c0631666d1
Add content-type to record revision endpoint
...
Correct, and fixes cases where mime sniffing is disabled.
2022-09-14 10:17:22 +02:00
Tomaž Jerman
7d18058f58
Rework the cmpose report endpoint to the DAL pipeline
2022-09-14 10:17:22 +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
eb57c03e6c
Port the old system reporter to the DAL pipeline
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
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
Tomaž Jerman
dac927ba4a
Make namespace name sortable to unbreak reporter modals
2022-08-25 12:20:45 +02:00
Denis Arh
4bb8270189
Fix DAL implementation with Envoy
2022-08-23 08:12:38 +02:00
Denis Arh
7d661e84be
Fix button translations on record-list block
2022-08-21 17:35:21 +02:00
Denis Arh
fb8765ff39
Improved default-connection handlong on module reload
2022-08-21 16:41:38 +02:00
Denis Arh
818f0ccb9b
Generate models for all resources
...
Some refactoring of CUE files
2022-08-21 15:54:03 +02:00
Denis Arh
1eff906a44
Reorganized and split (rbac) resource type codegen
2022-08-17 19:28:34 +02:00
Denis Arh
ccfb4c09bb
Restructured CUE resource definitions (struct, attributes)
2022-08-17 19:12:20 +02:00
Denis Arh
554ae45ddf
Various DAL connection improvements & config reorg
2022-08-15 16:57:42 +02:00
Denis Arh
b5267bcbf9
Add 'meta' to list of skiped system fields (revisions)
2022-08-12 16:50:12 +02:00
Denis Arh
cb99d2999b
Add action recording for sensitive data search
2022-08-11 19:52:27 +02:00
Denis Arh
01f860f7f6
Rename record.FindSensitive fn to SearchSensitive
2022-08-11 19:50:01 +02:00
Denis Arh
4f0d0ad6c1
Change compose record labels to meta
2022-08-11 19:33:07 +02:00
Denis Arh
6980543e15
Rename rel_module column on compose_records (from module_id)
2022-08-10 21:38:04 +02:00
Denis Arh
345eee72cb
Various DAL codebase improvements and cleanups
2022-08-10 21:38:04 +02:00
Denis Arh
5892250cdf
Properly convert Constraints on record filter
2022-08-09 20:52:15 +02:00
Denis Arh
df97fb676b
Improve handling modules with issues
...
Allow adding incomplete (no or invalid connection) to DAL service
to avoid crashes.
2022-08-09 20:29:50 +02:00
Denis Arh
1ac06a374b
Ignore modules with invalid connection ID
2022-08-08 13:54:44 +02:00
Denis Arh
cbfb1d49bd
Refactor model ident validation
2022-08-08 13:25:32 +02:00
Denis Arh
015d8ada6e
Refactor module-model conversion
...
Remove redundant parts of config (eg partititoned flag),
refactored and cleand-up field-to-attribute conversion
2022-08-08 13:19:01 +02:00
Denis Arh
8dfb72cc8d
Ensure record ID is valid when fetching revisions
2022-08-03 18:00:46 +02:00
Denis Arh
4fa0e561c1
Wrap 'response' around revisions return value
2022-08-03 18:00:46 +02:00