Merge branch 'master' into bug/sev2/is-in-filter-startswith-crash

This commit is contained in:
Mel O'Hagan 2022-09-22 08:43:11 +01:00
commit 79e55af7e8
17 changed files with 2280 additions and 95 deletions

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/backend-core", "name": "@budibase/backend-core",
"version": "1.4.4", "version": "1.4.7",
"description": "Budibase backend core libraries used in server and worker", "description": "Budibase backend core libraries used in server and worker",
"main": "dist/src/index.js", "main": "dist/src/index.js",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
@ -20,7 +20,7 @@
"test:watch": "jest --watchAll" "test:watch": "jest --watchAll"
}, },
"dependencies": { "dependencies": {
"@budibase/types": "^1.4.4", "@budibase/types": "^1.4.7",
"@shopify/jest-koa-mocks": "5.0.1", "@shopify/jest-koa-mocks": "5.0.1",
"@techpass/passport-openidconnect": "0.3.2", "@techpass/passport-openidconnect": "0.3.2",
"aws-sdk": "2.1030.0", "aws-sdk": "2.1030.0",

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": "1.4.4", "version": "1.4.7",
"license": "MPL-2.0", "license": "MPL-2.0",
"svelte": "src/index.js", "svelte": "src/index.js",
"module": "dist/bbui.es.js", "module": "dist/bbui.es.js",
@ -38,7 +38,7 @@
], ],
"dependencies": { "dependencies": {
"@adobe/spectrum-css-workflow-icons": "^1.2.1", "@adobe/spectrum-css-workflow-icons": "^1.2.1",
"@budibase/string-templates": "^1.4.4", "@budibase/string-templates": "^1.4.7",
"@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actionbutton": "^1.0.1",
"@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1",
"@spectrum-css/avatar": "^3.0.2", "@spectrum-css/avatar": "^3.0.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/builder", "name": "@budibase/builder",
"version": "1.4.4", "version": "1.4.7",
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"scripts": { "scripts": {
@ -71,10 +71,10 @@
} }
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "^1.4.4", "@budibase/bbui": "^1.4.7",
"@budibase/client": "^1.4.4", "@budibase/client": "^1.4.7",
"@budibase/frontend-core": "^1.4.4", "@budibase/frontend-core": "^1.4.7",
"@budibase/string-templates": "^1.4.4", "@budibase/string-templates": "^1.4.7",
"@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

@ -34,8 +34,7 @@ export function createPluginsStore() {
} }
let res = await API.createPlugin(pluginData) let res = await API.createPlugin(pluginData)
let newPlugin = res.plugin
let newPlugin = res.plugins[0]
update(state => { update(state => {
const currentIdx = state.findIndex(plugin => plugin._id === newPlugin._id) const currentIdx = state.findIndex(plugin => plugin._id === newPlugin._id)
if (currentIdx >= 0) { if (currentIdx >= 0) {

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/cli", "name": "@budibase/cli",
"version": "1.4.4", "version": "1.4.7",
"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": {
@ -26,7 +26,9 @@
"outputPath": "build" "outputPath": "build"
}, },
"dependencies": { "dependencies": {
"@budibase/backend-core": "^1.4.4", "@budibase/backend-core": "^1.4.7",
"@budibase/string-templates": "^1.4.7",
"@budibase/types": "^1.4.7",
"axios": "0.21.2", "axios": "0.21.2",
"chalk": "4.1.0", "chalk": "4.1.0",
"cli-progress": "3.11.2", "cli-progress": "3.11.2",

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/client", "name": "@budibase/client",
"version": "1.4.4", "version": "1.4.7",
"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": "^1.4.4", "@budibase/bbui": "^1.4.7",
"@budibase/frontend-core": "^1.4.4", "@budibase/frontend-core": "^1.4.7",
"@budibase/string-templates": "^1.4.4", "@budibase/string-templates": "^1.4.7",
"@spectrum-css/button": "^3.0.3", "@spectrum-css/button": "^3.0.3",
"@spectrum-css/card": "^3.0.3", "@spectrum-css/card": "^3.0.3",
"@spectrum-css/divider": "^1.0.3", "@spectrum-css/divider": "^1.0.3",

View File

@ -374,6 +374,11 @@
min-height: 180px; min-height: 180px;
min-width: 200px; min-width: 200px;
} }
.embedded-map :global(a.map-svg-button) {
display: flex;
justify-content: center;
align-items: center;
}
.embedded-map :global(.leaflet-top), .embedded-map :global(.leaflet-top),
.embedded-map :global(.leaflet-bottom) { .embedded-map :global(.leaflet-bottom) {
z-index: 998; z-index: 998;

View File

@ -37,7 +37,7 @@ const FullScreenControl = L.Control.extend({
this._fullScreenButton = this._createButton( this._fullScreenButton = this._createButton(
options.fullScreenContent, options.fullScreenContent,
options.fullScreenTitle, options.fullScreenTitle,
"map-fullscreen", "map-fullscreen map-svg-button",
container, container,
this._fullScreen this._fullScreen
) )
@ -87,7 +87,7 @@ const LocationControl = L.Control.extend({
this._locationButton = this._createButton( this._locationButton = this._createButton(
options.locationContent, options.locationContent,
options.locationTitle, options.locationTitle,
"map-location", "map-location map-svg-button",
container, container,
this._location this._location
) )

View File

@ -1,12 +1,12 @@
{ {
"name": "@budibase/frontend-core", "name": "@budibase/frontend-core",
"version": "1.4.4", "version": "1.4.7",
"description": "Budibase frontend core libraries used in builder and client", "description": "Budibase frontend core libraries used in builder and client",
"author": "Budibase", "author": "Budibase",
"license": "MPL-2.0", "license": "MPL-2.0",
"svelte": "src/index.js", "svelte": "src/index.js",
"dependencies": { "dependencies": {
"@budibase/bbui": "^1.4.4", "@budibase/bbui": "^1.4.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"svelte": "^3.46.2" "svelte": "^3.46.2"
} }

View File

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

View File

@ -1094,12 +1094,12 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@budibase/backend-core@1.4.4": "@budibase/backend-core@1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.4.4.tgz#de7f3457e24aa1b91e2135b007753c69a358bb78" resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.4.7.tgz#964019383fd3d7e0acc98cc025dbb85d060c4288"
integrity sha512-FoLqxq7XFzRvqWJ61l/1QGGUIOzfc6GpNXhjLnHfiPvzHsn74qXO5WiS/dFZXdoWvmHPqz/D+jNBEEPx0q/lKQ== integrity sha512-2o3WYFssVFCnSTx8JyEGRGEqGwExrKm5Ab+z44sREjFHIv3NgFXbde65D66U1tzi5vWD+gB3SfDKxNeyg+xqLQ==
dependencies: dependencies:
"@budibase/types" "^1.4.4" "@budibase/types" "^1.4.7"
"@shopify/jest-koa-mocks" "5.0.1" "@shopify/jest-koa-mocks" "5.0.1"
"@techpass/passport-openidconnect" "0.3.2" "@techpass/passport-openidconnect" "0.3.2"
aws-sdk "2.1030.0" aws-sdk "2.1030.0"
@ -1180,13 +1180,13 @@
svelte-flatpickr "^3.2.3" svelte-flatpickr "^3.2.3"
svelte-portal "^1.0.0" svelte-portal "^1.0.0"
"@budibase/pro@1.4.4": "@budibase/pro@1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.4.4.tgz#ed990dfe59afc2b75bb4a621c00bf1a4739aff05" resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.4.7.tgz#05d0aac81a7a5e57226e6d7c80db83a3f1095ec1"
integrity sha512-DPuFJKWLPvKrm3a4rTUwOygtEmnm5QWSRPtEBJG3xLC6WeWF4yoNlK+QwRyb0zLxYENcN8Hk++ydU3MA5x+CFg== integrity sha512-a/l+Dfs8AlLWjVZ9MN7f5HzeczWZbiPJGjzeLHEjPdbjXZ/52RZfz1M8oR1FVo/Ph+XpJALck+B1ai9rDzOyXg==
dependencies: dependencies:
"@budibase/backend-core" "1.4.4" "@budibase/backend-core" "1.4.7"
"@budibase/types" "1.4.4" "@budibase/types" "1.4.7"
"@koa/router" "8.0.8" "@koa/router" "8.0.8"
joi "17.6.0" joi "17.6.0"
node-fetch "^2.6.1" node-fetch "^2.6.1"
@ -1209,10 +1209,10 @@
svelte-apexcharts "^1.0.2" svelte-apexcharts "^1.0.2"
svelte-flatpickr "^3.1.0" svelte-flatpickr "^3.1.0"
"@budibase/types@1.4.4", "@budibase/types@^1.4.4": "@budibase/types@1.4.7", "@budibase/types@^1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.4.4.tgz#936f3659060345751ed2fa5071fef73ba6d95732" resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.4.7.tgz#6d352516e26c416a47bcf82915c9f92af3f6fce7"
integrity sha512-ss2LNuj2ObTMwS3mfLevTiLS2N0cZz25LhdNOEKzdIdCnm/Zq1cj2Ldi0SRcpO358aU+c3co/lCgA938GNY0qQ== integrity sha512-lBU0gfRwZCwssKJKo3rCq4kyfW/BAed8zrH40j/KJIrdcw28Jh0WSrr/wOynOgMdCBoh1oHZsRJr1SfZp/wh4g==
"@bull-board/api@3.7.0": "@bull-board/api@3.7.0":
version "3.7.0" version "3.7.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/string-templates", "name": "@budibase/string-templates",
"version": "1.4.4", "version": "1.4.7",
"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,6 +1,6 @@
{ {
"name": "@budibase/types", "name": "@budibase/types",
"version": "1.4.4", "version": "1.4.7",
"description": "Budibase types", "description": "Budibase types",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/worker", "name": "@budibase/worker",
"email": "hi@budibase.com", "email": "hi@budibase.com",
"version": "1.4.4", "version": "1.4.7",
"description": "Budibase background service", "description": "Budibase background service",
"main": "src/index.ts", "main": "src/index.ts",
"repository": { "repository": {
@ -36,10 +36,10 @@
"author": "Budibase", "author": "Budibase",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"@budibase/backend-core": "^1.4.4", "@budibase/backend-core": "^1.4.7",
"@budibase/pro": "1.4.4", "@budibase/pro": "1.4.7",
"@budibase/string-templates": "^1.4.4", "@budibase/string-templates": "^1.4.7",
"@budibase/types": "^1.4.4", "@budibase/types": "^1.4.7",
"@koa/router": "8.0.8", "@koa/router": "8.0.8",
"@sentry/node": "6.17.7", "@sentry/node": "6.17.7",
"@techpass/passport-openidconnect": "0.3.2", "@techpass/passport-openidconnect": "0.3.2",

View File

@ -291,12 +291,12 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@budibase/backend-core@1.4.4": "@budibase/backend-core@1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.4.4.tgz#de7f3457e24aa1b91e2135b007753c69a358bb78" resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.4.7.tgz#964019383fd3d7e0acc98cc025dbb85d060c4288"
integrity sha512-FoLqxq7XFzRvqWJ61l/1QGGUIOzfc6GpNXhjLnHfiPvzHsn74qXO5WiS/dFZXdoWvmHPqz/D+jNBEEPx0q/lKQ== integrity sha512-2o3WYFssVFCnSTx8JyEGRGEqGwExrKm5Ab+z44sREjFHIv3NgFXbde65D66U1tzi5vWD+gB3SfDKxNeyg+xqLQ==
dependencies: dependencies:
"@budibase/types" "^1.4.4" "@budibase/types" "^1.4.7"
"@shopify/jest-koa-mocks" "5.0.1" "@shopify/jest-koa-mocks" "5.0.1"
"@techpass/passport-openidconnect" "0.3.2" "@techpass/passport-openidconnect" "0.3.2"
aws-sdk "2.1030.0" aws-sdk "2.1030.0"
@ -327,21 +327,21 @@
uuid "8.3.2" uuid "8.3.2"
zlib "1.0.5" zlib "1.0.5"
"@budibase/pro@1.4.4": "@budibase/pro@1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.4.4.tgz#ed990dfe59afc2b75bb4a621c00bf1a4739aff05" resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.4.7.tgz#05d0aac81a7a5e57226e6d7c80db83a3f1095ec1"
integrity sha512-DPuFJKWLPvKrm3a4rTUwOygtEmnm5QWSRPtEBJG3xLC6WeWF4yoNlK+QwRyb0zLxYENcN8Hk++ydU3MA5x+CFg== integrity sha512-a/l+Dfs8AlLWjVZ9MN7f5HzeczWZbiPJGjzeLHEjPdbjXZ/52RZfz1M8oR1FVo/Ph+XpJALck+B1ai9rDzOyXg==
dependencies: dependencies:
"@budibase/backend-core" "1.4.4" "@budibase/backend-core" "1.4.7"
"@budibase/types" "1.4.4" "@budibase/types" "1.4.7"
"@koa/router" "8.0.8" "@koa/router" "8.0.8"
joi "17.6.0" joi "17.6.0"
node-fetch "^2.6.1" node-fetch "^2.6.1"
"@budibase/types@1.4.4", "@budibase/types@^1.4.4": "@budibase/types@1.4.7", "@budibase/types@^1.4.7":
version "1.4.4" version "1.4.7"
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.4.4.tgz#936f3659060345751ed2fa5071fef73ba6d95732" resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.4.7.tgz#6d352516e26c416a47bcf82915c9f92af3f6fce7"
integrity sha512-ss2LNuj2ObTMwS3mfLevTiLS2N0cZz25LhdNOEKzdIdCnm/Zq1cj2Ldi0SRcpO358aU+c3co/lCgA938GNY0qQ== integrity sha512-lBU0gfRwZCwssKJKo3rCq4kyfW/BAed8zrH40j/KJIrdcw28Jh0WSrr/wOynOgMdCBoh1oHZsRJr1SfZp/wh4g==
"@cspotcode/source-map-consumer@0.8.0": "@cspotcode/source-map-consumer@0.8.0":
version "0.8.0" version "0.8.0"