3
0
Commit Graph

3792 Commits

Author SHA1 Message Date
Denis Arh
258068bdfb Improve model-by-ref handling 2022-08-28 12:41:06 +02:00
Tomaž Jerman
dac927ba4a Make namespace name sortable to unbreak reporter modals 2022-08-25 12:20:45 +02:00
Peter Grlica
85e004910b Github notifications to matrix support 2022-08-24 14:23:29 +02:00
Denis Arh
e734f44795 Access token no longer removed on own pwd change 2022-08-24 09:50:14 +02:00
Vivek Patel
e5915b3424 Fix nil pointer while replacing dal connection 2022-08-23 13:00:24 +05:30
Denis Arh
4bb8270189 Fix DAL implementation with Envoy 2022-08-23 08:12:38 +02:00
Tomaž Jerman
6799d3f8de Fix global value store URL construction with custom paths 2022-08-22 15:59:49 +02:00
Peter Grlica
91252ac93d Fixed apigw payload processer invalid function registration 2022-08-22 14:41:59 +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
20310e302f Remove customisation from the generate code 2022-08-18 20:36:43 +02:00
Denis Arh
c36c04456e Additional codegen speedup
Comment out #ModelAttributeJsonTag from #ModelAttribute
to gain additional 8s (4s now)
2022-08-18 19:45:55 +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
4f26fc5f6b Fix REST payload for users, apigw, queues 2022-08-17 09:28:55 +02:00
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