Commit Graph

25714 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 3fd8370f6b Update pro version to 2.2.12-alpha.46 2023-01-31 08:39:04 +00:00
Budibase Staging Release Bot 7b6d2fbb2f v2.2.12-alpha.46 2023-01-31 08:35:24 +00:00
Andrew Kingston 5835034482 Add min-height to split page to align small pages in onboarding flow and match designs 2023-01-31 08:23:20 +00:00
Adria Navarro 35a92a5fad
Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
adrinr 60fc564efd Start race condition 2023-01-30 18:51:22 +00:00
mike12345567 fa51f67fc3 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
adrinr 18a0675545 Fix jest.setup 2023-01-30 18:18:23 +00:00
adrinr 81cc5a19c4 Use docker compose for test-containers 2023-01-30 18:15:29 +00:00
adrinr 430feeee92 Add retry to prevent race conditions 2023-01-30 18:12:06 +00:00
Budibase Staging Release Bot c6d25a1a8a Update pro version to 2.2.12-alpha.45 2023-01-30 17:48:48 +00:00
Budibase Staging Release Bot 93274fcdf0 v2.2.12-alpha.45 2023-01-30 17:44:07 +00:00
mike12345567 9a1ff005e4 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 17:05:51 +00:00
mike12345567 39107032cd Some missing async handling. 2023-01-30 17:03:20 +00:00
adrinr 9b3faca008 Fix tenancy issues 2023-01-30 16:45:04 +00:00
Peter Clement 68c6faf111 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:44:11 +00:00
mike12345567 09556171ac Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:41:19 +00:00
mike12345567 0038868208 PR comments - switching back to password field to hide the --secret-value--. 2023-01-30 16:40:31 +00:00
Peter Clement 173c02d93b fix async handling for variable creation 2023-01-30 16:40:16 +00:00
adrinr a85ce86794 Fix test after patch 2023-01-30 16:39:15 +00:00
Peter Clement d9dfab23e8 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 16:32:29 +00:00
Peter Clement 483825f16b add try catch to all environment variable loading 2023-01-30 16:30:51 +00:00
Peter Clement b7c4c4561c gate env vars for rest variables 2023-01-30 16:28:45 +00:00
mike12345567 67e80975be Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 13:56:52 +00:00
adrinr 3df4c553e7 Run conflicting tests in sequential mode 2023-01-30 13:35:09 +00:00
adrinr 8585394d4f Fix test race conditions 2023-01-30 12:29:39 +00:00
Budibase Staging Release Bot 5debb455ca Update pro version to 2.2.12-alpha.44 2023-01-30 11:56:20 +00:00
Budibase Staging Release Bot c32d766266 v2.2.12-alpha.44 2023-01-30 11:52:46 +00:00
mike12345567 2153de58e6 Adding env var feature. 2023-01-30 11:40:54 +00:00
Peter Clement fb939b795f Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 11:08:09 +00:00
mike12345567 2314ede068 Adding context update to test case since it used to rely on the context update functionality. 2023-01-30 10:59:54 +00:00
Peter Clement c067df3696 Added envirioment bindings to REST variables 2023-01-30 10:55:53 +00:00
mike12345567 7152a75288 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 09:53:31 +00:00
Budibase Staging Release Bot 9f8501870a Update pro version to 2.2.12-alpha.43 2023-01-30 08:34:35 +00:00
Budibase Staging Release Bot b15dc542e3 v2.2.12-alpha.43 2023-01-30 08:30:29 +00:00
Andrew Kingston b2cbdabaf7 Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-01-30 08:16:47 +00:00
Andrew Kingston eac5022660 Fix datasources not being collapsible 2023-01-30 08:16:31 +00:00
Andrew Kingston 0dc638f788 Add icon slot in fancy buttons 2023-01-30 08:16:20 +00:00
Dean 9521a658ee Removed debug console statement 2023-01-29 22:03:49 +00:00
Dean 9d64b85279 Feedback updates 2023-01-29 22:00:20 +00:00
Dean 4c34c74e51 Merge remote-tracking branch 'origin/master' into fix/block-duplicate-autocolumn-types 2023-01-29 21:49:50 +00:00
Dean fd6b4cbe32 Feedback updates 2023-01-29 21:28:46 +00:00
Dean 373fccbae2 Updated the user invite test to include the required firstName 2023-01-27 20:32:06 +00:00
Dean 22c9e5ebf2 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-27 20:21:33 +00:00
mike12345567 7f788dac41 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 18:35:32 +00:00
mike12345567 86f670fabe Adding test case for secret-value replacement, to confirm that datasources API correctly replaces secret values with the actual secret. 2023-01-27 18:27:03 +00:00
mike12345567 93a8b0583c Fixes for tests, allow any handlebars for datasources (dynamic vars). 2023-01-27 18:06:39 +00:00
Dean 4a5a9aff76 Merge remote-tracking branch 'origin/develop' into feature/auth-screens-redesign 2023-01-27 18:02:32 +00:00
Dean 5538938c4f Expanding mime check for cloud tarball import 2023-01-27 18:01:12 +00:00
Dean a403afb92c Validation refactor 2023-01-27 17:59:50 +00:00
adrinr 81b5a615b8 Fix worker tests 2023-01-27 17:59:14 +00:00
Peter Clement c591830516 add env vars to auth variables section in rest config 2023-01-27 16:35:14 +00:00
Peter Clement 7162a9c9dc fix bug with dev variable not saving correctly 2023-01-27 15:50:59 +00:00
Peter Clement a2f93a8bef Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 15:25:21 +00:00
Peter Clement 7859e1f1c5 add divider on upgrade page 2023-01-27 15:23:24 +00:00
mike12345567 7ca5c877a1 Updating datasources to use new onlyFound option. 2023-01-27 15:21:04 +00:00
mike12345567 dd67f106ed Adding a onlyFound option to our handlebars system so that we can enrich only the parts we have and leave other components for further enrichment. 2023-01-27 15:15:07 +00:00
Budibase Staging Release Bot be0b1c6bb1 Update pro version to 2.2.12-alpha.42 2023-01-27 14:52:40 +00:00
Budibase Staging Release Bot 1a8bba5277 v2.2.12-alpha.42 2023-01-27 14:49:10 +00:00
Andrew Kingston a9a729cb85
Fix certain types of popover not working inside modals or side panels (#9424) 2023-01-27 14:38:31 +00:00
Dean b6b32a2756 UI Onboarding UI/UX auth refactoring 2023-01-27 13:44:57 +00:00
mike12345567 abe17e6c0e Fixing issue with apps not being created correctly due to the recent update to context. 2023-01-27 13:37:36 +00:00
adrinr ac03e505ca Merge branch 'develop' into feature/dependencies-image 2023-01-27 12:51:00 +00:00
adrinr 722267e588 Add module name mapper back 2023-01-27 12:36:52 +00:00
Peter Clement f7bec98b5f fix input not disabling properly 2023-01-27 12:06:34 +00:00
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
adrinr d6da46a079 Use test-containers for backend-core tests 2023-01-27 11:43:36 +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
adrinr 0e200c66b3 Delete testcontainers-config 2023-01-26 18:40:36 +00:00
adrinr 79c48bf6bc Remove wrong createApp 2023-01-26 18:24:20 +00:00
adrinr e11f1d1d44 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 610bcae13f Update pro version to 2.2.12-alpha.40 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot cafacbd5e8 v2.2.12-alpha.40 2023-01-26 18:20:21 +00:00
mike12345567 d189fc82f8 Adding test cases as per PR comments. 2023-01-26 18:20:21 +00:00
mike12345567 2e099a7029 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-26 18:20:21 +00:00
Budibase Staging Release Bot b4cea176b2 Update pro version to 2.2.12-alpha.39 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 1d0baec265 v2.2.12-alpha.39 2023-01-26 18:20:21 +00:00
Andrew Kingston 117d62a798 Add suffix setting to fancy input component and fix lint warning 2023-01-26 18:20:21 +00:00
Andrew Kingston c70b3eacec Add suffix prop to fancy input component 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 386efad9da Update pro version to 2.2.12-alpha.38 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 233dfb0196 v2.2.12-alpha.38 2023-01-26 18:20:21 +00:00
Andrew Kingston d8d7d39767 Fix fancy select not correctly displaying the label for the selected value 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 138c9affed Update pro version to 2.2.12-alpha.37 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 1a995f8d93 v2.2.12-alpha.37 2023-01-26 18:20:21 +00:00
melohagan 08d4982603 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-26 18:20:21 +00:00
Budibase Staging Release Bot a782dd39c3 Update pro version to 2.2.12-alpha.36 2023-01-26 18:20:21 +00:00
Budibase Staging Release Bot 04904dbafd v2.2.12-alpha.36 2023-01-26 18:20:21 +00:00
Andrew Kingston 84793ea80b Fix upgrade button not working when account portal is an external URL 2023-01-26 18:20:21 +00:00
Adria Navarro Redo bf0f7d5bab Fix user test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 48ee427178 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 5933422a79 Fix date related tests 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 4ac3102f2a Fix automation test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 498d1776e0 Fix snapshots test 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 7b935d8476 Set expected id 2023-01-26 18:20:21 +00:00
Adria Navarro Redo d46ef8e68c Fix application delete tests 2023-01-26 18:20:21 +00:00
Adria Navarro Redo 5abb095f58 Use multitenancy for tests 2023-01-26 18:20:21 +00:00
Adria Navarro Redo cde6b17490 Add aws-sdk mock back 2023-01-26 18:20:21 +00:00
adrinr 9bcb33285c Fix timespan issues 2023-01-26 18:20:05 +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
Adria Navarro be24db0a9b Don't create the apps on test 2023-01-25 10:13:35 +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
Adria Navarro 1b3c7bb6f8 Wipe db before tests 2023-01-24 18:51:15 +00:00
Adria Navarro 9bdc54f0aa Remove mocks 2023-01-24 17:48:49 +00:00
Adria Navarro 730c40e6b9 tweak tests 2023-01-24 15:46:50 +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
Adria Navarro aafc70dcff Remove test logic from getAllDbs 2023-01-24 14:06:28 +00:00
Adria Navarro 7e51914475 Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-24 11:23:09 +00:00
Adria Navarro 30ebfb72c5 Merge branch 'develop' into feature/test-image
# Conflicts:
#	packages/worker/yarn.lock
2023-01-24 11:21:44 +00:00
Adria Navarro ede31efe5a Use docker-compose dev for dev testing 2023-01-24 11:02:58 +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
Adria Navarro dbdc3e89d9 Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:43:36 +00:00
Adria Navarro 286e6f4123 Merge branch 'develop' into feature/test-image
# Conflicts:
#	packages/worker/yarn.lock
2023-01-23 18:40:44 +00:00
Adria Navarro a90a1fd1a5 Yarn bootstrap 2023-01-23 18:23:11 +00:00
mike12345567 1387eedf7a Adding events for environment variables (created, deleted, upgrade panel opened). 2023-01-23 18:18:06 +00:00
Adria Navarro b0ffdc079d Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:08:19 +00:00
Adria Navarro 6b2973a5fe Remove config.moduleNameMapper 2023-01-23 18:04:25 +00:00
Adria Navarro 359e2d1d1f Move more stuff to .env.test 2023-01-23 18:02:28 +00:00
Adria Navarro e9cd0984d9 Dry, moving env variables to a .env.test file 2023-01-23 17:41:32 +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
Adria Navarro 30830503c9 Set parameters 2023-01-23 16:53:34 +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
Adria Navarro 9225b658ae Use couchdb from docker container 2023-01-23 16:45:06 +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
Adria Navarro 963791bc12 Add jest-testcontainers-config 2023-01-23 15:52:23 +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
Dean 8905f537ad Feedback update for reactive filter statements 2023-01-23 12:26:59 +00:00
Adria Navarro 3061631743 Unlink jest-testcontainers-config 2023-01-23 12:02:44 +00:00
Dean a1faeece3c Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export 2023-01-23 11:43:15 +00:00
Dean 6f55bdd9bc Merge fix 2023-01-23 09:59:01 +00:00
Dean 103bdeaf53 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean d62fc5c4f7 Minor fixes for reactivity issues and some updates 2023-01-23 09:06:21 +00:00
Dean 66932c5a7d Removed comment 2023-01-23 00:42:49 +00:00
Dean 37a454a7d3 Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
Budibase Release Bot e3f03bb00b Update pro version to 2.2.22 2023-01-22 19:35:27 +00:00
Budibase Release Bot 6636c4e2ba v2.2.22 2023-01-22 19:32:07 +00:00
melohagan cdcd00ac20
Treat bigint as string (#8877)
* Make bigint string type

* Handle BigInt relationships

* remove unused var

* Revert CreateEditRelationship modal changes
2023-01-22 19:19:16 +00:00
Budibase Release Bot 97261b1f3a Update pro version to 2.2.21 2023-01-22 15:41:50 +00:00
Budibase Release Bot 34bc845099 v2.2.21 2023-01-22 15:38:26 +00:00
melohagan 10227663e7
Return empty not null on clear (#9078) 2023-01-22 15:24:48 +00:00
mike12345567 8a7922110d Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-20 19:55:11 +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
melohagan d274f3af1e
SQL filtering: Always escape key in LIKE statements (#9278)
* Always escape key in like statements

* lint
2023-01-20 14:03:14 +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
Adria Navarro a531f2edba Update openapi specs 2023-01-20 12:12:59 +00:00
Adria Navarro e9ea2290c6 Fix types 2023-01-20 12:03:00 +00:00
Adria Navarro f19b68e5ee Extra typings 2023-01-20 11:48:11 +00:00
Adria Navarro 616c5d7d59 Fix broken tests 2023-01-20 10:29:11 +00:00
Adria Navarro ae748d78d2 Fix old tests 2023-01-20 10:12:52 +00:00
Adria Navarro 6d5a8bba84 Fix types 2023-01-20 09:58:59 +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
Adria Navarro 82035f0114 Add enrich test 2023-01-19 20:09:39 +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
Adria Navarro 0cd647f142 Test delete multiple 2023-01-19 17:28:42 +00:00
Adria Navarro 2cd4d106e1 Change tests to use internal apis 2023-01-19 17:23:48 +00:00
Adria Navarro 63c6728825 Add get all rows tests 2023-01-19 16:46:05 +00:00
Adria Navarro f685ad6af7 Fix validate schema 2023-01-19 16:43:39 +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
Adria Navarro a900a47e49 Rename file 2023-01-19 16:21:37 +00:00
Budibase Staging Release Bot 88e2460b18 v2.2.12-alpha.29 2023-01-19 16:20:45 +00:00
Adria Navarro b1894fac48 Use right tableid 2023-01-19 16:10:29 +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
Adria Navarro 0862dfe2eb Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-01-19 15:25:46 +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
Adria Navarro 39f3cc57eb Add "get" tests 2023-01-19 11:44:48 +00:00
Adria Navarro df418daf40 Add pagination and sort tests 2023-01-19 11:35:00 +00:00
Adria Navarro eba811787f Add search query tests 2023-01-19 11:20:20 +00:00
Adria Navarro cb0f45e47c Improve tests 2023-01-19 11:06:41 +00:00
Adria Navarro 2a0217abe2 Add search test 2023-01-19 11:00:51 +00:00
Adria Navarro 6c0adb2e31 Merge branch 'develop' into test/9339-sqlpostgres-row-api-test-suite 2023-01-19 10:05:58 +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
Adria Navarro 0c6731c2ed Test delete 2023-01-18 17:21:17 +00:00
Adria Navarro a024a1e577 Add update test 2023-01-18 17:11:52 +00:00
Adria Navarro 18df47b1f4 Dry tests 2023-01-18 17:07:09 +00:00
Adria Navarro b15ce4f4e4 Adding more tests 2023-01-18 16:48:18 +00:00
Adria Navarro 029453eab5 Retrieve row test 2023-01-18 16:46:40 +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
Adria Navarro 0bfef72480 Create an app before each test 2023-01-18 16:06:45 +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
Andrew Kingston c3f5e33b29
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
Adria Navarro b47b693098 Clean code 2023-01-18 13:55:24 +00:00
Adria Navarro 45b1e9fee3 Add test for multiple rows 2023-01-18 12:26:26 +00:00
Adria Navarro 0beb6d97b1 Use postgres as datasource 2023-01-18 12:19:40 +00:00
Budibase Staging Release Bot 8a993fdd5b Update pro version to 2.2.12-alpha.22 2023-01-18 12:14:20 +00:00
Budibase Staging Release Bot daacfe60b6 v2.2.12-alpha.22 2023-01-18 12:10:48 +00:00
Andrew Kingston 57b669caa6 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-18 12:08:33 +00:00
Gerard Burns cde15b0b0b
Fix Table Creation With No Import (#9373) 2023-01-18 12:00:08 +00:00
Adria Navarro d91634b6d0 Fix types 2023-01-18 11:50:00 +00:00
Adria Navarro d40aef8830 More typings 2023-01-18 10:45:42 +00:00
Mel O'Hagan cc628529b1 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-18 08:44:33 +00:00
Adria Navarro ac3905c195 Implement test 2023-01-17 17:39:59 +00:00
Adria Navarro 153eb392c2 Add basic test 2023-01-17 17:22:31 +00:00
Adria Navarro 36c3cfc27d Type tests utils 2023-01-17 17:19:39 +00:00
Adria Navarro 19ab0ceb40 Prevent killing tests when stopping the server 2023-01-17 16:07:26 +00:00
Adria Navarro 39b33aaf5c Treat new tests are "no tests" 2023-01-17 16:05:02 +00:00
Adria Navarro 3042910aca Remove moduleNameMapper in jest 2023-01-17 15:49:56 +00:00
Adria Navarro 1ce8807dfd Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-01-17 15:25:25 +00:00
mike12345567 20a677e510 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 15:25:17 +00:00
Budibase Staging Release Bot dea4dd1de7 Update pro version to 2.2.12-alpha.21 2023-01-17 15:21:53 +00:00
Budibase Staging Release Bot 4aadbcd8a1 v2.2.12-alpha.21 2023-01-17 15:18:15 +00:00
Gerard Burns 36f9bd8d71
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 6951763abe add export modal warning 2023-01-17 10:51:26 +00:00
Adria Navarro bbad666004 Delete apps on end 2023-01-17 10:28:51 +00:00
Adria Navarro 505b0d45be Type s3 responses 2023-01-17 10:27:45 +00:00
Peter Clement 62b2628633 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-17 10:15:03 +00:00
Peter Clement 6d071aae0d add licensing work 2023-01-17 10:13:49 +00:00
mike12345567 5d213114ab Adding encryption key to manage of server. 2023-01-16 18:51:48 +00:00
mike12345567 258c5ea957 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 4bc47c1563 Minor updates to the context system and also adding env vars to automation context. 2023-01-16 16:47:59 +00:00
Adria Navarro e694fa4dcf Typing supertest parameters 2023-01-16 15:35:41 +00:00
Budibase Release Bot f8e8de734e Update pro version to 2.2.20 2023-01-16 14:55:12 +00:00
Budibase Release Bot 4ea1e55380 v2.2.20 2023-01-16 14:51:04 +00:00
melohagan da7aca5096
Null safety (#9355) 2023-01-16 14:34:10 +00:00
mike12345567 94203b3a2c Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-16 14:26:26 +00:00
Budibase Release Bot 5a295c8a6c Update pro version to 2.2.19 2023-01-16 12:40:04 +00:00
Budibase Release Bot 8bbb891771 v2.2.19 2023-01-16 12:36:44 +00:00
Martin McKeaveney 47b6dc86da
allow all user bindings in SQL queries (#9354) 2023-01-16 12:24:32 +00:00
Budibase Staging Release Bot e3fee5c121 Update pro version to 2.2.12-alpha.20 2023-01-16 11:44:26 +00:00
Budibase Staging Release Bot bf18dd279d v2.2.12-alpha.20 2023-01-16 11:40:48 +00:00
Mitch-Budibase e92afe146a Skipping Screen Tests 2023-01-16 11:17:11 +00:00
Budibase Staging Release Bot 88ec8d4db0 Update pro version to 2.2.12-alpha.19 2023-01-16 11:03:36 +00:00
Budibase Staging Release Bot 0af40aa059 v2.2.12-alpha.19 2023-01-16 10:59:43 +00:00
Adria Navarro 2ebabbe0e7
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
Dean 1d2583b896 Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/user-onboarding-overlays 2023-01-16 10:26:52 +00:00