Commit Graph

258 Commits

Author SHA1 Message Date
Andrew Kingston 869cb0777b Validate query names to avoid parentheses 2023-07-24 12:02:24 +01:00
mike12345567 40b4943766 Fix for dynamic variables being duplicated when creating new REST queries - also moved some stuff to backend SDK to make a bit re-usable, allowing backend to detect duplicate dynamic variables and error. 2023-07-20 13:07:19 +01:00
Gerard Burns 88582b871e replace use of datasources.save with datasources.update 2023-06-26 14:15:04 +01:00
Jonny McCullagh 757ca6a166 Merge master develop (#10897)
* Binding drawer fixes

* Added missing headless flag for the bindable combobox

* Fix for QueryEditor width

* Fix svelte transitions in grid new row component breaking routify

* Bump version to 2.7.7

* fix REST connector failure to save

* Bump version to 2.7.8

* Bump version to 2.7.9

* Unexpected token when export data (#10721)

* Tidy ID string for JSON parse

* Display error for composite keys

* Unit test WIP

* directly assign the mock function on the datasource

* Unit tests for exportRows ID handling

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>

* Return all rows if oneOf value is falsey (#10638)

* Bump version to 2.7.10

* Make sure divider fields are left-most (#10627)

* Make sure divider fields are left most

* Refactor

* Bump version to 2.7.11

* Temporarily remove the focus store update as it triggers a full redraw of the component settings

* Linting

* Removed commented out code

* Bump version to 2.7.12

* Bump version to 2.7.13

* Do not show Business tag for Email action (#10867)

* Bump version to 2.7.14

* new deploy trigger (#10892)

* point the deploys at the new env

* Bump version to 2.7.15

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Dean 086fb05238 Lint 2023-05-15 10:17:55 +01:00
Dean 00d2bc4f6d Altered initialisation flow to ensure base state is correct for checking update status 2023-05-15 09:38:59 +01:00
Dean ea458639b3 Navigation updates 2023-05-15 09:14:18 +01:00
Dean a1f35be908 Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-12 16:30:02 +01:00
melohagan 395cf4a667 Add JSON payload support for Make and Zapier (#10529)
* Rename Integromat to Make. Update logo.

* Add JSON type for automations

* Support deprecated values in JSON

* Fix json query editor width bug

* Push body to schema if missing

* Support JSON body

* Add JSON payload support for Zapier

* Update packages/server/src/automations/steps/make.ts

Co-authored-by: Martin McKeaveney <martin@budibase.com>

* July -> November

* Add unit tests

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2023-05-11 17:49:33 +01:00
Dean e3dadaa22c Merge commit 2023-05-05 09:10:52 +01:00
Dean 6331299b7b Working commit 2023-05-03 17:26:58 +01:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
mike12345567 5882f2b468 Fixing an issue shown in #9602 where the schema type will revert each time you re-run a query, this will hold any previously selected schema information in the query. 2023-02-28 19:27:59 +00:00
Peter Clement 71352f1ddc add try catch to all environment variable loading 2023-01-30 16:30:51 +00:00
Peter Clement fc6d20c0b2 add environment bindings to rest query binding drawer 2023-01-25 11:39:13 +00:00
Peter Clement 47663ca395 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
mike12345567 69b9af51ff Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
Mel O'Hagan 77ff0d36b7 Refactor 2023-01-10 17:00:18 +00:00
Mel O'Hagan dd4fbd075a Refactor 2023-01-10 16:57:49 +00:00
Mel O'Hagan 293efae980 Merge branch 'develop' into bug/sev5/make-query-name-safe 2023-01-10 16:55:57 +00:00
melohagan 88bda769a4 Merge pull request #8911 from Budibase/bug/sev2/custom-sql-query-bindings
Update custom sql query in design when changed in the data section
2023-01-10 16:51:27 +00:00
Andrew Kingston 9bb1cf3af8 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-19 16:05:18 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
Andrew Kingston dfed2c26c7 Update font styles to allow for easy customisation 2022-12-14 15:33:16 +00:00
Mel O'Hagan 382d2d49eb Disable MongoDB pipeline in QueryBindingView 2022-12-02 15:53:05 +00:00
Mel O'Hagan f950e572e5 Adjust z index 2022-12-01 10:34:03 +00:00
Mel O'Hagan 002c1e7201 Remove helpers and convert to JS query bindings 2022-12-01 10:29:06 +00:00
Mel O'Hagan 3504348768 Remove duplicate add binding button 2022-11-23 18:19:43 +00:00
Mel O'Hagan 3f28cfbed4 Refactor 2022-11-02 12:10:38 +00:00
Mel O'Hagan e9b84659f4 Refresh BindingBuilder if query.parameters changes 2022-11-02 11:22:48 +00:00
Mel O'Hagan 26a16f1931 Handle null or empty steps 2022-10-14 08:02:29 +01:00
Mel O'Hagan 8a7f6fcd27 Added null propagation operators 2022-10-13 16:17:47 +01:00
melohagan bea6e250b8 Update packages/builder/src/components/integration/index.svelte
Co-authored-by: Martin McKeaveney <martin@budibase.com>
2022-10-13 16:13:56 +01:00
Mel O'Hagan 080694a08a Rename flowEditors to stepEditors 2022-10-13 13:07:53 +01:00
Mel O'Hagan 10367dfb43 Rename flow to pipeline 2022-10-13 13:05:45 +01:00
Mel O'Hagan ac3d389163 Allow stages to be swapped in flow 2022-10-12 18:42:35 +01:00
Mel O'Hagan 9f60a6c485 Allow template to be used when changed body blank 2022-10-12 16:20:11 +01:00
Mel O'Hagan 33c36c1112 Include stage templates 2022-10-12 15:31:53 +01:00
Mel O'Hagan 55c112677e Added support for JSON array stages 2022-10-04 11:03:24 +01:00
Mel O'Hagan 91db8f10ab Improve editor refresh on delete 2022-10-04 10:18:16 +01:00
Mel O'Hagan 0d08eb60c5 Merge branch 'develop' into lab/mongodb 2022-10-03 17:10:21 +01:00
mike12345567 5f8f34f6f3 Fix for #7811 - Fixing an issue with the query binding builder - when executing the query you could no longer enrich the value binding. 2022-09-17 10:45:44 +01:00
Dean 42984d7b63 Minor update 2022-09-15 16:50:51 +01:00
Dean 78d72b78cb Fix to include the current user bindings in datasource queries 2022-09-15 16:39:25 +01:00
mike12345567 932f119fce Updating params in the REST interface so that they can be used in and out of the URL - meaning that updating in one place affects the other. Reduces a bit of the confusing UX around this - discussed in #7683. 2022-09-07 19:15:05 +01:00
Mel O'Hagan 8a75b0a26d Fix delete 2022-08-25 19:07:13 +01:00
Mel O'Hagan f2881fc714 Add delete button 2022-08-25 17:40:09 +01:00
Mel O'Hagan 52c8fda064 Add mongodb aggregate method 2022-08-25 17:30:47 +01:00
mike12345567 bd7ace561a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-22 19:14:35 +01:00
Dean bdc8d1e675 Fix for left positioning of the KeyValueBuilder drawers 2022-07-20 16:38:42 +01:00
Dean c5ee19b4ef Fix to the default input binding to ensure new bindings are set correctly 2022-07-18 15:58:17 +01:00
Andrew Kingston 16116f2877 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-07-11 10:33:50 +01:00
Dean 31b51e1ecf Fixes for datasource authentication parsing. Mapping UX updates 2022-07-01 17:27:24 +01:00
Dean d50a62fd37 Context binding for authenticated user in REST API querys. Includes fix for REST datasource UI 2022-06-14 10:14:05 +01:00
Andrew Kingston b89203cd45 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-09 09:41:28 +01:00
Mel O'Hagan d1e6e7549a using of 2022-05-04 13:33:58 +01:00
Mel O'Hagan 41b72027c4 Query preview sort by number for number types 2022-05-03 15:52:03 +01:00
Andrew Kingston afa5f5e6cd Move some role logic to frontend core and enable client library to preferentially route to home screens 2022-04-28 15:13:33 +01:00
Martin McKeaveney 417ba977fa redis integration complete 2022-03-31 15:44:06 +01:00
Rene Pot 6e0b29667d fix broken docs links 2022-03-23 14:47:27 +01:00
mike12345567 126499f383 Fix for #4440, fixing validation of API endpoints. 2022-02-12 10:35:10 +00:00
Andrew Kingston a3eef9f534 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-04 09:23:32 +00:00
mike12345567 f2a025013e Fix for #4308 - triple brace conversion was not working correctly, wrote this into the string templates instead - also fixing an issue with the RBAC for Rest. 2022-02-03 18:44:34 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
mike12345567 412b7e5f06 Fixing #4205 - making sure builder loads the correct role for the query. 2022-01-26 18:59:41 +00:00
Andrew Kingston bfe209e3e6 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
Andrew Kingston 453386696f Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
mike12345567 14ec6ac205 Fixing an issue where old apps did not send up the values of the default parameters, the server should be able to handle this, enrich them in if they aren't there. 2022-01-20 19:06:08 +00:00
mike12345567 c66b9fb0b4 Renaming bindableOptions to bindings and replacing the query bindings variable with queryBindings. 2022-01-20 16:12:32 +00:00
mike12345567 06a6001f95 Fix for #4126 - wrong bindings were being passed to the drawer, making sure correct ones are available. 2022-01-20 15:44:39 +00:00
Andrew Kingston 8aa4d49f31 Fix crash in KeyValueBuilder when object doesn't exist 2022-01-05 10:57:05 +00:00
mike12345567 fab94f5a3a Fixing lint issues. 2021-12-16 11:44:17 +00:00
mike12345567 858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
mike12345567 85858ff6b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2021-12-15 16:35:30 +00:00
Rory Powell 3833b5fb75 Copy changes 2021-12-15 14:37:03 +00:00
mike12345567 da7153dd64 Removing outgoing webhook functionality from automations and adding XML response/sending, as well as form data/encoded data. 2021-12-14 17:59:02 +00:00
Rory Powell fc719eda27 Add menu to response heades 2021-12-14 16:58:17 +00:00
Rory Powell d2622a6c4f Read / Write finished 2021-12-14 16:46:31 +00:00
Rory Powell 3e9baf4e14 Merge branch 'develop' into feature/query-variables 2021-12-14 12:31:31 +00:00
Rory Powell 42279e67e8 Variables UI WIP 2021-12-14 12:30:26 +00:00
mike12345567 94041176d4 Fixing issue of disabled headers not being set for unmigrated queries. 2021-12-13 15:18:44 +00:00
mike12345567 a7743c8481 Fixing bug in tabs where double clicks cause tab switching, new headers enabled by default, disabled headers rather than enabled, get requests can have bodies. 2021-12-13 11:24:13 +00:00
mike12345567 ad1007ffdc Adding in the ability to retrieve and view the headers from a rest response. 2021-12-09 12:30:05 +00:00
mike12345567 82fd691ec7 Adding bindings to rest API, adding in spaceship placeholder, updating the look of some other components, cleaning up some whitespace. 2021-12-08 17:58:30 +00:00
mike12345567 ce075c97ff Adding access controls to rest query ui. 2021-12-07 18:50:29 +00:00
mike12345567 c0512fa242 Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 2021-12-07 18:24:10 +00:00
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
mike12345567 a0c3b0b8ce Updating key value store to allow adding an activity toggle. 2021-12-02 11:53:51 +00:00
mike12345567 4de2d55112 Adding query string output to the URL. 2021-12-02 11:32:21 +00:00
mike12345567 4e9d60b446 First major part of the REST query resdesign. 2021-12-01 17:55:57 +00:00
mike12345567 bfd8007dfa Updating key value in queries to be a bit more clear. 2021-12-01 13:31:40 +00:00
mike12345567 4a0ce14f04 Adding the ability to set a display name for any datasource/query parameter. 2021-12-01 13:11:35 +00:00
mike12345567 f77fe0c75c Updating integration config screen. 2021-12-01 13:09:16 +00:00
mike12345567 76ce9a3017 Disabling save button when no changes made. 2021-11-30 17:56:15 +00:00
Martin McKeaveney 90934c547f allow type editing on custom query datasource schemas 2021-11-25 12:20:20 +01:00
mike12345567 cca28ce255 Adding worker controls to both automations and queries. 2021-11-11 12:11:09 +00:00
mike12345567 b3590537ba Adding the ability to set a permission for data source queries. 2021-11-09 16:25:23 +00:00
mike12345567 4b6ff16091 Some final tweaks. 2021-10-13 16:42:07 +01:00
mike12345567 b46a945fc4 Adding the basics of the query transformers to the frontend and to the backend, as well as switching to vm2 for script running. 2021-10-12 18:45:13 +01:00
mike12345567 c01263e8f6 Merge branch 'js-binding-drawer' of github.com:Budibase/budibase into feature/query-transformers 2021-10-12 17:26:34 +01:00