Commit Graph

4364 Commits

Author SHA1 Message Date
mike12345567 2807fbd4b6 Updating reactivity to fix issues with occasionally incorrect errors. 2023-02-02 16:59:12 +00:00
mike12345567 21556c215a PR comments. 2023-02-02 16:19:50 +00:00
deanhannigan cd049259bc Merge pull request #9520 from Budibase/dean-fixes
Builder bug fixes
2023-02-02 14:52:55 +00:00
mike12345567 1704a1f266 Adding many to many arrow to make reading relationships easier. 2023-02-02 14:14:06 +00:00
Peter Clement 154648e5ea ensure port input is a string type 2023-02-02 13:57:14 +00:00
Dean 73f3fc41cb Bug fixes for logo and binding validation. Random fix for a button actions issue found while testing 2023-02-02 12:49:26 +00:00
Andrew Kingston 0abac846d3 Ensure tour popover disappears when finished (#9517) 2023-02-02 11:14:40 +00:00
Andrew Kingston 659cfd2492 Misc fixes and improvements (#9503)
* Rewrite position dropdown helper to properly work as a svelte action, improve performance and fix bugs

* Update action button styles

* Update spacing on some onboarding pages and update background gradient

* Prevent special characters in first app name

* Fix type in onboarding tour

* Default first app name and url to having a value

* Update text in first app onboarding file upload

* Fix double mounting of apps page causing issues and templates error

* Fix null app ID when creating your first app using data upload

* Fix app deletion not causing app list to be refreshed
2023-02-02 10:06:41 +00:00
mike12345567 ab66378fbf Some final updates, clean up some code that could be causing reactive issues. 2023-02-01 19:26:26 +00:00
mike12345567 049d4a0363 Removing console log. 2023-02-01 19:10:41 +00:00
mike12345567 3a51933801 Re-working the error handling for the SQL relationship modal, as well as adding some better defaults for the majority of the options to make the UI a bit easier to use. 2023-02-01 19:09:36 +00:00
Andrew Kingston 91a3707527 Generate bindings for unsaved "Update State" actions (#9508)
* Ensure update state actions have a binding for their own key

* Make own binding generation more futureproof

* Refactor array.find to array.some

* Move state binding generation up a level to account for all actions needing to be able to reference newly created state bindings
2023-02-01 17:53:50 +00:00
Mitch-Budibase 50b3c06dbd Merge pull request #9491 from Budibase/Cypress
Removing Cypress
2023-02-01 16:16:38 +00:00
Peter Clement 1e607b8e24 Merge remote-tracking branch 'origin/develop' into feat/env-vars-fixes 2023-02-01 14:59:10 +00:00
Peter Clement 12cc927b16 add warning modals to app export buttons 2023-02-01 14:44:53 +00:00
Andrew Kingston 05669019a6 Update deploy navigation component to work without data-cy 2023-02-01 08:32:10 +00:00
Andrew Kingston c4ed3cbe36 Update tour popover to work without data-cy 2023-02-01 08:29:03 +00:00
Andrew Kingston 4e9d952b52 Merge branch 'develop' of github.com:Budibase/budibase into Cypress 2023-02-01 08:24:30 +00:00
Andrew Kingston 6e12c3fa3c Remove most traces of data-cy attributes 2023-02-01 08:20:46 +00:00
Gerard Burns dd343a5946 New App Onboarding (#9489)
* New App Onboarding

* Lint

* Move app creation onboarding into its own route

* Fix quiet action button variant

* Fix alt attribute background image flashing

* Update routing logic and redirects to show app creation onboarding

* Navigate to data rather than design upon initial app creation to allow tour to function properly

* Tidy up popover logic and remove tip functionality

* Fix binding popovers

* Lint

* Silence spammy warnings from the builder

* Exclude SVG files from rollup plugin image to fix spectrum icons

* Fix help menu icon colours not working in light themes

* Tweak help menu styles

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-01-31 19:34:32 +00:00
Gerard Burns 09ed767d0b New Help Menu (#9371)
* New Help Menu

* design PR feedback

* Feedback updates

* Feedback updates, font awesome enhancement, upgrade button hidden if licensing is disabled

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
2023-01-31 17:18:22 +00:00
deanhannigan ee288c1f2d Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
deanhannigan fb472b0f42 Merge pull request #9025 from Budibase/feature/configurable-data-export
Filtering and sort on data row export
2023-01-31 15:35:12 +00:00
Dean 680a9acb4f Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-31 15:08:46 +00:00
deanhannigan 02b6890d58 Merge pull request #9205 from Budibase/fix/block-duplicate-autocolumn-types
Create/Edit Column refactoring and validation updates
2023-01-31 11:30:49 +00:00
melohagan 919323b500 Fix/automation update deletes relationship (#9468)
* Add padding to text field input

* Apply padding to modal binding input

* Support relationships in automation bindings

* Trim automation field keys

* Trim automation field name

* Empty string check

* Add checkbox for clearing relationships update row

* Added state for automation field metadata

* clearRelationships updateRow check

* Padding tweak
2023-01-31 10:11:56 +00:00
mike12345567 c2eb8fb976 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
mike12345567 2373ad016a Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 17:05:51 +00:00
mike12345567 3857700ea0 Some missing async handling. 2023-01-30 17:03:20 +00:00
Peter Clement 3a00caeda1 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:44:11 +00:00
mike12345567 2007543c98 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:41:19 +00:00
mike12345567 dd94019fcb PR comments - switching back to password field to hide the --secret-value--. 2023-01-30 16:40:31 +00:00
Peter Clement 2eac4ff604 fix async handling for variable creation 2023-01-30 16:40:16 +00:00
Peter Clement 71352f1ddc add try catch to all environment variable loading 2023-01-30 16:30:51 +00:00
Peter Clement ee94435c06 gate env vars for rest variables 2023-01-30 16:28:45 +00:00
Peter Clement 29a6bbbb90 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 11:08:09 +00:00
Peter Clement da9a021014 Added envirioment bindings to REST variables 2023-01-30 10:55:53 +00:00
mike12345567 2548d89f04 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 09:53:31 +00:00
Andrew Kingston 454950daf1 Fix datasources not being collapsible 2023-01-30 08:16:31 +00:00
Dean 117191e5cb Merge remote-tracking branch 'origin/master' into fix/block-duplicate-autocolumn-types 2023-01-29 21:49:50 +00:00
Dean 67ebe422fe Feedback updates 2023-01-29 21:28:46 +00:00
Dean 2b4d28edb4 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-27 20:21:33 +00:00
Peter Clement 602570e834 add env vars to auth variables section in rest config 2023-01-27 16:35:14 +00:00
Peter Clement 6bef0e64d5 fix bug with dev variable not saving correctly 2023-01-27 15:50:59 +00:00
Peter Clement 8372b50de1 update env dropdown input to remove tags 2023-01-27 11:48:02 +00:00
Rory Powell da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567 301bc2af8e Merge branch 'cheeks-lab-day-portal-redesign' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 10:52:46 +00:00
Peter Clement debef20af5 gate env vars in binding drawers behind license 2023-01-26 15:09:20 +00:00
Peter Clement 843649eb54 add envrionment bindings to automations 2023-01-26 14:59:29 +00:00
Peter Clement 4eaefa677a add tags to input dropdown 2023-01-26 14:24:10 +00:00
melohagan 49e79bfeec Prevent many-many relationships with same tables (#9421)
* Prevent many-many relationships with same tables

* Don't check relationship if original tables

* Refactor
2023-01-25 13:09:20 +00:00
Peter Clement fc6d20c0b2 add environment bindings to rest query binding drawer 2023-01-25 11:39:13 +00:00
Peter Clement 100571b6fe add licensing check to env dropdown 2023-01-25 11:27:57 +00:00
Peter Clement 0ca1521a58 css updates to dropdown component 2023-01-24 15:24:29 +00:00
melohagan 0daacf3425 Add fields for MongoDB SSL cert file paths (#8260)
* Added fields for tls certificate files

* lint

* Only include cert fields if SELF_HOSTED

* lint

* Refactor getSchema function

* Add datasource field group with accordion

* Handle no display column on fieldGroup field

* Override text transform accordian header

* Renamed from TLS to SSL in UI config

* readable flag

* Add accordion component

* Refactor
2023-01-23 16:46:02 +00:00
Andrew Kingston 549e4e0dc5 Onboarding core components (#9412)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add core page layout for onboarding to frontend-core

* Add initial work on fancy form components for onboarding

* Add checkbox component and add error handling to fancy form fields

* Add fancy select and improve other fancy components

* Update fancy components and fix select rounded corners

* Fix mobile styles for split pages

* Revert google button

* Fix links not working with click handlers

* Fix label animation

* Improve styles of fancy components

* Improve mobile compatibility with fancy button radio

* Revert changes to builder files for testing

* Tidy up small UI issues

* Improve some minor design issues

* Fix issue with scroll padding not being applied

* Ensure unauthorised users cannot view pages they should not be able to

* Lint
2023-01-23 15:38:43 +00:00
Dean 6071b650d7 Feedback update for reactive filter statements 2023-01-23 12:26:59 +00:00
Dean 45b907cfde Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-23 11:43:15 +00:00
Dean a10bd138ff Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean a9ce6e9cc0 Minor fixes for reactivity issues and some updates 2023-01-23 09:06:21 +00:00
Dean f53542c45b Removed comment 2023-01-23 00:42:49 +00:00
Dean 14da8c0c9e Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
melohagan 455db2e5a2 Create edit relationship modal (#9400)
* Flip from to fields the correct way

* Do not allow through table foreign keys to match
2023-01-20 15:36:31 +00:00
Mel O'Hagan 382db8ac78 Delete file copy 2023-01-19 22:57:19 +00:00
Mel O'Hagan 738e0f28d7 lint 2023-01-19 22:54:46 +00:00
Mel O'Hagan 8a4c0c6acd Overhaul of CreateEditRelationship modal 2023-01-19 22:54:06 +00:00
Mel O'Hagan fc73a2f358 Saving. TODO - Validation 2023-01-19 21:09:13 +00:00
Peter Clement 47663ca395 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
Mel O'Hagan a6e7ef3985 Remove console log 2023-01-19 14:38:26 +00:00
Mel O'Hagan 50e571c1de Ignore primary touched if isMany 2023-01-19 14:29:47 +00:00
Mel O'Hagan b4dcdfa84f Update through table error message 2023-01-19 14:14:29 +00:00
Mel O'Hagan 9729c20e9d Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 14:13:57 +00:00
Peter Clement 6adee798c1 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-19 11:49:31 +00:00
Andrew Kingston a3e555c85e Misc fixes (#9383)
* Shrink cloud upgrade button to proper size

* Add brackets to fix operator precedence when ejecting blocks to prevent undefined custom CSS

* Prevent relationship fields in forms from being used as datasources

* Remove extraneous navigation when adding a component which caused next navigation to fail

* Improve form logic concerning when to fully remount itself to fix issues with stale schema being passed in
2023-01-19 09:47:10 +00:00
Andrew Kingston d92f1a7097 Portal redesign (#9336)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add comment to docker-compose config
2023-01-18 13:56:53 +00:00
Andrew Kingston ad1109972a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-18 12:08:33 +00:00
Gerard Burns cbdd85225d Fix Table Creation With No Import (#9373) 2023-01-18 12:00:08 +00:00
Mel O'Hagan 595bb4a0e5 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-18 08:44:33 +00:00
mike12345567 3659768c42 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 15:25:17 +00:00
Gerard Burns 48e1695318 JSON import changes (#9288)
* JSON import changes

* Fix lockfiles

* PR Feedback, fix tests

* fix tests

* pr feedback
2023-01-17 15:07:52 +00:00
Peter Clement e29a828abc add export modal warning 2023-01-17 10:51:26 +00:00
mike12345567 10d1455b35 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-16 14:26:26 +00:00
Mel O'Hagan 30905d35ef Remove existing relationships if table changed 2023-01-13 18:14:34 +00:00
Mel O'Hagan db29b131eb Delete original relationship if table changes 2023-01-13 17:22:04 +00:00
Mel O'Hagan 5be6c241b7 Use original table names in delete 2023-01-13 16:42:29 +00:00
Mel O'Hagan 889376003d Use original relationship names on delete 2023-01-13 16:18:46 +00:00
Mel O'Hagan dfd6575aea Validation improvements 2023-01-13 15:01:21 +00:00
Mel O'Hagan d7ae20ce21 Use foreign key instead of parimary[0] 2023-01-13 12:41:41 +00:00
Andrew Kingston 355fb6fda2 Make usage stats responsive and fix layout issues 2023-01-13 12:11:14 +00:00
Mel O'Hagan 66c13a2a77 Try to match primary key or take first 2023-01-13 11:47:09 +00:00
melohagan 5477cf420a Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Andrew Kingston 447c98ef5b Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-13 08:57:39 +00:00
Andrew Kingston f5936f2583 Improve responsiveness on apps list page and fix discussions link styles 2023-01-13 08:47:15 +00:00
Peter Clement e8e29ddc8c Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/environment-variables 2023-01-12 16:00:07 +00:00
Andrew Kingston b21f0b3925 Lint 2023-01-12 14:48:05 +00:00
mike12345567 69b9af51ff Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
Andrew Kingston 5cf6ba89cf Update multiple pages to be responsive and improve loading experience 2023-01-11 11:58:27 +00:00
Andrew Kingston e9d20a885b Refactor main portal page into multiple components 2023-01-11 10:13:19 +00:00
Andrew Kingston 34adcdcddf Update more pages to be responsive and add mobile specific components 2023-01-11 09:11:35 +00:00
Andrew Kingston db4714d69c Update mobile design of apps page 2023-01-11 08:37:38 +00:00
Andrew Kingston 6871172822 Make core page layout responsive and update apps list to be responsive 2023-01-11 08:29:57 +00:00
Andrew Kingston a38d1ec583 Update app list to use a more compact style 2023-01-11 08:10:56 +00:00
Andrew Kingston b06c6852a3 Optimise client library performance with skeleton loaders (#9256)
* Treat empty string default values as nullish when considering whether field default values should be applied to the real field value

* Add flag to allow not loading data immediately upon creation of a data fetch object

* Use loading context inside forms to avoid wasted renders while form schema are loading

* Wait for parent data providers to finish loading before loading their own data

* Optimise data provider to reduce updates as much as possible

* Allow forms to render content immediately again, but use the loading context to inform data providers to wait for them

* Remove fetchOnCreation flag for data fetches as now redundant

* Fix issue with deleting the selected button action when the next action has no parameters

* Lint
2023-01-11 08:01:41 +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
Dean 4479c2477c Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-10 09:39:11 +00:00
Andrew Kingston a456e18bde Remove getting started checklist 2023-01-09 11:33:14 +00:00
Andrew Kingston 85f4648f6f Move theme and API key into user profile dropdown instead of settings 2023-01-09 09:42:51 +00:00
Andrew Kingston 395b4d7ad8 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-06 15:22:28 +00:00
Dean 6c4f86b9e4 Fix for UI flags. Enabled the indexing UI for autocolumn in edit mode 2023-01-04 09:14:03 +00:00
Dean c2dab0a60b Refactored the create/edit column UI, fixed auto column validation issues and some other bugs 2023-01-03 16:04:11 +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
Andrew Kingston 5fdd31f724 Fix extremely long strings in breadcrumbs not wrapping 2022-12-20 17:27:50 +00:00
Andrew Kingston 7ca61c8bca Rewrite app overview access tab 2022-12-20 17:01:50 +00:00
Andrew Kingston bbf41f9656 Update overview automation history tab 2022-12-20 12:06:08 +00:00
Andrew Kingston ab29c10936 Update app overview version and name/url screens 2022-12-20 08:48:20 +00:00
Andrew Kingston 112b879731 Update config checklist to properly center 2022-12-19 16:11:45 +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
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 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
Andrew Kingston 8832864eec Add initial rewrite of app overview section 2022-12-16 15:54:34 +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 9e290527ed Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-15 15:34:50 +00:00
melohagan 31c7a122f0 Make looping arrow point in right direction (#9053) 2022-12-15 15:13:12 +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
Andrew Kingston c3b6afbb6f 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
2022-12-15 09:22:28 +00:00
Andrew Kingston 0419f22931 Update button styles to always use newStyles, update auth page styles 2022-12-14 15:51:56 +00:00
Andrew Kingston dfed2c26c7 Update font styles to allow for easy customisation 2022-12-14 15:33:16 +00:00
Andrew Kingston 6091d00f93 Update and standardise page headers and subtitles, and remove side nav titles 2022-12-14 12:27:05 +00:00
Andrew Kingston 97e36ed7a9 Update copy on settings pages 2022-12-13 16:19:20 +00:00
Andrew Kingston 33ac401046 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-13 15:25:32 +00:00
Dean cdcefa16bb Filtering and sort on data row export 2022-12-13 10:13:17 +00:00
Martin McKeaveney bfab6fc335 merge 2022-12-09 13:35:18 +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
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
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
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
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
Dean 57cda93bf5 Fix for table and view editing. Mutation was causing several issues in the builder 2022-11-30 09:53:18 +00:00
Dean dc001bc27f Merge remote-tracking branch 'origin/develop' into fix/sample-data-edit-removed-delete-fixed 2022-11-29 12:54:22 +00:00
Andrew Kingston 8567ae70af Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-29 12:22:56 +00:00
Michael Drury 03a2be6740 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 4f4eb4da26 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-29 11:13:54 +00:00
Mel O'Hagan 2e5744eedd Remove _id from filter field list in external dbs 2022-11-29 11:00:54 +00:00
Dean 7d0e2c289d 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
Andrew Kingston 27bea5c85b Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-28 09:57:12 +00:00
Martin McKeaveney f19e82d81c Merge pull request #8790 from Budibase/bug/sev4/duplicate-add-binding-button
Remove duplicate add binding button
2022-11-25 13:33:36 +00:00
Mel O'Hagan 57f695ac3c Don't add numbering to primary key 2022-11-24 18:24:38 +00:00
Mel O'Hagan 4b05cd2d2d Allow tables to be created even if no fetch 2022-11-24 11:45:58 +00:00
Mel O'Hagan 3504348768 Remove duplicate add binding button 2022-11-23 18:19:43 +00:00
Dean 7b65b693e0 Added delete functionality to the edit table row modal 2022-11-23 15:03:00 +00:00
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
deanhannigan c5df700d82 Merge pull request #8672 from Budibase/feature/default-internal-datasource
Default Datasource and sample row data
2022-11-22 10:32:12 +00:00
Mel O'Hagan f385d7a6a9 Refactor 2022-11-21 16:24:24 +00:00
Mel O'Hagan f1c6d15999 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
Dean 64e7239d42 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 15:40:11 +00:00
Mel O'Hagan 8fae013203 Add subject prop 2022-11-21 15:11:21 +00:00
mike12345567 cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
Mel O'Hagan e7becbf849 Remove duplication 2022-11-21 14:48:26 +00:00
Mel O'Hagan 79dc972c56 Don't allow cell edit for dynamic filter col conf 2022-11-18 16:19:49 +00:00
Andrew Kingston 8bc87d0289 Merge pull request #8608 from Budibase/fix/form-block
Fix form block issues
2022-11-17 10:28:33 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Dean 2599748918 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-15 17:11:19 +00:00
Dean f73b4f8b01 Review updates 2022-11-15 17:03:35 +00:00
Mel O'Hagan 2cec318af1 Allow underscores in column names 2022-11-15 16:57:18 +00:00
Andrew Kingston 0137796a20 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-15 13:05:11 +00:00
Andrew Kingston fa3de9f0ac Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston e7061647da Ensure action parameters can never be null and fix display of close screen modal action 2022-11-15 12:52:06 +00:00
Dean 0b75f6036d Fix to ensure an appropriate internal source is selected when creating an internal table 2022-11-15 12:18:04 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Dean ff7a3b8cef Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
Dean 0619fcd281 Added multiselect/array options support to the view contains filter 2022-11-13 18:16:04 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Andrew Kingston 98ce87e8f7 More WIP portal redesign! 2022-11-09 09:45:37 +00:00
Mel O'Hagan ca2f85b6f9 Use whitelist instead 2022-11-08 17:16:35 +00:00