snapshot of https://github.com/cortezaproject/corteza.git (2024.9.x, 2026-09-18; blobs > 131072B omitted)
Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
This commit is contained in:
3
server/tests/compose/testdata/namespace_duplicate/data_model/1000_namespace.yaml
vendored
Normal file
3
server/tests/compose/testdata/namespace_duplicate/data_model/1000_namespace.yaml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
69
server/tests/compose/testdata/namespace_duplicate/data_model/1100_modules.yaml
vendored
Normal file
69
server/tests/compose/testdata/namespace_duplicate/data_model/1100_modules.yaml
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
# Provides a complete set of things to cover regarding modules and module fields.
|
||||
# mod1: defines more complicated fields, relates to mod2
|
||||
# mod2: defines a self-ref, relates to mod3
|
||||
# mod3: just a placeholder
|
||||
|
||||
namespace: ns1
|
||||
modules:
|
||||
mod1:
|
||||
name: mod1 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- f2 opt 1
|
||||
- f2 opt 2
|
||||
- f2 opt 3
|
||||
f3:
|
||||
label: f3 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- ☆☆☆☆☆
|
||||
- ★☆☆☆☆
|
||||
f4:
|
||||
label: f4 label
|
||||
kind: Record
|
||||
options:
|
||||
labelField: f_label
|
||||
module: mod2
|
||||
queryFields:
|
||||
- f1
|
||||
|
||||
mod2:
|
||||
name: mod2 name
|
||||
fields:
|
||||
f_label:
|
||||
label: f_label record label
|
||||
f_ref_self:
|
||||
label: f_ref_self label
|
||||
kind: Record
|
||||
options:
|
||||
labelField: f_label
|
||||
module: mod2
|
||||
queryFields:
|
||||
- f1
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Record
|
||||
options:
|
||||
labelField: f_label
|
||||
module: mod3
|
||||
queryFields:
|
||||
- f1
|
||||
|
||||
mod3:
|
||||
name: mod3 name
|
||||
fields:
|
||||
f_label:
|
||||
label: f_label record label
|
||||
47
server/tests/compose/testdata/namespace_duplicate/data_model/1200_pages.yaml
vendored
Normal file
47
server/tests/compose/testdata/namespace_duplicate/data_model/1200_pages.yaml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
namespace: ns1
|
||||
pages:
|
||||
pg1:
|
||||
title: pg1 title
|
||||
blocks:
|
||||
- title: pg1 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg1 b1 content body
|
||||
|
||||
- title: pg1 b2
|
||||
kind: RecordList
|
||||
xywh: [0, 1, 1, 1]
|
||||
options:
|
||||
module: mod1
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
variants:
|
||||
bodyBg: white
|
||||
border: primary
|
||||
headerBg: white
|
||||
headerText: primary
|
||||
|
||||
- title: pg1 b3
|
||||
kind: Chart
|
||||
xywh: [0, 2, 1, 1]
|
||||
options:
|
||||
chart: chr1
|
||||
variants:
|
||||
bodyBg: white
|
||||
border: primary
|
||||
headerBg: white
|
||||
headerText: primary
|
||||
|
||||
rpg2:
|
||||
handle: rpg2
|
||||
module: mod1
|
||||
title: Record page for module "mod1"
|
||||
blocks:
|
||||
- title: rpg2 b1 title
|
||||
kind: Record
|
||||
options:
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
18
server/tests/compose/testdata/namespace_duplicate/data_model/1300_charts.yaml
vendored
Normal file
18
server/tests/compose/testdata/namespace_duplicate/data_model/1300_charts.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace: ns1
|
||||
charts:
|
||||
chr1:
|
||||
name: chr1 name
|
||||
config:
|
||||
reports:
|
||||
- dimensions:
|
||||
- field: Status
|
||||
modifier: (no grouping / buckets)
|
||||
filter: ""
|
||||
metrics:
|
||||
- backgroundColor: '#11ff57'
|
||||
field: count
|
||||
fixTooltips: true
|
||||
type: pie
|
||||
module: mod1
|
||||
renderer: {}
|
||||
colorScheme: tableau.Tableau10
|
||||
3
server/tests/compose/testdata/namespace_export_automation/data_model/1000_namespace.yaml
vendored
Normal file
3
server/tests/compose/testdata/namespace_export_automation/data_model/1000_namespace.yaml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
17
server/tests/compose/testdata/namespace_export_automation/data_model/1100_modules.yaml
vendored
Normal file
17
server/tests/compose/testdata/namespace_export_automation/data_model/1100_modules.yaml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace: ns1
|
||||
modules:
|
||||
mod1:
|
||||
name: mod1 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- f2 opt 1
|
||||
- f2 opt 2
|
||||
- f2 opt 3
|
||||
60
server/tests/compose/testdata/namespace_export_automation/data_model/1200_pages.yaml
vendored
Normal file
60
server/tests/compose/testdata/namespace_export_automation/data_model/1200_pages.yaml
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace: ns1
|
||||
pages:
|
||||
pg1:
|
||||
title: pg1 title
|
||||
blocks:
|
||||
- title: pg1 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg1 b1 content body
|
||||
|
||||
- title: pg1 b2
|
||||
kind: RecordList
|
||||
xywh: [0, 1, 1, 1]
|
||||
options:
|
||||
module: mod1
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
|
||||
- title: pg1 b3 automation 1
|
||||
kind: Automation
|
||||
xywh: [0, 0, 0, 0]
|
||||
options:
|
||||
buttons:
|
||||
- label: workflow button
|
||||
resourceType: compose:record
|
||||
workflow: wf1
|
||||
stepID: 4
|
||||
|
||||
- title: pg1 b3 automation 2
|
||||
kind: Automation
|
||||
xywh: [0, 0, 0, 0]
|
||||
options:
|
||||
buttons:
|
||||
- label: script button
|
||||
script: /client-scripts/compose/test.js:default
|
||||
|
||||
- title: pg1 b3 automation 3
|
||||
kind: Automation
|
||||
xywh: [0, 0, 0, 0]
|
||||
options:
|
||||
buttons:
|
||||
- label: placeholder button
|
||||
|
||||
- title: pg1 b3 automation 4
|
||||
kind: Automation
|
||||
xywh: [0, 0, 0, 0]
|
||||
|
||||
rpg2:
|
||||
handle: rpg2
|
||||
module: mod1
|
||||
title: Record page for module "mod1"
|
||||
blocks:
|
||||
- title: rpg2 b1 title
|
||||
kind: Record
|
||||
options:
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
36
server/tests/compose/testdata/namespace_export_automation/data_model/1300_workflows.yaml
vendored
Normal file
36
server/tests/compose/testdata/namespace_export_automation/data_model/1300_workflows.yaml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
workflows:
|
||||
wf1:
|
||||
meta:
|
||||
name: wf1
|
||||
enabled: true
|
||||
keepSessions: 0
|
||||
triggers:
|
||||
- resourceType: compose:record
|
||||
eventType: beforeCreate
|
||||
constraints:
|
||||
- name: namespace.handle
|
||||
op: =
|
||||
values:
|
||||
- ns1
|
||||
enabled: true
|
||||
stepID: 4
|
||||
steps:
|
||||
- id: 4
|
||||
kind: prompt
|
||||
ref: alert
|
||||
arguments:
|
||||
- target: message
|
||||
source: ""
|
||||
expr: ""
|
||||
value: Test
|
||||
type: String
|
||||
tests: []
|
||||
results: []
|
||||
meta:
|
||||
name: ""
|
||||
description: ""
|
||||
visual:
|
||||
id: "4"
|
||||
parent: "1"
|
||||
value: null
|
||||
xywh: [0, 0, 0, 0]
|
||||
3
server/tests/compose/testdata/namespace_export_empty/data_model/1000_namespace.yaml
vendored
Normal file
3
server/tests/compose/testdata/namespace_export_empty/data_model/1000_namespace.yaml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
3
server/tests/compose/testdata/namespace_export_missing_res/data_model/1000_namespace.yaml
vendored
Normal file
3
server/tests/compose/testdata/namespace_export_missing_res/data_model/1000_namespace.yaml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
42
server/tests/compose/testdata/namespace_export_missing_res/data_model/1100_modules.yaml
vendored
Normal file
42
server/tests/compose/testdata/namespace_export_missing_res/data_model/1100_modules.yaml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
namespace: ns1
|
||||
modules:
|
||||
mod1:
|
||||
name: mod1 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- f2 opt 1
|
||||
- f2 opt 2
|
||||
- f2 opt 3
|
||||
f3:
|
||||
label: f3 label
|
||||
kind: Record
|
||||
options:
|
||||
labelField: f_label
|
||||
module: mod2
|
||||
queryFields:
|
||||
- f1
|
||||
|
||||
mod2:
|
||||
name: mod2 name
|
||||
fields:
|
||||
f_label:
|
||||
label: f_label record label
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
|
||||
mod3:
|
||||
name: mod3 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
47
server/tests/compose/testdata/namespace_export_missing_res/data_model/1200_pages.yaml
vendored
Normal file
47
server/tests/compose/testdata/namespace_export_missing_res/data_model/1200_pages.yaml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
namespace: ns1
|
||||
pages:
|
||||
pg1:
|
||||
title: pg1 title
|
||||
blocks:
|
||||
- title: pg1 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg1 b1 content body
|
||||
|
||||
- title: pg1 b2
|
||||
kind: RecordList
|
||||
xywh: [0, 1, 1, 1]
|
||||
options:
|
||||
module: mod1
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
|
||||
- title: pg1 b3
|
||||
kind: Chart
|
||||
xywh: [0, 2, 1, 1]
|
||||
options:
|
||||
chart: chr1
|
||||
|
||||
rpg2:
|
||||
handle: rpg2
|
||||
module: mod1
|
||||
title: Record page for module "mod1"
|
||||
blocks:
|
||||
- title: rpg2 b1 title
|
||||
kind: Record
|
||||
options:
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
|
||||
pages:
|
||||
pg2:
|
||||
title: pg2 title
|
||||
blocks:
|
||||
- title: pg2 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg2 b1 content body
|
||||
18
server/tests/compose/testdata/namespace_export_missing_res/data_model/1300_charts.yaml
vendored
Normal file
18
server/tests/compose/testdata/namespace_export_missing_res/data_model/1300_charts.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace: ns1
|
||||
charts:
|
||||
chr1:
|
||||
name: chr1 name
|
||||
config:
|
||||
reports:
|
||||
- dimensions:
|
||||
- field: Status
|
||||
modifier: (no grouping / buckets)
|
||||
filter: ""
|
||||
metrics:
|
||||
- backgroundColor: '#11ff57'
|
||||
field: count
|
||||
fixTooltips: true
|
||||
type: pie
|
||||
module: mod1
|
||||
renderer: {}
|
||||
colorScheme: tableau.Tableau10
|
||||
3
server/tests/compose/testdata/namespace_export_simple/data_model/1000_namespace.yaml
vendored
Normal file
3
server/tests/compose/testdata/namespace_export_simple/data_model/1000_namespace.yaml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
42
server/tests/compose/testdata/namespace_export_simple/data_model/1100_modules.yaml
vendored
Normal file
42
server/tests/compose/testdata/namespace_export_simple/data_model/1100_modules.yaml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
namespace: ns1
|
||||
modules:
|
||||
mod1:
|
||||
name: mod1 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- f2 opt 1
|
||||
- f2 opt 2
|
||||
- f2 opt 3
|
||||
f3:
|
||||
label: f3 label
|
||||
kind: Record
|
||||
options:
|
||||
labelField: f_label
|
||||
module: mod2
|
||||
queryFields:
|
||||
- f1
|
||||
|
||||
mod2:
|
||||
name: mod2 name
|
||||
fields:
|
||||
f_label:
|
||||
label: f_label record label
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
|
||||
mod3:
|
||||
name: mod3 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
47
server/tests/compose/testdata/namespace_export_simple/data_model/1200_pages.yaml
vendored
Normal file
47
server/tests/compose/testdata/namespace_export_simple/data_model/1200_pages.yaml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
namespace: ns1
|
||||
pages:
|
||||
pg1:
|
||||
title: pg1 title
|
||||
blocks:
|
||||
- title: pg1 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg1 b1 content body
|
||||
|
||||
- title: pg1 b2
|
||||
kind: RecordList
|
||||
xywh: [0, 1, 1, 1]
|
||||
options:
|
||||
module: mod1
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
|
||||
- title: pg1 b3
|
||||
kind: Chart
|
||||
xywh: [0, 2, 1, 1]
|
||||
options:
|
||||
chart: chr1
|
||||
|
||||
rpg2:
|
||||
handle: rpg2
|
||||
module: mod1
|
||||
title: Record page for module "mod1"
|
||||
blocks:
|
||||
- title: rpg2 b1 title
|
||||
kind: Record
|
||||
options:
|
||||
fields:
|
||||
- name: f1
|
||||
- name: f2
|
||||
|
||||
pages:
|
||||
pg2:
|
||||
title: pg2 title
|
||||
blocks:
|
||||
- title: pg2 b1
|
||||
kind: Content
|
||||
xywh: [0, 0, 1, 1]
|
||||
options:
|
||||
body: pg2 b1 content body
|
||||
18
server/tests/compose/testdata/namespace_export_simple/data_model/1300_charts.yaml
vendored
Normal file
18
server/tests/compose/testdata/namespace_export_simple/data_model/1300_charts.yaml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace: ns1
|
||||
charts:
|
||||
chr1:
|
||||
name: chr1 name
|
||||
config:
|
||||
reports:
|
||||
- dimensions:
|
||||
- field: Status
|
||||
modifier: (no grouping / buckets)
|
||||
filter: ""
|
||||
metrics:
|
||||
- backgroundColor: '#11ff57'
|
||||
field: count
|
||||
fixTooltips: true
|
||||
type: pie
|
||||
module: mod1
|
||||
renderer: {}
|
||||
colorScheme: tableau.Tableau10
|
||||
BIN
server/tests/compose/testdata/namespace_import/nested.zip
vendored
Normal file
BIN
server/tests/compose/testdata/namespace_import/nested.zip
vendored
Normal file
Binary file not shown.
BIN
server/tests/compose/testdata/namespace_import/no-ns.zip
vendored
Normal file
BIN
server/tests/compose/testdata/namespace_import/no-ns.zip
vendored
Normal file
Binary file not shown.
30
server/tests/compose/testdata/record_access_context/data_model/compose.yaml
vendored
Normal file
30
server/tests/compose/testdata/record_access_context/data_model/compose.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
namespaces:
|
||||
ns1:
|
||||
name: ns1 name
|
||||
|
||||
modules:
|
||||
mod1:
|
||||
name: mod1 name
|
||||
fields:
|
||||
f1:
|
||||
label: f1 label
|
||||
kind: String
|
||||
required: true
|
||||
f2:
|
||||
label: f2 label
|
||||
kind: Select
|
||||
options:
|
||||
options:
|
||||
- f2 opt 1
|
||||
- f2 opt 2
|
||||
- f2 opt 3
|
||||
|
||||
records:
|
||||
mod1:
|
||||
- createdBy: user_createdby
|
||||
updatedBy: user_updatedby
|
||||
deletedBy: user_deletedby
|
||||
ownedBy: user_ownedby
|
||||
values:
|
||||
f1: "mod1 f1 v1"
|
||||
f2: "f2 opt 1"
|
||||
49
server/tests/compose/testdata/record_access_context/data_model/system.yaml
vendored
Normal file
49
server/tests/compose/testdata/record_access_context/data_model/system.yaml
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
users:
|
||||
user_createdby:
|
||||
email: user_createdby@test.tld
|
||||
name: creator
|
||||
|
||||
user_updatedby:
|
||||
email: user_updatedby@test.tld
|
||||
name: updater
|
||||
|
||||
user_deletedby:
|
||||
email: user_deletedby@test.tld
|
||||
name: deleter
|
||||
|
||||
user_ownedby:
|
||||
email: user_ownedby@test.tld
|
||||
name: owner
|
||||
|
||||
roles:
|
||||
owner:
|
||||
name: Owner
|
||||
meta:
|
||||
context:
|
||||
expr: resource.ownedBy == userID
|
||||
resourceType:
|
||||
- corteza::compose:record
|
||||
|
||||
creator:
|
||||
name: Creator
|
||||
meta:
|
||||
context:
|
||||
expr: resource.createdBy == userID
|
||||
resourceType:
|
||||
- corteza::compose:record
|
||||
|
||||
updater:
|
||||
name: Updater
|
||||
meta:
|
||||
context:
|
||||
expr: resource.updatedBy == userID
|
||||
resourceType:
|
||||
- corteza::compose:record
|
||||
|
||||
deleter:
|
||||
name: Deleter
|
||||
meta:
|
||||
context:
|
||||
expr: resource.deletedBy == userID
|
||||
resourceType:
|
||||
- corteza::compose:record
|
||||
6
server/tests/compose/testdata/test.csv
vendored
Normal file
6
server/tests/compose/testdata/test.csv
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
John,Doe,120 jefferson st.,Riverside, NJ, 08075
|
||||
Jack,McGinnis,220 hobo Av.,Phila, PA,09119
|
||||
"John ""Da Man""",Repici,120 Jefferson St.,Riverside, NJ,08075
|
||||
Stephen,Tyler,"7452 Terrace ""At the Plaza"" road",SomeTown,SD, 91234
|
||||
,Blankman,,SomeTown, SD, 00298
|
||||
"Joan ""the bone"", Anne",Jet,"9th, at Terrace plc",Desert City,CO,00123
|
||||
|
BIN
server/tests/compose/testdata/test.png
vendored
Normal file
BIN
server/tests/compose/testdata/test.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user