Commit Graph

7328 Commits

Author SHA1 Message Date
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
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] 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
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
Dean 45b907cfde Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-23 11:43:15 +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
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
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
mike12345567 f4d389797c Some minor updates after reviewing. 2023-01-19 19:10:41 +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
Budibase Staging Release Bot d5aebb3db4 Update pro version to 2.2.12-alpha.28 2023-01-19 15:11:32 +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
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
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
mike12345567 b659060beb Updating datasource API to remove secrets when returning datasources. 2023-01-18 19:16:19 +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
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
mike12345567 95e8371b1d Adding encryption key to manage of server. 2023-01-16 18:51:48 +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
mike12345567 10d1455b35 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-16 14:26:26 +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
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
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
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 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
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
Adria Navarro 34cd26781b Delete instead of deactivating 2023-01-13 10:26:05 +00:00
Adria Navarro 09b4533cc8 Add endpoint to deactivate user from app on delete 2023-01-12 16:26:46 +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
Adria Navarro 24f8f3a7cb Fix currentapp middleware to allow app_ parameters 2023-01-12 15:38:22 +00:00
Peter Clement 117aaed356 Merge remote-tracking branch 'origin/develop' into feature/environment-variables 2023-01-12 14:54:02 +00:00
Andrew Kingston b21f0b3925 Lint 2023-01-12 14:48:05 +00:00
mike12345567 87cf52192d Small update to properly support environments with environment variables, making sure that datasources correctly select based on app ID. 2023-01-12 14:38:12 +00:00
Budibase Staging Release Bot e55f4d1981 Update pro version to 2.2.12-alpha.16 2023-01-12 13:12:03 +00:00
Budibase Staging Release Bot b8ccc9f0b4 v2.2.12-alpha.16 2023-01-12 13:07:46 +00:00
Budibase Staging Release Bot 0e6b5bdb96 Update pro version to 2.2.12-alpha.15 2023-01-12 11:21:51 +00:00
Budibase Staging Release Bot c26546562b v2.2.12-alpha.15 2023-01-12 11:18:17 +00:00
Budibase Staging Release Bot 5a659fc315 Update pro version to 2.2.12-alpha.14 2023-01-12 10:39:30 +00:00
Budibase Staging Release Bot d16ea35871 v2.2.12-alpha.14 2023-01-12 10:35:45 +00:00
Budibase Staging Release Bot 88564b0a7b Update pro version to 2.2.12-alpha.13 2023-01-12 08:52:22 +00:00
Budibase Staging Release Bot 7ce6c8e5f2 v2.2.12-alpha.13 2023-01-12 08:48:54 +00:00
Budibase Staging Release Bot e398baca3e Update pro version to 2.2.12-alpha.12 2023-01-11 20:54:14 +00:00
Budibase Staging Release Bot 006f4d1f26 v2.2.12-alpha.12 2023-01-11 20:50:39 +00:00
Rory Powell e5e767f18d Correlation id's and log context (#7232)
* Correlation id's and log context

* fix build

* Remove redundant fields from LoggingProcessor.ts

* Only log correlation id when present e.g. this is not present on startup / shutdown / automations
2023-01-11 20:39:33 +00:00
mike12345567 d27674de5c Replacing some require statements with imports. 2023-01-11 19:07:01 +00:00
Budibase Staging Release Bot cce4e7daf9 Update pro version to 2.2.12-alpha.11 2023-01-11 18:31:44 +00:00
Budibase Staging Release Bot b55b39413f v2.2.12-alpha.11 2023-01-11 18:28:14 +00:00
mike12345567 c479a7da2f Fixing minor Typescript issue, some old requires. 2023-01-11 18:16:30 +00:00
mike12345567 69b9af51ff Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
mike12345567 03df57d077 Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK. 2023-01-11 17:57:51 +00:00
Budibase Staging Release Bot 56f9ead3ca Update pro version to 2.2.12-alpha.10 2023-01-11 15:52:41 +00:00
Budibase Staging Release Bot f13569f4a8 v2.2.12-alpha.10 2023-01-11 15:48:59 +00:00
Budibase Staging Release Bot 89cc5531a4 v2.2.12-alpha.9 2023-01-11 15:32:46 +00:00
Budibase Staging Release Bot d11d635904 Update pro version to 2.2.12-alpha.8 2023-01-11 12:33:54 +00:00
Budibase Staging Release Bot c8215530e3 v2.2.12-alpha.8 2023-01-11 12:30:22 +00:00
Budibase Staging Release Bot 4775a25570 Update pro version to 2.2.12-alpha.7 2023-01-11 10:39:04 +00:00
Budibase Staging Release Bot e92f365784 v2.2.12-alpha.7 2023-01-11 10:35:25 +00:00
Budibase Staging Release Bot cca09eaba1 Update pro version to 2.2.12-alpha.6 2023-01-11 09:56:40 +00:00
Budibase Staging Release Bot c9b717d8de v2.2.12-alpha.6 2023-01-11 09:52:19 +00:00
Rory Powell fba7ef26ad Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
Budibase Staging Release Bot 908d8d9066 Update pro version to 2.2.12-alpha.5 2023-01-10 17:26:37 +00:00
Budibase Staging Release Bot 2e6837f4f2 v2.2.12-alpha.5 2023-01-10 17:23:06 +00:00
Budibase Staging Release Bot 2471c2698f Update pro version to 2.2.12-alpha.4 2023-01-10 15:00:11 +00:00
Budibase Staging Release Bot f17610ce50 v2.2.12-alpha.4 2023-01-10 14:55:56 +00:00