Commit Graph

6524 Commits

Author SHA1 Message Date
mike12345567 741d732795 Don't allow creation of google sheets datasource until google auth configured correctly. 2023-03-10 17:39:06 +00:00
Peter Clement 6d6a4816a0 lint 2023-03-10 15:01:31 +00:00
Peter Clement bd7c91b1bd Fix automation saving issue 2023-03-10 14:47:26 +00:00
Mateus Badan de Pieri 9f5aa90752 Update BuilderSidePanel.svelte 2023-03-10 12:30:00 +00:00
Mateus Badan de Pieri d8ce0713aa Merge branch 'develop' into license-key-mgmt 2023-03-10 12:29:10 +00:00
Dean 41c715ecb7 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-10 09:11:54 +00:00
Mel O'Hagan ad7bda17bb Change database to Service Name in oracle 2023-03-09 15:52:16 +00:00
Andrew Kingston e5271bdef1 Command palette (#9942)
* command palette E2E

* tidy up

* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Update command palette to support new data routes

* Update command palette, fix keybind issues and updating loading state

* Lint

* Fix publish command and fix preview published app URL

* Fix BBUI import

* Lint

* Fix datasource navigator selected state not working for internal DB or sample data

* Update command palette to use ctr+k/cmd+k

* Update command palette to match new designs and add visible categories

* Restore missing styles£

* Use proper theme constants for changing theme in command palette

* Add command palette action for inviting users

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2023-03-09 14:15:43 +00:00
Dean 7b2a7c7028 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-09 09:03:37 +00:00
Andrew Kingston f790c58d97 Update style section to render properly in new layout 2023-03-09 08:51:43 +00:00
Andrew Kingston 1508d4aea3 Update all setting labels to be correctly cased and sized to fit new layout 2023-03-09 08:47:32 +00:00
Andrew Kingston db7f267887 Update component settings to be left aligned and update long component settings labels to be shorter 2023-03-08 19:22:19 +00:00
deanhannigan d5f7a27d07 Component settings section tabs (#9895)
* Added tabs to the component settings section in the builder

* Review updates

* Update setting tab buttons to be size M and use a lighter font color when selected

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-03-08 14:40:13 +00:00
mike12345567 f421b93826 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-08 13:52:55 +00:00
melohagan a8f873fff3 Try/catch automation Create Row relationship (#9924)
* Try/catch

* Increase height of automation test output

* Unit tests

* lint
2023-03-08 13:39:18 +00:00
Dean e8c6fc6acf Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-08 13:01:55 +00:00
mike12345567 ae3671ea42 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-07 17:49:44 +00:00
Martin McKeaveney 72cb60ec02 merge from master 2023-03-07 16:54:33 +00:00
Dean c6cddb5c06 Linting 2023-03-07 13:41:57 +00:00
Dean 5b9fbbc3b4 Various fixes for update self behaviour 2023-03-07 13:35:18 +00:00
Dean e4512ba91f Merge commit 2023-03-07 12:18:48 +00:00
Dean f5b513f5a5 Minor UI fixes for the user side panel header height and user email overflow 2023-03-07 11:17:22 +00:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
Martin McKeaveney 937cb7742f Merge pull request #9858 from Budibase/hide-upgrade-on-enterprise
Hide upgrade button on enterprise plan
2023-03-06 16:16:23 +00:00
Martin McKeaveney c4ba55842c Merge pull request #9855 from Budibase/fix/martin-ux-updates
small UX updates to improve user addition and perceived loading of builder
2023-03-06 16:16:05 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
Peter Clement aa02c0ca30 fix issue with user searching 2023-03-02 14:30:04 +00:00
Peter Clement ecfe685a2f account for system events 2023-03-02 10:06:24 +00:00
Rory Powell a80d963c88 Hide upgrade button on enterprise plan 2023-03-02 08:58:54 +00:00
Martin McKeaveney 286c5c3157 lint 2023-03-01 23:05:17 +00:00
Martin McKeaveney 8c4deb1811 small UX updates to improve user addition and perceived loading of builder 2023-03-01 22:51:52 +00:00
Rory Powell 4c43ba2943 Bypass password onboarding for enforced sso (#9851) 2023-03-01 21:56:30 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Dean c5fc4ea521 Fix for group picker in the user details page to accommodate missing userGroups value on a user 2023-03-01 17:40:33 +00:00
Rory Powell dbd75de003 Merge pull request #9842 from Budibase/fix/prevent-user-exists-message
Prevent showing user exists for password disabled actions
2023-03-01 15:32:16 +00:00
Rory Powell 467ad71dcc Move enforceable sso to enterprise 2023-03-01 15:30:34 +00:00
Peter Clement 6478f0b53a Merge pull request #9843 from Budibase/fix/audit-log-permissions
Only allow admins to access audit logs screen
2023-03-01 15:05:45 +00:00
Peter Clement 692d10d4be lint 2023-03-01 14:54:00 +00:00
Peter Clement a192ea0caa Only allow admins to access audit logs 2023-03-01 14:48:10 +00:00
Michael Drury f25fe7d5b8 Merge pull request #9829 from Budibase/fix/9602
Query schema - keep changes when running query again
2023-03-01 13:06:51 +00:00
Rory Powell 8edf3f5a2c Merge pull request #9826 from Budibase/fix-default-oidc-icons
Fix default oidc icons
2023-03-01 12:29:34 +00:00
Andrew Kingston 8234fc7f3a Remove comment blocks 2023-03-01 09:32:52 +00:00
mike12345567 5882f2b468 Fixing an issue shown in #9602 where the schema type will revert each time you re-run a query, this will hold any previously selected schema information in the query. 2023-02-28 19:27:59 +00:00
Dean a5c6dbe4ae Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-28 16:38:44 +00:00
Dean 8c8dd637e1 Enable the feature tour window and extend the invite duration to 1 week 2023-02-28 16:38:11 +00:00
Rory Powell c6a22282f7 Fix default oidc icons 2023-02-28 16:22:23 +00:00
Rory Powell 9e5851f756 Merge pull request #9824 from Budibase/enforced-sso-validation
Add validation between sso config acivation and sso enforcement
2023-02-28 14:01:45 +00:00
Michael Drury fcb9f3e116 Merge pull request #9815 from Budibase/bug/budi-6076-cannot-delete-columns-in-google-sheet
Bug - budi-6076 cannot delete columns in google sheet
2023-02-28 13:56:32 +00:00
Rory Powell 7ed0586673 Add validation between sso config acivation and sso enforcement 2023-02-28 13:36:54 +00:00
Andrew Kingston 8b9ddd8ab2 Add tiny margin to show full border around search field 2023-02-28 13:24:28 +00:00
Andrew Kingston 75215f244a Fix crash when using empty groups, update user invite picker to be right aligned like others 2023-02-28 13:20:00 +00:00
Andrew Kingston b6247fb9e4 Remove logs 2023-02-28 12:54:18 +00:00
Andrew Kingston 5a23eadd04 Remove redundant user fetch refresh 2023-02-28 12:49:55 +00:00
Andrew Kingston a44729d7ec Add role footer for admins and developers, remove wasted API calls 2023-02-28 12:49:40 +00:00
Andrew Kingston a6c7277a2a Update user text color 2023-02-28 12:32:22 +00:00
Andrew Kingston 862ba6ce92 Update spacing, borders and sizing 2023-02-28 12:29:13 +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
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
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
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