Commit Graph

7065 Commits

Author SHA1 Message Date
Andrew Kingston e01e91e075 Fix row selection being cleared when exporting rows, and ignore download-js click events in click-outside handler 2023-05-05 09:13:06 +01:00
Dean e3dadaa22c Merge commit 2023-05-05 09:10:52 +01:00
Andrew Kingston 9b4fa75954 Merge branch 'develop' of github.com:Budibase/budibase into more-grid-tweaks 2023-05-05 08:29:03 +01:00
Dean 12ce3291eb Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-04 16:13:48 +01:00
Dean 5cf0e57eec Feedback updates and a fix pass the current query after updating a user invite 2023-05-04 16:01:34 +01:00
Dean e1aa36426e Merge remote-tracking branch 'origin/develop' into feature/user-side-panel-ux-updates 2023-05-04 14:22:23 +01:00
Dean 98963c1505 Fix for inclusion parsing for arrays and options. View table fix to hide edit button 2023-05-04 11:21:24 +01:00
Peter Clement 1fe7f2fe1b fix copy 2023-05-04 11:09:21 +01:00
Peter Clement 75d8dd907f fix for limit banner re-appearing 2023-05-04 11:00:04 +01:00
Dean 6331299b7b Working commit 2023-05-03 17:26:58 +01:00
Rory Powell e1a147e823 Merge branch 'master' into develop 2023-05-03 16:06:42 +01:00
Dean 20885a708d Feedback updates 2023-05-03 12:23:21 +01:00
Dean 19ed0ec3f5 Feedback updates and a fix for z-index issue in user side panel 2023-05-03 11:22:38 +01:00
Dean 41006d363a Merge remote-tracking branch 'origin/develop' into feature/portal-pending-users-section 2023-05-02 14:45:31 +01:00
Dean f7ce1bf15d Merge remote-tracking branch 'origin/develop' into feature/user-side-panel-ux-updates 2023-05-02 14:35:38 +01:00
Dean bb98160317 On focus search behaviour renders to 100 invites, all groups and the first page of current users 2023-05-02 14:35:15 +01:00
Dean 530c4fb00f Merge remote-tracking branch 'origin/develop' into feature/user-side-panel-ux-updates 2023-05-02 09:20:08 +01:00
Rory Powell bad6eb30f4 Update usage bar to warn when greater than 100% 2023-04-30 22:57:08 +01:00
Andrew Kingston b07e5095e9 Increase support for lower resolutions in the grid UI by using tooltips instead of text for some buttons at low horizontal breakpoints 2023-04-28 11:13:40 +01:00
Rory Powell 47933b9a92 Hide manage or renew button when customer uses invoicing + css updates (#10436)
* Hide manage or renew button when customer uses invoicing + css updates

* Remove usages of 'pro' and 'pro plan' from ui

* Enterprise plan -> Enterprise on enforce single sign on

* lint
2023-04-27 16:08:25 +01:00
Gerard Burns 8d6c00644a Improve Automations Error Message 2023-04-27 14:09:52 +01:00
Dean 4093516a0d Initial commit of filter UX behaviour 2023-04-27 12:46:40 +01:00
Rory Powell 972e2257b7 [draft] Pricing/fixes (#10424)
* Fix qa core suite

* Update package.json

* Lint

* Handle conflict on account metadata

* Fix issue adding users via csv import when on paid plan

* Fix user invites

* Lint
2023-04-27 08:25:53 +01:00
Dean 4f8e293dc9 Refresh pending invites after inviting a new user in the portal user menu 2023-04-26 16:42:27 +01:00
Dean 785b6f50ae Removed console debugging 2023-04-26 14:53:31 +01:00
Dean dbd73a1135 Merge remote-tracking branch 'origin/develop' into fix/client-versioning 2023-04-26 14:25:09 +01:00
Dean 5dff2f3017 Added pending users to user portal screen 2023-04-26 14:16:36 +01:00
Andrew Kingston 15bf1ace68 Standardise width of design section side panels to fix drawer width issues 2023-04-26 12:10:12 +01:00
Dean f3be917da1 Enrich the upgradable version property when fetching the app package 2023-04-25 12:16:02 +01:00
Michael Drury e37b377036 Merge pull request #10406 from Budibase/fix/budi-6920
Fix automation history first load in multi-tenant environments
2023-04-25 11:43:08 +01:00
Andrew Kingston 0204f13c1a Merge pull request #10409 from Budibase/more-grid-tweaks
More grid tweaks
2023-04-25 09:58:56 +01:00
Gerard Burns 0c38124f6a Form Block Improvements (#10404)
* Form Block Improvements

* PR Fixes

* PR feedback
2023-04-25 09:57:21 +01:00
Andrew Kingston 128411a61b Fix legacy delete button in edit row modal not doing anything 2023-04-25 08:58:41 +01:00
Andrew Kingston 123c47c4d1 Fix real root issue 2023-04-25 08:44:57 +01:00
Andrew Kingston 22d81fd858 Clear selected app ID from overview store when unmounting, and avoid sending up 'null' and 'undefined' string app ID headers 2023-04-25 08:35:25 +01:00
Michael Drury 14545729ac Fix for #10403 - when app overview loads, sometimes old store doesn't get a valid app ID. 2023-04-24 20:39:39 +01:00
Andrew Kingston 98ca05d97f Merge pull request #10396 from Budibase/grid-tweaks
Grid tweaks
2023-04-24 16:53:46 +01:00
Andrew Kingston 5155727b56 Update grid button text and refactor gutter cell into own component 2023-04-24 11:22:03 +01:00
Martin McKeaveney 779d5fe53c Merge pull request #9836 from Budibase/fix/lastName-validation-accept-invite
Fix to clear empty lastName string when accepting an invite to budibase
2023-04-24 09:35:16 +01:00
Rory Powell ec06f13aa6 Per user pricing (#10378)
* Update pro version to 2.4.44-alpha.9 (#10231)

Co-authored-by: Budibase Staging Release Bot <>

* Track installation and unique tenant id on licence activate (#10146)

* changes and exports

* removing the extend

* Lint + tidy

* Update account.ts

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>

* Type updates for loading new plans (#10245)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS` (#10247)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete + migration (#10250)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Lint

* Types and structures for user subscription quantity sync (#10280)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing for licensing (#10346)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing

* Lint

* Pricing/billing page (#10353)

* bbui updates for billing page

* Require all PlanTypes in PlanMinimums for compile time safety

* fix test package utils

* Incoming user limits warnings (#10379)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* Types and test updates for subscription quantity changes in account-portal (#10372)

* Add chance extensions for `arrayOf`. Update events spies with license events

* Add generics to doInTenant response

* Update account structure with quota usage

* User count limits (#10385)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* user limit messaging on add users modal

* user limit messaging on import users modal

* update licensing store to be more generic

* some styling updates

* remove console log

* Store tweaks

* Add startDate to Quota type

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>

* Lint

* Support custom lock options

* Reactivity fixes for add user modals

* Update ethereal email creds

* Add warn for getting invite from code error

* Extract disabling user import condition

* Handling unlimited users in modals logic and adding start date processing to store

* Lint

* Integration testing fixes (#10389)

* lint

---------

Co-authored-by: Mateus Badan de Pieri <mateuspieri@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Peter Clement <PClmnt@users.noreply.github.com>
2023-04-24 09:31:48 +01:00
melohagan 476bf65957 Set default enum values (#10377) 2023-04-21 14:37:15 +01:00
mike12345567 72d1394873 Further linting. 2023-04-21 12:07:28 +01:00
Andrew Kingston 943d17966e Remove import button for users table 2023-04-21 10:50:50 +01:00
mike12345567 2056623897 Fixing linting. 2023-04-20 17:51:43 +01:00
mike12345567 060dc05afa Removing export all apps functionality from cloud - this was a very niche feature and often confusing, now there is a consistent flow for starting out in self host. 2023-04-20 17:19:17 +01:00
Andrew Kingston 55ce83c444 Grid UI in data section (#10329)
* Add WIP spreadsheet

* Add footer and improve styles

* Refactor to use IDs and support changing text values inline

* Add inline editing of options fields

* Add row deletion and fix sizing

* Add ability to add new rows

* Fix z-index issue with option cells

* Remove deletion notification and fix selection

* Add gap between items in an options cell

* Tweak options cell to be pixel perfect

* Fix padding around sheet not working when scrolling

* Add resizable columns and add support for all themes

* Allow multiselect component and field to support text values

* Generate inclusion schema when importing multiselect columns

* Add support for multiselect type

* Add number cell

* Add functional date cell

* Disable editing autocolumns

* Make sticky column the primary display and fix opening options cells

* Improve display of relationship cell and options cell

* Support empty dates and use CSS variables for easier styling

* Use more CSS variables and add utils to spreadsheets

* Add drag and drop column reordering

* Break out reordering logic into new stores

* Rename reordering to reorder

* Break out other components from spreadsheet for cleaner code

* Break out spreadsheet body into its own component

* Split into more modular components and try virtual rendering

* Test absolute positioning

* Optimise virtual rendering for both columns and rows to handle infinitely large datasets

* Optimise scrolling and virtual rendering performance

* Fix columnn reordering

* Migrate sheet to data section, improve reordering and reszing

* Clean up more sheet state and increase performance

* Fix multiple issues with z-index, reordering and resizing

* Fix date cells in sheets

* Separate data fetching logic from main sheet and tidy up

* Add infinite scroll, improve row fetching, add error handling, fix svelte store updates

* Fix overly thin scrollbars in firefox

* Use nicer checkboxes and fix some hover styles

* Fix issue reordering columns in firefox and increase performance

* Tidy up

* Use search endpoint instead of get endpoint to fetch individual rows so that relationship enrichment occurs

* Tidy up

* Fix relationship issues when creating rows

* Optimise resetting data to smoothly transition when changing datasource

* Add WIP virtual dom implementation to massively increase performance

* Refactor spreadsheet into more discreet components

* Fix multiple issues, clean up rendering, improve performance

* Tune cell sizes

* Fix some scroll issues and add shadow to sticky column

* Fix issue when no primary display is set

* Add padding to sheet

* Improve styles

* Allow reordering columns to be the first column after sticky column

* Fix row hover state not being removed

* Update hovered row on wheel

* Update scroll styles and z-index

* Improve scroll logic and handle horizontal wheel events

* Simplify and improve z index styles

* Fix styles when using no sticky columns

* Improve rendering performance

* Improve performance by removing keyed each blocks and fix reorder target styling

* Ensure scroll top is always properly reset and add config store

* Allow configuring selecting rows and adding rows

* Integrate sheet into data section better

* Add back in functional delete row button

* Refactor stores and make state more modular

* Lint and remove unused deps

* Remove add column button

* Fix options cells being unable to scroll

* Add WIP initial multi-user websocket implementation for sheets

* Add WIP multi-user UI for sheet interface

* Fix issues with not disconnecting users when swapping datasource and improve multi-user UI

* Update layout and remove logging

* WIP column popovers for dataspace sheets

* Add popovers to sheet column headers, improve mouse UX

* Tidy reordering stuff

* Refactor resizing logic into store and improve UX around hover events when resizing/reordering

* Add column sorting and reordering via popover

* Handle context menu events in header cells

* Fully integrates sheets with datasection and remove lots of old stuff

* Fix buttons being highlighted when filters are set

* Add flags for controlling editing and adding rows in sheets

* Count context menu clicks when considering the click outside handler

* Prevent adding rows to users table and remove log

* Expose loading state of sheet and improve column highlighting logic

* Small style updates

* Update delete button and allow horizontal scrolling

* Add context menu to sheets with deletion and duplication features

* Improve UX around selecting rows and cells

* Add basic keyboard interactions to dataspaces

* Improve keyboard navigation in sheets

* Remove unnecessary searching through large rows array

* Fix issue with deleting rows and fix relationship cells displaying undefined

* Improve loading state

* Update menu width

* Merge with new shared-core and moved lucene utils

* Improve rendering performance and simplify component props

* Remove new row component and improve mouse interactions

* Tidy up buttons above sheets and add FAB for adding rows

* Optimise sheet data loading and add sort button

* Update sorting and remove logs

* Add sheet button to control column visibilty, improve sorting, improve disabled states

* Fix bug with select placeholders and fix sorting loops causing endless refreshes

* Update filter button to look consistent and add double click to resize columns to default width

* Ensure all derived stores have default values

* Reset scrolling when datasource changes and fix wasted pagination calls

* Improve performance by removing searches through the full row array

* Add advanced key handling for spreadsheets and improve blur and focus UX

* Ensure the selected cell is always visible

* Add icons for all data types

* Add new long form text cell

* Add boolean cell

* Add ability to focus first cell via tab

* Add cells for formulae and JSON

* Remove console logs

* Add attachment cell

* Increase padding to account for attachment dropdown

* Prevent deleting autocolumns via keyboard

* Fix attachments overflowing

* Improve sort button, remove header more icons unless hovered and highlight sorted column

* Add functional relationship cell

* Improve relationship cell

* Fix race conditions and edge cases in relationship cell

* Update user avatar colours

* Improve preservation of column widths in sheets when making schema changes

* Remove redundant sheet schema context and fix issues with mutating table schema

* Disable websocket in sheets

* Rollback state changes when row saving fails

* Fix one-to-many relationships allowing selecting multiple rows on both sides

* Remove log

* Make sheet gutter width customisable

* Allow expanding rows using existing edit row modal

* Fix text cell not using full width

* Sort columns to put autocolumns last

* Add new footer for adding rows, improve store memoization, support inverting all data types

* Improve animations for adding rows and handle add row failure

* Ensure all sheet feature flags work as expected and fix multi row deletion

* Fix options ordering

* Fix add row button not appearing when horizontal scrollbar is hidden

* Fix selecting newly created rows

* Remove log and add notification when creating or editing columns

* Move new row component to top, automatically invert cell renderers when required

* Add resizable rows

* Fix overlapping long form text borders

* Fix scroll not working in new row

* Update new row component, fix z-index issues, improve UX

* Large refactors to row creation, naming and sheet APIs

* Refactor stores to fix dependency issues, use modals for adding rows, simplify sheet

* Fix resize overlays

* Add custom colors for drop shadows and blue-100 to all themes, fix sticky column shadow

* Increase horizontal padding when scrolling to a selected cell

* Add multiple validation improvements

* Add validation to duplicating rows

* Remove log

* Restore missing event handler

* Improve data fetch reset logic, fix issues with stale cache in spreadsheets

* Fix issue with cell colors, improve row API interactions to avoid relationship issues due to API response differences

* Fix filters not working

* Simplify logic for reordering and add new overlay. Simplify sheet cells

* Fix importing and exporting with sheets

* Fix reorder overlay z-index issue

* Fix issue when no display column exists

* Fix issue with display column not being able to be unset

* Add persitence to column size and order in sheets

* Improve sheet integration with data section and add horizontal cell inversion

* Fix double click resizing of sticky column

* Make column visibility persistent and refactor column updating

* Improve sheet loading states

* Add beta button to sheet, tidy up constants

* Work around table API inconsistencies to handle table schema updates

* Add additional reorder options and improve beta button

* Improve sorting

* Add copy and paste to spreadsheet and add immediate editing of cells without additional click

* Remove copy/paste rows, remove move to start/end, improve copy/paste for cell values

* Fix dependency ordering

* Refactor other sheet stores to improve dependency ordering

* Fix errors not showing in sticky column and clear cell value on backspace press

* Rewrite relationship cell and update default column widths

* Ensure dynamic row height is properly accounted for

* Update text cells, number cells, long form field cells and relationship cells to respect row height

* Fix row heights with sticky column

* Update JSON, boolean and date cells to respect row height

* Update attachment cell to respect row height

* Use unique background for focused cell

* Standardise shadows across cell types

* Persist row height as table metadata

* Improve a few design issues

* Clean up

* Fix relationship cells not being readonly

* Lint

* Fix icon padding in relationship picker

* Improve styles in relationship dropdown

* Update shadow

* Update relationship icons

* Update relationship icons

* Update error label max size and position

* Prevent using invalid data types as display columns

* Add menu option to edit rows in modal

* Prevent sheet handling key events sourcing from modals

* Standardise menu overlay shadow and add count to relationship cells when hovering

* Improve relationship cell performance

* Remove spellcheck from text fields

* Fix resize overlay handler height

* Fix reorder overlay height

* Remove unused code and change selected table faster in data section

* Fix table selection not working when on datasource page

* Improve sheet loading state

* Add rowHeight property to table types

* Restore builder middleware

* Remove any naming of dataspaces

* Lint

* Disable row import button for users table and add optional chaining to spreadsheetsocket invocations to fix tests

* Use unique user edit modal for editing users in sheets

* Add schemaOverrides prop to sheet and use it to customise user table schema

* Update number icon

* Fix primary display column not properly disabling certain menu options

* Merge

* Update beta button position slightly

* Update beta button text

* Fix HMR for custom plugins which was broken due to signed minio links

* Add maze link to grid

* Update koa <> socket.io integation to improve fake koa context and allow current app middleware

* Rename sheet to grid

* Fix menu postiion, fix copy and paste in menu not working

* Remove commented out usages of websocket emissions for grid
2023-04-20 15:56:24 +01:00
Andrew Kingston 7afd716e91 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-20 15:24:25 +01:00
Michael Drury 145c0834bb Fix for #10358 - making sure that client-side we don't check the content type for CSV, check if it might be JSON, if not assume we can try it as a CSV - this is a fix for an issue which occurs on Windows, in Firefox. (#10359) 2023-04-20 15:21:50 +01:00
Andrew Kingston 6bf6d15849 Rename sheet to grid 2023-04-20 08:17:07 +01:00
Andrew Kingston 9025e18f15 Misc fixes (#10345)
* Fix some issues with component and screen settings layout

* Fix issue with component setting labels when multi-line

* Remove early termination of form validation when encountering an errored field

* Update free logo badge to be a sticky footer

* Close side panels when clicking on links
2023-04-19 14:21:11 +01:00
Andrew Kingston 9b2b071b88 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 21:00:42 +01:00
Michael Drury 42c37eea46 Merge pull request #10276 from Budibase/labday/automation-plugins
Automation step plugins
2023-04-18 17:33:25 +01:00
mike12345567 22dbb8d379 Updating automation action add modal to split out plugins into their own section. 2023-04-18 16:12:08 +01:00
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
Andrew Kingston 4647e1bc07 Fix issues with not disconnecting users when swapping datasource and improve multi-user UI 2023-03-06 11:20:47 +00:00
Andrew Kingston 36c953443f Add WIP initial multi-user websocket implementation for sheets 2023-03-05 18:57:05 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
Andrew Kingston b82e7582db Add back in functional delete row button 2023-03-03 08:34:26 +00:00
Andrew Kingston 5b590a5976 Integrate sheet into data section better 2023-03-02 17:20:51 +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
Dean fd5743a9da Fix to clear empty lastName string when accepting an invite to budibase 2023-03-01 12:11:51 +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
Andrew Kingston a28148d9f8 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-abs 2023-02-28 13:59:37 +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
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