Commit Graph

25298 Commits

Author SHA1 Message Date
Peter Clement 9aa8030355 fix max-height in dropdown 2023-01-27 12:04:32 +00:00
Peter Clement 6e5aa7381f fix warnings 2023-01-27 11:49:44 +00:00
Peter Clement e623c344bf update env dropdown input to remove tags 2023-01-27 11:48:02 +00:00
Rory Powell be5b8347ef Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567 1b2be83fdb 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 4cc0bd026d Update pro version to 2.2.12-alpha.41 2023-01-27 09:49:29 +00:00
Budibase Staging Release Bot b5da4944f2 v2.2.12-alpha.41 2023-01-27 09:45:39 +00:00
Rory Powell 3108c4d1e9
Use swc option with ts-node (#9447) 2023-01-27 09:33:04 +00:00
Peter Clement ce555a3c8e fix license check 2023-01-26 16:16:56 +00:00
Peter Clement e4aa1cdb66 add environmentVariables feature to constants 2023-01-26 15:34:03 +00:00
Peter Clement 0d57384642 gate env vars in binding drawers behind license 2023-01-26 15:09:20 +00:00
Peter Clement 4e9186d58e add envrionment bindings to automations 2023-01-26 14:59:29 +00:00
Peter Clement 64ee499947 add tags to input dropdown 2023-01-26 14:24:10 +00:00
Budibase Staging Release Bot f117a3fefd Update pro version to 2.2.12-alpha.40 2023-01-25 19:17:06 +00:00
Budibase Staging Release Bot 362a03b4de v2.2.12-alpha.40 2023-01-25 19:13:39 +00:00
Michael Drury 0c421933c7
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 c99b4ae3a3 Adding test cases as per PR comments. 2023-01-25 18:27:58 +00:00
Budibase Staging Release Bot 2d05cece09 Update pro version to 2.2.12-alpha.39 2023-01-25 16:16:45 +00:00
Budibase Staging Release Bot 3bbff691de v2.2.12-alpha.39 2023-01-25 16:12:14 +00:00
Andrew Kingston 0dec255d7b Add suffix setting to fancy input component and fix lint warning 2023-01-25 15:57:47 +00:00
Andrew Kingston db43f2cc74 Add suffix prop to fancy input component 2023-01-25 15:55:57 +00:00
Budibase Staging Release Bot 089461a17a Update pro version to 2.2.12-alpha.38 2023-01-25 14:27:14 +00:00
Budibase Staging Release Bot 593ce49bfc v2.2.12-alpha.38 2023-01-25 14:23:22 +00:00
Andrew Kingston 0c58b792d0 Fix fancy select not correctly displaying the label for the selected value 2023-01-25 14:11:33 +00:00
Budibase Staging Release Bot 00953439eb Update pro version to 2.2.12-alpha.37 2023-01-25 13:23:11 +00:00
Budibase Staging Release Bot e8c4a6f60f v2.2.12-alpha.37 2023-01-25 13:19:44 +00:00
melohagan ba2e55c672
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 ed5319722f Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-25 11:41:22 +00:00
Peter Clement 3c1d17bb47 add environment bindings to rest query binding drawer 2023-01-25 11:39:13 +00:00
Peter Clement d4eb19d04f add licensing check to env dropdown 2023-01-25 11:27:57 +00:00
Budibase Staging Release Bot 965b5f7741 Update pro version to 2.2.12-alpha.36 2023-01-25 09:29:18 +00:00
Budibase Staging Release Bot e06833c51e v2.2.12-alpha.36 2023-01-25 09:25:53 +00:00
Andrew Kingston 4aaebefcc8 Fix upgrade button not working when account portal is an external URL 2023-01-25 09:15:12 +00:00
mike12345567 b138d86318 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 f82e8f1f20 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 8cf63278d8 ensure object is passed to processObjectSync 2023-01-24 15:44:34 +00:00
Peter Clement 0359aacc00 css updates to dropdown component 2023-01-24 15:24:29 +00:00
Budibase Staging Release Bot e2af5900f4 Update pro version to 2.2.12-alpha.35 2023-01-23 23:53:01 +00:00
Budibase Staging Release Bot 2221f7f56d v2.2.12-alpha.35 2023-01-23 23:49:38 +00:00
dependabot[bot] 37e36a0887
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] c082cf62ad
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] 6d44b1f0f1
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 1df4d5b4ea
Resolve merge problems (#9420) 2023-01-23 23:24:44 +00:00
mike12345567 2691838b71 Adding frontend event publishing for events like upgrade panel opened. 2023-01-23 19:18:02 +00:00
mike12345567 5589bb59af Adding an API for publishing an event from the frontend. 2023-01-23 18:56:44 +00:00
mike12345567 1387eedf7a Adding events for environment variables (created, deleted, upgrade panel opened). 2023-01-23 18:18:06 +00:00
Budibase Staging Release Bot 8c8203cfc4 Update pro version to 2.2.12-alpha.34 2023-01-23 17:00:29 +00:00
Budibase Staging Release Bot b439583224 v2.2.12-alpha.34 2023-01-23 16:56:43 +00:00
melohagan c72bce9e4a
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 de83c32576 Update pro version to 2.2.12-alpha.33 2023-01-23 15:57:26 +00:00
Budibase Staging Release Bot f4e3f6f831 v2.2.12-alpha.33 2023-01-23 15:53:12 +00:00
Andrew Kingston f08c522079
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
Budibase Staging Release Bot de23800e01 Update pro version to 2.2.12-alpha.32 2023-01-20 15:51:06 +00:00
Budibase Staging Release Bot 80b040aa15 v2.2.12-alpha.32 2023-01-20 15:47:35 +00:00
melohagan 1382227c30
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
Budibase Staging Release Bot 738db2cc6a Update pro version to 2.2.12-alpha.31 2023-01-20 13:31:41 +00:00
Budibase Staging Release Bot f06b539fce v2.2.12-alpha.31 2023-01-20 13:28:11 +00:00
Mel O'Hagan 9205022eb7 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 23:04:54 +00:00
Mel O'Hagan 93606a91b0 Delete file copy 2023-01-19 22:57:19 +00:00
Mel O'Hagan 181dc4b18d lint 2023-01-19 22:54:46 +00:00
Mel O'Hagan b70d4238a8 Overhaul of CreateEditRelationship modal 2023-01-19 22:54:06 +00:00
Mel O'Hagan 8c111cf6fd Saving. TODO - Validation 2023-01-19 21:09:13 +00:00
Budibase Staging Release Bot 2fcc02feae Update pro version to 2.2.12-alpha.30 2023-01-19 20:12:03 +00:00
Budibase Staging Release Bot e47b2a5092 v2.2.12-alpha.30 2023-01-19 20:08:13 +00:00
Mitch-Budibase 40a39389fa
Merge pull request #9392 from Budibase/cypress
Cypress - New Portal Test Updates
2023-01-19 19:57:06 +00:00
Mitch-Budibase e5d49a2543 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 69e09c212b 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 dde8e574e8 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-19 19:12:49 +00:00
mike12345567 e7e6e3419e Some minor updates after reviewing. 2023-01-19 19:10:41 +00:00
Peter Clement 86c1707529 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
Budibase Staging Release Bot 2399f65814 Update pro version to 2.2.12-alpha.29 2023-01-19 16:24:28 +00:00
Budibase Staging Release Bot 88e2460b18 v2.2.12-alpha.29 2023-01-19 16:20:45 +00:00
Andrew Kingston 7ece9f78d5
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 dbd69c63f4 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 9852796780 Update pro version to 2.2.12-alpha.28 2023-01-19 15:11:32 +00:00
Mel O'Hagan 167afa86bc Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 15:08:13 +00:00
Budibase Staging Release Bot fdb6f3bbba v2.2.12-alpha.28 2023-01-19 15:08:06 +00:00
Mateus Badan de Pieri 6e5c126d5a adding validation for envvar bindings
adding validation for envvar bindings
2023-01-19 15:07:56 +00:00
dependabot[bot] 9f6b7be19e
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 efe45b3e2b Remove console log 2023-01-19 14:38:26 +00:00
Mel O'Hagan c1e2dd1282 Ignore primary touched if isMany 2023-01-19 14:29:47 +00:00
Mel O'Hagan fd56d0925b Update through table error message 2023-01-19 14:14:29 +00:00
Mel O'Hagan ecbd01a546 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-19 14:13:57 +00:00
Budibase Staging Release Bot 2f1bacb810 Update pro version to 2.2.12-alpha.27 2023-01-19 13:50:23 +00:00
Budibase Staging Release Bot 2c90339d63 v2.2.12-alpha.27 2023-01-19 13:46:45 +00:00
melohagan e35bb2db3d
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 a1860a9ffe Update pro version to 2.2.12-alpha.26 2023-01-19 13:23:04 +00:00
Budibase Staging Release Bot 6f194f4fe4 v2.2.12-alpha.26 2023-01-19 13:19:06 +00:00
Andrew Thompson f944a088b2
fix auth config validation for saving deactivation (#9361) 2023-01-19 13:06:38 +00:00
Peter Clement 26b161fab5 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 14343cd87b Update pro version to 2.2.12-alpha.25 2023-01-19 10:05:32 +00:00
Budibase Staging Release Bot d5faf82115 v2.2.12-alpha.25 2023-01-19 10:01:15 +00:00
Andrew Kingston edb05e1e71
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 f8a2c9e169 Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +00:00
mike12345567 900873ce5f Disabling edit/add options for environment variables when encryption key is not found. 2023-01-18 17:49:18 +00:00
mike12345567 3c2020d398 Adding a warning for missing ENCRYPTION_KEY variable to the portal. 2023-01-18 17:29:56 +00:00
Budibase Staging Release Bot 89449d504b Update pro version to 2.2.12-alpha.24 2023-01-18 16:14:23 +00:00
Budibase Staging Release Bot 495310bde0 v2.2.12-alpha.24 2023-01-18 16:10:48 +00:00
Budibase Staging Release Bot bd1a9cc618 Update pro version to 2.2.12-alpha.23 2023-01-18 14:13:32 +00:00
Budibase Staging Release Bot 305178a2ad v2.2.12-alpha.23 2023-01-18 14:09:34 +00:00