3
0
Commit Graph

3776 Commits

Author SHA1 Message Date
Denis Arh
2e5a45e899 Fix user-response 2022-08-16 16:23:19 +02:00
Denis Arh
4259125df8 Add missing AC flags on apigw & msg-queue REST controllers 2022-08-16 15:13:40 +02:00
Denis Arh
aede16f29f Add missing AC flags on system/user REST controller 2022-08-16 15:08:05 +02:00
Denis Arh
1323cda956 System REST controller cleanup 2022-08-16 15:06:32 +02:00
Denis Arh
554ae45ddf Various DAL connection improvements & config reorg 2022-08-15 16:57:42 +02:00
Denis Arh
f1908c9260 Cleaned up dal-connection REST def 2022-08-12 17:57:49 +02:00
Denis Arh
ff69698027 Properly implement model cache management on DAL RDMBS 2022-08-12 16:50:12 +02:00
Denis Arh
b5267bcbf9 Add 'meta' to list of skiped system fields (revisions) 2022-08-12 16:50:12 +02:00
Katrin Yordanova
4ef8d6aebd Update namespace icons and add new ns items 2022-08-12 15:24:45 +03: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
61f84d65ce Migrate compose record labels from standalone table (to meta col) 2022-08-10 21:39:25 +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
1a358dd255 Fix broken system tests when updating primary conn
We no longer compare config changes on primary connection
Just override the values from the old one
2022-08-09 20:52:21 +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
39916ee149 Reorganized RDBMS columne type code 2022-08-09 14:40:00 +02:00
Denis Arh
a127d7711c Add basic RDBMS store adapter tests 2022-08-09 14:31:47 +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
Vivek Patel
db325fc125 Add route to list dal connections for privacy console
It will only list dal connections with minimal data.
2022-08-05 17:54:21 +05:30
Vivek Patel
12fd426ec7 Add validation for password while updating system settings
Also, adds setting actions file and updated all settings errors to translated error
2022-08-05 17:42:08 +05:30
Denis Arh
8ec05a032c Optimize hostname detection
When corteza is running inside docker container
HOSTNAME env var is set to container ID and this effectively
misconfigures URLs and domain names.

HOSTNAME and HOST are now removed and default hostname is now
'localhost' (no longer 'local.cortezaproject.org')
2022-08-04 15:41:35 +02:00
Vivek Patel
75b7d78eac Fix SMTP values in settings on server restart
It addresses issue with SMTP_* setting value, which were overwritten by values from env on server restart and also, removed default value of SMTP_HOST and SMTP_PORT, which were also causing the same issue.
2022-08-04 18:06:29 +05:30
Vivek Patel
85f399d2e4 Add upgrade schema for meta column in dal_connections table 2022-08-04 15:08:06 +05:30
Denis Arh
c2e9f93710 Fix auth-session filtering (user_id => rel_user) 2022-08-03 18:06:52 +02:00
Denis Arh
609bb5fe00 Rename json tag for operation property 2022-08-03 18:00:46 +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
Denis Arh
47a446096f Improve RDBMS DAL iterator 2022-08-03 18:00:46 +02:00
Vivek Patel
cffe4b2c68 Fix Action logs placeholders for record
It was broken for creation of record due to misplace for action-log prop.
2022-08-03 18:32:25 +05:30
Denis Arh
4faed45a98 Fix Join-Gateway step scope corruption 2022-08-03 12:34:15 +02:00
Denis Arh
14026ec47e Workflow sessions can be canceled via API 2022-08-03 12:33:14 +02:00
Denis Arh
8e42876010 Return workflow session ID when executing wf
It also fixes missimplemented async exec.
2022-08-03 12:33:14 +02:00
Tomaž Jerman
bba02ec9df Implement base valuestore for env variables
* Base facility to store generic values,
* integrate with templates,
* integrate with workflows.
2022-08-02 13:13:28 +02:00
Tomaž Jerman
9c6edc7fd8 Revert record value counter change requiring module
The change breaks tests which use the older, "simpler" interface.
2022-08-02 12:57:25 +02:00
Tomaž Jerman
9e1375e99a Refactor DAL capabilities into operations and properties 2022-08-02 12:57:22 +02:00
Vivek Patel
452fd1ca9d Add QL Functions for RDBMS drives
It will translate dateTime functions inside query as per the driver language.
2022-08-02 16:17:53 +05:30
Tomaž Jerman
4f46426c5f Fix DAL CRUD tests 2022-08-02 09:21:45 +02:00
Denis Arh
c31f706e95 Fix broken tests (add rec-mod link) 2022-08-01 19:46:45 +02:00
Vivek Patel
d4fbc33f3d Fix Action logs placeholders for resources
Mainly, It was broken for creation of most resources due to misplace for action-log prop.
2022-08-01 22:51:08 +05:30
Denis Arh
89eefa5bc2 Use model/attribute terminology in CUE files 2022-08-01 19:01:19 +02:00
Denis Arh
353d6ad37d Unified CUE file names 2022-08-01 18:22:55 +02:00
Denis Arh
885e633ba2 Improve (cue) codegen performance 2022-08-01 18:17:31 +02:00
Denis Arh
507e5cd72f Add support for min upper/lower-case password constraints 2022-08-01 16:37:46 +02:00
Denis Arh
54060f5ff8 Add user credentials management endpoints 2022-08-01 15:19:47 +02:00
Denis Arh
1b4a03827c Merge branch '2022.9.x-feature-record-revisions' into 2022.9.x 2022-08-01 13:27:03 +02:00