1
0
Fork 0
mirror of synced 2024-09-19 10:48:30 +12:00
Commit graph

6118 commits

Author SHA1 Message Date
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
66674c7277 Ensure view names are properly encoded to handle certain special characters (#9145) 2022-12-22 13:09:07 +00:00
Martin McKeaveney
84ab7862d1 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
650448de8b Remove debug logging 2022-12-19 13:16:54 +00:00
Andrew Kingston
02ff1fd25d Lint 2022-12-19 12:47:30 +00:00
Andrew Kingston
e38e0db2c3 Remove useless rows store and remove unecessary state updates 2022-12-19 12:35:35 +00:00
Andrew Kingston
20bd1815ac Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00
melohagan
e6a81f2106 External datasource ordering (#9048)
* Sort external datasources

* lint

* Refactor
2022-12-19 08:23:24 +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
FlaminWrap
a1ee10c1c6 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 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* 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
090ae5df49 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
786039055e 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
9577169320 Remove new (#8994) 2022-12-09 14:25:11 +00:00
Martin McKeaveney
bfab6fc335 merge 2022-12-09 13:35:18 +00:00
Mel O'Hagan
cd8e7f1ad1 Only add space for forward slash 2022-12-09 10:16:17 +00:00
Mel O'Hagan
bff7365bd2 Remove special characters from REST query name 2022-12-09 09:59:20 +00:00
Andrew Kingston
7107df83e8 Ensure filters are reset when changing table in the data section 2022-12-07 13:08:58 +00:00
Andrew Kingston
5cad5e2604 Merge pull request #8965 from Budibase/cheeks-fixes
Misc fixes
2022-12-07 13:01:14 +00:00
melohagan
bf01631cdc 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
e26d5096ae Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2022-12-07 09:54:47 +00:00
Andrew Kingston
608576ff3b Remove console log 2022-12-07 09:02:31 +00:00
Andrew Kingston
d4a7412163 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
0e9477b982 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
d3029d33ae 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
07347420e7 Fix issue with not being able to update component names 2022-12-06 15:32:50 +00:00
Andrew Kingston
b03bf753a0 Fix issue with extremely long select values! 2022-12-06 15:13:12 +00:00
Dean
4826f1ef82 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
5e0664e683 Merge pull request #8915 from Budibase/fix/8882
Fix/8882
2022-12-05 12:56:34 +00:00
Gerard Burns
d0d73a8b51 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
3a31981778 Updating error message. 2022-12-05 11:48:27 +00:00
Andrew Kingston
783e95b688 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
2e196f2c96 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
0ca1c359a5 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
382d2d49eb Disable MongoDB pipeline in QueryBindingView 2022-12-02 15:53:05 +00:00
Mel O'Hagan
32285a2a1f Update value with new query 2022-12-02 15:10:43 +00:00
Mel O'Hagan
abf5585666 Set size to match password modal 2022-12-02 12:26:20 +00:00
Rory Powell
5a4d8dafb9 Apply validation to invite users by email + results modal 2022-12-02 11:51:53 +00:00
deanhannigan
9c923c7f8c 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
7a7bbd1857 Merge branch 'master' into develop 2022-12-01 14:39:05 +00:00
Mel O'Hagan
e83c25cb24 Remove console log 2022-12-01 10:37:58 +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
Andrew Kingston
b336a916c7 Merge pull request #8788 from Budibase/side-panel
Side panels
2022-11-30 16:04:35 +00:00
Mel O'Hagan
5244735828 Only exclude _id from external sql tables 2022-11-30 15:14:32 +00:00
Andrew Kingston
c8a72b7521 Update background colour of component info section 2022-11-30 14:37:43 +00:00
Andrew Kingston
8564975fa1 Lint 2022-11-30 14:36:07 +00:00
Andrew Kingston
27845336b7 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
57cda93bf5 Fix for table and view editing. Mutation was causing several issues in the builder 2022-11-30 09:53:18 +00:00