Merge pull request #2885 from Budibase/develop

develop -> master
This commit is contained in:
Rory Powell 2021-10-04 17:17:17 +01:00 committed by GitHub
commit c6ea05f982
11 changed files with 22 additions and 21 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "0.9.150", "version": "0.9.151-alpha.0",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*" "packages/*"

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/auth", "name": "@budibase/auth",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"description": "Authentication middlewares for budibase builder and apps", "description": "Authentication middlewares for budibase builder and apps",
"main": "src/index.js", "main": "src/index.js",
"author": "Budibase", "author": "Budibase",

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/bbui", "name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.", "description": "A UI solution used in the different Budibase projects.",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"svelte": "src/index.js", "svelte": "src/index.js",
"module": "dist/bbui.es.js", "module": "dist/bbui.es.js",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/builder", "name": "@budibase/builder",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"private": true, "private": true,
"scripts": { "scripts": {
@ -65,10 +65,10 @@
} }
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "^0.9.150", "@budibase/bbui": "^0.9.151-alpha.0",
"@budibase/client": "^0.9.150", "@budibase/client": "^0.9.151-alpha.0",
"@budibase/colorpicker": "1.1.2", "@budibase/colorpicker": "1.1.2",
"@budibase/string-templates": "^0.9.150", "@budibase/string-templates": "^0.9.151-alpha.0",
"@sentry/browser": "5.19.1", "@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1", "@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1", "@spectrum-css/vars": "^3.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/cli", "name": "@budibase/cli",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"description": "Budibase CLI, for developers, self hosting and migrations.", "description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js", "main": "src/index.js",
"bin": { "bin": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/client", "name": "@budibase/client",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"license": "MPL-2.0", "license": "MPL-2.0",
"module": "dist/budibase-client.js", "module": "dist/budibase-client.js",
"main": "dist/budibase-client.js", "main": "dist/budibase-client.js",
@ -19,9 +19,9 @@
"dev:builder": "rollup -cw" "dev:builder": "rollup -cw"
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "^0.9.150", "@budibase/bbui": "^0.9.151-alpha.0",
"@budibase/standard-components": "^0.9.139", "@budibase/standard-components": "^0.9.139",
"@budibase/string-templates": "^0.9.150", "@budibase/string-templates": "^0.9.151-alpha.0",
"regexparam": "^1.3.0", "regexparam": "^1.3.0",
"shortid": "^2.2.15", "shortid": "^2.2.15",
"svelte-spa-router": "^3.0.5" "svelte-spa-router": "^3.0.5"

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/server", "name": "@budibase/server",
"email": "hi@budibase.com", "email": "hi@budibase.com",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"description": "Budibase Web Server", "description": "Budibase Web Server",
"main": "src/index.js", "main": "src/index.js",
"repository": { "repository": {
@ -66,9 +66,9 @@
"author": "Budibase", "author": "Budibase",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@budibase/auth": "^0.9.150", "@budibase/auth": "^0.9.151-alpha.0",
"@budibase/client": "^0.9.150", "@budibase/client": "^0.9.151-alpha.0",
"@budibase/string-templates": "^0.9.150", "@budibase/string-templates": "^0.9.151-alpha.0",
"@elastic/elasticsearch": "7.10.0", "@elastic/elasticsearch": "7.10.0",
"@koa/router": "8.0.0", "@koa/router": "8.0.0",
"@sendgrid/mail": "7.1.1", "@sendgrid/mail": "7.1.1",

View File

@ -58,7 +58,7 @@ exports.update = async (property, usage) => {
// increment the quota // increment the quota
quota.usageQuota[property] += usage quota.usageQuota[property] += usage
if (quota.usageQuota[property] >= quota.usageLimits[property]) { if (quota.usageQuota[property] > quota.usageLimits[property]) {
throw new Error( throw new Error(
`You have exceeded your usage quota of ${quota.usageLimits[property]} ${property}.` `You have exceeded your usage quota of ${quota.usageLimits[property]} ${property}.`
) )

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/string-templates", "name": "@budibase/string-templates",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"description": "Handlebars wrapper for Budibase templating.", "description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs", "main": "src/index.cjs",
"module": "dist/bundle.mjs", "module": "dist/bundle.mjs",

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/worker", "name": "@budibase/worker",
"email": "hi@budibase.com", "email": "hi@budibase.com",
"version": "0.9.150", "version": "0.9.151-alpha.0",
"description": "Budibase background service", "description": "Budibase background service",
"main": "src/index.js", "main": "src/index.js",
"repository": { "repository": {
@ -27,8 +27,8 @@
"author": "Budibase", "author": "Budibase",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@budibase/auth": "^0.9.150", "@budibase/auth": "^0.9.151-alpha.0",
"@budibase/string-templates": "^0.9.150", "@budibase/string-templates": "^0.9.151-alpha.0",
"@koa/router": "^8.0.0", "@koa/router": "^8.0.0",
"@techpass/passport-openidconnect": "^0.3.0", "@techpass/passport-openidconnect": "^0.3.0",
"aws-sdk": "^2.811.0", "aws-sdk": "^2.811.0",

View File

@ -113,7 +113,7 @@ async function getSmtpConfiguration(db, workspaceId = null, automation) {
params.workspace = workspaceId params.workspace = workspaceId
} }
const customConfig = getScopedConfig(db, params) const customConfig = await getScopedConfig(db, params)
if (customConfig) { if (customConfig) {
return customConfig return customConfig
@ -125,6 +125,7 @@ async function getSmtpConfiguration(db, workspaceId = null, automation) {
port: env.SMTP_PORT, port: env.SMTP_PORT,
host: env.SMTP_HOST, host: env.SMTP_HOST,
secure: false, secure: false,
from: env.SMTP_FROM_ADDRESS,
auth: { auth: {
user: env.SMTP_USER, user: env.SMTP_USER,
pass: env.SMTP_PASSWORD, pass: env.SMTP_PASSWORD,