Commit Graph

10269 Commits

Author SHA1 Message Date
Andrew Kingston 911f37572a
Ensure view names are properly encoded to handle certain special characters (#9145) 2022-12-22 13:09:07 +00:00
Martin McKeaveney 8a2a5a1f76
fixes for google sheets, admin checklist, and deleting an app from API (#8846)
* fixes for google sheets, admin checklist, and deleting an app from API

* code review

* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller

* updating REST method for unpublish in API test

* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app

* removing skip_setup from prodAppDb call

* removing commented code

* unit tests and open API spec updates

* unpublish, publish unit tests - delete still in progress

* remove line updating app name in API test

* unit tests

* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

* v2.2.4

* Update pro version to 2.2.4

* lock changes (#9047)

* v2.2.5

* Update pro version to 2.2.5

* Make looping arrow point in right direction (#9053)

* v2.2.6

* Update pro version to 2.2.6

* Types/attaching license to account (#9065)

* adding license type to account

* removing planDuration

* v2.2.7

* Update pro version to 2.2.7

* Environment variable type coercion fix (#9074)

* Environment variable type coercion fix

* Update .gitignore

* v2.2.8

* Update pro version to 2.2.8

* tests passing

* all tests passing, updates to public API response

* update unpublish call to return 204, openAPI spec and unit

* fixing API tests

Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
Andrew Kingston 6af4c81d63 Remove debug logging 2022-12-19 13:16:54 +00:00
Andrew Kingston 83c260a2e9 Lint 2022-12-19 12:47:30 +00:00
Andrew Kingston 71f5e770ca Remove useless rows store and remove unecessary state updates 2022-12-19 12:35:35 +00:00
Andrew Kingston 75eb66ecd7 Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00
melohagan 9bf8c9d713
External datasource ordering (#9048)
* Sort external datasources

* lint

* Refactor
2022-12-19 08:23:24 +00:00
Andrew Kingston a21db523de
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
FlaminWrap 31615347ec
Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit b18aacc922.

* Revert "Fixes"

This reverts commit de613925dc.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
Andrew Kingston 20ff5dcb70
Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Rory Powell 7ef9e9dc51
File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
Rory Powell 779ab325ae
Remove new (#8994) 2022-12-09 14:25:11 +00:00
Martin McKeaveney 42bb6374f5 merge 2022-12-09 13:35:18 +00:00
Andrew Kingston 2c276816ab Ensure filters are reset when changing table in the data section 2022-12-07 13:08:58 +00:00
Andrew Kingston 041f156754
Merge pull request #8965 from Budibase/cheeks-fixes
Misc fixes
2022-12-07 13:01:14 +00:00
melohagan a3d3e492f0
Merge pull request #8886 from Budibase/bug/sev3/query-bindings-drawer
Query bindings drawer fixes
2022-12-07 11:06:19 +00:00
Andrew Kingston e9f7fc9714 Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2022-12-07 09:54:47 +00:00
Andrew Kingston 0b9dd37870 Remove console log 2022-12-07 09:02:31 +00:00
Andrew Kingston 9315cb9af7 Update filter labels to reflect that more than and less than also include equal to 2022-12-07 09:00:29 +00:00
Andrew Kingston eca7af83f4 Fix filter drawer and filtering in general across data, design and automate and update to support keyed fields and 'match any' 2022-12-07 08:57:17 +00:00
mike12345567 9054de4e3c Minor fix for #8843 - the binding input drawer was using the format helper. rather than helpers. when generating JS helpers. 2022-12-06 18:21:54 +00:00
Andrew Kingston c6172ccd2d Fix issue with not being able to update component names 2022-12-06 15:32:50 +00:00
Andrew Kingston cf02e88885 Fix issue with extremely long select values! 2022-12-06 15:13:12 +00:00
Dean 2eac4afbc9 Force a re-initialisation of table data and paging when importing rows to a datasource 2022-12-05 15:02:39 +00:00
Michael Drury 0621c7b197
Merge pull request #8915 from Budibase/fix/8882
Fix/8882
2022-12-05 12:56:34 +00:00
Gerard Burns a64436c9c8
Multifield Input Autoselect All Fields (#8884)
* Multifield Input Autoselect All Fields

* PR Feedback

* PR Feedback

* Linting
2022-12-05 12:09:27 +00:00
mike12345567 19649b761a Updating error message. 2022-12-05 11:48:27 +00:00
Andrew Kingston 554f8b83da
Merge pull request #8667 from FlaminWrap/Flaminwrap-Enhancement-7604
Allow user to disable hard coded notifications for button actions #7604
2022-12-05 09:36:31 +00:00
deanhannigan 78348459fd
Merge pull request #8875 from Budibase/fix/view-and-table-editing
Fixes for table and view editing
2022-12-05 09:22:34 +00:00
mike12345567 47d782ad28 Final fix for #8882 - adding text to show the error - as well as fixing an issue with many to many updating correctly. 2022-12-02 17:28:37 +00:00
Mel O'Hagan f7140c4202 Set size to match password modal 2022-12-02 12:26:20 +00:00
Rory Powell ae09d1fe08 Apply validation to invite users by email + results modal 2022-12-02 11:51:53 +00:00
deanhannigan 8fab962e38
Merge pull request #8789 from Budibase/feature/add-delete-to-row-edit-modal
Add delete to row edit modal
2022-12-02 09:12:47 +00:00
Rory Powell e3fa737a9b Merge branch 'master' into develop 2022-12-01 14:39:05 +00:00
Mel O'Hagan 54f0112d68 Remove console log 2022-12-01 10:37:58 +00:00
Mel O'Hagan 216539a454 Adjust z index 2022-12-01 10:34:03 +00:00
Mel O'Hagan 4b2d96f508 Remove helpers and convert to JS query bindings 2022-12-01 10:29:06 +00:00
Andrew Kingston ff53acfb9f
Merge pull request #8788 from Budibase/side-panel
Side panels
2022-11-30 16:04:35 +00:00
Mel O'Hagan 78bc3c0040 Only exclude _id from external sql tables 2022-11-30 15:14:32 +00:00
Andrew Kingston 0a0823a673 Update background colour of component info section 2022-11-30 14:37:43 +00:00
Andrew Kingston 178532b7f5 Lint 2022-11-30 14:36:07 +00:00
Andrew Kingston bca9672926 Add ability to show component info above the settings panel and add info to side panels 2022-11-30 14:18:31 +00:00
Dean 60f3202773 Fix for table and view editing. Mutation was causing several issues in the builder 2022-11-30 09:53:18 +00:00
Andrew Kingston bd954a0870 Enable capturing events for certain setting changes, and track usage of side panels inside table blocks 2022-11-29 18:28:26 +00:00
Dean d6e88ae6b4 Merge remote-tracking branch 'origin/develop' into fix/sample-data-edit-removed-delete-fixed 2022-11-29 12:54:22 +00:00
Andrew Kingston 02ef58c7fc Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-29 12:22:56 +00:00
Michael Drury c273a9cf51
Merge pull request #8530 from FlaminWrap/Flaminwrap-Enhancement-7138
Automation steps in the automation builder and tester #7138
2022-11-29 11:53:04 +00:00
Michael Drury 1f0570907a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-29 11:13:54 +00:00
Mel O'Hagan 9b6bd12499 Remove _id from filter field list in external dbs 2022-11-29 11:00:54 +00:00
Dean c1e1ba51f3 Disabled the ability to rename the Sample Data datasource. Updated the backend to ensure that renaming doesn't alter its structure and block deletion 2022-11-28 17:25:10 +00:00