@budibase/server 1.0.190 → 1.0.192-alpha.0
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.bb5e3dfd.css → index.8a6f249b.css} +2 -2
- package/builder/assets/index.e9d6bfd0.js +1315 -0
- package/builder/assets/{vendor.5240f480.js → vendor.9bf2fcb4.js} +53 -53
- package/builder/index.html +3 -3
- package/coverage/clover.xml +96 -83
- 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 +12 -9
- 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 +5 -2
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +10 -7
- 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 +43 -10
- 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 +11 -32
- 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 +168 -142
- package/dist/api/controllers/templates.js +2 -1
- 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 +1 -0
- package/dist/automations/steps/sendSmtpEmail.js +1 -0
- package/dist/environment.js +9 -13
- package/dist/middleware/builder.js +9 -2
- 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 +0 -6
- package/dist/utilities/queue/inMemoryQueue.js +8 -0
- package/dist/utilities/redis.js +1 -1
- package/package.json +6 -6
- package/scripts/likeCypress.ts +0 -1
- package/src/api/controllers/templates.js +2 -1
- 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 +1 -0
- package/src/automations/steps/sendSmtpEmail.js +1 -0
- package/src/environment.js +9 -13
- package/src/middleware/builder.js +13 -2
- package/src/threads/index.ts +22 -0
- package/src/utilities/budibaseDir.js +0 -7
- package/src/utilities/queue/inMemoryQueue.js +7 -0
- package/src/utilities/redis.js +2 -0
- package/builder/assets/index.478109df.js +0 -1299
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.e9d6bfd0.js"></script>
|
|
14
|
+
<link rel="modulepreload" href="/builder/assets/vendor.9bf2fcb4.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.8a6f249b.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="1654073807175" clover="3.2.0">
|
|
3
|
+
<project timestamp="1654073807175" name="All files">
|
|
4
|
+
<metrics statements="4176" coveredstatements="3003" conditionals="1725" coveredconditionals="890" methods="613" coveredmethods="433" elements="6514" coveredelements="4326" complexity="0" loc="4176" ncloc="4176" 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="906" coveredstatements="622" conditionals="287" coveredconditionals="124" 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,22 +811,23 @@
|
|
|
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="16" coveredstatements="13" conditionals="6" coveredconditionals="4" 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="3" count="24" type="stmt"/>
|
|
818
|
+
<line num="7" count="24" type="stmt"/>
|
|
819
|
+
<line num="9" count="24" type="stmt"/>
|
|
820
|
+
<line num="10" 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="stmt"/>
|
|
824
|
+
<line num="15" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
825
|
+
<line num="16" count="0" type="stmt"/>
|
|
826
|
+
<line num="19" count="0" type="stmt"/>
|
|
827
|
+
<line num="22" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
826
828
|
<line num="23" count="1" type="stmt"/>
|
|
827
|
-
<line num="
|
|
829
|
+
<line num="24" count="1" type="stmt"/>
|
|
830
|
+
<line num="26" count="0" type="stmt"/>
|
|
828
831
|
</file>
|
|
829
832
|
<file name="user.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/user.js">
|
|
830
833
|
<metrics statements="120" coveredstatements="38" conditionals="37" coveredconditionals="0" methods="17" coveredmethods="5"/>
|
|
@@ -1917,9 +1920,9 @@
|
|
|
1917
1920
|
</file>
|
|
1918
1921
|
</package>
|
|
1919
1922
|
<package name="api.controllers.view">
|
|
1920
|
-
<metrics statements="201" coveredstatements="153" conditionals="
|
|
1923
|
+
<metrics statements="201" coveredstatements="153" conditionals="91" coveredconditionals="60" methods="26" coveredmethods="20"/>
|
|
1921
1924
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
1922
|
-
<metrics statements="11" coveredstatements="11" conditionals="
|
|
1925
|
+
<metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
1923
1926
|
<line num="1" count="41" type="stmt"/>
|
|
1924
1927
|
<line num="2" count="2" type="stmt"/>
|
|
1925
1928
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -2442,7 +2445,7 @@
|
|
|
2442
2445
|
</file>
|
|
2443
2446
|
</package>
|
|
2444
2447
|
<package name="automations">
|
|
2445
|
-
<metrics statements="
|
|
2448
|
+
<metrics statements="159" coveredstatements="129" conditionals="64" coveredconditionals="47" methods="21" coveredmethods="15"/>
|
|
2446
2449
|
<file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
|
|
2447
2450
|
<metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
|
|
2448
2451
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2520,7 +2523,7 @@
|
|
|
2520
2523
|
<line num="99" count="0" type="stmt"/>
|
|
2521
2524
|
</file>
|
|
2522
2525
|
<file name="bullboard.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/bullboard.js">
|
|
2523
|
-
<metrics statements="
|
|
2526
|
+
<metrics statements="33" coveredstatements="20" conditionals="8" coveredconditionals="4" methods="4" coveredmethods="1"/>
|
|
2524
2527
|
<line num="1" count="40" type="stmt"/>
|
|
2525
2528
|
<line num="2" count="40" type="stmt"/>
|
|
2526
2529
|
<line num="3" count="40" type="stmt"/>
|
|
@@ -2549,9 +2552,14 @@
|
|
|
2549
2552
|
<line num="44" count="0" type="stmt"/>
|
|
2550
2553
|
<line num="45" count="0" type="stmt"/>
|
|
2551
2554
|
<line num="48" count="40" type="stmt"/>
|
|
2555
|
+
<line num="49" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2556
|
+
<line num="50" count="1" type="stmt"/>
|
|
2557
|
+
<line num="51" count="1" type="stmt"/>
|
|
2558
|
+
<line num="52" count="1" type="stmt"/>
|
|
2559
|
+
<line num="56" count="40" type="stmt"/>
|
|
2552
2560
|
</file>
|
|
2553
2561
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/index.js">
|
|
2554
|
-
<metrics statements="
|
|
2562
|
+
<metrics statements="10" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="3"/>
|
|
2555
2563
|
<line num="1" count="25" type="stmt"/>
|
|
2556
2564
|
<line num="2" count="25" type="stmt"/>
|
|
2557
2565
|
<line num="7" count="25" type="stmt"/>
|
|
@@ -2559,7 +2567,9 @@
|
|
|
2559
2567
|
<line num="10" count="8" type="stmt"/>
|
|
2560
2568
|
<line num="14" count="25" type="stmt"/>
|
|
2561
2569
|
<line num="15" count="0" type="stmt"/>
|
|
2562
|
-
<line num="
|
|
2570
|
+
<line num="18" count="25" type="stmt"/>
|
|
2571
|
+
<line num="19" count="1" type="stmt"/>
|
|
2572
|
+
<line num="22" count="25" type="stmt"/>
|
|
2563
2573
|
</file>
|
|
2564
2574
|
<file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
|
|
2565
2575
|
<metrics statements="46" coveredstatements="44" conditionals="25" coveredconditionals="21" methods="8" coveredmethods="8"/>
|
|
@@ -2612,7 +2622,7 @@
|
|
|
2612
2622
|
</file>
|
|
2613
2623
|
</package>
|
|
2614
2624
|
<package name="automations.steps">
|
|
2615
|
-
<metrics statements="
|
|
2625
|
+
<metrics statements="212" coveredstatements="148" conditionals="82" coveredconditionals="52" methods="18" coveredmethods="9"/>
|
|
2616
2626
|
<file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
|
|
2617
2627
|
<metrics statements="17" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2618
2628
|
<line num="1" count="41" type="stmt"/>
|
|
@@ -2772,24 +2782,24 @@
|
|
|
2772
2782
|
<line num="7" count="41" type="stmt"/>
|
|
2773
2783
|
<line num="12" count="41" type="stmt"/>
|
|
2774
2784
|
<line num="17" count="41" type="stmt"/>
|
|
2775
|
-
<line num="
|
|
2776
|
-
<line num="80" count="1" type="stmt"/>
|
|
2785
|
+
<line num="76" count="1" type="stmt"/>
|
|
2777
2786
|
<line num="81" count="1" type="stmt"/>
|
|
2778
|
-
<line num="
|
|
2779
|
-
<line num="85" count="
|
|
2787
|
+
<line num="82" count="1" type="stmt"/>
|
|
2788
|
+
<line num="85" count="41" 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="stmt"/>
|
|
2792
|
+
<line num="89" count="1" type="cond" truecount="5" falsecount="1"/>
|
|
2784
2793
|
<line num="90" count="1" type="stmt"/>
|
|
2785
|
-
<line num="
|
|
2786
|
-
<line num="
|
|
2794
|
+
<line num="91" count="1" type="stmt"/>
|
|
2795
|
+
<line num="94" 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="
|
|
2798
|
+
<line num="108" count="1" type="stmt"/>
|
|
2799
|
+
<line num="113" count="0" type="stmt"/>
|
|
2790
2800
|
</file>
|
|
2791
2801
|
<file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
|
|
2792
|
-
<metrics statements="
|
|
2802
|
+
<metrics statements="12" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
2793
2803
|
<line num="1" count="41" type="stmt"/>
|
|
2794
2804
|
<line num="2" count="41" type="stmt"/>
|
|
2795
2805
|
<line num="4" count="41" type="stmt"/>
|
|
@@ -2797,10 +2807,11 @@
|
|
|
2797
2807
|
<line num="52" count="0" type="stmt"/>
|
|
2798
2808
|
<line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2799
2809
|
<line num="54" count="0" type="stmt"/>
|
|
2800
|
-
<line num="56" count="0" type="
|
|
2810
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2801
2811
|
<line num="57" count="0" type="stmt"/>
|
|
2802
2812
|
<line num="58" count="0" type="stmt"/>
|
|
2803
|
-
<line num="
|
|
2813
|
+
<line num="59" count="0" type="stmt"/>
|
|
2814
|
+
<line num="64" count="0" type="stmt"/>
|
|
2804
2815
|
</file>
|
|
2805
2816
|
<file name="serverLog.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/serverLog.js">
|
|
2806
2817
|
<metrics statements="4" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -3059,10 +3070,10 @@
|
|
|
3059
3070
|
<line num="188" count="54" type="stmt"/>
|
|
3060
3071
|
<line num="189" count="193" type="stmt"/>
|
|
3061
3072
|
<line num="195" count="54" type="stmt"/>
|
|
3062
|
-
<line num="196" count="
|
|
3063
|
-
<line num="197" count="
|
|
3073
|
+
<line num="196" count="3" type="stmt"/>
|
|
3074
|
+
<line num="197" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
3064
3075
|
<line num="198" count="1" type="stmt"/>
|
|
3065
|
-
<line num="200" count="
|
|
3076
|
+
<line num="200" count="2" type="stmt"/>
|
|
3066
3077
|
<line num="206" count="54" type="cond" truecount="0" falsecount="2"/>
|
|
3067
3078
|
<line num="207" count="225" type="stmt"/>
|
|
3068
3079
|
<line num="214" count="54" type="stmt"/>
|
|
@@ -3478,7 +3489,7 @@
|
|
|
3478
3489
|
</file>
|
|
3479
3490
|
</package>
|
|
3480
3491
|
<package name="middleware">
|
|
3481
|
-
<metrics statements="
|
|
3492
|
+
<metrics statements="180" coveredstatements="154" conditionals="123" coveredconditionals="94" methods="25" coveredmethods="25"/>
|
|
3482
3493
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3483
3494
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3484
3495
|
<line num="1" count="24" type="stmt"/>
|
|
@@ -3493,7 +3504,7 @@
|
|
|
3493
3504
|
<line num="18" count="7" type="stmt"/>
|
|
3494
3505
|
</file>
|
|
3495
3506
|
<file name="builder.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/builder.js">
|
|
3496
|
-
<metrics statements="
|
|
3507
|
+
<metrics statements="42" coveredstatements="37" conditionals="28" coveredconditionals="22" methods="4" coveredmethods="4"/>
|
|
3497
3508
|
<line num="1" count="25" type="stmt"/>
|
|
3498
3509
|
<line num="7" count="25" type="stmt"/>
|
|
3499
3510
|
<line num="8" count="25" type="stmt"/>
|
|
@@ -3515,21 +3526,27 @@
|
|
|
3515
3526
|
<line num="51" count="1" type="stmt"/>
|
|
3516
3527
|
<line num="52" count="1" type="stmt"/>
|
|
3517
3528
|
<line num="53" count="1" type="stmt"/>
|
|
3518
|
-
<line num="54" count="1" type="stmt"/>
|
|
3519
3529
|
<line num="55" count="1" type="stmt"/>
|
|
3520
|
-
<line num="
|
|
3530
|
+
<line num="57" count="1" type="stmt"/>
|
|
3521
3531
|
<line num="58" count="1" type="stmt"/>
|
|
3522
|
-
<line num="
|
|
3523
|
-
<line num="
|
|
3524
|
-
<line num="65" count="
|
|
3525
|
-
<line num="66" count="
|
|
3526
|
-
<line num="68" count="
|
|
3527
|
-
<line num="69" count="
|
|
3528
|
-
<line num="
|
|
3529
|
-
<line num="72" count="176" type="
|
|
3530
|
-
<line num="
|
|
3531
|
-
<line num="
|
|
3532
|
-
<line num="
|
|
3532
|
+
<line num="59" count="1" type="stmt"/>
|
|
3533
|
+
<line num="61" count="1" type="stmt"/>
|
|
3534
|
+
<line num="65" count="25" type="stmt"/>
|
|
3535
|
+
<line num="66" count="181" type="stmt"/>
|
|
3536
|
+
<line num="68" count="181" type="cond" truecount="2" falsecount="0"/>
|
|
3537
|
+
<line num="69" count="5" type="stmt"/>
|
|
3538
|
+
<line num="71" count="176" type="stmt"/>
|
|
3539
|
+
<line num="72" count="176" type="stmt"/>
|
|
3540
|
+
<line num="74" count="176" type="stmt"/>
|
|
3541
|
+
<line num="75" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3542
|
+
<line num="76" count="176" type="cond" truecount="1" falsecount="1"/>
|
|
3543
|
+
<line num="77" count="0" type="stmt"/>
|
|
3544
|
+
<line num="80" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3545
|
+
<line num="81" count="176" type="cond" truecount="2" falsecount="0"/>
|
|
3546
|
+
<line num="83" count="176" type="cond" truecount="4" falsecount="0"/>
|
|
3547
|
+
<line num="84" count="175" type="stmt"/>
|
|
3548
|
+
<line num="87" count="1" type="stmt"/>
|
|
3549
|
+
<line num="89" count="1" type="stmt"/>
|
|
3533
3550
|
</file>
|
|
3534
3551
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3535
3552
|
<metrics statements="63" coveredstatements="50" conditionals="55" coveredconditionals="44" methods="2" coveredmethods="2"/>
|
|
@@ -3990,16 +4007,11 @@
|
|
|
3990
4007
|
</file>
|
|
3991
4008
|
</package>
|
|
3992
4009
|
<package name="utilities">
|
|
3993
|
-
<metrics statements="
|
|
4010
|
+
<metrics statements="336" coveredstatements="245" conditionals="141" coveredconditionals="85" methods="65" coveredmethods="45"/>
|
|
3994
4011
|
<file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
|
|
3995
|
-
<metrics statements="
|
|
4012
|
+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
3996
4013
|
<line num="1" count="42" type="stmt"/>
|
|
3997
|
-
<line num="2" count="42" type="stmt"/>
|
|
3998
4014
|
<line num="3" count="42" type="stmt"/>
|
|
3999
|
-
<line num="4" count="42" type="stmt"/>
|
|
4000
|
-
<line num="6" count="42" type="stmt"/>
|
|
4001
|
-
<line num="7" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
4002
|
-
<line num="10" count="42" type="stmt"/>
|
|
4003
4015
|
</file>
|
|
4004
4016
|
<file name="centralPath.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/centralPath.js">
|
|
4005
4017
|
<metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
@@ -4364,9 +4376,9 @@
|
|
|
4364
4376
|
</file>
|
|
4365
4377
|
</package>
|
|
4366
4378
|
<package name="utilities.queue">
|
|
4367
|
-
<metrics statements="
|
|
4379
|
+
<metrics statements="22" coveredstatements="19" conditionals="7" coveredconditionals="4" methods="10" coveredmethods="7"/>
|
|
4368
4380
|
<file name="inMemoryQueue.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/queue/inMemoryQueue.js">
|
|
4369
|
-
<metrics statements="
|
|
4381
|
+
<metrics statements="22" coveredstatements="19" conditionals="7" coveredconditionals="4" methods="10" coveredmethods="7"/>
|
|
4370
4382
|
<line num="1" count="40" type="stmt"/>
|
|
4371
4383
|
<line num="13" count="8" type="stmt"/>
|
|
4372
4384
|
<line num="33" count="40" type="stmt"/>
|
|
@@ -4384,10 +4396,11 @@
|
|
|
4384
4396
|
<line num="72" count="0" type="stmt"/>
|
|
4385
4397
|
<line num="74" count="8" type="stmt"/>
|
|
4386
4398
|
<line num="75" count="8" type="stmt"/>
|
|
4387
|
-
<line num="
|
|
4388
|
-
<line num="91" count="
|
|
4389
|
-
<line num="
|
|
4390
|
-
<line num="
|
|
4399
|
+
<line num="82" count="1" type="stmt"/>
|
|
4400
|
+
<line num="91" count="0" type="stmt"/>
|
|
4401
|
+
<line num="98" count="205" type="stmt"/>
|
|
4402
|
+
<line num="110" count="0" type="stmt"/>
|
|
4403
|
+
<line num="114" count="40" type="stmt"/>
|
|
4391
4404
|
</file>
|
|
4392
4405
|
</package>
|
|
4393
4406
|
<package name="utilities.routing">
|