Commit Graph

6626 Commits

Author SHA1 Message Date
Andrew Kingston 862ba6ce92 Update spacing, borders and sizing 2023-02-28 12:29:13 +00:00
Andrew Kingston e5b2fdfcf6 Fix overly thin scrollbars in firefox 2023-02-28 11:51:00 +00:00
Andrew Kingston 385e9eadb0 Add infinite scroll, improve row fetching, add error handling, fix svelte store updates 2023-02-28 11:48:25 +00:00
Dean dd08845a44 Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-28 09:38:15 +00:00
Dean 61ed62e6c4 Builder user onboarding 2023-02-28 09:37:03 +00:00
Mateus Badan de Pieri 272081a31f move imports to right source 2023-02-27 17:11:53 +00:00
adrinr b05d568518 Merge remote-tracking branch 'origin/develop' into bug/budi-6076-cannot-delete-columns-in-google-sheet 2023-02-27 17:45:37 +01:00
Mateus Badan de Pieri 057abb5351 move component to bbui 2023-02-27 15:04:30 +00:00
Peter Clement 79da099c48 Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-27 15:04:27 +00:00
Peter Clement cb3d0c39bd null date string was breaking download for certain ranges 2023-02-27 15:03:25 +00:00
mike12345567 2fb33e2cf3 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-27 14:51:33 +00:00
Rory Powell 2e829ce8a6 Merge pull request #9785 from Budibase/configs-refactor-and-server-test-fixes
Configs /  Server tests / Failing real email tests updates
2023-02-27 14:00:21 +00:00
Rory Powell 2c46109e7d Enforceable SSO (#9787)
* Add ENFORCEABLE_SSO feature flag

* First draft of enforce sso configuration / show single sign on url

* Reading and writing isSSOEnforced + integration with login page

* Enable CI + lint

* Set correct base branch for CI

* Test fix for expected string changed

* Use tenant aware platform url as SSO link

* Bring in latest pro changes

* Lint

* Add useEnforceableSSO mock helper function

* Update configs.spec.ts with coverage for public settings

* Update users.spec.ts with additional tests for isPreventPasswordActions

* Lint

* Update refresh OAuthToken to use correct enum and add case statement
2023-02-27 13:42:51 +00:00
adrinr b231311a87 Don't hide errors on the frontend 2023-02-27 13:17:05 +01:00
Peter Clement 7f35961e77 adjust table sizing and switch column position 2023-02-27 11:12:52 +00:00
Dean c135a029f9 Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-27 09:12:07 +00:00
Dean 32619fbfa3 Merge commit 2023-02-27 09:11:32 +00:00
Andrew Kingston fae24276f9 Migrate sheet to data section, improve reordering and reszing 2023-02-26 21:29:46 +00:00
mike12345567 3eaecc79d5 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 17:03:00 +00:00
Gerard Burns b80ed3cfee Fix App Import (#9796) 2023-02-24 13:16:33 +00:00
mike12345567 42fc004212 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 12:46:58 +00:00
Peter Clement 5e4c4a9dfd fix datepicker bug 2023-02-24 12:27:52 +00:00
Peter Clement 6b7d07c926 fix app sorting 2023-02-24 09:41:48 +00:00
Peter Clement 30d9899bb7 sorting for event and app list 2023-02-23 17:14:08 +00:00
Andrew Kingston b8e7e0b701 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-23 16:41:08 +00:00
Peter Clement c1db2c0c3e add debounce for search 2023-02-23 14:33:15 +00:00
Peter Clement 163556ffb1 fix spacing as columns were moving around 2023-02-23 14:20:56 +00:00
Andrew Kingston 8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Peter Clement f593b39e1b default start and end date 2023-02-23 13:49:44 +00:00
Peter Clement a713199ddc update filter positioning 2023-02-23 13:00:29 +00:00
Gerard Burns 4c70b7fd9b Improve Add Screen Modal (#9759)
* Improve Add Screen Modal

* lint

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 12:06:55 +00:00
Peter Clement 6efb0f4997 update table width 2023-02-23 10:57:50 +00:00
Andrew Kingston 8047a0fc4c Fix error being thrown when attempting to change query parameters (#9782) 2023-02-23 08:09:18 +00:00
mike12345567 01076bd35f Getting downloading working correctly, some minor UI updates, adding a new middleware for converting a query string to a body (useful for when a GET has to be used). 2023-02-22 18:50:27 +00:00
Peter Clement 647e643439 start download work 2023-02-22 17:25:24 +00:00
Peter Clement ffee41aea3 custom popover height and sidebar styling 2023-02-22 12:31:04 +00:00
Peter Clement 6681853acf Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-22 10:11:21 +00:00
Peter Clement 7bb9829165 update sidebar styling and fix bugs 2023-02-22 10:09:15 +00:00
Gerard Burns e7f8a8a801 Backups UI Changes (#9726)
* Backups UI Changes

* PR Feedback

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-22 10:03:11 +00:00
mike12345567 ef30c03fa6 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
mike12345567 f7f9e63fe8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
Gerard Burns 5e7305b4dd Fix Automation Bindings Panel Requiring a Double Click (#9688)
* Fix Automation Bindings Panel Requiring a Double Click

* PR Feedback

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-21 15:04:37 +00:00
Gerard Burns e64e3a9e45 New Onboarding URL Validation (#9507)
* New Onboarding URL Validation

* linting

* PR Feedback
2023-02-21 15:03:58 +00:00
Peter Clement 0f26f55019 some style updates for the sidebar 2023-02-21 12:31:21 +00:00
Peter Clement dc691bcaf7 integrate properly with audit log search api 2023-02-21 10:48:55 +00:00
Rory Powell cacf275a99 Prevent SSO users from setting / resetting a password (#9672)
* Prevent SSO users from setting / resetting a password

* Add support for ENABLE_SSO_MAINTENANCE_MODE

* Add typing to self api and build out user update sdk

* Integrate sso checks with user sdk. Integrate user sdk with self api

* Test fixes

* Move self update into SDK

* Lock down maintenance mode to admin user

* Fix typo

* Add health status response and return type signature to accounts.getStatus

* Remove some unnecessary comments

* Make sso save user function non optional

* Remove redundant check on sso auth details provider

* Update syncProfilePicture function name to getProfilePictureUrl

* Update packages/worker/src/sdk/users/events.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Add ENABLE_EMAIL_TEST_MODE flag

* Fix for logging in as sso user when existing user has password already

* Hide password update and force reset from ui for sso users

* Always disable sso maintenance mode in cloud

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
Andrew Kingston 08463c1cd0 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-20 15:55:25 +00:00
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
Andrew Kingston 5eeea14de0 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-08 15:10:48 +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