Merge branch 'master' of github.com:Budibase/budibase into feature/envoy-nginx

This commit is contained in:
Martin McKeaveney 2022-01-19 11:09:26 +01:00
commit ce3604695c
13 changed files with 27 additions and 25 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.0.39",
"version": "1.0.43",
"npmClient": "yarn",
"packages": [
"packages/*"

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/backend-core",
"version": "1.0.39",
"version": "1.0.43",
"description": "Budibase backend core libraries used in server and worker",
"main": "src/index.js",
"author": "Budibase",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.",
"version": "1.0.39",
"version": "1.0.43",
"license": "MPL-2.0",
"svelte": "src/index.js",
"module": "dist/bbui.es.js",

View File

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

View File

@ -1,7 +1,6 @@
import { store } from "./index"
import { get as svelteGet } from "svelte/store"
import { removeCookie, Cookies } from "./cookies"
import { notifications } from "@budibase/bbui"
const apiCall =
method =>
@ -15,9 +14,6 @@ const apiCall =
})
if (resp.status === 403) {
if (url.includes("/api/templates")) {
notifications.error(
"There was a problem loading quick start templates."
)
return { json: () => [] }
}
removeCookie(Cookies.Auth)

View File

@ -274,6 +274,9 @@
onMount(async () => {
await apps.load()
await templates.load()
if ($templates?.length === 0) {
notifications.error("There was a problem loading quick start templates.")
}
// if the portal is loaded from an external URL with a template param
const initInfo = await auth.getInitInfo()
if (initInfo?.init_template) {

View File

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

View File

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

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
"version": "1.0.39",
"version": "1.0.43",
"description": "Budibase Web Server",
"main": "src/index.ts",
"repository": {
@ -70,9 +70,9 @@
"license": "GPL-3.0",
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.3",
"@budibase/backend-core": "^1.0.39",
"@budibase/client": "^1.0.39",
"@budibase/string-templates": "^1.0.39",
"@budibase/backend-core": "^1.0.43",
"@budibase/client": "^1.0.43",
"@budibase/string-templates": "^1.0.43",
"@bull-board/api": "^3.7.0",
"@bull-board/koa": "^3.7.0",
"@elastic/elasticsearch": "7.10.0",

View File

@ -9,8 +9,11 @@ const { Thread, ThreadType } = require("../../../threads")
const { save: saveDatasource } = require("../datasource")
const { RestImporter } = require("./import")
const { invalidateDynamicVariables } = require("../../../threads/utils")
const environment = require("../../../environment")
const Runner = new Thread(ThreadType.QUERY, { timeoutMs: 10000 })
const Runner = new Thread(ThreadType.QUERY, {
timeoutMs: environment.QUERY_THREAD_TIMEOUT || 10000,
})
// simple function to append "readable" to all read queries
function enrichQueries(input) {

View File

@ -71,7 +71,7 @@ exports.getDeployedApps = async () => {
for (let [key, value] of Object.entries(json)) {
if (value.url) {
value.url = value.url.toLowerCase()
apps[key] = value
apps[key.toLowerCase()] = value
}
}
return apps

View File

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

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
"version": "1.0.39",
"version": "1.0.43",
"description": "Budibase background service",
"main": "src/index.js",
"repository": {
@ -29,8 +29,8 @@
"author": "Budibase",
"license": "GPL-3.0",
"dependencies": {
"@budibase/backend-core": "^1.0.39",
"@budibase/string-templates": "^1.0.39",
"@budibase/backend-core": "^1.0.43",
"@budibase/string-templates": "^1.0.43",
"@koa/router": "^8.0.0",
"@sentry/node": "^6.0.0",
"@techpass/passport-openidconnect": "^0.3.0",