Commit Graph

6712 Commits

Author SHA1 Message Date
Gerard Burns d36cd3b1f8 Builder Unit Test PoC (#10173)
* wip

* wip
2023-04-18 14:37:29 +01:00
Andrew Kingston 06e1f2954a Add schemaOverrides prop to sheet and use it to customise user table schema 2023-04-18 13:41:17 +01:00
Andrew Kingston a06f584e7d Use unique user edit modal for editing users in sheets 2023-04-18 13:12:20 +01:00
Andrew Kingston 91ee5be7c5 Disable row import button for users table and add optional chaining to spreadsheetsocket invocations to fix tests 2023-04-18 11:31:19 +01:00
Andrew Kingston 876522bf1e Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 10:48:53 +01:00
Gerard Burns 7e5b99aa84 Fix Help Menu (#10257)
* Fix Help Menu

* PR Feedback

* linting
2023-04-18 10:37:11 +01:00
Andrew Kingston 8aff208acd Improve sheet loading state 2023-04-18 09:08:38 +01:00
Andrew Kingston ffd3e5d008 Fix table selection not working when on datasource page 2023-04-18 08:55:54 +01:00
Andrew Kingston 140729b1d7 Remove unused code and change selected table faster in data section 2023-04-18 08:51:00 +01:00
Andrew Kingston 208e481bbc Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-17 17:00:56 +01:00
Andrew Kingston c614c0739f Lint 2023-04-17 16:22:59 +01:00
adrinr 4a67136c72 Remove unnecessary initialisation 2023-04-17 09:49:11 +01:00
adrinr 965a417a21 Fix disabling fields on first load 2023-04-16 18:45:09 +01:00
mike12345567 b36702ca72 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-04-14 17:32:04 +01:00
Peter Clement d0b23d780d Merge pull request #10202 from Budibase/fix/rest-bindings-bug
Fix issue with REST bindings not being shown in drawer
2023-04-14 09:55:24 +01:00
Andrew Kingston 84a5739c53 Work around table API inconsistencies to handle table schema updates 2023-04-13 16:51:26 +01:00
Andrew Kingston f7f1ee49a6 Improve sheet loading states 2023-04-13 14:30:01 +01:00
Andrew Kingston 69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
mike12345567 a9fb09424b Merge branch 'develop' of github.com:Budibase/budibase into labday/automation-plugins 2023-04-12 14:27:50 +01:00
melohagan 6ca999722c Add file/upload size validation option (#10262)
* Add file/upload size validation option

* Max upload size handler

* Update max total upload label
2023-04-12 11:51:18 +01:00
Andrew Kingston 7bbb8e5648 Fix importing and exporting with sheets 2023-04-12 10:03:58 +01:00
Andrew Kingston 38f326dce4 Fix filters not working 2023-04-11 23:25:19 +01:00
Andrew Kingston 6290112d06 Improve data fetch reset logic, fix issues with stale cache in spreadsheets 2023-04-11 22:21:07 +01:00
Andrew Kingston 0ee63417c1 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-11 17:36:28 +01:00
Michael Drury 1c7c06e983 Bulk of the automation plugin system, supporting custom plugins. 2023-04-10 23:48:54 +01:00
Michael Drury bfec84e1df Removing console logging. 2023-04-05 20:32:41 +01:00
mike12345567 022b3acbcc Linting. 2023-04-05 17:54:05 +01:00
mike12345567 373952a59b Fixing #10155 - some options errors were being swallowed and in general it was never considered to be an error state due to the 'handled' flag being consistently sent, changed the logic a bit here. 2023-04-05 17:43:35 +01:00
Peter Clement c571a3f881 Fix issue with REST bindings not being shown in drawer 2023-04-04 09:12:15 +01:00
Michael Drury 9e68e9cf2f Merge pull request #10181 from Budibase/fix/same-tab-googlesheets-onboarding
Minor googlesheets onboarding improvement
2023-04-03 12:22:09 +01:00
Adria Navarro e1669c8260 Merge pull request #10022 from Budibase/feature/scim
Feature - SCIM endpoints
2023-04-03 13:22:01 +02:00
adrinr d943e387b1 Expose actual error message 2023-04-03 12:00:06 +01:00
Michael Drury 09a48a1d21 Merge branch 'develop' of github.com:Budibase/budibase into fix/no-iterations-loop 2023-03-31 23:29:21 +01:00
mike12345567 ea70b6232f Making login page open SSO authorization on same page, rather than leaving a dead tab. 2023-03-31 14:52:18 +01:00
mike12345567 8673ed1dae Minor improvement - opening the google authorization in the same tab as onboarding rather than creating a dead tab. 2023-03-31 14:03:34 +01:00
Andrew Kingston 7050c6713a Remove log and add notification when creating or editing columns 2023-03-31 13:21:53 +01:00
Michael Drury 1c6465edcb Merge pull request #10172 from Budibase/fix/budi-6797
Googlesheets onboarding - fix in cloud, disable self host
2023-03-31 13:19:29 +01:00
mike12345567 e9f69dcfea Adding default state. 2023-03-31 12:51:45 +01:00
Peter Clement 0a567a3302 add new status to handle no iterations during loop 2023-03-31 12:23:10 +01:00
Andrew Kingston b2d2cf3989 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-31 12:08:58 +01:00
Adria Navarro ceba91fd5c Merge pull request #10176 from Budibase/bug/budi-6631-define-existing-relationships-doesnt
[BUG] Refresh sql columns on defining relationships
2023-03-31 13:00:58 +02:00
mike12345567 75baba76d6 Resolving PR comments. 2023-03-31 11:38:09 +01:00
adrinr 6f69798f27 Undo wrongly commited code 2023-03-31 11:27:44 +01:00
adrinr faa1c27d29 Refresh sql columns on defining relationships 2023-03-31 10:53:50 +01:00
adrinr ec0acadd0a Fix user crossover on the bulder when no using account portal 2023-03-31 09:46:56 +01:00
mike12345567 42320b1d95 Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6797 2023-03-30 17:29:58 +01:00
Andrew Kingston 7570c52879 Allow expanding rows using existing edit row modal 2023-03-30 16:12:28 +01:00
Rory Powell 38e6d61709 Explictly check for google datasource configured (#10165)
* Explictly check for google datasource configured

* Unit tests for getGoogleDatasourceConfig

* Update /api/global/configs/public test + lint
2023-03-30 13:40:59 +01:00
Andrew Kingston d3c17308ab Fix one-to-many relationships allowing selecting multiple rows on both sides 2023-03-30 08:53:09 +01:00
mike12345567 32c78ec9bf This makes it so that Googlesheets works correctly as part of onboarding in the Cloud, in self host the googlesheets onboarding option has been hidden as it is too complex to get the user to setup the correct integrations with their google account while doing the first time onboarding to an app. 2023-03-29 19:58:24 +01:00
mike12345567 26aeac357d Removing tenancy validity check, instead depending on the PLATFORM_URL environment variable for determining tenant ID. 2023-03-29 16:19:35 +01:00
Michael Drury d255bfad0b Merge pull request #10149 from Budibase/fix/budicloud-log-out
Budicloud logout on googlesheet auth
2023-03-29 14:47:15 +01:00
mike12345567 b6be98fa4e Making logic around logout very explicit. 2023-03-29 14:22:07 +01:00
mike12345567 70d91acc41 Adding a check for the tenant ID - to make sure it is a real tenant before forcing the user out of the platform based on it. 2023-03-29 14:19:54 +01:00
Andrew Kingston 31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
adrinr 204b6d2950 Fix config type 2023-03-29 09:31:07 +01:00
adrinr 5e478f2eaa Fix setting scim config 2023-03-29 09:27:52 +01:00
Rory Powell 89d19a87a7 Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)
This reverts commit b1b18bef18, reversing
changes made to e841ccd0ed.
2023-03-29 08:48:06 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Martin McKeaveney bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +01:00
adrinr ac1da306f9 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr 14347096e4 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr b50e4df28c Use feature instead of license 2023-03-28 16:46:23 +01:00
adrinr d615e1daed Create feature store 2023-03-28 16:46:23 +01:00
adrinr dd2ec5ed78 Don't allow deleting users that are AD sync 2023-03-28 16:46:23 +01:00
adrinr 3c081843f0 Remove unnecessary deletes 2023-03-28 16:46:23 +01:00
adrinr 5d487950b1 Change default scimenabled value 2023-03-28 16:46:23 +01:00
adrinr 045af06edb Use feature flag 2023-03-28 16:46:23 +01:00
adrinr 2fb6f81094 Display api key 2023-03-28 16:46:23 +01:00
adrinr 9094d3c9fd Display right provisioning url 2023-03-28 16:46:23 +01:00
adrinr 5b98d9cbd9 Show settings 2023-03-28 16:46:23 +01:00
adrinr 675d3c5c65 Break components 2023-03-28 16:46:23 +01:00
adrinr 53020e2d2d Create config 2023-03-28 16:46:23 +01:00
adrinr c80d265ea3 Show SCIM banner on group detail 2023-03-28 16:46:23 +01:00
adrinr 4ba0cf6d55 Don't allow deleting users from group 2023-03-28 16:46:23 +01:00
adrinr 76f6c86c0a Show SCIM banner in group list 2023-03-28 16:46:23 +01:00
adrinr 2e40cc6926 Reuse component 2023-03-28 16:46:23 +01:00
adrinr 1bc568f634 Do not display remove group option when readonly 2023-03-28 16:46:23 +01:00
adrinr 15ed91ef85 Make fields readonly if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 1a26899d90 Display banner if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 934a2f09d7 Right checks 2023-03-28 16:46:23 +01:00
adrinr 0c5d33a642 Show SCIM banner if SCIM enabled 2023-03-28 16:46:23 +01:00
Andrew Kingston e0e5ca7a3c Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-28 15:47:53 +01:00
mike12345567 f637512317 Adding error to check why logout might have occurred as well as a possible fix. 2023-03-28 15:14:28 +01:00
Dean c914ded42c Feedback updates 2023-03-28 11:18:49 +01:00
Dean 51f2557e9a Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 21:15:31 +01:00
Martin McKeaveney 191bf47179 Merge pull request #10048 from Budibase/fix/conditional-ui-drawer-sections
Fix component settings which have no labels appearing as undefined in conditional UI
2023-03-27 17:43:56 +01:00
Dean eb3e38bb61 Removed the license agreement toggle 2023-03-27 15:32:45 +01:00
Dean 8131d9dc6f Branding feature flag changes, config trimming and some fixes 2023-03-27 15:17:14 +01:00
Martin McKeaveney d1ae1871c0 allow arrow key navigation in the components panel 2023-03-24 16:32:41 +00:00
Dean d19a700612 Linting 2023-03-21 15:19:52 +00:00
Dean f0a8732631 Fix for the page title logic for the login page 2023-03-21 14:32:52 +00:00
Dean bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
Michael Drury b1b18bef18 Merge pull request #10038 from Budibase/fix/budi-6723
Googlesheet issues - master merge
2023-03-16 13:33:33 +00:00
melohagan eeb8e49b54 Re-add clone for App Action (#10052) 2023-03-16 11:36:47 +00:00
Dean 253ee413a2 Working commit 2023-03-16 09:07:21 +00:00
Andrew Kingston 75057e2b05 Simplify logic 2023-03-16 08:35:22 +00:00
Andrew Kingston 8d79a23700 Fix component settings which have no labels appearing as undefined in the conditional UI drawer 2023-03-16 08:30:16 +00:00
mike12345567 6174b6ae18 Squashing #10024 for master merge. 2023-03-15 14:16:45 +00:00
Dean c7e54947a8 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-15 10:28:08 +00:00
Dean f3b58923cf Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-15 09:13:36 +00:00
Peter Clement cc4a911505 Merge pull request #9984 from Budibase/fix/automation-saving-fix
Fix issue with saving of automation fields
2023-03-14 14:39:24 +00:00
mike12345567 c2de0ade7d Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723 2023-03-14 14:25:46 +00:00
Peter Clement 4591bf64ee lint 2023-03-14 14:23:39 +00:00
mike12345567 63cf91218d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-14 14:12:32 +00:00
Peter Clement 352791dd9b remove unneeded cloneDeep 2023-03-14 14:09:10 +00:00
Peter Clement b854e06b33 fix direct mutation of inputdata in rowselector 2023-03-14 13:57:36 +00:00
Dean e8815f797c Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-14 09:06:06 +00:00
mike12345567 4eba548e93 Removing console log. 2023-03-13 18:05:11 +00:00
mike12345567 2a1f215351 Removing relationship option from Googlesheets as it doesn't add value, as well as multi-select as it can't really be supported. Also fixing issues with re-fetching after adding some special column types./ 2023-03-13 18:04:29 +00:00
Dean 567b9418a3 Made the popover logic more responsive to changes in the tour state. 2023-03-13 14:39:36 +00:00
Dean 19d7c94a22 Made tour node registration a bit more forgiving when waiting for tour details to initialise 2023-03-13 13:17:26 +00:00
Dean 5ce52cad06 Working commit 2023-03-13 12:33:16 +00:00
Andrew Kingston 909118d398 Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-13 11:30:18 +00:00
Dean fa6f5caa75 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-13 09:14:52 +00:00
Andrew Kingston 38a3ef0c34 Update filter button to look consistent and add double click to resize columns to default width 2023-03-11 18:54:38 +00:00
mike12345567 9037ab86d5 Adding an error for XLSX type sheets not working, adding the sheets URL as an option for google config (should be added to redirect URL) and fixing some error states. 2023-03-10 18:46:48 +00:00
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
Andrew Kingston a78ba19cf8 Tidy up buttons above sheets and add FAB for adding rows 2023-03-10 11:59:10 +00:00
Dean 41c715ecb7 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-10 09:11:54 +00:00
Andrew Kingston c4e3667b6c Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-09 17:54:58 +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
Andrew Kingston 0e9fc297fb Expose loading state of sheet and improve column highlighting logic 2023-03-07 12:05:00 +00:00
Andrew Kingston df757ce09b Prevent adding rows to users table and remove log 2023-03-07 11:57:28 +00:00
Andrew Kingston 554659bd91 Fix buttons being highlighted when filters are set 2023-03-07 11:43:42 +00:00
Andrew Kingston ca92d520b3 Fully integrates sheets with datasection and remove lots of old stuff 2023-03-07 11:40:32 +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
Andrew Kingston b93f575bca Add popovers to sheet column headers, improve mouse UX 2023-03-06 15:09:42 +00:00