@budibase/server 1.3.19-alpha.0 → 1.3.19-alpha.1
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.fdade753.js → index.1709d1b3.js} +366 -356
- package/builder/assets/index.8f621053.css +6 -0
- package/builder/index.html +2 -2
- package/coverage/clover.xml +39 -34
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +41 -8
- 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 +17 -17
- 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 +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 +2 -2
- 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 +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 +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +3 -3
- 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 +25 -25
- 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 +14 -8
- package/coverage/lcov-report/middleware/index.html +15 -15
- 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/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 +61 -50
- package/dist/api/controllers/application.js +0 -1
- package/dist/api/controllers/auth.js +9 -0
- package/dist/api/controllers/deploy/index.js +1 -8
- package/dist/api/controllers/plugin/index.js +3 -0
- package/dist/api/index.js +1 -1
- package/dist/middleware/currentapp.js +2 -0
- package/dist/migrations/functions/backfill/global.js +0 -3
- package/dist/migrations/index.js +0 -10
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/scripts/localdomain.js +3 -1
- package/src/api/controllers/application.ts +0 -1
- package/src/api/controllers/auth.js +11 -0
- package/src/api/controllers/deploy/index.ts +1 -6
- package/src/api/controllers/plugin/index.ts +8 -5
- package/src/api/controllers/static/index.ts +0 -1
- package/src/api/index.js +1 -1
- package/src/api/routes/tests/user.spec.js +0 -2
- package/src/middleware/currentapp.js +2 -0
- package/src/migrations/functions/backfill/global.ts +0 -3
- package/src/migrations/index.ts +0 -16
- package/builder/assets/index.3850883f.css +0 -6
- package/dist/migrations/functions/developerQuota.js +0 -49
- package/dist/migrations/functions/publishedAppsQuota.js +0 -47
- package/dist/migrations/functions/usageQuotas/syncDevelopers.js +0 -24
- package/dist/migrations/functions/usageQuotas/syncPublishedApps.js +0 -26
- package/src/migrations/functions/developerQuota.ts +0 -15
- package/src/migrations/functions/publishedAppsQuota.ts +0 -13
- package/src/migrations/functions/usageQuotas/syncDevelopers.ts +0 -19
- package/src/migrations/functions/usageQuotas/syncPublishedApps.ts +0 -21
package/builder/index.html
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
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="stylesheet" href="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.1709d1b3.js"></script>
|
|
14
|
+
<link rel="stylesheet" href="/builder/assets/index.8f621053.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body id="app">
|
|
17
17
|
|
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="1663245923807" clover="3.2.0">
|
|
3
|
+
<project timestamp="1663245923807" name="All files">
|
|
4
|
+
<metrics statements="4215" coveredstatements="3077" conditionals="1788" coveredconditionals="977" methods="628" coveredmethods="440" elements="6631" coveredelements="4494" complexity="0" loc="4215" ncloc="4215" packages="22" files="126" classes="126"/>
|
|
5
5
|
<package name="api">
|
|
6
6
|
<metrics statements="35" coveredstatements="34" 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">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</file>
|
|
45
45
|
</package>
|
|
46
46
|
<package name="api.controllers">
|
|
47
|
-
<metrics statements="
|
|
47
|
+
<metrics statements="1014" coveredstatements="719" conditionals="316" coveredconditionals="143" methods="150" coveredmethods="97"/>
|
|
48
48
|
<file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
|
|
49
49
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
|
|
50
50
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -73,35 +73,39 @@
|
|
|
73
73
|
<line num="46" count="1" type="stmt"/>
|
|
74
74
|
</file>
|
|
75
75
|
<file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
|
|
76
|
-
<metrics statements="
|
|
76
|
+
<metrics statements="32" coveredstatements="27" conditionals="10" coveredconditionals="5" methods="2" coveredmethods="2"/>
|
|
77
77
|
<line num="1" count="28" type="stmt"/>
|
|
78
78
|
<line num="2" count="28" type="stmt"/>
|
|
79
79
|
<line num="3" count="28" type="stmt"/>
|
|
80
80
|
<line num="4" count="28" type="stmt"/>
|
|
81
81
|
<line num="5" count="28" type="stmt"/>
|
|
82
|
-
<line num="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="21" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
88
|
-
<line num="22" count="1" type="stmt"/>
|
|
82
|
+
<line num="10" count="28" type="stmt"/>
|
|
83
|
+
<line num="11" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
84
|
+
<line num="12" count="1" type="stmt"/>
|
|
85
|
+
<line num="16" count="28" type="stmt"/>
|
|
86
|
+
<line num="17" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
89
87
|
<line num="24" count="1" type="stmt"/>
|
|
90
|
-
<line num="25" count="1" type="stmt"/>
|
|
91
88
|
<line num="26" count="1" type="stmt"/>
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="31" count="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
89
|
+
<line num="28" count="1" type="stmt"/>
|
|
90
|
+
<line num="30" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
91
|
+
<line num="31" count="1" type="stmt"/>
|
|
92
|
+
<line num="33" count="1" type="stmt"/>
|
|
93
|
+
<line num="34" count="1" type="stmt"/>
|
|
94
|
+
<line num="35" count="1" type="stmt"/>
|
|
95
|
+
<line num="36" count="1" type="stmt"/>
|
|
96
|
+
<line num="38" count="0" type="stmt"/>
|
|
97
|
+
<line num="40" count="0" type="stmt"/>
|
|
98
|
+
<line num="47" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
99
|
+
<line num="48" count="0" type="stmt"/>
|
|
100
|
+
<line num="51" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
101
|
+
<line num="52" count="1" type="stmt"/>
|
|
102
|
+
<line num="56" count="1" type="stmt"/>
|
|
103
|
+
<line num="57" count="1" type="stmt"/>
|
|
104
|
+
<line num="58" count="1" type="stmt"/>
|
|
105
|
+
<line num="60" count="0" type="stmt"/>
|
|
106
|
+
<line num="62" count="1" type="stmt"/>
|
|
107
|
+
<line num="65" count="0" type="stmt"/>
|
|
108
|
+
<line num="68" count="1" type="stmt"/>
|
|
105
109
|
</file>
|
|
106
110
|
<file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/automation.js">
|
|
107
111
|
<metrics statements="131" coveredstatements="110" conditionals="40" coveredconditionals="25" methods="24" coveredmethods="20"/>
|
|
@@ -3732,8 +3736,8 @@
|
|
|
3732
3736
|
<line num="2" count="44" type="stmt"/>
|
|
3733
3737
|
<line num="3" count="44" type="stmt"/>
|
|
3734
3738
|
<line num="7" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
3735
|
-
<line num="17" count="
|
|
3736
|
-
<line num="18" count="
|
|
3739
|
+
<line num="17" count="7" type="stmt"/>
|
|
3740
|
+
<line num="18" count="7" type="stmt"/>
|
|
3737
3741
|
<line num="25" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
3738
3742
|
<line num="26" count="1" type="stmt"/>
|
|
3739
3743
|
<line num="28" count="4" type="stmt"/>
|
|
@@ -3782,7 +3786,7 @@
|
|
|
3782
3786
|
</file>
|
|
3783
3787
|
</package>
|
|
3784
3788
|
<package name="middleware">
|
|
3785
|
-
<metrics statements="
|
|
3789
|
+
<metrics statements="186" coveredstatements="141" conditionals="127" coveredconditionals="91" methods="25" coveredmethods="21"/>
|
|
3786
3790
|
<file name="appInfo.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/appInfo.js">
|
|
3787
3791
|
<metrics statements="10" coveredstatements="8" conditionals="11" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
3788
3792
|
<line num="1" count="28" type="stmt"/>
|
|
@@ -3842,7 +3846,7 @@
|
|
|
3842
3846
|
<line num="89" count="1" type="stmt"/>
|
|
3843
3847
|
</file>
|
|
3844
3848
|
<file name="currentapp.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/currentapp.js">
|
|
3845
|
-
<metrics statements="
|
|
3849
|
+
<metrics statements="66" coveredstatements="51" conditionals="57" coveredconditionals="46" methods="2" coveredmethods="2"/>
|
|
3846
3850
|
<line num="6" count="33" type="stmt"/>
|
|
3847
3851
|
<line num="7" count="33" type="stmt"/>
|
|
3848
3852
|
<line num="8" count="33" type="stmt"/>
|
|
@@ -3904,10 +3908,11 @@
|
|
|
3904
3908
|
<line num="112" count="239" type="cond" truecount="1" falsecount="1"/>
|
|
3905
3909
|
<line num="113" count="239" type="stmt"/>
|
|
3906
3910
|
<line num="114" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3907
|
-
<line num="115" count="239" type="
|
|
3908
|
-
<line num="
|
|
3909
|
-
<line num="
|
|
3910
|
-
<line num="
|
|
3911
|
+
<line num="115" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3912
|
+
<line num="116" count="239" type="stmt"/>
|
|
3913
|
+
<line num="126" count="239" type="cond" truecount="2" falsecount="0"/>
|
|
3914
|
+
<line num="132" count="10" type="stmt"/>
|
|
3915
|
+
<line num="135" count="239" type="stmt"/>
|
|
3911
3916
|
</file>
|
|
3912
3917
|
<file name="joi-validator.js" path="/home/runner/work/budibase/budibase/packages/server/src/middleware/joi-validator.js">
|
|
3913
3918
|
<metrics statements="20" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="4" coveredmethods="0"/>
|