Browse Source
Merge pull request #4749 from Budibase/merge-master
Merge master -> develop
master
Rory Powell
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with
31 additions and
26 deletions
-
lerna.json
-
packages/backend-core/package.json
-
packages/bbui/package.json
-
packages/builder/package.json
-
packages/builder/src/components/backend/DataTable/ViewDataTable.svelte
-
packages/builder/src/stores/backend/queries.js
-
packages/cli/package.json
-
packages/client/package.json
-
packages/client/src/utils/buttonActions.js
-
packages/frontend-core/package.json
-
packages/server/package.json
-
packages/string-templates/package.json
-
packages/worker/package.json
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
{ |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"npmClient": "yarn", |
|
|
|
"packages": [ |
|
|
|
"packages/*" |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/backend-core", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Budibase backend core libraries used in server and worker", |
|
|
|
"main": "src/index.js", |
|
|
|
"author": "Budibase", |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/bbui", |
|
|
|
"description": "A UI solution used in the different Budibase projects.", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"license": "MPL-2.0", |
|
|
|
"svelte": "src/index.js", |
|
|
|
"module": "dist/bbui.es.js", |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/builder", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"license": "GPL-3.0", |
|
|
|
"private": true, |
|
|
|
"scripts": { |
|
|
|
@ -65,10 +65,10 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"@budibase/bbui": "^1.0.76-alpha.6", |
|
|
|
"@budibase/client": "^1.0.76-alpha.6", |
|
|
|
"@budibase/frontend-core": "^1.0.76-alpha.6", |
|
|
|
"@budibase/string-templates": "^1.0.76-alpha.6", |
|
|
|
"@budibase/bbui": "^1.0.78", |
|
|
|
"@budibase/client": "^1.0.78", |
|
|
|
"@budibase/frontend-core": "^1.0.78", |
|
|
|
"@budibase/string-templates": "^1.0.78", |
|
|
|
"@sentry/browser": "5.19.1", |
|
|
|
"@spectrum-css/page": "^3.0.1", |
|
|
|
"@spectrum-css/vars": "^3.0.1", |
|
|
|
|
|
|
|
@ -57,7 +57,8 @@ |
|
|
|
{data} |
|
|
|
{loading} |
|
|
|
{type} |
|
|
|
allowEditing={!view?.calculation} |
|
|
|
allowEditing={false} |
|
|
|
rowCount={10} |
|
|
|
bind:hideAutocolumns |
|
|
|
> |
|
|
|
<ViewFilterButton {view} /> |
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ export function createQueriesStore() { |
|
|
|
}) |
|
|
|
return savedQuery |
|
|
|
}, |
|
|
|
import: async (data, datasourceId) => { |
|
|
|
import: async ({ data, datasourceId }) => { |
|
|
|
return await API.importQueries({ |
|
|
|
datasourceId, |
|
|
|
data, |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/cli", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Budibase CLI, for developers, self hosting and migrations.", |
|
|
|
"main": "src/index.js", |
|
|
|
"bin": { |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/client", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"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.76-alpha.6", |
|
|
|
"@budibase/frontend-core": "^1.0.76-alpha.6", |
|
|
|
"@budibase/string-templates": "^1.0.76-alpha.6", |
|
|
|
"@budibase/bbui": "^1.0.78", |
|
|
|
"@budibase/frontend-core": "^1.0.78", |
|
|
|
"@budibase/string-templates": "^1.0.78", |
|
|
|
"@spectrum-css/button": "^3.0.3", |
|
|
|
"@spectrum-css/card": "^3.0.3", |
|
|
|
"@spectrum-css/divider": "^1.0.3", |
|
|
|
|
|
|
|
@ -127,12 +127,16 @@ const queryExecutionHandler = async action => { |
|
|
|
// Trigger a notification and invalidate the datasource as long as this
|
|
|
|
// was not a readable query
|
|
|
|
if (!query.readable) { |
|
|
|
API.notifications.error.success("Query executed successfully") |
|
|
|
notificationStore.actions.success("Query executed successfully") |
|
|
|
await dataSourceStore.actions.invalidateDataSource(query.datasourceId) |
|
|
|
} |
|
|
|
|
|
|
|
return { result } |
|
|
|
} catch (error) { |
|
|
|
notificationStore.actions.error( |
|
|
|
"An error occurred while executing the query" |
|
|
|
) |
|
|
|
|
|
|
|
// Abort next actions
|
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,12 +1,12 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/frontend-core", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Budibase frontend core libraries used in builder and client", |
|
|
|
"author": "Budibase", |
|
|
|
"license": "MPL-2.0", |
|
|
|
"svelte": "src/index.js", |
|
|
|
"dependencies": { |
|
|
|
"@budibase/bbui": "^1.0.76-alpha.6", |
|
|
|
"@budibase/bbui": "^1.0.78", |
|
|
|
"lodash": "^4.17.21", |
|
|
|
"svelte": "^3.46.2" |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/server", |
|
|
|
"email": "hi@budibase.com", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Budibase Web Server", |
|
|
|
"main": "src/index.ts", |
|
|
|
"repository": { |
|
|
|
@ -73,9 +73,9 @@ |
|
|
|
"license": "GPL-3.0", |
|
|
|
"dependencies": { |
|
|
|
"@apidevtools/swagger-parser": "^10.0.3", |
|
|
|
"@budibase/backend-core": "^1.0.76-alpha.6", |
|
|
|
"@budibase/client": "^1.0.76-alpha.6", |
|
|
|
"@budibase/string-templates": "^1.0.76-alpha.6", |
|
|
|
"@budibase/backend-core": "^1.0.78", |
|
|
|
"@budibase/client": "^1.0.78", |
|
|
|
"@budibase/string-templates": "^1.0.78", |
|
|
|
"@bull-board/api": "^3.7.0", |
|
|
|
"@bull-board/koa": "^3.7.0", |
|
|
|
"@elastic/elasticsearch": "7.10.0", |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/string-templates", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Handlebars wrapper for Budibase templating.", |
|
|
|
"main": "src/index.cjs", |
|
|
|
"module": "dist/bundle.mjs", |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
"name": "@budibase/worker", |
|
|
|
"email": "hi@budibase.com", |
|
|
|
"version": "1.0.76-alpha.6", |
|
|
|
"version": "1.0.78", |
|
|
|
"description": "Budibase background service", |
|
|
|
"main": "src/index.ts", |
|
|
|
"repository": { |
|
|
|
@ -34,8 +34,8 @@ |
|
|
|
"author": "Budibase", |
|
|
|
"license": "GPL-3.0", |
|
|
|
"dependencies": { |
|
|
|
"@budibase/backend-core": "^1.0.76-alpha.6", |
|
|
|
"@budibase/string-templates": "^1.0.76-alpha.6", |
|
|
|
"@budibase/backend-core": "^1.0.78", |
|
|
|
"@budibase/string-templates": "^1.0.78", |
|
|
|
"@koa/router": "^8.0.0", |
|
|
|
"@sentry/node": "^6.0.0", |
|
|
|
"@techpass/passport-openidconnect": "^0.3.0", |
|
|
|
|