Commit Graph

9422 Commits

Author SHA1 Message Date
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
Budibase Release Bot 868f82ea33 v2.3.18 2023-02-27 10:12:47 +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
mike12345567 3eaecc79d5 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 17:03:00 +00:00
Budibase Staging Release Bot 0ba544bb0a v2.3.18-alpha.12 2023-02-24 15:51:56 +00:00
Budibase Staging Release Bot d5a655a4eb v2.3.18-alpha.11 2023-02-24 13:23:58 +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
Budibase Staging Release Bot f791cb6365 v2.3.18-alpha.10 2023-02-24 10:48:01 +00:00
Peter Clement 6b7d07c926 fix app sorting 2023-02-24 09:41:48 +00:00
Budibase Staging Release Bot f3c5ddc7c9 v2.3.18-alpha.9 2023-02-24 09:23:36 +00:00
Peter Clement 30d9899bb7 sorting for event and app list 2023-02-23 17:14: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
Budibase Staging Release Bot c4e2566438 v2.3.18-alpha.8 2023-02-23 14:02:39 +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
Budibase Staging Release Bot 910bac322c v2.3.18-alpha.7 2023-02-23 12:14:21 +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
Budibase Staging Release Bot 8cb9d5067b v2.3.18-alpha.6 2023-02-22 13:56:31 +00:00
Budibase Staging Release Bot 46c015491a v2.3.18-alpha.5 2023-02-22 13:33:55 +00:00
Budibase Staging Release Bot bfe0756373 v2.3.18-alpha.4 2023-02-22 13:11:38 +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
Budibase Staging Release Bot a03fe900c6 v2.3.18-alpha.3 2023-02-22 10:10:27 +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
Budibase Staging Release Bot 288f853208 v2.3.18-alpha.2 2023-02-22 08:40:11 +00:00
Budibase Staging Release Bot deb76ca7f3 v2.3.18-alpha.1 2023-02-21 17:33:47 +00:00
mike12345567 ef30c03fa6 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
Budibase Staging Release Bot ccc17f5599 v2.3.18-alpha.0 2023-02-21 17:03:45 +00:00
mike12345567 f7f9e63fe8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
Budibase Staging Release Bot 9fadc42a2e v2.3.17-alpha.8 2023-02-21 15:20:48 +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
Budibase Staging Release Bot a3dfaf2c3f v2.3.17-alpha.7 2023-02-21 14:39:55 +00:00
Peter Clement 0f26f55019 some style updates for the sidebar 2023-02-21 12:31:21 +00:00
Budibase Staging Release Bot 9ed759580f v2.3.17-alpha.6 2023-02-21 11:52:45 +00:00
Budibase Staging Release Bot e6d7c22efa v2.3.17-alpha.5 2023-02-21 11:22:46 +00:00
Rory Powell 0c838196e4 Enable mock redis for integration tests 2023-02-21 10:52:11 +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
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
Budibase Staging Release Bot 22f8becb4d v2.3.17-alpha.4 2023-02-17 14:56:34 +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
Budibase Staging Release Bot 1ad2f46766 v2.3.17-alpha.3 2023-02-17 09:25:55 +00:00
Budibase Staging Release Bot 74c7a23c5c v2.3.17-alpha.2 2023-02-17 08:32:08 +00:00
Budibase Staging Release Bot 788a912933 v2.3.17-alpha.1 2023-02-16 16:52:04 +00:00
Budibase Release Bot cd0e7d41a5 v2.3.17 2023-02-16 16:37:12 +00:00
Budibase Staging Release Bot a232d61527 v2.3.17-alpha.0 2023-02-16 14:26:19 +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 fa35fa4812 Merge branch 'master' into merge-master-into-develop 2023-02-15 15:16:59 +00:00
Rory Powell bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
Budibase Release Bot d4a0f848cd v2.3.16 2023-02-15 15:09:01 +00:00
Budibase Release Bot ecbea6255a v2.3.15 2023-02-15 12:57:32 +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
Budibase Release Bot b2f09bc57a v2.3.14 2023-02-15 09:43:10 +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
Budibase Staging Release Bot 366cc80cdf v2.3.14-alpha.0 2023-02-14 18:12:57 +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
Budibase Release Bot 122d305260 v2.3.13 2023-02-14 15:15:07 +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
Budibase Release Bot 10b902b295 v2.3.12 2023-02-13 11:23:03 +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
Budibase Release Bot 7654cc47cb v2.3.11 2023-02-12 15:40:20 +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
Budibase Staging Release Bot 66f6576435 v2.3.11-alpha.0 2023-02-10 19:14:12 +00:00
mike12345567 0c80ea2083 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Budibase Release Bot d356ca205b v2.3.10 2023-02-10 15:54:05 +00:00
Peter Clement 2bd6ff627a update env vars with geneic splash screen 2023-02-10 14:57:42 +00:00
Budibase Release Bot 6f144df007 v2.3.9 2023-02-10 13:46:46 +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
Budibase Release Bot c85413ec72 v2.3.8 2023-02-10 11:12:21 +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
Budibase Release Bot 7623b4cc16 v2.3.7 2023-02-10 09:12:01 +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
Budibase Release Bot 672614a869 v2.3.6 2023-02-09 11:58:13 +00:00
Peter Clement 26becc9950 add generic page for paywall features 2023-02-08 15:18:44 +00:00
Budibase Release Bot a2d5b05cd8 v2.3.5 2023-02-07 19:16:07 +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
Budibase Release Bot e54e6987a3 v2.3.4 2023-02-07 18:46:27 +00:00
andz-bb 59b8aef844 stop chrome autofilling login when adding env var 2023-02-07 17:44:23 +00:00
Budibase Release Bot 04916f5cdd v2.3.3 2023-02-07 16:11:38 +00:00
Budibase Staging Release Bot ecda94905b v2.3.2-alpha.3 2023-02-07 16:01:59 +00:00
Budibase Staging Release Bot 492b416980 v2.3.2-alpha.2 2023-02-07 15:32:37 +00:00
Budibase Staging Release Bot 1ffcd7a00f v2.3.2-alpha.1 2023-02-07 15:02:13 +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
Budibase Release Bot a7ad1cb331 v2.3.2 2023-02-07 13:17:50 +00:00
Budibase Staging Release Bot 34dd7902c7 v2.3.2-alpha.0 2023-02-07 11:56:18 +00:00
Gerard Burns c6cd8c1c1e Fix Import Validations 2023-02-07 11:43:50 +00:00
Budibase Release Bot 1c86b402fd v2.3.1 2023-02-06 20:09:07 +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
Budibase Release Bot 8a77b5d429 v2.3.0 2023-02-06 08:49:47 +00:00
Martin McKeaveney 2ebbd319d5 auto columns fix 2023-02-06 08:36:25 +00:00
Budibase Release Bot f5dd1ce64b v2.2.27 2023-02-05 23:59:33 +00:00
Budibase Staging Release Bot da55386856 v2.2.27-alpha.0 2023-02-05 23:28:28 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Budibase Staging Release Bot 9a7de5a746 v2.2.12-alpha.71 2023-02-03 15:04:31 +00:00
Budibase Staging Release Bot ece924c816 v2.2.12-alpha.70 2023-02-03 13:38:33 +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
Budibase Staging Release Bot 9ac188d9fc v2.2.12-alpha.69 2023-02-03 11:22:23 +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
Budibase Staging Release Bot 9c9ae8d184 v2.2.12-alpha.68 2023-02-03 10:05:06 +00:00
Budibase Staging Release Bot 1508b6ece4 v2.2.12-alpha.67 2023-02-03 09:16:09 +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
Budibase Staging Release Bot 34a26ece0f v2.2.12-alpha.66 2023-02-02 14:44:05 +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
Budibase Staging Release Bot 89d2bd0bec v2.2.12-alpha.65 2023-02-02 13:47:22 +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
Budibase Release Bot 6336463873 v2.2.26 2023-02-02 11:57:54 +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
Budibase Staging Release Bot 960d3b8d4f v2.2.12-alpha.64 2023-02-02 11:25:28 +00:00
Andrew Kingston 0abac846d3 Ensure tour popover disappears when finished (#9517) 2023-02-02 11:14:40 +00:00
Budibase Staging Release Bot 7ad4377058 v2.2.12-alpha.63 2023-02-02 10:20:44 +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
Budibase Staging Release Bot 3489cb312c v2.2.12-alpha.62 2023-02-02 09:43:29 +00:00