1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

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 0a86679fdf
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",