Commit Graph

4364 Commits

Author SHA1 Message Date
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
Mel O'Hagan 4f1ecf6dc1 Missed colon 2022-11-08 17:07:25 +00:00
Mel O'Hagan 847fc9f83a Remove escaped characters 2022-11-08 17:03:13 +00:00
Mel O'Hagan 572e31fb29 Block lucene special characters from new column 2022-11-08 17:02:31 +00:00
Martin McKeaveney 83cdc07d61 tidy up 2022-11-06 22:45:49 +00:00
Martin McKeaveney 41e004b18b bunch of small UX updates around row creation, borders, new buttons 2022-11-06 22:35:33 +00:00
FlaminWrap fe135fc6d7 Afterthought
Remembered that idx === 0 is the same as isTrigger
2022-11-05 00:20:38 +00:00
FlaminWrap 41a9bf8e82 Commit for enhancement #7138
*Added automation steps
*Added steps for testing panel
*Changed a testing panel error message as it didn't seem accurate
2022-11-05 00:05:15 +00:00
mike12345567 9bf6f0b1a3 Fixing an issue which meant validation would consider datasources invalid despite the configuration being valid - #8510 2022-11-03 17:50:24 +00:00
mike12345567 86c90c7971 Fixing an issue which meant validation would consider datasources invalid despite the configuration being valid - #8510 2022-11-03 17:47:33 +00:00
Michael Drury 45154e0961 Merge pull request #8476 from Budibase/fix/2.1.x-fixes
Backups UI improvements and fix for datasource setting saving
2022-11-02 15:34:26 +00:00
Mel O'Hagan 3f28cfbed4 Refactor 2022-11-02 12:10:38 +00:00
Mel O'Hagan e9b84659f4 Refresh BindingBuilder if query.parameters changes 2022-11-02 11:22:48 +00:00
mike12345567 b9334a373c Fixing issues discussed in #8460 around backup UI. 2022-11-01 18:24:11 +00:00
mike12345567 cbd6ce7f32 Fixing an issue with datasource validation restricting saving of configuration - #8465. 2022-11-01 16:30:20 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Martin McKeaveney cd13c49f67 Merge pull request #8282 from Budibase/fix/multipicker-default-behaviour
Parse multi-select values/defaults to avoid unusable options.
2022-10-31 10:37:26 +00:00
Dean 1418790756 Ensure 'validationErrors' is checked for details field errors when parsing an error response on update 2022-10-28 15:46:03 +01:00
Andrew Kingston 16bfe97015 Update user and groups pages 2022-10-28 08:03:06 +01:00
Andrew Kingston 0cdc814bcc Add redesign for apps pages 2022-10-27 19:20:55 +01:00
Dean c17cfc2666 Merge remote-tracking branch 'origin/master' into fix/multipicker-default-behaviour 2022-10-26 09:10:21 +01:00
Peter Clement e41ada9062 remove logs 2022-10-26 09:03:50 +01:00
Peter Clement 20612c8d00 Merge remote-tracking branch 'origin/develop' into pc/backups-ui-fixes 2022-10-25 16:27:32 +01:00
Peter Clement 5a2001bcbc fix loading state 2022-10-25 16:22:29 +01:00
Peter Clement 27fa18ad7d fix icon sizing 2022-10-25 16:15:50 +01:00
Peter Clement e48d4aaf1a formatting 2022-10-25 16:06:22 +01:00
Peter Clement 679e22384c Assorted Backups UI fixes 2022-10-25 16:05:19 +01:00
Mel O'Hagan e11f4932d3 Handle multiple automation loop bindings 2022-10-25 15:19:07 +01:00
Andrew Kingston 603c8744a5 Merge branch 'master' into master-develop 2022-10-25 12:03:33 +01:00
melohagan 3ade5b4b65 Merge pull request #8371 from Budibase/bug/sev3/validate-datasource-config
Validate datasource config
2022-10-25 09:24:32 +01:00
Peter Clement 195beec069 ui comments 2022-10-24 16:52:29 +01:00
Peter Clement 5942c65d31 Merge branch 'feature/backups-ui' of github.com:Budibase/budibase into feature/backups-ui 2022-10-24 16:43:59 +01:00
Peter Clement 74a6594320 autofill restore backup name 2022-10-24 16:20:03 +01:00
mike12345567 cf1843002d Merge branch 'feature/app-backups' of github.com:Budibase/budibase into feature/backups-ui 2022-10-24 15:50:45 +01:00
Peter Clement 2ffae3a0d6 always show automation history tab 2022-10-24 15:38:03 +01:00
Peter Clement 1aca8756f6 pr comments 2022-10-24 15:09:32 +01:00
Mel O'Hagan ad7c68cbe0 Add padding 2022-10-24 15:02:56 +01:00
Peter Clement 146cdaa131 add pro check and default state 2022-10-24 15:00:00 +01:00
Mel O'Hagan 2dd06c1018 Allow automations scroll. Copy datasource class. 2022-10-24 14:56:05 +01:00
Mel O'Hagan 777e8f91f1 Remove touch check for error consistency 2022-10-24 09:46:53 +01:00
Mel O'Hagan 2eccc935d9 Merge branch 'develop' into bug/sev3/validate-datasource-config 2022-10-24 09:27:24 +01:00
mike12345567 89dd9b259d Adding in new pending state. 2022-10-21 18:33:58 +01:00
mike12345567 1064095d94 Updating frontend to allow searching by type and trigger. 2022-10-21 17:03:01 +01:00
Peter Clement d17241d8d7 refetch after backup / delete / update 2022-10-21 16:00:10 +01:00
Dean 11189205ff Merge remote-tracking branch 'origin/master' into fix/json-field-in-automation-step 2022-10-21 15:35:34 +01:00
Dean 7bfd07ac6c Ensure bindings are not mutated when enriching with custom icons 2022-10-21 15:33:56 +01:00
Peter Clement 93c042d0eb fix download issue and pass name for backup after restore 2022-10-21 14:10:08 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
mike12345567 1eac53230e Adding restore work - new modal to create a backup. 2022-10-20 18:46:16 +01:00
mike12345567 6256b5f73d Merge branch 'feature/backups-ui' of github.com:Budibase/budibase into feature/backups-ui 2022-10-20 17:48:03 +01:00
mike12345567 0c2ae220a2 Updating rendering of table - as per Andy's new designs based on the restore event. 2022-10-20 17:43:54 +01:00
Peter Clement d138d5ebaa add ability tofilter by range 2022-10-20 16:10:09 +01:00
Peter Clement 62ada4f7cc integrate download and update and update datepicker 2022-10-20 15:09:43 +01:00
Peter Clement 039bb76b5b Merge branch 'feature/backups-ui' of github.com:Budibase/budibase into feature/backups-ui 2022-10-20 13:46:36 +01:00
Peter Clement 047d605f2f add restore funtionality 2022-10-20 13:33:50 +01:00
mike12345567 f9b97ef6f7 Merge branch 'feature/backups-ui' of github.com:Budibase/budibase into feature/backups-ui 2022-10-20 12:51:03 +01:00
mike12345567 53788789d7 Correcting contents rendering. 2022-10-20 12:47:45 +01:00
Peter Clement f5c9e22d42 fix paging and add deletion 2022-10-20 11:46:04 +01:00
Peter Clement 627b0afa18 lint 2022-10-19 16:11:25 +01:00
Peter Clement 3e7d631031 add paging and add more custom table renderers 2022-10-19 16:08:34 +01:00
Peter Clement 71439d4b82 add datepicker range and test search 2022-10-19 10:16:54 +01:00
Peter Clement 81aa2fbfcc add base ui and backups tab 2022-10-18 18:38:49 +01:00
Dean 7ccf29bff7 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Dean 4d71143015 Merge remote-tracking branch 'origin/master' into fix/multipicker-default-behaviour 2022-10-18 09:30:50 +01:00
Dean 557499a4d7 Minor update to fix padding for the json field label 2022-10-17 12:43:23 +01:00
Dean 50eee8d938 Added the json field type to the Automation field block. Also added in the automation icon to identify the automation bindings 2022-10-17 12:08:37 +01:00
Dean bb4ee20bd6 Values or defaults passed to the picker are parsed to ensure only valid options are marked/added to the component. 2022-10-17 12:03:13 +01:00
Andrew Kingston d7f033eedf Add sensible min widths to settings in the filter drawer 2022-10-15 13:23:20 +01:00
Mel O'Hagan 26a16f1931 Handle null or empty steps 2022-10-14 08:02:29 +01:00
deanhannigan aa1293f15a Merge pull request #8153 from Budibase/feature/qr-barcode-reader
Feature/qr barcode reader
2022-10-13 16:43:54 +01:00
Mel O'Hagan 8a7f6fcd27 Added null propagation operators 2022-10-13 16:17:47 +01:00
Dean 7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
melohagan bea6e250b8 Update packages/builder/src/components/integration/index.svelte
Co-authored-by: Martin McKeaveney <martin@budibase.com>
2022-10-13 16:13:56 +01:00
Andrew Kingston bfee51aeab Update formula tooltip to explain they cannot be sorted by 2022-10-13 16:11:53 +01:00
Andrew Kingston 167f8f368b Only show sortable fields for sort column settings 2022-10-13 15:58:44 +01:00
Mel O'Hagan 080694a08a Rename flowEditors to stepEditors 2022-10-13 13:07:53 +01:00
Mel O'Hagan 10367dfb43 Rename flow to pipeline 2022-10-13 13:05:45 +01:00
Mel O'Hagan ac3d389163 Allow stages to be swapped in flow 2022-10-12 18:42:35 +01:00
Mel O'Hagan 9f60a6c485 Allow template to be used when changed body blank 2022-10-12 16:20:11 +01:00
Mel O'Hagan 33c36c1112 Include stage templates 2022-10-12 15:31:53 +01:00
Mel O'Hagan c67c784e15 Merge branch 'develop' into lab/mongodb 2022-10-12 10:29:27 +01:00
Mel O'Hagan 3b907e2cb5 Merge branch 'master' into bug/sev3/edit-column-modal-state 2022-10-12 10:23:17 +01:00
Mel O'Hagan 8210233f36 Edit clone of column 2022-10-12 10:22:54 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
melohagan 8757105501 Merge pull request #8169 from Budibase/bug/sev3/delete-button-roles
Hide delete button for built-in roles, and prevent duplicate roles
2022-10-12 09:11:58 +01:00
Dean 299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Dean 9d00b59c49 Adjustments to accomodate the updates scanner type 2022-10-10 12:11:29 +01:00
Martin McKeaveney 536b7238e9 redis fix for new instances, removing relationship options from google sheets integration 2022-10-10 11:00:45 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Mel O'Hagan c9f3dc7fe4 Don't allow duplicate roles 2022-10-06 19:22:18 +01:00
Mel O'Hagan 49117d8595 Fix inherits role options 2022-10-06 18:23:02 +01:00
Mel O'Hagan 32e6c5bd7a UI fixes 2022-10-06 18:19:00 +01:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 1626338b15 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-05 09:29:32 +01:00
Dean 2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Michael Drury 89436d3d13 Merge pull request #7873 from Budibase/bug/column-name-other-table-validation
Don't show validation error for existing relationship
2022-10-04 12:49:47 +01:00
Mel O'Hagan 55c112677e Added support for JSON array stages 2022-10-04 11:03:24 +01:00
Mel O'Hagan 91db8f10ab Improve editor refresh on delete 2022-10-04 10:18:16 +01:00