Commit Graph

16185 Commits

Author SHA1 Message Date
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 7b38c205f3 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:32:29 +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
mike12345567 001c7b0df8 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 13:56:52 +00:00
Budibase Staging Release Bot fac6032223 Update pro version to 2.2.12-alpha.44 2023-01-30 11:56:20 +00:00
Budibase Staging Release Bot 33844051e6 v2.2.12-alpha.44 2023-01-30 11:52:46 +00:00
mike12345567 220a0c246d Adding env var feature. 2023-01-30 11:40:54 +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
mike12345567 49da99c8ac Adding context update to test case since it used to rely on the context update functionality. 2023-01-30 10:59:54 +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
Budibase Staging Release Bot 032318f960 Update pro version to 2.2.12-alpha.43 2023-01-30 08:34:35 +00:00
Budibase Staging Release Bot 4354029b56 v2.2.12-alpha.43 2023-01-30 08:30:29 +00:00
Andrew Kingston 23c1d1a9d8 Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-01-30 08:16:47 +00:00
Andrew Kingston 454950daf1 Fix datasources not being collapsible 2023-01-30 08:16:31 +00:00
Andrew Kingston 415a3fbae2 Add icon slot in fancy buttons 2023-01-30 08:16:20 +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 df84839ca6 Updated the user invite test to include the required firstName 2023-01-27 20:32:06 +00:00
Dean 2b4d28edb4 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-27 20:21:33 +00:00
mike12345567 27f66c5ede Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 18:35:32 +00:00
mike12345567 ec719b251c Adding test case for secret-value replacement, to confirm that datasources API correctly replaces secret values with the actual secret. 2023-01-27 18:27:03 +00:00
mike12345567 fec16e23a0 Fixes for tests, allow any handlebars for datasources (dynamic vars). 2023-01-27 18:06:39 +00:00
Dean f6e24cff3e Merge remote-tracking branch 'origin/develop' into feature/auth-screens-redesign 2023-01-27 18:02:32 +00:00
Dean 4745b6d2bd Expanding mime check for cloud tarball import 2023-01-27 18:01:12 +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 c1f270ef3a Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 15:25:21 +00:00
Peter Clement 92a2f23cde add divider on upgrade page 2023-01-27 15:23:24 +00:00
mike12345567 3a40a64d15 Updating datasources to use new onlyFound option. 2023-01-27 15:21:04 +00:00
mike12345567 d667276fa1 Adding a onlyFound option to our handlebars system so that we can enrich only the parts we have and leave other components for further enrichment. 2023-01-27 15:15:07 +00:00
Budibase Staging Release Bot 2c9b49832b Update pro version to 2.2.12-alpha.42 2023-01-27 14:52:40 +00:00
Budibase Staging Release Bot f9808d7171 v2.2.12-alpha.42 2023-01-27 14:49:10 +00:00
Andrew Kingston 2211becdba Fix certain types of popover not working inside modals or side panels (#9424) 2023-01-27 14:38:31 +00:00
Dean d37c0e4b5d UI Onboarding UI/UX auth refactoring 2023-01-27 13:44:57 +00:00
mike12345567 6e3f87c798 Fixing issue with apps not being created correctly due to the recent update to context. 2023-01-27 13:37:36 +00:00
Peter Clement 4ed239e5fd fix input not disabling properly 2023-01-27 12:06:34 +00:00
Peter Clement d031a9157e fix max-height in dropdown 2023-01-27 12:04:32 +00:00
Peter Clement 7ccce5c042 fix warnings 2023-01-27 11:49:44 +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
Budibase Staging Release Bot 6fb57f97b9 Update pro version to 2.2.12-alpha.41 2023-01-27 09:49:29 +00:00
Budibase Staging Release Bot d8f5b6dfd8 v2.2.12-alpha.41 2023-01-27 09:45:39 +00:00
Rory Powell 27c917db35 Use swc option with ts-node (#9447) 2023-01-27 09:33:04 +00:00
Peter Clement c68b5ccb84 fix license check 2023-01-26 16:16:56 +00:00
Peter Clement 9175cab4ca add environmentVariables feature to constants 2023-01-26 15:34:03 +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
Budibase Staging Release Bot 38d6d937d2 Update pro version to 2.2.12-alpha.40 2023-01-25 19:17:06 +00:00
Budibase Staging Release Bot 01292e22d4 v2.2.12-alpha.40 2023-01-25 19:13:39 +00:00
Michael Drury 86d27d1c6c Merge pull request #9434 from Budibase/fix/8989
Some extra checks for automation loop binding type safety
2023-01-25 19:03:17 +00:00
mike12345567 697cd8b4ea Adding test cases as per PR comments. 2023-01-25 18:27:58 +00:00
Budibase Staging Release Bot 00a888c224 Update pro version to 2.2.12-alpha.39 2023-01-25 16:16:45 +00:00
Budibase Staging Release Bot 61e6405583 v2.2.12-alpha.39 2023-01-25 16:12:14 +00:00
Andrew Kingston f068f20c61 Add suffix setting to fancy input component and fix lint warning 2023-01-25 15:57:47 +00:00
Andrew Kingston 1eebab8910 Add suffix prop to fancy input component 2023-01-25 15:55:57 +00:00
Budibase Staging Release Bot fe9c233bfc Update pro version to 2.2.12-alpha.38 2023-01-25 14:27:14 +00:00
Budibase Staging Release Bot e3064709c8 v2.2.12-alpha.38 2023-01-25 14:23:22 +00:00
Andrew Kingston 2b8525ef4e Fix fancy select not correctly displaying the label for the selected value 2023-01-25 14:11:33 +00:00
Budibase Staging Release Bot 88d0ab837d Update pro version to 2.2.12-alpha.37 2023-01-25 13:23:11 +00:00
Budibase Staging Release Bot c816c078b5 v2.2.12-alpha.37 2023-01-25 13:19:44 +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 e803c422a3 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-25 11:41:22 +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
Budibase Staging Release Bot 8716581d9d Update pro version to 2.2.12-alpha.36 2023-01-25 09:29:18 +00:00
Budibase Staging Release Bot e9b1c9e063 v2.2.12-alpha.36 2023-01-25 09:25:53 +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
mike12345567 fe7b632727 Quick updates for #8989 - this issue appeared to be fixed already but just adding a few extra bits of security to make sure that looping only occurs when valid data is found in the binding. 2023-01-24 19:09:36 +00:00
mike12345567 6349b08888 Don't check whether or not a datasource uses env vars when the function specifically includes the env vars, always fetch them so that they can be returned and put into context for queries to use. 2023-01-24 18:56:19 +00:00
Peter Clement 22e1c1cccf ensure object is passed to processObjectSync 2023-01-24 15:44:34 +00:00
Peter Clement 0ca1521a58 css updates to dropdown component 2023-01-24 15:24:29 +00:00
Budibase Staging Release Bot 19dd8f66fa Update pro version to 2.2.12-alpha.35 2023-01-23 23:53:01 +00:00
Budibase Staging Release Bot 6b375f8f46 v2.2.12-alpha.35 2023-01-23 23:49:38 +00:00
dependabot[bot] 38e729d6cd Bump cookiejar from 2.1.3 to 2.1.4 in /packages/worker (#9416)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 23:29:42 +00:00
dependabot[bot] 41847876e4 Bump cookiejar from 2.1.3 to 2.1.4 in /packages/sdk (#9415)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 23:29:29 +00:00
dependabot[bot] fb3d66b6ae Bump cookiejar from 2.1.3 to 2.1.4 in /packages/server (#9417)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 23:29:11 +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
mike12345567 557a9a8eeb Adding an API for publishing an event from the frontend. 2023-01-23 18:56:44 +00:00
mike12345567 5a2937c8d2 Adding events for environment variables (created, deleted, upgrade panel opened). 2023-01-23 18:18:06 +00:00
Budibase Staging Release Bot 7ef9b6c357 Update pro version to 2.2.12-alpha.34 2023-01-23 17:00:29 +00:00
Budibase Staging Release Bot 496a984215 v2.2.12-alpha.34 2023-01-23 16:56:43 +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
Budibase Staging Release Bot fc0652f382 Update pro version to 2.2.12-alpha.33 2023-01-23 15:57:26 +00:00
Budibase Staging Release Bot 4436a2131b v2.2.12-alpha.33 2023-01-23 15:53:12 +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 910a077d19 Merge fix 2023-01-23 09:59:01 +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
Budibase Release Bot ce924d5990 Update pro version to 2.2.22 2023-01-22 19:35:27 +00:00
Budibase Release Bot e471a0c91a v2.2.22 2023-01-22 19:32:07 +00:00
melohagan 19696fb1fe Treat bigint as string (#8877)
* Make bigint string type

* Handle BigInt relationships

* remove unused var

* Revert CreateEditRelationship modal changes
2023-01-22 19:19:16 +00:00
Budibase Release Bot 403d7eb164 Update pro version to 2.2.21 2023-01-22 15:41:50 +00:00
Budibase Release Bot 7b77c01605 v2.2.21 2023-01-22 15:38:26 +00:00
melohagan 245d64d1ad Return empty not null on clear (#9078) 2023-01-22 15:24:48 +00:00
Budibase Staging Release Bot 7ca834589f Update pro version to 2.2.12-alpha.32 2023-01-20 15:51:06 +00:00
Budibase Staging Release Bot 6b811c7351 v2.2.12-alpha.32 2023-01-20 15:47:35 +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
melohagan 458ab7dadc SQL filtering: Always escape key in LIKE statements (#9278)
* Always escape key in like statements

* lint
2023-01-20 14:03:14 +00:00
Budibase Staging Release Bot 85725ad94f Update pro version to 2.2.12-alpha.31 2023-01-20 13:31:41 +00:00
Budibase Staging Release Bot c9b09e395d v2.2.12-alpha.31 2023-01-20 13:28:11 +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
Budibase Staging Release Bot 5351e1ab29 Update pro version to 2.2.12-alpha.30 2023-01-19 20:12:03 +00:00
Budibase Staging Release Bot 70ca2cc879 v2.2.12-alpha.30 2023-01-19 20:08:13 +00:00
Mitch-Budibase 7605d8ba1a Merge pull request #9392 from Budibase/cypress
Cypress - New Portal Test Updates
2023-01-19 19:57:06 +00:00
Mitch-Budibase ad8510dad8 Test Skip & Remove retries
I meant to also skip dev mode test within UserSettings

Also removing test retries (not useful currently)
2023-01-19 19:38:58 +00:00
Mitch-Budibase 9280eedad1 Cypress - New Portal Test Updates
Commands
- Updating commands
- UpdateUserInformation, deleteApp, searchForApplication, applicationInAppTable

CreateApp
- Skipping Templates tests
- Updates for tests which utilise user info

AppOverview
- Skipping these tests

UserSettings
- Skipping one test -> allow for copy of API key (will be covered elsewhere
- Updates applied to the remaining tests

Authentication
- Skipping these tests
2023-01-19 19:24:09 +00:00
mike12345567 8e25ff9469 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-19 19:12:49 +00:00
mike12345567 f4d389797c Some minor updates after reviewing. 2023-01-19 19:10:41 +00:00
Peter Clement 47663ca395 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
Budibase Staging Release Bot 6aebc214de Update pro version to 2.2.12-alpha.29 2023-01-19 16:24:28 +00:00
Budibase Staging Release Bot dfb90571f9 v2.2.12-alpha.29 2023-01-19 16:20:45 +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
Peter Clement 5ed038406a Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-19 15:54:40 +00:00
Budibase Staging Release Bot d5aebb3db4 Update pro version to 2.2.12-alpha.28 2023-01-19 15:11:32 +00:00
Mel O'Hagan bb77871b59 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 15:08:13 +00:00
Budibase Staging Release Bot bd3994c2ca v2.2.12-alpha.28 2023-01-19 15:08:06 +00:00
Mateus Badan de Pieri eae7b529a7 adding validation for envvar bindings
adding validation for envvar bindings
2023-01-19 15:07:56 +00:00
dependabot[bot] 0352e6a70a Bump knex from 0.95.15 to 2.4.0 in /packages/server (#9304)
Bumps [knex](https://github.com/knex/knex) from 0.95.15 to 2.4.0.
- [Release notes](https://github.com/knex/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knex/knex/commits/2.4.0)

---
updated-dependencies:
- dependency-name: knex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 14:57:44 +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
Budibase Staging Release Bot bec2edcc73 Update pro version to 2.2.12-alpha.27 2023-01-19 13:50:23 +00:00
Budibase Staging Release Bot 9096a0fb35 v2.2.12-alpha.27 2023-01-19 13:46:45 +00:00
melohagan a193d7fcaa Do not set sort column if display is formula (#9378)
* Unset sort column if it is formula

* Null safety
2023-01-19 13:32:45 +00:00
Budibase Staging Release Bot 1dfab80d73 Update pro version to 2.2.12-alpha.26 2023-01-19 13:23:04 +00:00
Budibase Staging Release Bot 987653fc94 v2.2.12-alpha.26 2023-01-19 13:19:06 +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
Budibase Staging Release Bot 81eea012ac Update pro version to 2.2.12-alpha.25 2023-01-19 10:05:32 +00:00
Budibase Staging Release Bot 20be233628 v2.2.12-alpha.25 2023-01-19 10:01:15 +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
Budibase Staging Release Bot 62cdb3962d Update pro version to 2.2.12-alpha.24 2023-01-18 16:14:23 +00:00
Budibase Staging Release Bot 9b910841cb v2.2.12-alpha.24 2023-01-18 16:10:48 +00:00
Budibase Staging Release Bot 482f1db015 Update pro version to 2.2.12-alpha.23 2023-01-18 14:13:32 +00:00
Budibase Staging Release Bot 5baf250217 v2.2.12-alpha.23 2023-01-18 14:09:34 +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
Budibase Staging Release Bot cc8b34cca4 Update pro version to 2.2.12-alpha.22 2023-01-18 12:14:20 +00:00
Budibase Staging Release Bot b2d98c68e8 v2.2.12-alpha.22 2023-01-18 12:10:48 +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
Budibase Staging Release Bot acafdf52bf Update pro version to 2.2.12-alpha.21 2023-01-17 15:21:53 +00:00
Budibase Staging Release Bot 3dc1f80abf v2.2.12-alpha.21 2023-01-17 15:18:15 +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
mike12345567 95e8371b1d Adding encryption key to manage of server. 2023-01-16 18:51:48 +00:00
mike12345567 c645a9bc21 Some type updates and an improvement to encryption to allow selecting the secret from an option list. 2023-01-16 18:15:43 +00:00
mike12345567 5e68a4d814 Minor updates to the context system and also adding env vars to automation context. 2023-01-16 16:47:59 +00:00
Budibase Release Bot 2fef674997 Update pro version to 2.2.20 2023-01-16 14:55:12 +00:00
Budibase Release Bot 346d171b96 v2.2.20 2023-01-16 14:51:04 +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
Budibase Release Bot ba6ba35b23 Update pro version to 2.2.19 2023-01-16 12:40:04 +00:00
Budibase Release Bot 9795533d09 v2.2.19 2023-01-16 12:36:44 +00:00
Martin McKeaveney fbf8230a3d allow all user bindings in SQL queries (#9354) 2023-01-16 12:24:32 +00:00
Budibase Staging Release Bot c9d2743d1e Update pro version to 2.2.12-alpha.20 2023-01-16 11:44:26 +00:00
Budibase Staging Release Bot e08d4f1498 v2.2.12-alpha.20 2023-01-16 11:40:48 +00:00
Mitch-Budibase 7bb0246271 Skipping Screen Tests 2023-01-16 11:17:11 +00:00
Budibase Staging Release Bot 14d42b3824 Update pro version to 2.2.12-alpha.19 2023-01-16 11:03:36 +00:00
Budibase Staging Release Bot d8ec4dff94 v2.2.12-alpha.19 2023-01-16 10:59:43 +00:00
Adria Navarro 70a01c48f1 Merge pull request #9337 from Budibase/bug/#7220-removing-user-from-auth-does-not-remove-from-app
Bug - #7220 removing user from auth does not remove from app
2023-01-16 10:49:27 +00:00
Dean 980a6d1e8f Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/user-onboarding-overlays 2023-01-16 10:26:52 +00:00
Adria Navarro dc8e54cd84 Add test 2023-01-16 10:19:05 +00:00
Adria Navarro 946cc35ff7 Type request and body 2023-01-16 10:15:00 +00:00
mike12345567 fc5f6ca530 Adding the ability to store environment variables to context, to make them more easily available/re-usable, as well as exposing them to queries. 2023-01-13 19:53:46 +00:00
Budibase Staging Release Bot 9196972b33 Update pro version to 2.2.12-alpha.18 2023-01-13 18:35:36 +00:00
Budibase Staging Release Bot 55c8405977 v2.2.12-alpha.18 2023-01-13 18:32:00 +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
Budibase Release Bot b4abc63797 Update pro version to 2.2.18 2023-01-13 17:19:36 +00:00
Budibase Release Bot cbe9aa6e5b v2.2.18 2023-01-13 17:16:19 +00:00
melohagan 3ea5078f07 Undo time offset (#9140) 2023-01-13 17:03:46 +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
Adria Navarro 23266bd456 Send old user on delete 2023-01-13 14:54:26 +00:00
Adria Navarro 748b55c732 Fix undefineds 2023-01-13 14:48:01 +00:00
Adria Navarro ff10fa422b Unify endpoints 2023-01-13 14:45:04 +00:00
Adria Navarro c853d2c78e Rename and move type check 2023-01-13 13:36:35 +00:00
Adria Navarro 50565dc226 Fix copy on reponse message 2023-01-13 13:33:40 +00:00
Adria Navarro a5c145d9f6 Replace BBContext for Ctx 2023-01-13 13:31:48 +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
Andrew Kingston 84c0e468db Always show groups section in app access page 2023-01-13 12:02:48 +00:00
Andrew Kingston 387c3be2b4 Remove clickable visual styles from plugins 2023-01-13 12:01:34 +00:00
Andrew Kingston fb8d6bb341 Update assignment modal text 2023-01-13 11:58:05 +00:00
Andrew Kingston 2812973eea Shrink user dropdown 2023-01-13 11:57:57 +00:00
Andrew Kingston 9daa4be01f Shrink upgrade button 2023-01-13 11:57:46 +00:00
Mel O'Hagan 66c13a2a77 Try to match primary key or take first 2023-01-13 11:47:09 +00:00
Budibase Staging Release Bot 2cb280ee72 Update pro version to 2.2.12-alpha.17 2023-01-13 11:36:37 +00:00
Budibase Staging Release Bot a3b6ac1fa4 v2.2.12-alpha.17 2023-01-13 11:33:13 +00:00
melohagan 5477cf420a Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Adria Navarro 34cd26781b Delete instead of deactivating 2023-01-13 10:26:05 +00:00
Andrew Kingston 66c6b6dec3 Fix logo override not working 2023-01-13 09:26:35 +00:00
Andrew Kingston 31431ac98c Update spacing on user and group detail page and fix usage page showing wrong copy 2023-01-13 09:25:12 +00:00
Dean 4fd91ef617 Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/user-onboarding-overlays 2023-01-13 09:22:41 +00:00
Dean 7b3733d659 Merge commit 2023-01-13 09:20:55 +00:00
Andrew Kingston 447c98ef5b Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-13 08:57:39 +00:00
Andrew Kingston f5936f2583 Improve responsiveness on apps list page and fix discussions link styles 2023-01-13 08:47:15 +00:00
Andrew Kingston 22affb8d5f Improve users page loading experience 2023-01-13 08:39:52 +00:00
Andrew Kingston 147bdc751c Remove logs 2023-01-13 08:39:39 +00:00
Andrew Kingston ad4133a777 Allow readonly access to users and groups for developer users 2023-01-13 08:29:18 +00:00
Andrew Kingston e23f7dde47 Allow developer users to access users, groups and usage pages 2023-01-13 08:28:54 +00:00
Andrew Kingston 1d9ab4163f Standardise disabled field text colour 2023-01-13 08:28:33 +00:00
Andrew Kingston 0f47d8da38 Ensure avatars cannot be squished 2023-01-13 08:28:21 +00:00
Budibase Release Bot eaf29f13c7 Update pro version to 2.2.17 2023-01-12 18:59:48 +00:00
Budibase Release Bot 9b16c8c724 v2.2.17 2023-01-12 18:54:15 +00:00
melohagan 86063bce4a Fix local dev hosting and allow primary foreign keys (#9330)
* adding host.docker.internal mapping to PROXY_ADDRESS

* Allow primary keys to be foreign key

* Revert "Allow primary keys to be foreign key"

This reverts commit d10dfc1e28.

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2023-01-12 18:35:49 +00:00
Andrew Kingston 4e4b074635 Update app access assignment and fix backups table 2023-01-12 17:04:05 +00:00
Andrew Kingston 5d24fe0a13 Centralise menu logic and show full menu on mobile 2023-01-12 16:50:43 +00:00
Adria Navarro 09570e26f6 Remove user within the app on deletion 2023-01-12 16:28:02 +00:00
Adria Navarro 09b4533cc8 Add endpoint to deactivate user from app on delete 2023-01-12 16:26:46 +00:00
Peter Clement a0dacc9717 add create store method and tidy up 2023-01-12 16:09:05 +00:00
Peter Clement e8e29ddc8c Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/environment-variables 2023-01-12 16:00:07 +00:00
Dean 73fcbdbb6f Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/user-onboarding-overlays 2023-01-12 15:59:30 +00:00
Andrew Kingston abd84118d9 Hide groups page if disabled at tenant level 2023-01-12 15:52:37 +00:00
Andrew Kingston e32dc5237a Fix mobile menu upgrade button not closing menu 2023-01-12 15:42:59 +00:00
Andrew Kingston 034871ebad Remove log 2023-01-12 15:41:00 +00:00