@budibase/server 1.0.45 → 1.0.46
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.04ee727d.js → index.e9bff1c6.js} +127 -127
- package/builder/index.html +1 -1
- package/coverage/clover.xml +55 -46
- package/coverage/coverage-final.json +2 -2
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- 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/index.html +15 -15
- package/coverage/lcov-report/api/controllers/query/index.js.html +44 -11
- package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +15 -15
- 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 +44 -20
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- 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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- 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 +22 -22
- 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/threads/utils.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 +1 -1
- 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 +92 -71
- package/dist/api/controllers/query/index.js +11 -3
- package/dist/api/controllers/row/utils.js +15 -8
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/api/controllers/query/index.js +14 -3
- package/src/api/controllers/row/utils.js +18 -10
package/builder/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
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.e9bff1c6.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.f9faf6ab.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.39e01193.css">
|
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="1642708706901" clover="3.2.0">
|
|
3
|
+
<project timestamp="1642708706901" name="All files">
|
|
4
|
+
<metrics statements="4643" coveredstatements="3431" conditionals="1870" coveredconditionals="1017" methods="661" coveredmethods="465" elements="7174" coveredelements="4913" complexity="0" loc="4643" ncloc="4643" packages="21" files="140" classes="140"/>
|
|
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">
|
|
@@ -1187,9 +1187,9 @@
|
|
|
1187
1187
|
</file>
|
|
1188
1188
|
</package>
|
|
1189
1189
|
<package name="api.controllers.query">
|
|
1190
|
-
<metrics statements="
|
|
1190
|
+
<metrics statements="102" coveredstatements="83" conditionals="29" coveredconditionals="19" methods="17" coveredmethods="15"/>
|
|
1191
1191
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/index.js">
|
|
1192
|
-
<metrics statements="
|
|
1192
|
+
<metrics statements="94" coveredstatements="75" conditionals="29" coveredconditionals="19" methods="14" coveredmethods="12"/>
|
|
1193
1193
|
<line num="1" count="34" type="stmt"/>
|
|
1194
1194
|
<line num="6" count="34" type="stmt"/>
|
|
1195
1195
|
<line num="7" count="34" type="stmt"/>
|
|
@@ -1252,33 +1252,38 @@
|
|
|
1252
1252
|
<line num="139" count="2" type="stmt"/>
|
|
1253
1253
|
<line num="141" count="2" type="stmt"/>
|
|
1254
1254
|
<line num="142" count="2" type="stmt"/>
|
|
1255
|
-
<line num="
|
|
1256
|
-
<line num="146" count="2" type="
|
|
1257
|
-
<line num="
|
|
1258
|
-
<line num="
|
|
1259
|
-
<line num="
|
|
1260
|
-
<line num="
|
|
1261
|
-
<line num="
|
|
1262
|
-
<line num="
|
|
1263
|
-
<line num="
|
|
1264
|
-
<line num="
|
|
1265
|
-
<line num="
|
|
1266
|
-
<line num="
|
|
1267
|
-
<line num="176" count="2" type="stmt"/>
|
|
1255
|
+
<line num="144" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1256
|
+
<line num="146" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1257
|
+
<line num="147" count="2" type="stmt"/>
|
|
1258
|
+
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1259
|
+
<line num="149" count="0" type="stmt"/>
|
|
1260
|
+
<line num="155" count="2" type="stmt"/>
|
|
1261
|
+
<line num="156" count="2" type="stmt"/>
|
|
1262
|
+
<line num="166" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1263
|
+
<line num="167" count="1" type="stmt"/>
|
|
1264
|
+
<line num="169" count="0" type="stmt"/>
|
|
1265
|
+
<line num="172" count="1" type="stmt"/>
|
|
1266
|
+
<line num="176" count="34" type="stmt"/>
|
|
1268
1267
|
<line num="177" count="2" type="stmt"/>
|
|
1269
|
-
<line num="
|
|
1270
|
-
<line num="181" count="
|
|
1271
|
-
<line num="
|
|
1272
|
-
<line num="
|
|
1273
|
-
<line num="186" count="
|
|
1274
|
-
<line num="187" count="
|
|
1275
|
-
<line num="189" count="
|
|
1276
|
-
<line num="
|
|
1277
|
-
<line num="
|
|
1278
|
-
<line num="
|
|
1279
|
-
<line num="
|
|
1280
|
-
<line num="
|
|
1281
|
-
<line num="
|
|
1268
|
+
<line num="180" count="34" type="stmt"/>
|
|
1269
|
+
<line num="181" count="0" type="stmt"/>
|
|
1270
|
+
<line num="184" count="34" type="stmt"/>
|
|
1271
|
+
<line num="185" count="2" type="stmt"/>
|
|
1272
|
+
<line num="186" count="2" type="stmt"/>
|
|
1273
|
+
<line num="187" count="2" type="stmt"/>
|
|
1274
|
+
<line num="189" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1275
|
+
<line num="191" count="1" type="stmt"/>
|
|
1276
|
+
<line num="192" count="1" type="stmt"/>
|
|
1277
|
+
<line num="194" count="1" type="stmt"/>
|
|
1278
|
+
<line num="197" count="1" type="stmt"/>
|
|
1279
|
+
<line num="198" count="1" type="stmt"/>
|
|
1280
|
+
<line num="200" count="1" type="stmt"/>
|
|
1281
|
+
<line num="204" count="34" type="stmt"/>
|
|
1282
|
+
<line num="205" count="2" type="stmt"/>
|
|
1283
|
+
<line num="206" count="2" type="stmt"/>
|
|
1284
|
+
<line num="207" count="2" type="stmt"/>
|
|
1285
|
+
<line num="208" count="2" type="stmt"/>
|
|
1286
|
+
<line num="209" count="2" type="stmt"/>
|
|
1282
1287
|
</file>
|
|
1283
1288
|
<file name="validation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/query/validation.js">
|
|
1284
1289
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
@@ -1293,7 +1298,7 @@
|
|
|
1293
1298
|
</file>
|
|
1294
1299
|
</package>
|
|
1295
1300
|
<package name="api.controllers.row">
|
|
1296
|
-
<metrics statements="
|
|
1301
|
+
<metrics statements="597" coveredstatements="314" conditionals="257" coveredconditionals="83" methods="88" coveredmethods="38"/>
|
|
1297
1302
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1298
1303
|
<metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
|
|
1299
1304
|
<line num="6" count="34" type="stmt"/>
|
|
@@ -1852,7 +1857,7 @@
|
|
|
1852
1857
|
<line num="388" count="0" type="stmt"/>
|
|
1853
1858
|
</file>
|
|
1854
1859
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
|
|
1855
|
-
<metrics statements="
|
|
1860
|
+
<metrics statements="52" coveredstatements="35" conditionals="30" coveredconditionals="12" methods="6" coveredmethods="4"/>
|
|
1856
1861
|
<line num="1" count="34" type="stmt"/>
|
|
1857
1862
|
<line num="2" count="34" type="stmt"/>
|
|
1858
1863
|
<line num="3" count="34" type="stmt"/>
|
|
@@ -1886,21 +1891,25 @@
|
|
|
1886
1891
|
<line num="51" count="74" type="stmt"/>
|
|
1887
1892
|
<line num="52" count="206" type="stmt"/>
|
|
1888
1893
|
<line num="53" count="206" type="stmt"/>
|
|
1889
|
-
<line num="55" count="206" type="cond" truecount="
|
|
1890
|
-
<line num="
|
|
1891
|
-
<line num="
|
|
1892
|
-
<line num="
|
|
1894
|
+
<line num="55" count="206" type="cond" truecount="2" falsecount="2"/>
|
|
1895
|
+
<line num="56" count="0" type="stmt"/>
|
|
1896
|
+
<line num="61" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1897
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1893
1898
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1894
1899
|
<line num="67" count="0" type="stmt"/>
|
|
1895
|
-
<line num="
|
|
1896
|
-
<line num="
|
|
1897
|
-
<line num="
|
|
1898
|
-
<line num="
|
|
1899
|
-
<line num="
|
|
1900
|
-
<line num="
|
|
1901
|
-
<line num="
|
|
1902
|
-
<line num="
|
|
1903
|
-
<line num="
|
|
1900
|
+
<line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1901
|
+
<line num="69" count="0" type="stmt"/>
|
|
1902
|
+
<line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1903
|
+
<line num="76" count="0" type="stmt"/>
|
|
1904
|
+
<line num="78" count="206" type="cond" truecount="2" falsecount="2"/>
|
|
1905
|
+
<line num="80" count="0" type="stmt"/>
|
|
1906
|
+
<line num="81" count="0" type="stmt"/>
|
|
1907
|
+
<line num="83" count="0" type="stmt"/>
|
|
1908
|
+
<line num="85" count="206" type="cond" truecount="1" falsecount="1"/>
|
|
1909
|
+
<line num="86" count="0" type="stmt"/>
|
|
1910
|
+
<line num="91" count="206" type="stmt"/>
|
|
1911
|
+
<line num="93" count="206" type="cond" truecount="2" falsecount="0"/>
|
|
1912
|
+
<line num="95" count="74" type="stmt"/>
|
|
1904
1913
|
</file>
|
|
1905
1914
|
</package>
|
|
1906
1915
|
<package name="api.controllers.table">
|