Commit Graph

15929 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Andrew Kingston 2477f4f40b Update click outside handler to handle modals properly 2023-01-12 15:39:46 +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
Peter Clement 5646e18cb2 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-12 14:53:53 +00:00
Andrew Kingston b21f0b3925 Lint 2023-01-12 14:48:05 +00:00
Andrew Kingston 020cddc76e Improve dropdown logic 2023-01-12 14:42:05 +00:00
Peter Clement a4fd65b495 add edit and add modals 2023-01-12 14:38:30 +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
Rory Powell f85ecd4810 Fix pino request id generation (#9324)
Remove the duplicated pino config in favour of the common config. Move request id generation into common configuration
2023-01-12 10:25:21 +00:00
Andrew Kingston 1ce4c8a569 Fix update link in app overview 2023-01-12 09:19:58 +00:00
Andrew Kingston 6078c7560e Fix some responsive styles 2023-01-12 09:19:37 +00:00
Andrew Kingston 3778ab3bd5 Update pickers to use absolutely positioned root popover so that overflow does not matter 2023-01-12 09:18:17 +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
Rory Powell 92ba282ee5 Logging type updates to fix account portal build (#9317) 2023-01-12 08:37:41 +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 d5ccbbe4f0 Merge branch 'cheeks-lab-day-portal-redesign' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:04:33 +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
Andrew Kingston 4ddb63d79c Update backups page to be responsive 2023-01-11 16:39:32 +00:00
Budibase Staging Release Bot 56f9ead3ca Update pro version to 2.2.12-alpha.10 2023-01-11 15:52:41 +00:00