Commit Graph

11848 Commits

Author SHA1 Message Date
Adria Navarro 539c36558c Lint 2024-02-27 14:22:48 +01:00
Adria Navarro b2112b1945 Remove SCIMBanner 2024-02-27 14:22:48 +01:00
Adria Navarro b587ec83fe Icon size to S 2024-02-27 14:22:48 +01:00
Adria Navarro 6058e4ffc9 Allow editing non-scim 2024-02-27 14:22:03 +01:00
Adria Navarro a91c08a56c Display isSync icon 2024-02-27 14:22:03 +01:00
Adria Navarro 36bb583602 Enable adding users 2024-02-27 14:22:03 +01:00
Adria Navarro 7891e99cf7 Allow editing non scim groups 2024-02-27 14:22:03 +01:00
Adria Navarro 39086fcd99 Always allow adding group 2024-02-27 14:22:03 +01:00
Adria Navarro 5ebe01fbb8 Unblock non-scim groups 2024-02-27 14:21:07 +01:00
Adria Navarro c4e81c6e38 Change icon 2024-02-27 14:21:07 +01:00
Adria Navarro 511cb5cee4 Add sync icon to group icon 2024-02-27 14:21:07 +01:00
Andrew Kingston 9450c5b770 Disable live binding eval when no context is provided 2024-02-27 12:55:48 +00:00
Andrew Kingston 6bb3c76d1d Further improve code mirror styles and consistency 2024-02-27 12:51:53 +00:00
melohagan 4c203ea35d
Budi 6149 export data make csv delimiter configurable (#13140)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal

* Update columns from ColumnEditor

* Revert "Update columns from ColumnEditor"

This reverts commit d23293cd8b.

* Revert "Revert "Update columns from ColumnEditor""

This reverts commit 0f16bddff7.
2024-02-27 12:49:11 +00:00
deanhannigan 79ed0e0d89
Merge branch 'master' into feature/form-screen-template 2024-02-27 12:20:36 +00:00
melohagan 3d48a8f7f3
Don't encode twice (#13138) 2024-02-27 11:26:45 +00:00
Andrew Kingston 1e74fe0cb7 Improve popover positioning, improve drawer styles and performance 2024-02-27 09:24:26 +00:00
melohagan 6e4c2b7242
Export data make CSV delimiter configurable (#13028)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal
2024-02-27 09:23:49 +00:00
Andrew Kingston a44f348e37 Standardise icon sizes in binding side panel 2024-02-26 16:13:39 +00:00
Andrew Kingston 92abdec150 Fully refactor drawer rendering to not depend on CSS transforms, which break codemirror 2024-02-26 16:07:01 +00:00
Andrew Kingston ad576e2c01 Add swap overlay when changing modes and improve styles 2024-02-26 13:31:34 +00:00
Conor Webb af7b6a46a9
Help popout email support license validation check (#13133)
* Added helper function to check user plan type.

* Updated help menu email support license check.

* Removed stray output check

* Updated function name as per feedback.

* Reworked code to use the licensing store over the auth store.

* Removed unnecessary variable declaration and return instead.

* Updated function name to maintain consistency.
2024-02-26 11:45:47 +00:00
Andrew Kingston d666d03328 Add loading indicator and debounce evaluations to fix performance issues with large JSON payloads 2024-02-24 18:17:08 +00:00
Andrew Kingston a27529eca5 Remove success state from evaluation panel and rename to preview 2024-02-24 16:33:15 +00:00
Andrew Kingston da838386d9 Show binding panel by default 2024-02-24 16:30:58 +00:00
Andrew Kingston fde54b2897 Revert codemirror to v5 2024-02-24 16:28:21 +00:00
Andrew Kingston 395942d8b6 Add modal drawer support with transitions 2024-02-24 13:26:34 +00:00
Andrew Kingston 7484f087bc Add stacked drawer support and transitions 2024-02-23 18:15:01 +00:00
Andrew Kingston c410160e60 More drawer style updates 2024-02-23 12:43:14 +00:00
Dean ea978923cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-23 11:32:16 +00:00
Dean 717729cd02 Highlight setting feedback 2024-02-23 11:22:02 +00:00
Dean be05985882 Lint 2024-02-23 11:20:21 +00:00
Dean 78969a33f4 Fixes 2024-02-23 11:05:39 +00:00
Dean a87b158d41 Feedback 2024-02-23 11:04:19 +00:00
Andrew Kingston 41b397c2f7 Improve multiple styles for the drawer and code editor 2024-02-23 10:15:53 +00:00
Martin McKeaveney 51fbd50b46
Merge pull request #13064 from Budibase/fix/branding-cookie-update
Handle branding cookies with different tenant ids
2024-02-22 19:10:53 +02:00
melohagan 896b879ce7
Feature/query array schema (#13118)
* Revert "Revert "Add nestedSchemaFields to RestQueryViewer (#13102)""

This reverts commit 6545af12fa.

* Revert "Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…""

This reverts commit ae4bc362c3.
2024-02-22 17:06:08 +00:00
Martin McKeaveney b83a046ae7 merge 2024-02-22 14:00:42 -03:00
Andrew Kingston 8320c50c96 Fix multiple style issues with codemirror 2024-02-22 16:44:18 +00:00
Dean d7fa333fce Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-22 16:30:05 +00:00
Andrew Kingston 0217bac267 Add multiple style improvements to drawers 2024-02-22 15:05:21 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* update svelte versions

* temporarilly disable svelte warnings

* change bbap version pointed to

* remove sub module specifying svelte version

* point at updated account-portal

* add type declaration for svelte in the server

* add svelte transformer for server jest tests

* remove svelte from bbui package.json

* get builder tests working

* linting fixes

* prettier fixes

* fix server test

* fix another server test

* fix server serverlog test

* account-portal-version

* pin master version of pro

* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
2024-02-22 13:19:29 +00:00
Michael Drury 91e168fe5c
Merge branch 'master' into revert-13082-budi-8026-cannot-convert-undefined-or-null-to-object-when-running 2024-02-21 21:34:50 +00:00
Martin McKeaveney ae4bc362c3
Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…"
This reverts commit 0c9d13c79a.
2024-02-21 21:30:22 +00:00
Martin McKeaveney 6545af12fa
Revert "Add nestedSchemaFields to RestQueryViewer (#13102)"
This reverts commit 13b34cf77e.
2024-02-21 21:28:25 +00:00
melohagan 13b34cf77e
Add nestedSchemaFields to RestQueryViewer (#13102) 2024-02-21 17:02:55 +00:00
Peter Clement 9b9ddc7a6b Merge remote-tracking branch 'origin/master' into fix/branding-cookie-update 2024-02-21 16:18:02 +00:00
Peter Clement 00dfaf5f45 Merge remote-tracking branch 'refs/remotes/origin/fix/branding-cookie-update' into fix/branding-cookie-update 2024-02-21 16:14:58 +00:00
Peter Clement 2e53be5bd8 add null check 2024-02-21 16:13:43 +00:00
melohagan 0c9d13c79a
Dynamic schema generation for query arrays: bug fix and refactor (#13082)
* Bug fix and refactor

* lint

* Refactor

* refactor

* lint

* type fixes

* Unit test fix and refactor

* refactor

* Make name option for preview, required for query

* Refactor unit tests

* Fix test

* update account-portal

* Revert "update account-portal"

This reverts commit e378f8d702.

* simplify set iteration

* comment
2024-02-21 15:33:13 +00:00
Joe f417c2d8a4
Joe's lab day minor updates (#12944)
* Change default button type to CTA

- change default button type to CTA
- change ordering of types/variants

* Fix layout shift within portal

Within the portal, when navigating from screen to screen, there's a slight layout shift caused by the scrollbar. This is a small fix.

* row/column icons change

The current row/column icons for positioning components are confusing. I believe these icons are easier to understand.

* Fix for horizontal scrollbar showing

When adding/removing actions within automations, the horizontal scrollbar flashes. Fix.

* Title change for Upload data

Upload data is not wrong, but it's best to be explicit.

* Increase size of upgrade button

* small fix for the styling inconsistency

* Dianostics padding fix

* lint fix

* update account-portal

* update icons

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Mel O'Hagan <mel@budibase.com>
2024-02-21 13:28:35 +00:00
Andrew Kingston ca3f464523 Tidy up logic for showing and hiding popovers for bindings and helpers 2024-02-20 10:11:27 +00:00
Andrew Kingston 7a278234b5 Suppress warning 2024-02-19 16:30:29 +00:00
Andrew Kingston 602f35537d Support custom min widths for popovers 2024-02-19 16:28:23 +00:00
Andrew Kingston 433c3a6306 Debounce hiding binding values to enable interacting with them 2024-02-19 16:22:23 +00:00
Peter Clement 8f2e965896
Merge branch 'master' into fix/branding-cookie-update 2024-02-19 10:18:41 +00:00
Andrew Kingston 19e1b642c1
Merge branch 'master' into fix-formula-crash 2024-02-19 09:53:30 +00:00
Peter Clement 4f05bc619b Handle branding cookies with different tenant ids 2024-02-19 09:51:10 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Andrew Kingston 86695c0ee4 Add syntax highlighting to live binding eval 2024-02-16 16:24:31 +00:00
Andrew Kingston dc077da5ae Improve how component context is retrieved for live eval and provide extra context from grid and card blocks 2024-02-16 14:21:03 +00:00
Andrew Kingston 5f6b846937 Add ability for components to provide example data context that they provide so that more bindings work with live eval 2024-02-16 13:25:41 +00:00
Andrew Kingston 461418390d Change how context is passed through to binding drawers to ensure it's always available 2024-02-16 12:36:03 +00:00
Dean 08d5a6174a Lint 2024-02-15 16:24:34 +00:00
Dean 7895292705 Add offset to custom positioning. Reusing existing prop 2024-02-15 16:16:30 +00:00
mike12345567 d5932605b7 Fixing an issue where app routing information was requested before the app store was fully brought online, meaning that routing information wasn't always successfully retrieved. 2024-02-15 15:49:12 +00:00
Dean 5ee95c4080 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-15 15:47:07 +00:00
Dean ddc51edee7 Fix to ensure the skip flag is also reset in the tour popover 2024-02-15 15:44:54 +00:00
Andrew Kingston 9371661f0b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-15 15:40:16 +00:00
Dean 0aa75fc7cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-15 15:26:14 +00:00
Dean 86c6922bf4 Added in init flag to ensure that analytic clients only init once 2024-02-15 15:25:07 +00:00
Dean 9da5467bfe Remove unnecessary reset function 2024-02-15 15:23:52 +00:00
Dean b0cd3d4d03 Refactored tours. Tours will end if a TourWrap is removed from screen. 2024-02-15 15:23:13 +00:00
Andrew Kingston 766cac0a44 Delete monolith frontend.js store that was somehow added back in 2024-02-15 14:47:12 +00:00
Michael Drury e03cd4af56
Merge branch 'master' into fix/budi-8010 2024-02-15 13:28:07 +00:00
melohagan 649dafba47
n8n automation action integration (#12992)
* Add n8n automation action

* Add authorization header support

* add unit tests

* Replace test.com with example.com

* Add HttpMethod enum to types

* fix unit test

* Add required field label asterisk
2024-02-15 13:05:03 +00:00
Gerard Burns 2fbbd295fc
fix arrow navigation behavior (#13040) 2024-02-15 11:16:00 +00:00
Gerard Burns b12aa639d3
Allow Collapsing Selected Components, Add Hotkeys for Collapsing Components (#12764)
* wip

* fix spelling

* wip

* linting

* change order of fix version of linting

* lint fix

* linting
2024-02-15 10:53:58 +00:00
Andrew Kingston 4426f84e2d Use constants for icon info rather than component definitions 2024-02-14 16:57:59 +00:00
Andrew Kingston f3f5532ad6 Fix merge issues 2024-02-14 16:32:28 +00:00
Andrew Kingston ab96d6ee01 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-14 16:25:01 +00:00
mike12345567 72875a728c Merge branch 'master' of github.com:Budibase/budibase into fix/budi-8010 2024-02-14 14:49:54 +00:00
Dean 5c5dc4c155 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-14 14:32:15 +00:00
Dean e9e5281e82 Initial commit form screen flow and tour refactor 2024-02-14 12:11:24 +00:00
deanhannigan c113240da3
Merge branch 'master' into feature/monolith-js-refactor 2024-02-14 10:35:06 +00:00
Dean 328b8ced44 Replaced deprecataed instance of currentAsset with selectedScreen 2024-02-14 10:26:35 +00:00
Peter Clement 39493feca7
Merge branch 'master' into fix/custom-branding-issue 2024-02-14 10:25:44 +00:00
Dean 4d225b6d7f Import fix 2024-02-14 10:20:46 +00:00
Dean ed30788fac Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-14 10:14:58 +00:00
melohagan faa8fad0b5
Add Clear Row Selection action (#13002)
* Add Clear Row Selection action

* update account-portal

* Refactor to use contextActionHandler

* Remove unused code
2024-02-14 10:05:14 +00:00
Peter Clement 2384311af5 Merge remote-tracking branch 'origin/master' into fix/custom-branding-issue 2024-02-14 08:34:51 +00:00
mike12345567 169fec29c6 Some quick fixes, making sure that automation queries respect timeout, they will timeout within the usual range. 2024-02-13 18:21:41 +00:00
melohagan f8073c3f5a
FIX: Error when deleting selected rows that have attachment (#13006)
* Deprecate selectedRowIds

* Delete selected rows table

* Add selectedRows to table block context

* update account-portal

* update account-portal

* Lowercase deprecated
2024-02-13 16:44:21 +00:00
Peter Clement f68939fe17 remove log 2024-02-13 16:10:22 +00:00
Andrew Kingston c869abab77
Merge branch 'master' into cheeks-fixes 2024-02-13 15:51:07 +00:00
Peter Clement 9fbeda42b8 fix domain slipping 2024-02-13 15:48:06 +00:00
Peter Clement 2cbd2e1ef3 move hardcoded strings 2024-02-13 15:42:43 +00:00
Peter Clement 10035f5e57 add null check 2024-02-13 15:33:39 +00:00
Peter Clement d508e8f01b store tenant in cookie for use in account portal 2024-02-13 15:26:22 +00:00
Peter Clement 2660149fea move constant to shared-core 2024-02-13 15:14:03 +00:00
Peter Clement 46903e36ef fix lint 2024-02-12 16:12:52 +00:00
Peter Clement 547b1ded61 handle @reboot 2024-02-12 15:31:19 +00:00
Peter Clement 8e734b2d72 frontend valiation for crons and fix preset null issue 2024-02-12 15:25:00 +00:00
deanhannigan 118f100cbb
Merge branch 'master' into feature/monolith-js-refactor 2024-02-12 10:15:11 +00:00
Dean 6a4ae1105b Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-10 19:49:24 +00:00
mike12345567 8bf79c5f10 Adding some basic cron validation to publishing, currently the error is not explained if it is hit - still need some frontend for this, but this now means that an error is provided to users when attempting to publish, and we can re-use this validation in the automation UI. Need to have both backend and frontend validation as invalid CRONs will already exist, backend makes sure these are error'd on. 2024-02-09 18:04:40 +00:00
Peter Clement 8857ca989f
Merge branch 'master' into fix/custom-branding-issue 2024-02-09 16:06:26 +00:00
Peter Clement f1da6d5f87 Fix for custom branding not appearing on login 2024-02-09 15:26:57 +00:00
Andrew Kingston 9109681bbe Fix creators being unable to click on apps they have non-creator access to 2024-02-09 13:04:30 +00:00
Adria Navarro 207b7631ab Fix styles 2024-02-08 16:51:16 +01:00
Adria Navarro 9c82f84155 Limit results on preview 2024-02-08 14:22:22 +01:00
Dean f904922a76 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-08 11:06:54 +00:00
Dean d90123e8de Wip 2024-02-08 11:05:45 +00:00
Adria Navarro 7972f19cd1 Merge isolated-vm-wrapper 2024-02-08 10:45:00 +01:00
Dean 43bc4f730d Import fix 2024-02-07 15:05:50 +00:00
Dean e0ebf0bfdf Fixed import 2024-02-07 15:01:00 +00:00
Dean 2d8d0a50bc Lint 2024-02-07 14:53:16 +00:00
Dean 7490f30dfd Store ref fixes 2024-02-07 14:48:26 +00:00
Dean a5dfbe3c89 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-07 14:45:06 +00:00
Adria Navarro c103046012 Display count 2024-02-07 15:23:09 +01:00
Adria Navarro ec5e533063 Display ... when large array 2024-02-07 15:13:48 +01:00
Dean 51b19633f4 Ensure insert config items are defaulted to avoid destructring issue 2024-02-07 10:03:37 +00:00
Adria Navarro 9b76595140 Show all results on preview 2024-02-07 10:58:42 +01:00
Adria Navarro 2c4601440f Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm 2024-02-06 17:53:22 +01:00
Sam Rose 3be9ad7d78
Disable schema dumping for Postgres in Budicloud. 2024-02-06 15:47:47 +00:00
Andrew Kingston 94544c4008 Remove legacy concept of database store 2024-02-06 15:40:51 +00:00
Sam Rose 90a6fef957
Merge branch 'master' of github.com:budibase/budibase into mongo-tests 2024-02-06 14:52:57 +00:00
melohagan e27772d93f
Allow logo in top navigation to be a link (#12868)
* Add support for logo link

* Add link to logo

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-02-06 13:08:37 +00:00
Sam Rose 0a30fb3364
Merge branch 'master' of github.com:budibase/budibase into mongo-tests 2024-02-06 10:51:18 +00:00
Sam Rose a773841518
Improve error messages relating to failing to connect to datasources. 2024-02-05 14:53:05 +00:00
Andrew Kingston 8eb739a71b Merge branch 'nested-context-fix' of github.com:Budibase/budibase into nested-context-fix 2024-02-05 12:21:51 +00:00
Andrew Kingston 9929f3bbad Fix typo 2024-02-05 12:21:29 +00:00
Andrew Kingston 1efd5725c7 Add some new resolution aliases and simplify long nasty relative import paths 2024-02-05 12:08:45 +00:00
Andrew Kingston e7ac33bf43 Remove legacy concept of currentAsset 2024-02-05 11:59:54 +00:00
Andrew Kingston 05e1dee992 Add missing await and batch some more API calls for speed 2024-02-05 11:49:43 +00:00
Andrew Kingston ff499d1461 Move selected layout out of layout store 2024-02-05 11:29:39 +00:00
Andrew Kingston 48677aeaab Move derived component stores out of main component store 2024-02-05 11:26:47 +00:00
Andrew Kingston b04d92f8b2 Pull derived selected screen store out of main screen store 2024-02-05 11:24:34 +00:00
Andrew Kingston 1650f37329 Treat component store the same as other stores, and move component utils into helpers 2024-02-05 11:22:33 +00:00
Andrew Kingston 090460a8f5 Run all builder data hydration API calls in parallel to speed up builder loading 2024-02-05 11:15:48 +00:00
Conor Webb f2f533df26
Merge branch 'master' into nested-context-fix 2024-02-05 08:07:57 +00:00
Martin McKeaveney b17bd4d8fd merge 2024-02-02 17:00:09 -03:00
mike12345567 80f22fe63b PR comments. 2024-02-02 17:16:45 +00:00
mike12345567 471d2f4ae8 Remove padding from binding picker to clean up design. 2024-02-02 16:36:12 +00:00
mike12345567 137ff31289 Removing unused. 2024-02-02 15:34:56 +00:00
Andrew Kingston 0ace5f91c4 Lint 2024-02-02 15:08:06 +00:00
Andrew Kingston d6bf33bce7 Update data binding generation to match how context is provided by components, respecting branching due to local context 2024-02-02 14:59:45 +00:00
mike12345567 cadce52e1b Changing how optional decoding works. 2024-02-02 11:28:54 +00:00
mike12345567 dab066e61b Quick fix. 2024-02-02 11:11:55 +00:00
Andrew Kingston daec133f79 Add live eval of bindings 2024-02-02 10:27:29 +00:00