Commit Graph

6577 Commits

Author SHA1 Message Date
melohagan 53f6b2b6e6 Null safety (#9746) 2023-02-20 11:03:37 +00:00
Peter Clement a1b47bbce3 ensure table is pulling from search endpoint 2023-02-17 16:49:41 +00:00
Gerard Burns 8289da3f19 Add Fetch Row Button Action (#9653)
* Add Fetch Row Button Action

* PR feedback
2023-02-17 14:49:35 +00:00
Martin McKeaveney 33b08faffa Merge pull request #9706 from Budibase/qa-2-qa-job-for-nightly-api-test
Re-enabling nightly tests
2023-02-16 14:04:51 +00:00
Andrew Kingston c81ef6f128 Attempt to fix flakey 409s when deleting screens that are linked in the nav (#9700) 2023-02-16 13:33:53 +00:00
Martin McKeaveney 6b5128a0bf running API tests with reporting qa nightly tests 2023-02-15 23:38:59 +00:00
Rory Powell ff64042843 Merge branch 'develop' into merge-master-into-develop 2023-02-15 15:20:05 +00:00
Rory Powell bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
Martin McKeaveney 8deacaccf8 Merge pull request #9690 from Budibase/link-to-plugin-repo-from-plugin-page
Link to Plugin Repo from Plugin Page
2023-02-15 12:10:43 +00:00
mike12345567 6977502d01 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-15 11:29:04 +00:00
melohagan fb74956c93 Date filter freeze fix (#9635)
* Filter with enrichedSchemaFields

* Handle empty object values in date range
2023-02-15 09:27:44 +00:00
mike12345567 3f7f66257d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-14 17:57:23 +00:00
Gerard Burns 632d672efb Link to Plugin Repo from Plugin Page 2023-02-14 15:52:21 +00:00
mike12345567 488b542ac1 Fix for #9654 - the error checking was looking at the through fields flipped, which caused many to many relationships to throw an error. Also I've updated the dev compose file on master so that switching between develop and master is smoother. 2023-02-14 14:38:55 +00:00
Peter Clement 6d60c27521 add store and api funcs 2023-02-13 16:32:14 +00:00
Peter Clement 00388c4b04 Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-13 11:47:29 +00:00
Peter Clement 2d2c960b75 add audit logs feature 2023-02-13 11:43:25 +00:00
mike12345567 2845ec3bf7 Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-13 11:41:16 +00:00
melohagan ee054adf39 Longform fields support for JSON string (#9666) 2023-02-13 11:06:33 +00:00
Peter Clement 70ac7b81c3 add base audit logs ui 2023-02-13 09:47:08 +00:00
Martin McKeaveney 321a869da7 fix displayColumn logic 2023-02-11 01:14:58 +00:00
Martin McKeaveney cd8e007da8 force display column to be chosen when uploading csv 2023-02-11 01:07:20 +00:00
mike12345567 0c80ea2083 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Peter Clement 2bd6ff627a update env vars with geneic splash screen 2023-02-10 14:57:42 +00:00
Peter Clement c2b7c6f388 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-10 11:51:28 +00:00
Andrew Kingston cadadca048 Generate option inclusion constraint (#9647)
* Fix options inclusion constrant not being generated when creating a table from file upload

* Fix 0 being treated as null when specifying min and max constraints for number fields

* Sort newly generated option field inclusion constraints

* Revert previous solution and fix problem by removing incorrect local assignment statement
2023-02-10 11:00:20 +00:00
Dean 4c013df676 Reactivity fix for the editableColumn and an update to the onChange behaviour for the formula value to ensure updates are detected 2023-02-09 16:36:02 +00:00
Peter Clement 26becc9950 add generic page for paywall features 2023-02-08 15:18:44 +00:00
Martin McKeaveney 568ac4da1b Merge pull request #9546 from Budibase/fix-import-validations
Fix Import Validations
2023-02-07 19:05:27 +00:00
Gerard Burns e2f52c8e1d Fix Import Validations 2023-02-07 19:05:00 +00:00
andz-bb 59b8aef844 stop chrome autofilling login when adding env var 2023-02-07 17:44:23 +00:00
Martin McKeaveney 238854aa0e updating onboarding tour and fixing github CSP 2023-02-07 14:49:45 +00:00
Gerard Burns 7a443f6a5d New Onboarding Loading States (#9519)
* New Onboarding Loading States

* Pr Feedback
2023-02-07 14:47:46 +00:00
Gerard Burns c6cd8c1c1e Fix Import Validations 2023-02-07 11:43:50 +00:00
Peter Clement 2320bd574e don't load env vars when license isn't enabled 2023-02-06 14:37:50 +00:00
Peter Clement 99287b9a5a don't coerce options type to array when switching to bindings 2023-02-06 14:37:50 +00:00
Martin McKeaveney 2ebbd319d5 auto columns fix 2023-02-06 08:36:25 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
deanhannigan 368e97f124 Merge pull request #9528 from Budibase/fix/qr-field-type-parsing
Parse field type configuration for invalid characters
2023-02-03 13:27:39 +00:00
Michael Drury ceee79f1b8 Merge pull request #9516 from Budibase/fix/relationship-modal
SQL relationship modal
2023-02-03 11:08:34 +00:00
Dean 8e78b075fd Feedback updates. Backed out parsing and simply renamed the field config property 2023-02-03 10:22:36 +00:00
deanhannigan e7bbd786d0 Merge pull request #9500 from Budibase/fix/add-onboarding-tour-tenant-flag
Added a tenant feature flag for the onboarding tour
2023-02-03 09:05:21 +00:00
Dean 90be29452b Removed extra forward slash in qr reader field type. 2023-02-02 17:58:35 +00:00
mike12345567 90c2e69efe Final fix - making sure relationships can be built from table UI. 2023-02-02 17:37:41 +00:00
mike12345567 01edfba90e Some final fixes based on comments, adding foreign key type checking for through tables. 2023-02-02 17:25:02 +00:00
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
Dean 2c42d6fbc1 Fixed typo in feature flag 2023-02-02 11:53:49 +00:00
Dean 436564709e Merge remote-tracking branch 'origin/develop' into fix/add-onboarding-tour-tenant-flag 2023-02-02 11:38:57 +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 af335b4349 remove uneeded tooltip 2023-02-01 14:55:39 +00:00
Peter Clement 12cc927b16 add warning modals to app export buttons 2023-02-01 14:44:53 +00:00
Peter Clement 46d5c58d95 disallow spaces in env var names 2023-02-01 14:43:31 +00:00
Dean 0eed617866 Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
Dean 014eaf8c83 Added a tenant feature flag for the onboarding tour 2023-02-01 12:14:10 +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 7540cad45c Merge pull request #9467 from Budibase/feature/auth-screens-redesign
Selfhost onboarding UX/UI updates
2023-01-31 16:13:46 +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 f9af98d5d4 Removed debug console statement 2023-01-29 22:03:49 +00:00
Dean 9786c85bd3 Feedback updates 2023-01-29 22:00:20 +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
Dean 1534218c94 Validation refactor 2023-01-27 17:59:50 +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 92a2f23cde add divider on upgrade page 2023-01-27 15:23:24 +00:00
Dean d37c0e4b5d UI Onboarding UI/UX auth refactoring 2023-01-27 13:44:57 +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 c68b5ccb84 fix license check 2023-01-26 16:16:56 +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
Andrew Kingston 767b783923 Fix upgrade button not working when account portal is an external URL 2023-01-25 09:15:12 +00:00
Peter Clement 0ca1521a58 css updates to dropdown component 2023-01-24 15:24:29 +00:00
FlaminWrap 8d8ec91be8 Resolve merge problems (#9420) 2023-01-23 23:24:44 +00:00
mike12345567 63d882efc6 Adding frontend event publishing for events like upgrade panel opened. 2023-01-23 19:18:02 +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 97c7f42fbe Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 23:04:54 +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
Andrew Kingston 2a2466fbda 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 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
Andrew Thompson 0f5d0a0992 fix auth config validation for saving deactivation (#9361) 2023-01-19 13:06:38 +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
mike12345567 b659060beb Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +00:00
mike12345567 a6a42f4d2e Disabling edit/add options for environment variables when encryption key is not found. 2023-01-18 17:49:18 +00:00
mike12345567 3b219dc4ef Adding a warning for missing ENCRYPTION_KEY variable to the portal. 2023-01-18 17:29:56 +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
Peter Clement 81a6286f42 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 10:15:03 +00:00
Peter Clement e38bde79ac add licensing work 2023-01-17 10:13:49 +00:00
melohagan 84291ff5ee Null safety (#9355) 2023-01-16 14:34:10 +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
Adria Navarro 0d1f7b4945 Allow same user to be updated multiple times 2023-01-13 17:59:50 +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
Peter Clement f00034544f reuse modal for edit and create and add delete function 2023-01-13 16:39:26 +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
Andrew Kingston 00916a9b45 Hide edit and view links in more menu on overview page unless on mobile 2023-01-13 12:05:42 +00:00
Andrew Kingston a89bdb5e57 Update app overview button styles to include more CTAs 2023-01-13 12:04:05 +00:00
Andrew Kingston 84c0e468db Always show groups section in app access page 2023-01-13 12:02:48 +00:00
Andrew Kingston 387c3be2b4 Remove clickable visual styles from plugins 2023-01-13 12:01:34 +00:00
Andrew Kingston fb8d6bb341 Update assignment modal text 2023-01-13 11:58:05 +00:00
Andrew Kingston 2812973eea Shrink user dropdown 2023-01-13 11:57:57 +00:00
Andrew Kingston 9daa4be01f Shrink upgrade button 2023-01-13 11:57:46 +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 66c6b6dec3 Fix logo override not working 2023-01-13 09:26:35 +00:00
Andrew Kingston 31431ac98c 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 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
Andrew Kingston 22affb8d5f Improve users page loading experience 2023-01-13 08:39:52 +00:00
Andrew Kingston 147bdc751c Remove logs 2023-01-13 08:39:39 +00:00
Andrew Kingston ad4133a777 Allow readonly access to users and groups for developer users 2023-01-13 08:29:18 +00:00
Andrew Kingston e23f7dde47 Allow developer users to access users, groups and usage pages 2023-01-13 08:28:54 +00:00
Andrew Kingston 4e4b074635 Update app access assignment and fix backups table 2023-01-12 17:04:05 +00:00
Andrew Kingston 5d24fe0a13 Centralise menu logic and show full menu on mobile 2023-01-12 16:50:43 +00:00
Peter Clement a0dacc9717 add create store method and tidy up 2023-01-12 16:09:05 +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 abd84118d9 Hide groups page if disabled at tenant level 2023-01-12 15:52:37 +00:00
Andrew Kingston e32dc5237a Fix mobile menu upgrade button not closing menu 2023-01-12 15:42:59 +00:00
Peter Clement 5646e18cb2 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-12 14:53:53 +00:00
Andrew Kingston b21f0b3925 Lint 2023-01-12 14:48:05 +00:00
Peter Clement a4fd65b495 add edit and add modals 2023-01-12 14:38:30 +00:00
Andrew Kingston 1ce4c8a569 Fix update link in app overview 2023-01-12 09:19:58 +00:00
Andrew Kingston 6078c7560e Fix some responsive styles 2023-01-12 09:19:37 +00:00
mike12345567 69b9af51ff Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
mike12345567 d5ccbbe4f0 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 03df57d077 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 4ddb63d79c Update backups page to be responsive 2023-01-11 16:39:32 +00:00
melohagan c6e2033cd4 Default source to Github (#9312) 2023-01-11 15:35:33 +00:00
Andrew Kingston 3d76b07a9a Make automation history page responsive 2023-01-11 12:09:58 +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
Peter Clement 7a78a0bf66 more boilerplate 2023-01-09 16:49:29 +00:00
Peter Clement 7378d21fea environment variables ui boilerplate 2023-01-09 16:48:39 +00:00
Andrew Kingston 0aa72e5147 Update upgrade button URL for cloud accounts 2023-01-09 16:16:03 +00:00
Andrew Kingston 4e7daa66ed Add licensing and env logic to determine which account links to show 2023-01-09 12:25:22 +00:00
Andrew Kingston 99ba588478 Cleanup 2023-01-09 12:06:45 +00:00
Andrew Kingston b6e237874a Update email details page to match new designs 2023-01-09 12:01:16 +00:00
Andrew Kingston 531fe63b4b Fix checklist removal and fix profile modal 2023-01-09 11:35:31 +00:00
Andrew Kingston a456e18bde Remove getting started checklist 2023-01-09 11:33:14 +00:00
Andrew Kingston ee6abf9200 Properly handle text overflow in plugins table 2023-01-09 11:26:01 +00:00
Andrew Kingston 6b39256184 Fix URLs in app overview 2023-01-09 11:22:59 +00:00
Andrew Kingston 7c11b82e57 Update plugin search placeholder 2023-01-09 11:22:47 +00:00
Andrew Kingston e461c4d676 Update links when going back from the builder 2023-01-09 11:22:12 +00:00
Andrew Kingston f805f6d7f3 Convert plugins page to table and update components and modals 2023-01-09 11:12:54 +00:00
Andrew Kingston 8933bc2be8 Move settings before account and show plugins for devs 2023-01-09 09:46:27 +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 183bf9a84a 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 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 3dd5916f24 Update user and group details pages with new tables 2022-12-21 16:33:25 +00:00
Andrew Kingston e91ed89d72 Update users detail page 2022-12-21 11:53:16 +00:00
Andrew Kingston 7526bc8387 Update user details page to use tables and match designs 2022-12-21 11:52:25 +00:00
Andrew Kingston 1e522d6696 Tidy up 2022-12-21 09:54:39 +00:00
Andrew Kingston 285f11eca5 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 df1e1b0c3f Fix loading bugs in app backups page 2022-12-21 08:52:49 +00:00
Andrew Kingston 0a12dfd192 Fix flashing in version settings page 2022-12-21 08:50:39 +00:00
Andrew Kingston d684ab95f2 Fix multiple issues with long text overflow 2022-12-21 08:45:54 +00:00
Andrew Kingston 5fdd31f724 Fix extremely long strings in breadcrumbs not wrapping 2022-12-20 17:27:50 +00:00
Andrew Kingston f12fdf48ff Update table styles to support flexible column widths much better 2022-12-20 17:22:39 +00:00
Andrew Kingston 75af4cbfbf Update table hover colours 2022-12-20 17:07:14 +00:00
Andrew Kingston 7ca61c8bca Rewrite app overview access tab 2022-12-20 17:01:50 +00:00
Andrew Kingston 2506d018f9 Update overview backups page 2022-12-20 12:35:07 +00:00
Andrew Kingston bbf41f9656 Update overview automation history tab 2022-12-20 12:06:08 +00:00
Andrew Kingston 3f7a7eda16 Add tooltip to explain why URL cannot be changed until unpublishing 2022-12-20 08:53:12 +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 650448de8b Remove debug logging 2022-12-19 13:16:54 +00:00
Andrew Kingston 02ff1fd25d Lint 2022-12-19 12:47:30 +00:00
Andrew Kingston e38e0db2c3 Remove useless rows store and remove unecessary state updates 2022-12-19 12:35:35 +00:00
Andrew Kingston 20bd1815ac Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00