@budibase/server 0.9.190-alpha.0 → 0.9.190-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.43f4c913.js → index.12e1627d.js} +127 -127
- package/builder/assets/{index.7d405e74.css → index.4fb3f887.css} +1 -1
- package/builder/index.html +2 -2
- package/coverage/clover.xml +173 -177
- package/coverage/coverage-final.json +8 -8
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +7 -25
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +24 -24
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +9 -9
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +27 -27
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +2 -2
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +2 -2
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +17 -17
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +1 -1
- package/coverage/lcov-report/threads/index.js.html +1 -1
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +2 -2
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +275 -279
- package/dist/api/controllers/application.js +1 -5
- package/dist/api/controllers/row/ExternalRequest.js +41 -20
- package/dist/integrations/base/sql.js +29 -11
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/mysql.js +2 -1
- package/dist/integrations/oracle.js +5 -3
- package/dist/integrations/utils.js +1 -1
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/application.js +0 -6
- package/src/api/controllers/row/ExternalRequest.ts +44 -20
- package/src/api/routes/tests/application.spec.js +0 -2
- package/src/api/routes/tests/screen.spec.js +1 -1
- package/src/integrations/base/sql.ts +30 -11
- package/src/integrations/index.ts +2 -2
- package/src/integrations/mysql.ts +3 -1
- package/src/integrations/oracle.ts +21 -8
- package/src/integrations/utils.ts +6 -2
package/builder/index.html
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
|
|
11
11
|
rel="stylesheet"
|
|
12
12
|
/>
|
|
13
|
-
<script type="module" crossorigin src="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.12e1627d.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.470042a4.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
|
-
<link rel="stylesheet" href="/builder/assets/index.
|
|
16
|
+
<link rel="stylesheet" href="/builder/assets/index.4fb3f887.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body id="app">
|
|
19
19
|
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1637878763005" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637878763005" name="All files">
|
|
4
|
+
<metrics statements="4381" coveredstatements="3237" conditionals="1748" coveredconditionals="951" methods="619" coveredmethods="440" elements="6748" coveredelements="4628" complexity="0" loc="4381" ncloc="4381" packages="20" files="138" classes="138"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</file>
|
|
39
39
|
</package>
|
|
40
40
|
<package name="api.controllers">
|
|
41
|
-
<metrics statements="
|
|
41
|
+
<metrics statements="1112" coveredstatements="799" conditionals="367" coveredconditionals="169" methods="153" coveredmethods="109"/>
|
|
42
42
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
43
43
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
44
44
|
<line num="1" count="23" type="stmt"/>
|
|
@@ -83,191 +83,187 @@
|
|
|
83
83
|
<line num="46" count="1" type="stmt"/>
|
|
84
84
|
</file>
|
|
85
85
|
<file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
|
|
86
|
-
<metrics statements="
|
|
86
|
+
<metrics statements="180" coveredstatements="142" conditionals="72" coveredconditionals="41" methods="20" coveredmethods="17"/>
|
|
87
87
|
<line num="1" count="33" type="stmt"/>
|
|
88
88
|
<line num="2" count="33" type="stmt"/>
|
|
89
89
|
<line num="3" count="33" type="stmt"/>
|
|
90
90
|
<line num="8" count="33" type="stmt"/>
|
|
91
91
|
<line num="13" count="33" type="stmt"/>
|
|
92
|
+
<line num="21" count="33" type="stmt"/>
|
|
92
93
|
<line num="22" count="33" type="stmt"/>
|
|
93
94
|
<line num="23" count="33" type="stmt"/>
|
|
94
95
|
<line num="24" count="33" type="stmt"/>
|
|
95
96
|
<line num="25" count="33" type="stmt"/>
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
97
|
+
<line num="31" count="33" type="stmt"/>
|
|
98
|
+
<line num="32" count="33" type="stmt"/>
|
|
99
|
+
<line num="36" count="33" type="stmt"/>
|
|
100
|
+
<line num="37" count="33" type="stmt"/>
|
|
100
101
|
<line num="38" count="33" type="stmt"/>
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
102
|
+
<line num="43" count="33" type="stmt"/>
|
|
103
|
+
<line num="44" count="33" type="stmt"/>
|
|
103
104
|
<line num="45" count="33" type="stmt"/>
|
|
104
105
|
<line num="46" count="33" type="stmt"/>
|
|
105
106
|
<line num="47" count="33" type="stmt"/>
|
|
106
|
-
<line num="48" count="33" type="stmt"/>
|
|
107
107
|
<line num="49" count="33" type="stmt"/>
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="85" count="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="88" count="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="91" count="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="100" count="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
108
|
+
<line num="53" count="188" type="stmt"/>
|
|
109
|
+
<line num="59" count="376" type="stmt"/>
|
|
110
|
+
<line num="63" count="188" type="stmt"/>
|
|
111
|
+
<line num="69" count="12" type="stmt"/>
|
|
112
|
+
<line num="73" count="186" type="cond" truecount="4" falsecount="0"/>
|
|
113
|
+
<line num="80" count="183" type="cond" truecount="1" falsecount="1"/>
|
|
114
|
+
<line num="81" count="0" type="stmt"/>
|
|
115
|
+
<line num="82" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="83" count="180" type="stmt"/>
|
|
117
|
+
<line num="85" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
118
|
+
<line num="86" count="180" type="stmt"/>
|
|
119
|
+
<line num="88" count="183" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="89" count="10" type="stmt"/>
|
|
121
|
+
<line num="91" count="173" type="stmt"/>
|
|
122
|
+
<line num="92" count="173" type="cond" truecount="1" falsecount="1"/>
|
|
123
|
+
<line num="98" count="0" type="stmt"/>
|
|
124
|
+
<line num="100" count="173" type="stmt"/>
|
|
125
|
+
<line num="104" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
126
|
+
<line num="105" count="178" type="stmt"/>
|
|
127
|
+
<line num="106" count="178" type="stmt"/>
|
|
128
128
|
<line num="108" count="178" type="stmt"/>
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="
|
|
129
|
+
<line num="109" count="178" type="stmt"/>
|
|
130
|
+
<line num="118" count="178" type="stmt"/>
|
|
131
|
+
<line num="119" count="178" type="stmt"/>
|
|
131
132
|
<line num="120" count="178" type="stmt"/>
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="126" count="
|
|
133
|
+
<line num="124" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
134
|
+
<line num="125" count="0" type="stmt"/>
|
|
135
|
+
<line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
135
136
|
<line num="127" count="0" type="stmt"/>
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="145" count="
|
|
144
|
-
<line num="146" count="10" type="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="151" count="10" type="
|
|
148
|
-
<line num="152" count="
|
|
149
|
-
<line num="153" count="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
137
|
+
<line num="129" count="178" type="cond" truecount="3" falsecount="1"/>
|
|
138
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
|
+
<line num="133" count="0" type="stmt"/>
|
|
140
|
+
<line num="137" count="178" type="stmt"/>
|
|
141
|
+
<line num="140" count="178" type="stmt"/>
|
|
142
|
+
<line num="143" count="33" type="stmt"/>
|
|
143
|
+
<line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
144
|
+
<line num="145" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="146" count="10" type="stmt"/>
|
|
146
|
+
<line num="149" count="10" type="cond" truecount="2" falsecount="2"/>
|
|
147
|
+
<line num="150" count="10" type="stmt"/>
|
|
148
|
+
<line num="151" count="10" type="stmt"/>
|
|
149
|
+
<line num="152" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
150
|
+
<line num="153" count="14" type="stmt"/>
|
|
151
|
+
<line num="155" count="0" type="stmt"/>
|
|
152
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
152
153
|
<line num="157" count="0" type="stmt"/>
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="170" count="
|
|
154
|
+
<line num="160" count="0" type="stmt"/>
|
|
155
|
+
<line num="165" count="10" type="stmt"/>
|
|
156
|
+
<line num="168" count="33" type="stmt"/>
|
|
157
|
+
<line num="169" count="1" type="stmt"/>
|
|
158
|
+
<line num="170" count="1" type="stmt"/>
|
|
158
159
|
<line num="171" count="1" type="stmt"/>
|
|
159
160
|
<line num="172" count="1" type="stmt"/>
|
|
160
161
|
<line num="173" count="1" type="stmt"/>
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="186" count="
|
|
162
|
+
<line num="177" count="1" type="stmt"/>
|
|
163
|
+
<line num="184" count="33" type="stmt"/>
|
|
164
|
+
<line num="185" count="187" type="stmt"/>
|
|
165
|
+
<line num="186" count="187" type="stmt"/>
|
|
165
166
|
<line num="187" count="187" type="stmt"/>
|
|
166
167
|
<line num="188" count="187" type="stmt"/>
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="193" count="
|
|
168
|
+
<line num="191" count="187" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="192" count="185" type="stmt"/>
|
|
170
|
+
<line num="193" count="185" type="stmt"/>
|
|
170
171
|
<line num="194" count="185" type="stmt"/>
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="207" count="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="217" count="178" type="stmt"/>
|
|
172
|
+
<line num="197" count="187" type="stmt"/>
|
|
173
|
+
<line num="205" count="33" type="stmt"/>
|
|
174
|
+
<line num="206" count="178" type="stmt"/>
|
|
175
|
+
<line num="207" count="178" type="stmt"/>
|
|
176
|
+
<line num="212" count="178" type="cond" truecount="2" falsecount="2"/>
|
|
177
|
+
<line num="213" count="0" type="stmt"/>
|
|
178
|
+
<line num="215" count="178" type="stmt"/>
|
|
179
|
+
<line num="216" count="178" type="stmt"/>
|
|
180
180
|
<line num="218" count="178" type="stmt"/>
|
|
181
|
-
<line num="
|
|
181
|
+
<line num="219" count="178" type="stmt"/>
|
|
182
182
|
<line num="221" count="178" type="stmt"/>
|
|
183
183
|
<line num="223" count="178" type="stmt"/>
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
184
|
+
<line num="224" count="0" type="stmt"/>
|
|
185
|
+
<line num="228" count="178" type="stmt"/>
|
|
186
|
+
<line num="243" count="178" type="stmt"/>
|
|
187
|
+
<line num="244" count="178" type="stmt"/>
|
|
188
|
+
<line num="248" count="178" type="cond" truecount="1" falsecount="1"/>
|
|
189
|
+
<line num="249" count="178" type="stmt"/>
|
|
190
|
+
<line num="257" count="178" type="stmt"/>
|
|
191
|
+
<line num="258" count="178" type="stmt"/>
|
|
191
192
|
<line num="259" count="178" type="stmt"/>
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
194
|
-
<line num="264" count="
|
|
193
|
+
<line num="262" count="33" type="stmt"/>
|
|
194
|
+
<line num="263" count="2" type="stmt"/>
|
|
195
|
+
<line num="264" count="2" type="stmt"/>
|
|
195
196
|
<line num="265" count="2" type="stmt"/>
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="
|
|
198
|
-
<line num="
|
|
197
|
+
<line num="268" count="33" type="stmt"/>
|
|
198
|
+
<line num="270" count="2" type="stmt"/>
|
|
199
|
+
<line num="271" count="2" type="stmt"/>
|
|
199
200
|
<line num="272" count="2" type="stmt"/>
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="277" count="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="
|
|
201
|
+
<line num="275" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
202
|
+
<line num="276" count="0" type="stmt"/>
|
|
203
|
+
<line num="277" count="0" type="stmt"/>
|
|
204
|
+
<line num="281" count="2" type="stmt"/>
|
|
205
|
+
<line num="285" count="2" type="stmt"/>
|
|
206
|
+
<line num="286" count="2" type="stmt"/>
|
|
206
207
|
<line num="287" count="2" type="stmt"/>
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="
|
|
209
|
-
<line num="
|
|
210
|
-
<line num="294" count="1" type="
|
|
211
|
-
<line num="295" count="
|
|
212
|
-
<line num="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
208
|
+
<line num="290" count="33" type="stmt"/>
|
|
209
|
+
<line num="292" count="1" type="stmt"/>
|
|
210
|
+
<line num="293" count="1" type="stmt"/>
|
|
211
|
+
<line num="294" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
212
|
+
<line num="295" count="0" type="stmt"/>
|
|
213
|
+
<line num="299" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
214
|
+
<line num="300" count="0" type="stmt"/>
|
|
215
|
+
<line num="304" count="1" type="stmt"/>
|
|
216
|
+
<line num="308" count="1" type="stmt"/>
|
|
217
|
+
<line num="309" count="1" type="stmt"/>
|
|
217
218
|
<line num="310" count="1" type="stmt"/>
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="315" count="33" type="stmt"/>
|
|
219
|
+
<line num="313" count="33" type="stmt"/>
|
|
220
|
+
<line num="314" count="11" type="stmt"/>
|
|
221
221
|
<line num="316" count="11" type="stmt"/>
|
|
222
|
-
<line num="
|
|
223
|
-
<line num="
|
|
224
|
-
<line num="
|
|
225
|
-
<line num="
|
|
222
|
+
<line num="321" count="11" type="cond" truecount="2" falsecount="2"/>
|
|
223
|
+
<line num="322" count="0" type="stmt"/>
|
|
224
|
+
<line num="325" count="11" type="stmt"/>
|
|
225
|
+
<line num="326" count="11" type="stmt"/>
|
|
226
226
|
<line num="328" count="11" type="stmt"/>
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="
|
|
229
|
-
<line num="
|
|
227
|
+
<line num="329" count="11" type="stmt"/>
|
|
228
|
+
<line num="332" count="33" type="stmt"/>
|
|
229
|
+
<line num="333" count="0" type="stmt"/>
|
|
230
|
+
<line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
230
231
|
<line num="335" count="0" type="stmt"/>
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="337" count="0" type="stmt"/>
|
|
232
|
+
<line num="339" count="0" type="stmt"/>
|
|
233
233
|
<line num="341" count="0" type="stmt"/>
|
|
234
|
+
<line num="342" count="0" type="stmt"/>
|
|
234
235
|
<line num="343" count="0" type="stmt"/>
|
|
235
|
-
<line num="344" count="0" type="
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
239
|
-
<line num="
|
|
240
|
-
<line num="
|
|
241
|
-
<line num="
|
|
242
|
-
<line num="361" count="0" type="stmt"/>
|
|
236
|
+
<line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
237
|
+
<line num="347" count="0" type="stmt"/>
|
|
238
|
+
<line num="348" count="0" type="stmt"/>
|
|
239
|
+
<line num="351" count="0" type="stmt"/>
|
|
240
|
+
<line num="354" count="0" type="stmt"/>
|
|
241
|
+
<line num="359" count="0" type="stmt"/>
|
|
242
|
+
<line num="360" count="0" type="stmt"/>
|
|
243
243
|
<line num="362" count="0" type="stmt"/>
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="
|
|
246
|
-
<line num="372" count="0" type="
|
|
247
|
-
<line num="
|
|
244
|
+
<line num="366" count="0" type="stmt"/>
|
|
245
|
+
<line num="370" count="0" type="stmt"/>
|
|
246
|
+
<line num="372" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
247
|
+
<line num="373" count="0" type="stmt"/>
|
|
248
248
|
<line num="375" count="0" type="stmt"/>
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
249
|
+
<line num="381" count="33" type="stmt"/>
|
|
250
|
+
<line num="382" count="5" type="stmt"/>
|
|
251
|
+
<line num="383" count="5" type="stmt"/>
|
|
251
252
|
<line num="384" count="5" type="stmt"/>
|
|
252
|
-
<line num="385" count="5" type="stmt"/>
|
|
253
253
|
<line num="386" count="5" type="stmt"/>
|
|
254
|
+
<line num="387" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
254
255
|
<line num="388" count="5" type="stmt"/>
|
|
255
|
-
<line num="
|
|
256
|
-
<line num="390" count="5" type="stmt"/>
|
|
256
|
+
<line num="393" count="5" type="stmt"/>
|
|
257
257
|
<line num="395" count="5" type="stmt"/>
|
|
258
258
|
<line num="397" count="5" type="stmt"/>
|
|
259
|
-
<line num="
|
|
260
|
-
<line num="
|
|
261
|
-
<line num="
|
|
259
|
+
<line num="398" count="5" type="stmt"/>
|
|
260
|
+
<line num="401" count="33" type="stmt"/>
|
|
261
|
+
<line num="402" count="178" type="stmt"/>
|
|
262
262
|
<line num="404" count="178" type="stmt"/>
|
|
263
|
-
<line num="
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="412" count="178" type="stmt"/>
|
|
268
|
-
<line num="413" count="178" type="stmt"/>
|
|
269
|
-
<line num="414" count="178" type="stmt"/>
|
|
270
|
-
<line num="416" count="178" type="stmt"/>
|
|
263
|
+
<line num="405" count="178" type="stmt"/>
|
|
264
|
+
<line num="406" count="356" type="stmt"/>
|
|
265
|
+
<line num="407" count="356" type="stmt"/>
|
|
266
|
+
<line num="410" count="178" type="stmt"/>
|
|
271
267
|
</file>
|
|
272
268
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
273
269
|
<metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
@@ -690,7 +686,7 @@
|
|
|
690
686
|
<line num="11" count="1" type="stmt"/>
|
|
691
687
|
</file>
|
|
692
688
|
<file name="layout.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/layout.js">
|
|
693
|
-
<metrics statements="27" coveredstatements="
|
|
689
|
+
<metrics statements="27" coveredstatements="22" conditionals="8" coveredconditionals="5" methods="3" coveredmethods="2"/>
|
|
694
690
|
<line num="4" count="33" type="stmt"/>
|
|
695
691
|
<line num="5" count="33" type="stmt"/>
|
|
696
692
|
<line num="6" count="33" type="stmt"/>
|
|
@@ -712,7 +708,7 @@
|
|
|
712
708
|
<line num="33" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
713
709
|
<line num="34" count="0" type="stmt"/>
|
|
714
710
|
<line num="36" count="1" type="stmt"/>
|
|
715
|
-
<line num="42" count="
|
|
711
|
+
<line num="42" count="0" type="stmt"/>
|
|
716
712
|
<line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
717
713
|
<line num="44" count="0" type="stmt"/>
|
|
718
714
|
<line num="48" count="1" type="stmt"/>
|
|
@@ -959,30 +955,30 @@
|
|
|
959
955
|
<line num="97" count="1" type="stmt"/>
|
|
960
956
|
</file>
|
|
961
957
|
<file name="routing.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/routing.js">
|
|
962
|
-
<metrics statements="49" coveredstatements="44" conditionals="14" coveredconditionals="
|
|
958
|
+
<metrics statements="49" coveredstatements="44" conditionals="14" coveredconditionals="9" methods="7" coveredmethods="7"/>
|
|
963
959
|
<line num="1" count="23" type="stmt"/>
|
|
964
960
|
<line num="5" count="23" type="stmt"/>
|
|
965
961
|
<line num="7" count="23" type="stmt"/>
|
|
966
962
|
<line num="10" count="3" type="stmt"/>
|
|
967
963
|
<line num="13" count="23" type="stmt"/>
|
|
968
|
-
<line num="14" count="
|
|
964
|
+
<line num="14" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
969
965
|
<line num="15" count="0" type="stmt"/>
|
|
970
|
-
<line num="18" count="
|
|
966
|
+
<line num="18" count="6" type="stmt"/>
|
|
971
967
|
<line num="21" count="23" type="stmt"/>
|
|
972
|
-
<line num="22" count="
|
|
973
|
-
<line num="23" count="
|
|
974
|
-
<line num="24" count="
|
|
975
|
-
<line num="28" count="
|
|
976
|
-
<line num="29" count="
|
|
977
|
-
<line num="33" count="
|
|
968
|
+
<line num="22" count="6" type="stmt"/>
|
|
969
|
+
<line num="23" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
970
|
+
<line num="24" count="3" type="stmt"/>
|
|
971
|
+
<line num="28" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
972
|
+
<line num="29" count="3" type="stmt"/>
|
|
973
|
+
<line num="33" count="6" type="stmt"/>
|
|
978
974
|
<line num="36" count="23" type="stmt"/>
|
|
979
|
-
<line num="37" count="
|
|
975
|
+
<line num="37" count="6" type="stmt"/>
|
|
980
976
|
<line num="47" count="3" type="stmt"/>
|
|
981
977
|
<line num="48" count="3" type="stmt"/>
|
|
982
978
|
<line num="50" count="3" type="stmt"/>
|
|
983
|
-
<line num="51" count="
|
|
984
|
-
<line num="52" count="
|
|
985
|
-
<line num="53" count="
|
|
979
|
+
<line num="51" count="6" type="stmt"/>
|
|
980
|
+
<line num="52" count="6" type="stmt"/>
|
|
981
|
+
<line num="53" count="6" type="stmt"/>
|
|
986
982
|
<line num="56" count="3" type="stmt"/>
|
|
987
983
|
<line num="59" count="23" type="stmt"/>
|
|
988
984
|
<line num="60" count="1" type="stmt"/>
|
|
@@ -991,22 +987,22 @@
|
|
|
991
987
|
<line num="65" count="2" type="stmt"/>
|
|
992
988
|
<line num="66" count="2" type="stmt"/>
|
|
993
989
|
<line num="67" count="2" type="stmt"/>
|
|
994
|
-
<line num="68" count="
|
|
995
|
-
<line num="69" count="
|
|
996
|
-
<line num="70" count="
|
|
997
|
-
<line num="71" count="
|
|
998
|
-
<line num="72" count="
|
|
990
|
+
<line num="68" count="2" type="stmt"/>
|
|
991
|
+
<line num="69" count="2" type="stmt"/>
|
|
992
|
+
<line num="70" count="2" type="stmt"/>
|
|
993
|
+
<line num="71" count="2" type="stmt"/>
|
|
994
|
+
<line num="72" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
999
995
|
<line num="73" count="0" type="stmt"/>
|
|
1000
996
|
<line num="74" count="0" type="stmt"/>
|
|
1001
997
|
<line num="75" count="0" type="stmt"/>
|
|
1002
|
-
<line num="77" count="
|
|
1003
|
-
<line num="78" count="
|
|
1004
|
-
<line num="79" count="
|
|
1005
|
-
<line num="80" count="
|
|
1006
|
-
<line num="81" count="
|
|
1007
|
-
<line num="82" count="
|
|
1008
|
-
<line num="86" count="
|
|
1009
|
-
<line num="87" count="
|
|
998
|
+
<line num="77" count="2" type="stmt"/>
|
|
999
|
+
<line num="78" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1000
|
+
<line num="79" count="2" type="stmt"/>
|
|
1001
|
+
<line num="80" count="2" type="stmt"/>
|
|
1002
|
+
<line num="81" count="2" type="stmt"/>
|
|
1003
|
+
<line num="82" count="2" type="stmt"/>
|
|
1004
|
+
<line num="86" count="2" type="stmt"/>
|
|
1005
|
+
<line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1010
1006
|
<line num="88" count="0" type="stmt"/>
|
|
1011
1007
|
<line num="92" count="2" type="stmt"/>
|
|
1012
1008
|
</file>
|
|
@@ -1019,7 +1015,7 @@
|
|
|
1019
1015
|
<line num="6" count="1" type="stmt"/>
|
|
1020
1016
|
<line num="7" count="1" type="stmt"/>
|
|
1021
1017
|
<line num="9" count="1" type="stmt"/>
|
|
1022
|
-
<line num="15" count="
|
|
1018
|
+
<line num="15" count="1" type="stmt"/>
|
|
1023
1019
|
<line num="17" count="1" type="stmt"/>
|
|
1024
1020
|
<line num="23" count="33" type="stmt"/>
|
|
1025
1021
|
<line num="24" count="19" type="stmt"/>
|
|
@@ -3415,7 +3411,7 @@
|
|
|
3415
3411
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3416
3412
|
<line num="1" count="33" type="stmt"/>
|
|
3417
3413
|
<line num="2" count="33" type="stmt"/>
|
|
3418
|
-
<line num="4" count="
|
|
3414
|
+
<line num="4" count="33" type="stmt"/>
|
|
3419
3415
|
</file>
|
|
3420
3416
|
</package>
|
|
3421
3417
|
<package name="db">
|
|
@@ -3475,7 +3471,7 @@
|
|
|
3475
3471
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
3476
3472
|
<line num="1" count="47" type="stmt"/>
|
|
3477
3473
|
<line num="3" count="47" type="stmt"/>
|
|
3478
|
-
<line num="4" count="
|
|
3474
|
+
<line num="4" count="625" type="stmt"/>
|
|
3479
3475
|
</file>
|
|
3480
3476
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
|
|
3481
3477
|
<metrics statements="108" coveredstatements="100" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="27"/>
|
|
@@ -3557,7 +3553,7 @@
|
|
|
3557
3553
|
<line num="266" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3558
3554
|
<line num="267" count="188" type="stmt"/>
|
|
3559
3555
|
<line num="274" count="47" type="stmt"/>
|
|
3560
|
-
<line num="275" count="
|
|
3556
|
+
<line num="275" count="19" type="stmt"/>
|
|
3561
3557
|
<line num="281" count="47" type="cond" truecount="0" falsecount="2"/>
|
|
3562
3558
|
<line num="282" count="190" type="stmt"/>
|
|
3563
3559
|
<line num="289" count="47" type="stmt"/>
|
|
@@ -4753,7 +4749,7 @@
|
|
|
4753
4749
|
<line num="6" count="3" type="stmt"/>
|
|
4754
4750
|
<line num="7" count="3" type="stmt"/>
|
|
4755
4751
|
<line num="8" count="3" type="stmt"/>
|
|
4756
|
-
<line num="12" count="
|
|
4752
|
+
<line num="12" count="6" type="stmt"/>
|
|
4757
4753
|
<line num="25" count="23" type="stmt"/>
|
|
4758
4754
|
</file>
|
|
4759
4755
|
</package>
|