@budibase/server 1.0.128 → 1.0.129
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.15cf130d.js → index.a89d7b93.js} +53 -53
- package/builder/index.html +1 -1
- package/coverage/clover.xml +57 -56
- 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/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/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/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- 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 +10 -10
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +23 -14
- package/coverage/lcov-report/api/controllers/row/staticFormula.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 +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.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/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/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/index.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/migrations.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/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.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/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.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/delay.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/loop.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/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +15 -3
- 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/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 +8 -8
- 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/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/publicApi.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/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/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/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.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 +82 -81
- package/dist/api/controllers/application.js +5 -2
- package/dist/api/controllers/row/internalSearch.js +9 -4
- package/dist/constants/index.js +5 -1
- package/dist/integrations/utils.js +15 -7
- package/dist/package.json +5 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/api/controllers/application.ts +5 -2
- package/src/api/controllers/row/internalSearch.js +9 -6
- package/src/constants/index.js +5 -1
- package/src/integrations/utils.ts +16 -7
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.a89d7b93.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.5240f480.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.89795487.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="1651141128224" clover="3.2.0">
|
|
3
|
+
<project timestamp="1651141128224" name="All files">
|
|
4
|
+
<metrics statements="4122" coveredstatements="2974" conditionals="1687" coveredconditionals="874" methods="613" coveredmethods="432" elements="6422" coveredelements="4280" complexity="0" loc="4122" ncloc="4122" packages="23" files="131" classes="131"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="33" coveredstatements="31" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
|
|
@@ -1032,7 +1032,7 @@
|
|
|
1032
1032
|
</file>
|
|
1033
1033
|
</package>
|
|
1034
1034
|
<package name="api.controllers.row">
|
|
1035
|
-
<metrics statements="
|
|
1035
|
+
<metrics statements="590" coveredstatements="342" conditionals="268" coveredconditionals="96" methods="86" coveredmethods="46"/>
|
|
1036
1036
|
<file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
|
|
1037
1037
|
<metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
1038
1038
|
<line num="6" count="41" type="stmt"/>
|
|
@@ -1363,7 +1363,7 @@
|
|
|
1363
1363
|
<line num="454" count="2" type="stmt"/>
|
|
1364
1364
|
</file>
|
|
1365
1365
|
<file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
|
|
1366
|
-
<metrics statements="
|
|
1366
|
+
<metrics statements="153" coveredstatements="94" conditionals="95" coveredconditionals="38" methods="33" coveredmethods="18"/>
|
|
1367
1367
|
<line num="1" count="40" type="stmt"/>
|
|
1368
1368
|
<line num="2" count="40" type="stmt"/>
|
|
1369
1369
|
<line num="3" count="40" type="stmt"/>
|
|
@@ -1474,48 +1474,49 @@
|
|
|
1474
1474
|
<line num="240" count="1" type="stmt"/>
|
|
1475
1475
|
<line num="244" count="1" type="stmt"/>
|
|
1476
1476
|
<line num="245" count="1" type="stmt"/>
|
|
1477
|
+
<line num="246" count="1" type="stmt"/>
|
|
1478
|
+
<line num="247" count="1" type="stmt"/>
|
|
1477
1479
|
<line num="248" count="1" type="stmt"/>
|
|
1478
|
-
<line num="249" count="1" type="stmt"/>
|
|
1479
1480
|
<line num="259" count="40" type="stmt"/>
|
|
1480
1481
|
<line num="260" count="1" type="stmt"/>
|
|
1481
|
-
<line num="
|
|
1482
|
-
<line num="
|
|
1483
|
-
<line num="
|
|
1484
|
-
<line num="270" count="1" type="stmt"/>
|
|
1485
|
-
<line num="272" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1482
|
+
<line num="267" count="1" type="stmt"/>
|
|
1483
|
+
<line num="269" count="1" type="stmt"/>
|
|
1484
|
+
<line num="272" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1486
1485
|
<line num="273" count="1" type="stmt"/>
|
|
1487
|
-
<line num="275" count="1" type="
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="
|
|
1490
|
-
<line num="
|
|
1491
|
-
<line num="
|
|
1492
|
-
<line num="
|
|
1493
|
-
<line num="300" count="1" type="
|
|
1494
|
-
<line num="301" count="
|
|
1495
|
-
<line num="
|
|
1496
|
-
<line num="304" count="1" type="
|
|
1497
|
-
<line num="
|
|
1498
|
-
<line num="
|
|
1486
|
+
<line num="275" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1487
|
+
<line num="276" count="1" type="stmt"/>
|
|
1488
|
+
<line num="278" count="1" type="stmt"/>
|
|
1489
|
+
<line num="297" count="40" type="stmt"/>
|
|
1490
|
+
<line num="298" count="1" type="stmt"/>
|
|
1491
|
+
<line num="299" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
1492
|
+
<line num="300" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1493
|
+
<line num="301" count="0" type="stmt"/>
|
|
1494
|
+
<line num="303" count="1" type="stmt"/>
|
|
1495
|
+
<line num="304" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1496
|
+
<line num="305" count="0" type="stmt"/>
|
|
1497
|
+
<line num="307" count="1" type="stmt"/>
|
|
1499
1498
|
<line num="316" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1500
|
-
<line num="317" count="
|
|
1501
|
-
<line num="319" count="
|
|
1502
|
-
<line num="
|
|
1503
|
-
<line num="
|
|
1504
|
-
<line num="
|
|
1505
|
-
<line num="
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="347" count="0" type="
|
|
1499
|
+
<line num="317" count="0" type="stmt"/>
|
|
1500
|
+
<line num="319" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1501
|
+
<line num="320" count="1" type="stmt"/>
|
|
1502
|
+
<line num="322" count="0" type="stmt"/>
|
|
1503
|
+
<line num="327" count="0" type="stmt"/>
|
|
1504
|
+
<line num="345" count="40" type="stmt"/>
|
|
1505
|
+
<line num="346" count="0" type="stmt"/>
|
|
1506
|
+
<line num="347" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
1508
1507
|
<line num="348" count="0" type="stmt"/>
|
|
1509
|
-
<line num="
|
|
1510
|
-
<line num="
|
|
1511
|
-
<line num="
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="392" count="1" type="
|
|
1508
|
+
<line num="350" count="0" type="stmt"/>
|
|
1509
|
+
<line num="351" count="0" type="stmt"/>
|
|
1510
|
+
<line num="357" count="0" type="stmt"/>
|
|
1511
|
+
<line num="364" count="0" type="stmt"/>
|
|
1512
|
+
<line num="369" count="0" type="stmt"/>
|
|
1513
|
+
<line num="390" count="40" type="stmt"/>
|
|
1514
|
+
<line num="391" count="1" type="stmt"/>
|
|
1515
|
+
<line num="392" count="1" type="cond" truecount="2" falsecount="3"/>
|
|
1517
1516
|
<line num="393" count="1" type="stmt"/>
|
|
1518
|
-
<line num="
|
|
1517
|
+
<line num="395" count="1" type="stmt"/>
|
|
1518
|
+
<line num="396" count="1" type="stmt"/>
|
|
1519
|
+
<line num="397" count="1" type="stmt"/>
|
|
1519
1520
|
</file>
|
|
1520
1521
|
<file name="staticFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/staticFormula.js">
|
|
1521
1522
|
<metrics statements="63" coveredstatements="23" conditionals="31" coveredconditionals="5" methods="6" coveredmethods="2"/>
|
|
@@ -2911,25 +2912,25 @@
|
|
|
2911
2912
|
<line num="23" count="48" type="stmt"/>
|
|
2912
2913
|
<line num="32" count="48" type="stmt"/>
|
|
2913
2914
|
<line num="48" count="48" type="stmt"/>
|
|
2914
|
-
<line num="54" count="48" type="stmt"/>
|
|
2915
|
-
<line num="55" count="96" type="cond" truecount="1" falsecount="1"/>
|
|
2916
2915
|
<line num="58" count="48" type="stmt"/>
|
|
2917
|
-
<line num="
|
|
2918
|
-
<line num="
|
|
2919
|
-
<line num="
|
|
2920
|
-
<line num="
|
|
2916
|
+
<line num="59" count="96" type="cond" truecount="1" falsecount="1"/>
|
|
2917
|
+
<line num="62" count="48" type="stmt"/>
|
|
2918
|
+
<line num="68" count="48" type="stmt"/>
|
|
2919
|
+
<line num="73" count="48" type="stmt"/>
|
|
2920
|
+
<line num="79" count="48" type="stmt"/>
|
|
2921
2921
|
<line num="90" count="48" type="stmt"/>
|
|
2922
|
-
<line num="
|
|
2923
|
-
<line num="
|
|
2924
|
-
<line num="
|
|
2925
|
-
<line num="
|
|
2926
|
-
<line num="
|
|
2927
|
-
<line num="
|
|
2928
|
-
<line num="
|
|
2929
|
-
<line num="
|
|
2930
|
-
<line num="
|
|
2922
|
+
<line num="94" count="48" type="stmt"/>
|
|
2923
|
+
<line num="99" count="48" type="stmt"/>
|
|
2924
|
+
<line num="161" count="48" type="stmt"/>
|
|
2925
|
+
<line num="169" count="48" type="stmt"/>
|
|
2926
|
+
<line num="177" count="48" type="stmt"/>
|
|
2927
|
+
<line num="178" count="48" type="stmt"/>
|
|
2928
|
+
<line num="185" count="48" type="stmt"/>
|
|
2929
|
+
<line num="190" count="48" type="stmt"/>
|
|
2930
|
+
<line num="196" count="48" type="stmt"/>
|
|
2931
2931
|
<line num="201" count="48" type="stmt"/>
|
|
2932
|
-
<line num="
|
|
2932
|
+
<line num="205" count="48" type="stmt"/>
|
|
2933
|
+
<line num="212" count="48" type="stmt"/>
|
|
2933
2934
|
</file>
|
|
2934
2935
|
<file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
|
|
2935
2936
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|