Commit Graph

18185 Commits

Author SHA1 Message Date
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
Martin McKeaveney ac520e3a1e Update pull_request_template.md 2023-01-25 22:26:09 +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
Andrew Kingston 1569c354b5 Lint 2023-01-23 13:57:41 +00:00
Andrew Kingston 8a90862c8b Ensure unauthorised users cannot view pages they should not be able to 2023-01-23 13:47:36 +00:00
Andrew Kingston a10f7b3890 Fix issue with scroll padding not being applied 2023-01-23 13:47:11 +00:00
Andrew Kingston 614e10b62f Improve some minor design issues 2023-01-23 13:28:58 +00:00