Commit Graph

10522 Commits

Author SHA1 Message Date
FlaminWrap 1df4d5b4ea
Resolve merge problems (#9420) 2023-01-23 23:24:44 +00:00
mike12345567 2691838b71 Adding frontend event publishing for events like upgrade panel opened. 2023-01-23 19:18:02 +00:00
melohagan c72bce9e4a
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 f08c522079
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 8905f537ad Feedback update for reactive filter statements 2023-01-23 12:26:59 +00:00
Dean a1faeece3c Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-23 11:43:15 +00:00
Dean 103bdeaf53 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean d62fc5c4f7 Minor fixes for reactivity issues and some updates 2023-01-23 09:06:21 +00:00
Dean 66932c5a7d Removed comment 2023-01-23 00:42:49 +00:00
Dean 37a454a7d3 Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
melohagan 1382227c30
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 9205022eb7 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 23:04:54 +00:00
Mel O'Hagan 93606a91b0 Delete file copy 2023-01-19 22:57:19 +00:00
Mel O'Hagan 181dc4b18d lint 2023-01-19 22:54:46 +00:00
Mel O'Hagan b70d4238a8 Overhaul of CreateEditRelationship modal 2023-01-19 22:54:06 +00:00
Mel O'Hagan 8c111cf6fd Saving. TODO - Validation 2023-01-19 21:09:13 +00:00
Peter Clement 86c1707529 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
Andrew Kingston 7ece9f78d5
More fixes (#9387)
* Mark filters as nested settings to support persisting bindings post block ejection

* Add support for searching on linked fields in blocks

* Fix multi-select pickers closing on every click

* Target spectrum root element by default when rendering popovers, and allow customisation via context for client library

* Don't send up invalid HBS expressions when filtering on dates in blocks with empty date value

* Move profile above theme in user dropdown
2023-01-19 16:09:40 +00:00
Mel O'Hagan efe45b3e2b Remove console log 2023-01-19 14:38:26 +00:00
Mel O'Hagan c1e2dd1282 Ignore primary touched if isMany 2023-01-19 14:29:47 +00:00
Mel O'Hagan fd56d0925b Update through table error message 2023-01-19 14:14:29 +00:00
Mel O'Hagan ecbd01a546 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 14:13:57 +00:00
Andrew Thompson f944a088b2
fix auth config validation for saving deactivation (#9361) 2023-01-19 13:06:38 +00:00
Peter Clement 26b161fab5 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-19 11:49:31 +00:00
Andrew Kingston edb05e1e71
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
mike12345567 f8a2c9e169 Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +00:00
mike12345567 900873ce5f Disabling edit/add options for environment variables when encryption key is not found. 2023-01-18 17:49:18 +00:00
mike12345567 3c2020d398 Adding a warning for missing ENCRYPTION_KEY variable to the portal. 2023-01-18 17:29:56 +00:00
Andrew Kingston c3f5e33b29
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 57b669caa6 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-18 12:08:33 +00:00
Gerard Burns cde15b0b0b
Fix Table Creation With No Import (#9373) 2023-01-18 12:00:08 +00:00
Mel O'Hagan cc628529b1 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-18 08:44:33 +00:00
mike12345567 20a677e510 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 15:25:17 +00:00
Gerard Burns 36f9bd8d71
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 6951763abe add export modal warning 2023-01-17 10:51:26 +00:00
Peter Clement 62b2628633 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 10:15:03 +00:00
Peter Clement 6d071aae0d add licensing work 2023-01-17 10:13:49 +00:00
melohagan da7aca5096
Null safety (#9355) 2023-01-16 14:34:10 +00:00
mike12345567 94203b3a2c Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-16 14:26:26 +00:00
Mel O'Hagan 7f8dc77973 Remove existing relationships if table changed 2023-01-13 18:14:34 +00:00
Adria Navarro 1e259ca504 Allow same user to be updated multiple times 2023-01-13 17:59:50 +00:00
Mel O'Hagan 237f23768f Delete original relationship if table changes 2023-01-13 17:22:04 +00:00
Mel O'Hagan 7a8698e0ce Use original table names in delete 2023-01-13 16:42:29 +00:00
Peter Clement 15f904a209 reuse modal for edit and create and add delete function 2023-01-13 16:39:26 +00:00
Mel O'Hagan e7bb80fcdb Use original relationship names on delete 2023-01-13 16:18:46 +00:00
Mel O'Hagan fa6c42f13c Validation improvements 2023-01-13 15:01:21 +00:00
Mel O'Hagan 3216a88c08 Use foreign key instead of parimary[0] 2023-01-13 12:41:41 +00:00
Andrew Kingston 715fc0413e Make usage stats responsive and fix layout issues 2023-01-13 12:11:14 +00:00
Andrew Kingston ae74f34cb9 Hide edit and view links in more menu on overview page unless on mobile 2023-01-13 12:05:42 +00:00
Andrew Kingston 0dd6f32209 Update app overview button styles to include more CTAs 2023-01-13 12:04:05 +00:00
Andrew Kingston 324fcd19db Always show groups section in app access page 2023-01-13 12:02:48 +00:00
Andrew Kingston 4ba2232c56 Remove clickable visual styles from plugins 2023-01-13 12:01:34 +00:00
Andrew Kingston 56ecb8df96 Update assignment modal text 2023-01-13 11:58:05 +00:00
Andrew Kingston 8f069d3c4b Shrink user dropdown 2023-01-13 11:57:57 +00:00
Andrew Kingston af54108cc3 Shrink upgrade button 2023-01-13 11:57:46 +00:00
Mel O'Hagan 0ce32f4da5 Try to match primary key or take first 2023-01-13 11:47:09 +00:00
melohagan 8abacca25b
Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Andrew Kingston acd5859fc9 Fix logo override not working 2023-01-13 09:26:35 +00:00
Andrew Kingston 8d1b50ff89 Update spacing on user and group detail page and fix usage page showing wrong copy 2023-01-13 09:25:12 +00:00
Andrew Kingston a1549e6fef Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-13 08:57:39 +00:00
Andrew Kingston 2762cf5396 Improve responsiveness on apps list page and fix discussions link styles 2023-01-13 08:47:15 +00:00
Andrew Kingston e863b5af79 Improve users page loading experience 2023-01-13 08:39:52 +00:00
Andrew Kingston 7f4978781d Remove logs 2023-01-13 08:39:39 +00:00
Andrew Kingston 03b40443d7 Allow readonly access to users and groups for developer users 2023-01-13 08:29:18 +00:00
Andrew Kingston 359ea501c5 Allow developer users to access users, groups and usage pages 2023-01-13 08:28:54 +00:00
Andrew Kingston eba2b0f29b Update app access assignment and fix backups table 2023-01-12 17:04:05 +00:00
Andrew Kingston 5a060eb243 Centralise menu logic and show full menu on mobile 2023-01-12 16:50:43 +00:00
Peter Clement 295b96e8d9 add create store method and tidy up 2023-01-12 16:09:05 +00:00
Peter Clement 5561f73c69 Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/environment-variables 2023-01-12 16:00:07 +00:00
Andrew Kingston 8bf78eaed4 Hide groups page if disabled at tenant level 2023-01-12 15:52:37 +00:00
Andrew Kingston 4184bb92f6 Fix mobile menu upgrade button not closing menu 2023-01-12 15:42:59 +00:00
Peter Clement 28c021276f Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-12 14:53:53 +00:00
Andrew Kingston cf57a511f4 Lint 2023-01-12 14:48:05 +00:00
Peter Clement 585a6a2bbb add edit and add modals 2023-01-12 14:38:30 +00:00
Andrew Kingston a4e1d777cd Fix update link in app overview 2023-01-12 09:19:58 +00:00
Andrew Kingston 7547cb8ca3 Fix some responsive styles 2023-01-12 09:19:37 +00:00
mike12345567 73884a9a6f Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
mike12345567 592056b863 Merge branch 'cheeks-lab-day-portal-redesign' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:04:33 +00:00
mike12345567 a7bcfe387c Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK. 2023-01-11 17:57:51 +00:00
Andrew Kingston 0fe295c367 Update backups page to be responsive 2023-01-11 16:39:32 +00:00
melohagan 099e57a50e
Default source to Github (#9312) 2023-01-11 15:35:33 +00:00
Andrew Kingston b3fe362dc5 Make automation history page responsive 2023-01-11 12:09:58 +00:00
Andrew Kingston 9543786adf Update multiple pages to be responsive and improve loading experience 2023-01-11 11:58:27 +00:00
Andrew Kingston 91c1974d8d Refactor main portal page into multiple components 2023-01-11 10:13:19 +00:00
Andrew Kingston 3c236f1deb Update more pages to be responsive and add mobile specific components 2023-01-11 09:11:35 +00:00
Andrew Kingston 4648581c67 Update mobile design of apps page 2023-01-11 08:37:38 +00:00
Andrew Kingston 215a73a5b2 Make core page layout responsive and update apps list to be responsive 2023-01-11 08:29:57 +00:00
Andrew Kingston fcde5fb3e9 Update app list to use a more compact style 2023-01-11 08:10:56 +00:00
Andrew Kingston b9cb2d9e78
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 f28d887ec4 Refactor 2023-01-10 17:00:18 +00:00
Mel O'Hagan 7639c70dcb Refactor 2023-01-10 16:57:49 +00:00
Mel O'Hagan 76dd9872cf Merge branch 'develop' into bug/sev5/make-query-name-safe 2023-01-10 16:55:57 +00:00
melohagan 654b1d4ddb
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 b349f1b0cf Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-10 09:39:11 +00:00
Peter Clement 60c2736e19 more boilerplate 2023-01-09 16:49:29 +00:00
Peter Clement 715df0d913 environment variables ui boilerplate 2023-01-09 16:48:39 +00:00
Andrew Kingston efd6f4fefb Update upgrade button URL for cloud accounts 2023-01-09 16:16:03 +00:00
Andrew Kingston 83976feb68 Add licensing and env logic to determine which account links to show 2023-01-09 12:25:22 +00:00
Andrew Kingston 85ddb9a0e3 Cleanup 2023-01-09 12:06:45 +00:00
Andrew Kingston 207c94e39e Update email details page to match new designs 2023-01-09 12:01:16 +00:00
Andrew Kingston 3e32a0e363 Fix checklist removal and fix profile modal 2023-01-09 11:35:31 +00:00
Andrew Kingston 7f1175bb7f Remove getting started checklist 2023-01-09 11:33:14 +00:00
Andrew Kingston d0aba5d700 Properly handle text overflow in plugins table 2023-01-09 11:26:01 +00:00
Andrew Kingston e8bd207587 Fix URLs in app overview 2023-01-09 11:22:59 +00:00
Andrew Kingston 0d86eae2cd Update plugin search placeholder 2023-01-09 11:22:47 +00:00
Andrew Kingston e239f7fe1a Update links when going back from the builder 2023-01-09 11:22:12 +00:00
Andrew Kingston 72d1f01140 Convert plugins page to table and update components and modals 2023-01-09 11:12:54 +00:00
Andrew Kingston 891c57b6e6 Move settings before account and show plugins for devs 2023-01-09 09:46:27 +00:00
Andrew Kingston 9df6093915 Move theme and API key into user profile dropdown instead of settings 2023-01-09 09:42:51 +00:00
Andrew Kingston b5d4e5bc1d Fix automation error linking from apps page and improve automation fetching logic in automation history 2023-01-09 09:20:26 +00:00
Andrew Kingston 74e5f769aa Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-06 15:22:28 +00:00
Dean 1b4d043164 Fix for UI flags. Enabled the indexing UI for autocolumn in edit mode 2023-01-04 09:14:03 +00:00
Dean 95e5c4e749 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 911f37572a
Ensure view names are properly encoded to handle certain special characters (#9145) 2022-12-22 13:09:07 +00:00
Andrew Kingston a91242bd92 Update user and group details pages with new tables 2022-12-21 16:33:25 +00:00
Andrew Kingston d68e27d9b1 Update users detail page 2022-12-21 11:53:16 +00:00
Andrew Kingston 1ee94980ab Update user details page to use tables and match designs 2022-12-21 11:52:25 +00:00
Andrew Kingston d7a187ae18 Tidy up 2022-12-21 09:54:39 +00:00
Andrew Kingston 1d92087000 Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues 2022-12-21 09:47:17 +00:00
Andrew Kingston da87a0a337 Fix loading bugs in app backups page 2022-12-21 08:52:49 +00:00
Andrew Kingston 68e8ab0303 Fix flashing in version settings page 2022-12-21 08:50:39 +00:00
Andrew Kingston ba99a57427 Fix multiple issues with long text overflow 2022-12-21 08:45:54 +00:00
Andrew Kingston 2f34ba8a3e Fix extremely long strings in breadcrumbs not wrapping 2022-12-20 17:27:50 +00:00
Andrew Kingston 55d26355f3 Update table styles to support flexible column widths much better 2022-12-20 17:22:39 +00:00
Andrew Kingston 576913d898 Update table hover colours 2022-12-20 17:07:14 +00:00
Andrew Kingston 5e0200544c Rewrite app overview access tab 2022-12-20 17:01:50 +00:00
Andrew Kingston b14132cd9a Update overview backups page 2022-12-20 12:35:07 +00:00
Andrew Kingston fd0eb91e81 Update overview automation history tab 2022-12-20 12:06:08 +00:00
Andrew Kingston a3a0d3e9e0 Add tooltip to explain why URL cannot be changed until unpublishing 2022-12-20 08:53:12 +00:00
Andrew Kingston b5e3505f55 Update app overview version and name/url screens 2022-12-20 08:48:20 +00:00
Andrew Kingston cc86fa7aa9 Update config checklist to properly center 2022-12-19 16:11:45 +00:00
Andrew Kingston cd29b25788 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-19 16:05:18 +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
Andrew Kingston 1ce7c68bc2 Add initial rewrite of app overview section 2022-12-16 15:54:34 +00:00
Andrew Kingston bfe8d839b5 Update structure for account pages 2022-12-15 16:50:08 +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 7185f40387 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-15 15:34:50 +00:00
melohagan 6c89f67b9d
Make looping arrow point in right direction (#9053) 2022-12-15 15:13:12 +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
Andrew Kingston 4188754bbe
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 f170797963 Update settings pages to new designs 2022-12-14 15:58:56 +00:00
Andrew Kingston 39533d87c7 Update button styles to always use newStyles, update auth page styles 2022-12-14 15:51:56 +00:00
Andrew Kingston 2a3da7a4f7 Update font styles to allow for easy customisation 2022-12-14 15:33:16 +00:00