@budibase/server 1.0.190-alpha.0 → 1.0.191
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.8a6f249b.css → index.bb5e3dfd.css} +2 -2
- package/builder/assets/index.dae59da9.js +1299 -0
- package/builder/assets/{vendor.9bf2fcb4.js → vendor.5240f480.js} +53 -53
- package/builder/index.html +3 -3
- package/coverage/clover.xml +93 -86
- package/coverage/coverage-final.json +11 -11
- 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 +15 -15
- 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 +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/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 +9 -12
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +3 -3
- package/coverage/lcov-report/api/controllers/view/index.html +4 -4
- 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 +10 -10
- package/coverage/lcov-report/api/index.js.html +13 -7
- 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 +33 -9
- package/coverage/lcov-report/automations/index.html +26 -26
- package/coverage/lcov-report/automations/index.js.html +24 -9
- 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 +14 -14
- 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 +2 -5
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +7 -10
- 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 +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/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 +4 -4
- 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 +65 -65
- 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 +10 -43
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +14 -14
- 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/budibaseDir.js.html +32 -11
- 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 +19 -19
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +29 -8
- package/coverage/lcov-report/utilities/queue/index.html +15 -15
- 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 +160 -150
- package/dist/api/controllers/templates.js +1 -2
- package/dist/api/controllers/view/exporters.js +1 -1
- package/dist/api/index.js +3 -1
- package/dist/api/routes/public/index.js +11 -1
- package/dist/app.js +24 -4
- package/dist/automations/bullboard.js +7 -0
- package/dist/automations/index.js +4 -1
- package/dist/automations/steps/queryRows.js +0 -1
- package/dist/automations/steps/sendSmtpEmail.js +0 -1
- package/dist/environment.js +13 -9
- package/dist/middleware/builder.js +2 -9
- package/dist/package.json +5 -5
- package/dist/threads/index.js +20 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utilities/budibaseDir.js +6 -0
- package/dist/utilities/queue/inMemoryQueue.js +8 -0
- package/dist/utilities/redis.js +1 -1
- package/package.json +6 -6
- package/scripts/likeCypress.ts +1 -0
- package/src/api/controllers/templates.js +1 -2
- package/src/api/controllers/view/exporters.js +1 -1
- package/src/api/index.js +3 -1
- package/src/api/routes/public/index.ts +10 -1
- package/src/app.ts +25 -4
- package/src/automations/bullboard.js +8 -0
- package/src/automations/index.js +6 -1
- package/src/automations/steps/queryRows.js +0 -1
- package/src/automations/steps/sendSmtpEmail.js +0 -1
- package/src/environment.js +13 -9
- package/src/middleware/builder.js +2 -13
- package/src/threads/index.ts +22 -0
- package/src/utilities/budibaseDir.js +7 -0
- package/src/utilities/queue/inMemoryQueue.js +7 -0
- package/src/utilities/redis.js +0 -2
- package/builder/assets/index.93c381f8.js +0 -1315
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.
|
|
14
|
-
<link rel="modulepreload" href="/builder/assets/vendor.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.dae59da9.js"></script>
|
|
14
|
+
<link rel="modulepreload" href="/builder/assets/vendor.5240f480.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.bb5e3dfd.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body id="app">
|
|
19
19
|
|
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1654005454208" clover="3.2.0">
|
|
3
|
+
<project timestamp="1654005454208" name="All files">
|
|
4
|
+
<metrics statements="4173" coveredstatements="3001" conditionals="1718" coveredconditionals="885" methods="614" coveredmethods="433" elements="6505" coveredelements="4319" complexity="0" loc="4173" ncloc="4173" packages="23" files="130" classes="130"/>
|
|
5
5
|
<package name="api">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="35" coveredstatements="33" 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">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="35" coveredstatements="33" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
9
9
|
<line num="1" count="24" type="stmt"/>
|
|
10
10
|
<line num="6" count="24" type="stmt"/>
|
|
11
11
|
<line num="7" count="24" type="stmt"/>
|
|
@@ -16,33 +16,35 @@
|
|
|
16
16
|
<line num="12" count="24" type="stmt"/>
|
|
17
17
|
<line num="13" count="24" type="stmt"/>
|
|
18
18
|
<line num="14" count="24" type="stmt"/>
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
19
|
+
<line num="15" count="24" type="stmt"/>
|
|
20
|
+
<line num="17" count="24" type="stmt"/>
|
|
21
21
|
<line num="19" count="24" type="stmt"/>
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="62" count="
|
|
22
|
+
<line num="20" count="24" type="stmt"/>
|
|
23
|
+
<line num="22" count="24" type="stmt"/>
|
|
24
|
+
<line num="36" count="188" type="stmt"/>
|
|
25
|
+
<line num="40" count="188" type="stmt"/>
|
|
26
|
+
<line num="62" count="24" type="stmt"/>
|
|
27
27
|
<line num="63" count="186" type="stmt"/>
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="66" count="39" type="
|
|
28
|
+
<line num="64" count="186" type="stmt"/>
|
|
29
|
+
<line num="66" count="39" type="cond" truecount="1" falsecount="2"/>
|
|
30
30
|
<line num="67" count="39" type="stmt"/>
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="74" count="
|
|
31
|
+
<line num="68" count="39" type="stmt"/>
|
|
32
|
+
<line num="74" count="39" type="cond" truecount="1" falsecount="1"/>
|
|
33
33
|
<line num="75" count="0" type="stmt"/>
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="82" count="
|
|
34
|
+
<line num="76" count="0" type="stmt"/>
|
|
35
|
+
<line num="82" count="24" type="stmt"/>
|
|
36
36
|
<line num="83" count="624" type="stmt"/>
|
|
37
|
-
<line num="
|
|
37
|
+
<line num="84" count="624" type="stmt"/>
|
|
38
38
|
<line num="87" count="24" type="stmt"/>
|
|
39
|
-
<line num="
|
|
39
|
+
<line num="88" count="24" type="stmt"/>
|
|
40
40
|
<line num="91" count="24" type="stmt"/>
|
|
41
|
-
<line num="
|
|
41
|
+
<line num="92" count="24" type="stmt"/>
|
|
42
|
+
<line num="94" count="24" type="stmt"/>
|
|
43
|
+
<line num="95" count="24" type="stmt"/>
|
|
42
44
|
</file>
|
|
43
45
|
</package>
|
|
44
46
|
<package name="api.controllers">
|
|
45
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="905" coveredstatements="621" conditionals="288" coveredconditionals="125" methods="130" coveredmethods="85"/>
|
|
46
48
|
<file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
|
|
47
49
|
<metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
|
|
48
50
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -809,23 +811,22 @@
|
|
|
809
811
|
<line num="10" count="0" type="stmt"/>
|
|
810
812
|
</file>
|
|
811
813
|
<file name="templates.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/templates.js">
|
|
812
|
-
<metrics statements="
|
|
814
|
+
<metrics statements="15" coveredstatements="12" conditionals="7" coveredconditionals="5" methods="1" coveredmethods="1"/>
|
|
813
815
|
<line num="1" count="24" type="stmt"/>
|
|
814
816
|
<line num="2" count="24" type="stmt"/>
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="9" count="
|
|
818
|
-
<line num="
|
|
817
|
+
<line num="6" count="24" type="stmt"/>
|
|
818
|
+
<line num="8" count="24" type="stmt"/>
|
|
819
|
+
<line num="9" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
820
|
+
<line num="11" count="1" type="stmt"/>
|
|
819
821
|
<line num="12" count="1" type="stmt"/>
|
|
820
822
|
<line num="13" count="1" type="stmt"/>
|
|
821
|
-
<line num="14" count="1" type="
|
|
822
|
-
<line num="15" count="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="22" count="1" type="
|
|
823
|
+
<line num="14" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
824
|
+
<line num="15" count="0" type="stmt"/>
|
|
825
|
+
<line num="18" count="0" type="stmt"/>
|
|
826
|
+
<line num="21" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
827
|
+
<line num="22" count="1" type="stmt"/>
|
|
826
828
|
<line num="23" count="1" type="stmt"/>
|
|
827
|
-
<line num="
|
|
828
|
-
<line num="26" count="0" type="stmt"/>
|
|
829
|
+
<line num="25" count="0" type="stmt"/>
|
|
829
830
|
</file>
|
|
830
831
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
831
832
|
<metrics statements="120" coveredstatements="38" conditionals="37" coveredconditionals="0" methods="17" coveredmethods="5"/>
|
|
@@ -1918,9 +1919,9 @@
|
|
|
1918
1919
|
</file>
|
|
1919
1920
|
</package>
|
|
1920
1921
|
<package name="api.controllers.view">
|
|
1921
|
-
<metrics statements="201" coveredstatements="153" conditionals="
|
|
1922
|
+
<metrics statements="201" coveredstatements="153" conditionals="89" coveredconditionals="59" methods="26" coveredmethods="20"/>
|
|
1922
1923
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
1923
|
-
<metrics statements="11" coveredstatements="11" conditionals="
|
|
1924
|
+
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
1924
1925
|
<line num="1" count="41" type="stmt"/>
|
|
1925
1926
|
<line num="2" count="2" type="stmt"/>
|
|
1926
1927
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -2443,7 +2444,7 @@
|
|
|
2443
2444
|
</file>
|
|
2444
2445
|
</package>
|
|
2445
2446
|
<package name="automations">
|
|
2446
|
-
<metrics statements="
|
|
2447
|
+
<metrics statements="159" coveredstatements="129" conditionals="64" coveredconditionals="47" methods="21" coveredmethods="15"/>
|
|
2447
2448
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2448
2449
|
<metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2449
2450
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2521,7 +2522,7 @@
|
|
|
2521
2522
|
<line num="99" count="0" type="stmt"/>
|
|
2522
2523
|
</file>
|
|
2523
2524
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2524
|
-
<metrics statements="
|
|
2525
|
+
<metrics statements="33" coveredstatements="20" conditionals="8" coveredconditionals="4" methods="4" coveredmethods="1"/>
|
|
2525
2526
|
<line num="1" count="40" type="stmt"/>
|
|
2526
2527
|
<line num="2" count="40" type="stmt"/>
|
|
2527
2528
|
<line num="3" count="40" type="stmt"/>
|
|
@@ -2550,9 +2551,14 @@
|
|
|
2550
2551
|
<line num="44" count="0" type="stmt"/>
|
|
2551
2552
|
<line num="45" count="0" type="stmt"/>
|
|
2552
2553
|
<line num="48" count="40" type="stmt"/>
|
|
2554
|
+
<line num="49" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2555
|
+
<line num="50" count="1" type="stmt"/>
|
|
2556
|
+
<line num="51" count="1" type="stmt"/>
|
|
2557
|
+
<line num="52" count="1" type="stmt"/>
|
|
2558
|
+
<line num="56" count="40" type="stmt"/>
|
|
2553
2559
|
</file>
|
|
2554
2560
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2555
|
-
<metrics statements="
|
|
2561
|
+
<metrics statements="10" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="3"/>
|
|
2556
2562
|
<line num="1" count="25" type="stmt"/>
|
|
2557
2563
|
<line num="2" count="25" type="stmt"/>
|
|
2558
2564
|
<line num="7" count="25" type="stmt"/>
|
|
@@ -2560,7 +2566,9 @@
|
|
|
2560
2566
|
<line num="10" count="8" type="stmt"/>
|
|
2561
2567
|
<line num="14" count="25" type="stmt"/>
|
|
2562
2568
|
<line num="15" count="0" type="stmt"/>
|
|
2563
|
-
<line num="
|
|
2569
|
+
<line num="18" count="25" type="stmt"/>
|
|
2570
|
+
<line num="19" count="1" type="stmt"/>
|
|
2571
|
+
<line num="22" count="25" type="stmt"/>
|
|
2564
2572
|
</file>
|
|
2565
2573
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2566
2574
|
<metrics statements="46" coveredstatements="44" conditionals="25" coveredconditionals="21" methods="8" coveredmethods="8"/>
|
|
@@ -2613,7 +2621,7 @@
|
|
|
2613
2621
|
</file>
|
|
2614
2622
|
</package>
|
|
2615
2623
|
<package name="automations.steps">
|
|
2616
|
-
<metrics statements="
|
|
2624
|
+
<metrics statements="211" coveredstatements="148" conditionals="80" coveredconditionals="52" methods="18" coveredmethods="9"/>
|
|
2617
2625
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
2618
2626
|
<metrics statements="17" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2619
2627
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2773,24 +2781,24 @@
|
|
|
2773
2781
|
<line num="7" count="41" type="stmt"/>
|
|
2774
2782
|
<line num="12" count="41" type="stmt"/>
|
|
2775
2783
|
<line num="17" count="41" type="stmt"/>
|
|
2776
|
-
<line num="
|
|
2784
|
+
<line num="75" count="1" type="stmt"/>
|
|
2785
|
+
<line num="80" count="1" type="stmt"/>
|
|
2777
2786
|
<line num="81" count="1" type="stmt"/>
|
|
2778
|
-
<line num="
|
|
2779
|
-
<line num="85" count="
|
|
2787
|
+
<line num="84" count="41" type="stmt"/>
|
|
2788
|
+
<line num="85" count="1" type="stmt"/>
|
|
2780
2789
|
<line num="86" count="1" type="stmt"/>
|
|
2781
2790
|
<line num="87" count="1" type="stmt"/>
|
|
2782
|
-
<line num="88" count="1" type="
|
|
2783
|
-
<line num="89" count="1" type="
|
|
2791
|
+
<line num="88" count="1" type="cond" truecount="5" falsecount="1"/>
|
|
2792
|
+
<line num="89" count="1" type="stmt"/>
|
|
2784
2793
|
<line num="90" count="1" type="stmt"/>
|
|
2785
|
-
<line num="
|
|
2786
|
-
<line num="
|
|
2794
|
+
<line num="93" count="1" type="stmt"/>
|
|
2795
|
+
<line num="105" count="1" type="stmt"/>
|
|
2787
2796
|
<line num="106" count="1" type="stmt"/>
|
|
2788
2797
|
<line num="107" count="1" type="stmt"/>
|
|
2789
|
-
<line num="
|
|
2790
|
-
<line num="113" count="0" type="stmt"/>
|
|
2798
|
+
<line num="112" count="0" type="stmt"/>
|
|
2791
2799
|
</file>
|
|
2792
2800
|
<file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
|
|
2793
|
-
<metrics statements="
|
|
2801
|
+
<metrics statements="11" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2794
2802
|
<line num="1" count="41" type="stmt"/>
|
|
2795
2803
|
<line num="2" count="41" type="stmt"/>
|
|
2796
2804
|
<line num="4" count="41" type="stmt"/>
|
|
@@ -2798,11 +2806,10 @@
|
|
|
2798
2806
|
<line num="52" count="0" type="stmt"/>
|
|
2799
2807
|
<line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2800
2808
|
<line num="54" count="0" type="stmt"/>
|
|
2801
|
-
<line num="56" count="0" type="
|
|
2809
|
+
<line num="56" count="0" type="stmt"/>
|
|
2802
2810
|
<line num="57" count="0" type="stmt"/>
|
|
2803
2811
|
<line num="58" count="0" type="stmt"/>
|
|
2804
|
-
<line num="
|
|
2805
|
-
<line num="64" count="0" type="stmt"/>
|
|
2812
|
+
<line num="63" count="0" type="stmt"/>
|
|
2806
2813
|
</file>
|
|
2807
2814
|
<file name="serverLog.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/serverLog.js">
|
|
2808
2815
|
<metrics statements="4" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -3061,10 +3068,10 @@
|
|
|
3061
3068
|
<line num="188" count="54" type="stmt"/>
|
|
3062
3069
|
<line num="189" count="193" type="stmt"/>
|
|
3063
3070
|
<line num="195" count="54" type="stmt"/>
|
|
3064
|
-
<line num="196" count="
|
|
3065
|
-
<line num="197" count="
|
|
3071
|
+
<line num="196" count="2" type="stmt"/>
|
|
3072
|
+
<line num="197" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
3066
3073
|
<line num="198" count="1" type="stmt"/>
|
|
3067
|
-
<line num="200" count="
|
|
3074
|
+
<line num="200" count="1" type="stmt"/>
|
|
3068
3075
|
<line num="206" count="54" type="cond" truecount="0" falsecount="2"/>
|
|
3069
3076
|
<line num="207" count="225" type="stmt"/>
|
|
3070
3077
|
<line num="214" count="54" type="stmt"/>
|
|
@@ -3480,7 +3487,7 @@
|
|
|
3480
3487
|
</file>
|
|
3481
3488
|
</package>
|
|
3482
3489
|
<package name="middleware">
|
|
3483
|
-
<metrics statements="
|
|
3490
|
+
<metrics statements="174" coveredstatements="149" conditionals="117" coveredconditionals="89" methods="25" coveredmethods="25"/>
|
|
3484
3491
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3485
3492
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3486
3493
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -3495,7 +3502,7 @@
|
|
|
3495
3502
|
<line num="18" count="7" type="stmt"/>
|
|
3496
3503
|
</file>
|
|
3497
3504
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
3498
|
-
<metrics statements="
|
|
3505
|
+
<metrics statements="36" coveredstatements="32" conditionals="22" coveredconditionals="17" methods="4" coveredmethods="4"/>
|
|
3499
3506
|
<line num="1" count="25" type="stmt"/>
|
|
3500
3507
|
<line num="7" count="25" type="stmt"/>
|
|
3501
3508
|
<line num="8" count="25" type="stmt"/>
|
|
@@ -3517,27 +3524,21 @@
|
|
|
3517
3524
|
<line num="51" count="1" type="stmt"/>
|
|
3518
3525
|
<line num="52" count="1" type="stmt"/>
|
|
3519
3526
|
<line num="53" count="1" type="stmt"/>
|
|
3527
|
+
<line num="54" count="1" type="stmt"/>
|
|
3520
3528
|
<line num="55" count="1" type="stmt"/>
|
|
3521
|
-
<line num="
|
|
3529
|
+
<line num="56" count="1" type="stmt"/>
|
|
3522
3530
|
<line num="58" count="1" type="stmt"/>
|
|
3523
|
-
<line num="
|
|
3524
|
-
<line num="
|
|
3525
|
-
<line num="65" count="
|
|
3526
|
-
<line num="66" count="
|
|
3527
|
-
<line num="68" count="
|
|
3528
|
-
<line num="69" count="
|
|
3529
|
-
<line num="
|
|
3530
|
-
<line num="72" count="176" type="
|
|
3531
|
-
<line num="
|
|
3532
|
-
<line num="
|
|
3533
|
-
<line num="
|
|
3534
|
-
<line num="77" count="0" type="stmt"/>
|
|
3535
|
-
<line num="80" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3536
|
-
<line num="81" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3537
|
-
<line num="83" count="176" type="cond" truecount="4" falsecount="0"/>
|
|
3538
|
-
<line num="84" count="175" type="stmt"/>
|
|
3539
|
-
<line num="87" count="1" type="stmt"/>
|
|
3540
|
-
<line num="89" count="1" type="stmt"/>
|
|
3531
|
+
<line num="62" count="25" type="stmt"/>
|
|
3532
|
+
<line num="63" count="181" type="stmt"/>
|
|
3533
|
+
<line num="65" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
3534
|
+
<line num="66" count="5" type="stmt"/>
|
|
3535
|
+
<line num="68" count="176" type="stmt"/>
|
|
3536
|
+
<line num="69" count="176" type="stmt"/>
|
|
3537
|
+
<line num="70" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3538
|
+
<line num="72" count="176" type="cond" truecount="4" falsecount="0"/>
|
|
3539
|
+
<line num="73" count="175" type="stmt"/>
|
|
3540
|
+
<line num="76" count="1" type="stmt"/>
|
|
3541
|
+
<line num="78" count="1" type="stmt"/>
|
|
3541
3542
|
</file>
|
|
3542
3543
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3543
3544
|
<metrics statements="63" coveredstatements="50" conditionals="55" coveredconditionals="44" methods="2" coveredmethods="2"/>
|
|
@@ -3998,11 +3999,16 @@
|
|
|
3998
3999
|
</file>
|
|
3999
4000
|
</package>
|
|
4000
4001
|
<package name="utilities">
|
|
4001
|
-
<metrics statements="
|
|
4002
|
+
<metrics statements="341" coveredstatements="249" conditionals="143" coveredconditionals="85" methods="66" coveredmethods="45"/>
|
|
4002
4003
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
4003
|
-
<metrics statements="
|
|
4004
|
+
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
4004
4005
|
<line num="1" count="42" type="stmt"/>
|
|
4006
|
+
<line num="2" count="42" type="stmt"/>
|
|
4005
4007
|
<line num="3" count="42" type="stmt"/>
|
|
4008
|
+
<line num="4" count="42" type="stmt"/>
|
|
4009
|
+
<line num="6" count="42" type="stmt"/>
|
|
4010
|
+
<line num="7" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4011
|
+
<line num="10" count="42" type="stmt"/>
|
|
4006
4012
|
</file>
|
|
4007
4013
|
<file name="centralPath.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/centralPath.js">
|
|
4008
4014
|
<metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4367,9 +4373,9 @@
|
|
|
4367
4373
|
</file>
|
|
4368
4374
|
</package>
|
|
4369
4375
|
<package name="utilities.queue">
|
|
4370
|
-
<metrics statements="
|
|
4376
|
+
<metrics statements="22" coveredstatements="19" conditionals="7" coveredconditionals="4" methods="10" coveredmethods="7"/>
|
|
4371
4377
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4372
|
-
<metrics statements="
|
|
4378
|
+
<metrics statements="22" coveredstatements="19" conditionals="7" coveredconditionals="4" methods="10" coveredmethods="7"/>
|
|
4373
4379
|
<line num="1" count="40" type="stmt"/>
|
|
4374
4380
|
<line num="13" count="8" type="stmt"/>
|
|
4375
4381
|
<line num="33" count="40" type="stmt"/>
|
|
@@ -4387,10 +4393,11 @@
|
|
|
4387
4393
|
<line num="72" count="0" type="stmt"/>
|
|
4388
4394
|
<line num="74" count="8" type="stmt"/>
|
|
4389
4395
|
<line num="75" count="8" type="stmt"/>
|
|
4390
|
-
<line num="
|
|
4391
|
-
<line num="91" count="
|
|
4392
|
-
<line num="
|
|
4393
|
-
<line num="
|
|
4396
|
+
<line num="82" count="1" type="stmt"/>
|
|
4397
|
+
<line num="91" count="0" type="stmt"/>
|
|
4398
|
+
<line num="98" count="205" type="stmt"/>
|
|
4399
|
+
<line num="110" count="0" type="stmt"/>
|
|
4400
|
+
<line num="114" count="40" type="stmt"/>
|
|
4394
4401
|
</file>
|
|
4395
4402
|
</package>
|
|
4396
4403
|
<package name="utilities.routing">
|