Commit Graph

7360 Commits

Author SHA1 Message Date
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
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
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
Adria Navarro 8f186041ac Don't create the apps on test 2023-01-25 10:13:35 +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
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
Adria Navarro 6259ffad3b Wipe db before tests 2023-01-24 18:51:15 +00:00
Adria Navarro 9371f19419 Remove mocks 2023-01-24 17:48:49 +00:00
Adria Navarro 26fa3bd484 tweak tests 2023-01-24 15:46:50 +00:00
Peter Clement 22e1c1cccf ensure object is passed to processObjectSync 2023-01-24 15:44:34 +00:00
Adria Navarro 40662b05cc Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-24 11:23:09 +00:00
Adria Navarro 4eac8c8381 Merge branch 'develop' into feature/test-image
# Conflicts:
#	packages/worker/yarn.lock
2023-01-24 11:21:44 +00:00
Adria Navarro 53fa5d99b2 Use docker-compose dev for dev testing 2023-01-24 11:02:58 +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
Adria Navarro 4df4494d00 Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:43:36 +00:00
Adria Navarro 17f6c505e0 Merge branch 'develop' into feature/test-image
# Conflicts:
#	packages/worker/yarn.lock
2023-01-23 18:40:44 +00:00
Adria Navarro 6806404465 Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:08:19 +00:00
Adria Navarro bdacb34c7a Remove config.moduleNameMapper 2023-01-23 18:04:25 +00:00
Adria Navarro d1d8ce3611 Move more stuff to .env.test 2023-01-23 18:02:28 +00:00
Adria Navarro d6f0e5b1ec Dry, moving env variables to a .env.test file 2023-01-23 17:41:32 +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
Adria Navarro 98aa60879f Set parameters 2023-01-23 16:53:34 +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
Adria Navarro 106563c449 Use couchdb from docker container 2023-01-23 16:45:06 +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
Adria Navarro 486bc6b18d Add jest-testcontainers-config 2023-01-23 15:52:23 +00:00
Adria Navarro 85fd8f2414 Unlink jest-testcontainers-config 2023-01-23 12:02:44 +00:00
mike12345567 0f33fd8d48 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-20 19:55:11 +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