Commit Graph

24770 Commits

Author SHA1 Message Date
Sam Rose 681c53156f
Merge master. 2024-03-20 15:52:44 +00:00
Andrew Kingston 9149828c7c Improve performance of multistep form block even more and fix missing params 2024-03-20 15:50:23 +00:00
Andrew Kingston 65b4b6c35d Improve performance of table block 2024-03-20 15:46:15 +00:00
Andrew Kingston fdde7f8895 Improve performance of multistep form block 2024-03-20 15:46:07 +00:00
Sam Rose db4c3eb214
Remove no longer needed jest.unmnock call. 2024-03-20 15:42:40 +00:00
Andrew Kingston 80cc83d2f0 Fix huge amount of wasted renders by observing entire component context when generating form block fields 2024-03-20 15:42:28 +00:00
Sam Rose ff22db3d9f
Fold MongoDB unit tests into integration tests, delete MongoDB mocks. 2024-03-20 15:42:06 +00:00
melohagan e4e6447cf6
Use clickoutside library to stop mouseup closing side panel (#13193)
* Use clickoutside library to stop mouseup closing side panel

* Revert "Use clickoutside library to stop mouseup closing side panel"

This reverts commit fbe574812e.

* Use mousedown

* Add allowedType for clickoutside event

* Remove contextmenu listener

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2024-03-20 15:16:19 +00:00
Andrew Kingston f458ae20a9 Fix requiring double keypress to create new rows 2024-03-20 13:46:52 +00:00
Sam Rose 65524838a9
Update pro and account portal references. 2024-03-20 13:08:55 +00:00
Sam Rose 4c55d958a1
Actually remove oauth.ts this time. 2024-03-20 13:03:57 +00:00
Sam Rose dd468c293e
Remove worker aws-sdk, oauth, node-fetch mocks. 2024-03-20 13:03:24 +00:00
Andrew Kingston 50fe700608
Merge branch 'master' into feature/deprecate-table-component 2024-03-20 12:55:40 +00:00
Adria Navarro 59a7d8052a Single attachment subtype 2024-03-20 13:35:09 +01:00
Adria Navarro 23ac11ad6b Add single subtype 2024-03-20 13:18:22 +01:00
Sam Rose 4783426b0f
Merge branch 'master' of github.com:budibase/budibase into reenable-no-unused-vars 2024-03-20 11:46:59 +00:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Adria Navarro 4a5efbb0e4 Undo 2024-03-20 12:28:39 +01:00
Adria Navarro 4844e24efe Lint 2024-03-20 12:27:21 +01:00
Adria Navarro 7c05ec3b50
Merge branch 'master' into tests/shared-core-ci 2024-03-20 12:22:58 +01:00
Sam Rose 15ddfd1309
Merge branch 'master' into reenable-no-prototype-builtins 2024-03-20 11:10:06 +00:00
Adria Navarro 2bed7fa259 Update pro submodule 2024-03-20 12:08:50 +01:00
Adria Navarro 0697bb3c58
Merge branch 'master' into tests/shared-core-ci 2024-03-20 12:07:58 +01:00
Adria Navarro 27500ee610
Merge branch 'master' into tests/shared-core-ci 2024-03-20 12:06:41 +01:00
Sam Rose 89e2b54aaa
Merge branch 'master' into reenable-no-undef 2024-03-20 10:58:42 +00:00
Michael Drury 910f654df5
Merge branch 'master' into fix/sql-table-update-aliasing 2024-03-20 10:47:23 +00:00
Adria Navarro d12a49349d
Merge branch 'master' into tests/shared-core-ci 2024-03-20 11:29:04 +01:00
Adria Navarro e899658f0c Don't bundle anything on pro 2024-03-20 11:28:27 +01:00
Sam Rose efd4496d48
Reenable no-prototype-builtins 2024-03-20 10:27:51 +00:00
Adria Navarro beb02bfcac Fix flakiness 2024-03-20 11:15:12 +01:00
Adria Navarro 2f016d86e3 Remove .d.ts 2024-03-20 11:01:53 +01:00
Sam Rose ab83403ff4
Merge branch 'master' into reenable-no-undef 2024-03-20 09:56:32 +00:00
Sam Rose 282cc5a1e8
Merge branch 'master' into fix/sql-table-update-aliasing 2024-03-20 09:20:15 +00:00
Adria Navarro 9c08a40e7e Clean 2024-03-20 00:11:13 +01:00
Adria Navarro 7b5220116b
Merge branch 'master' into tests/shared-core-ci 2024-03-19 23:42:28 +01:00
Adria Navarro 2dbc5cabac Remove 2024-03-19 23:41:48 +01:00
Adria Navarro 94a93a5bb6 Run jest 2024-03-19 23:40:55 +01:00
Adria Navarro a72b80ad4d Fix build 2024-03-19 23:35:09 +01:00
Adria Navarro abbe9deb1c Add test command 2024-03-19 23:28:03 +01:00
Adria Navarro b62044b4b8 Fix tests 2024-03-19 23:26:04 +01:00
Adria Navarro 73f3e0c53b Clean dependencies 2024-03-19 23:25:53 +01:00
Adria Navarro 7d12af9ba8
Merge branch 'master' into reenable-no-case-declarations 2024-03-19 19:51:11 +01:00
Sam Rose 009c795f54
Reenable no-undefs. 2024-03-19 17:47:39 +00:00
Adria Navarro e5730b7e84 Fix check:types 2024-03-19 18:45:26 +01:00
Michael Drury 34b4e8fd1d
Merge branch 'master' into fix/sql-table-update-aliasing 2024-03-19 17:35:23 +00:00
Adria Navarro a2a0b96ce3 Update pro ref 2024-03-19 18:34:27 +01:00
mike12345567 1f1e9758c5 Disabling aliasing for table creation, update and deletion. These operations don't require aliasing and so therefore it should be fully disabled. 2024-03-19 17:23:14 +00:00
Sam Rose 03a702e765
Merge master. 2024-03-19 17:07:26 +00:00
Michael Drury 856334e333
Merge branch 'master' into fix/13282 2024-03-19 17:05:51 +00:00
Sam Rose 5ef1bd655c
Update pro reference. 2024-03-19 16:55:28 +00:00
mike12345567 83cafa56c5 Merge branch 'fix/13282' of github.com:Budibase/budibase into fix/13282 2024-03-19 16:52:54 +00:00
mike12345567 74abee8902 Fixing snapshot test. 2024-03-19 16:52:16 +00:00
Sam Rose aba5c3821d
Merge branch 'master' of github.com:budibase/budibase into reenable-no-inner-declarations 2024-03-19 16:51:25 +00:00
Sam Rose 9eeb04fa95
Fix broken mocks. 2024-03-19 16:50:48 +00:00
Michael Drury 553f75f90d
Merge branch 'master' into fix/13282 2024-03-19 16:29:01 +00:00
mike12345567 8d7267691d Handling aliasing in column conversions. 2024-03-19 16:28:25 +00:00
mike12345567 6a0e46a0a6 Proper fix, making sure that low level handling of JSON column types correctly handles aliasing. 2024-03-19 16:24:15 +00:00
Andrew Kingston 362705793c Add event context for live eval to table blocks 2024-03-19 16:21:46 +00:00
Conor Webb 35e1114fac
Added a setting to allow the title's text alignment to be changed (#13235)
* Added setting to allow title text alignment to be set and changed

* Switched out for icons instead of a select as per feedback.

* Edited right icon to display the correct icon.

* Updated to use the paragrah alignment component icons.

* Added button list component

* Reworked template to use BarButtonList over ActionButton component

* Updated selectedArray name to alignmentOptions provides better meaning
2024-03-19 16:13:28 +00:00
mike12345567 612efba370 Merge branch 'fix/13282' of github.com:Budibase/budibase into fix/13282 2024-03-19 16:11:46 +00:00
mike12345567 4efec72b4d Fixing an issue uncovered by tests, MS-SQL and MariaDB when columns are aliased don't always return an array, they may return a stringified version. Making the reference processor more hardy against this. 2024-03-19 16:11:26 +00:00
Michael Drury 7f509f0b66
Merge branch 'master' into fix/13282 2024-03-19 16:09:44 +00:00
Sam Rose 41a539d516
Merge branch 'master' of github.com:budibase/budibase into reenable-no-inner-declarations 2024-03-19 16:01:45 +00:00
Sam Rose 476f84c6d1
Merge branch 'master' into reenable-no-useless-escape 2024-03-19 16:00:07 +00:00
Sam Rose 65388c7427
Update pro reference. 2024-03-19 15:59:43 +00:00
Sam Rose f1278312ab
Reenable no-case-declarations. 2024-03-19 15:58:25 +00:00
Sam Rose f6669c25cf
Merge branch 'master' of github.com:budibase/budibase into reenable-no-case-declarations 2024-03-19 15:53:19 +00:00
Adria Navarro 2a100eef29 Remove flakiness name generator 2024-03-19 16:46:07 +01:00
Sam Rose 79bba82908
Fix flaky scim test. 2024-03-19 15:45:24 +00:00
Adria Navarro a4c3f764be
Merge branch 'master' into fix/13282 2024-03-19 16:40:30 +01:00
Sam Rose 7dc9e4ef3f
Fix incorrect test. 2024-03-19 15:34:02 +00:00
Sam Rose 5e9b92cd1d
Update pro and account portal references. 2024-03-19 15:25:56 +00:00
Sam Rose 9d351bcfed
Merge branch 'master' of github.com:budibase/budibase into add-lints-for-only 2024-03-19 15:25:33 +00:00
mike12345567 e0805f7056 fix for mysql test as well. 2024-03-19 15:17:13 +00:00
Andrew Kingston 57bdf4b04d
Merge branch 'master' into fix/multi-step-form-block 2024-03-19 15:15:07 +00:00
Andrew Kingston 7d931e7154 Update multi-step form block default state to fix all fields being hidden 2024-03-19 15:12:33 +00:00
Adria Navarro 3c8d4fcae9
Merge branch 'master' into BUDI-8100/budi-cli-broken-with-redis-errors-and-hanging 2024-03-19 16:10:49 +01:00
mike12345567 f82f6e7b3b Set on save, isSQL as well. 2024-03-19 15:07:28 +00:00
mike12345567 faee609243 Merge branch 'fix/13282' of github.com:Budibase/budibase into fix/13282 2024-03-19 15:07:13 +00:00
mike12345567 8103e5291c Fix test. 2024-03-19 15:06:23 +00:00
Michael Drury 45bfb8eaf3
Merge branch 'master' into fix/13282 2024-03-19 15:05:23 +00:00
Adria Navarro ce1dad7edc Fix paths 2024-03-19 16:01:41 +01:00
Adria Navarro b7b8a65a54 Don't init DocWritethrough queue on load 2024-03-19 16:01:00 +01:00
Michael Drury ac92312e4e
Merge branch 'master' into fix/13282 2024-03-19 14:53:13 +00:00
Michael Drury 3ed9db0f35
Merge branch 'master' into fix/13288 2024-03-19 14:51:09 +00:00
mike12345567 73a52bce64 Merge branch 'fix/13288' of github.com:Budibase/budibase into fix/13288 2024-03-19 14:50:56 +00:00
mike12345567 55b9b00771 PR comments. 2024-03-19 14:50:38 +00:00
mike12345567 5c01ba0095 Fix for issue with aliasing not quite working as expected when interacting with very old datasources, there is a flag 'isSQL' which was not set in old versions, this is now set when retrieving datasources to avoid issues with it being unset. 2024-03-19 14:48:56 +00:00
Martin McKeaveney 3c16f7cd1d
Merge pull request #13179 from Budibase/component-collapse-redo
Component Node Collapse/Expand Behaviour Changes
2024-03-19 14:25:59 +00:00
Michael Drury 788685b6d3
Merge branch 'master' into fix/13288 2024-03-19 14:03:47 +00:00
Mel O'Hagan ff231b0095 Make password optional 2024-03-19 13:30:42 +00:00
mike12345567 abdff7d8e6 Adding test case. 2024-03-19 13:22:43 +00:00
Adria Navarro f09b971025
Merge branch 'master' into tsconfig-paths-for-lsp 2024-03-19 13:55:59 +01:00
mike12345567 68bc7bbdf5 Fixing issue, dis-allow passing HBS statements in as query parameters. 2024-03-19 12:52:06 +00:00
Sam Rose 80008a0739
Reenable no-inner-declarations. 2024-03-19 11:29:19 +00:00
Sam Rose 5749333fc7
Reenable no-useless-escape. 2024-03-19 11:14:16 +00:00
Sam Rose 0044bd748b
Merge branch 'master' of github.com:budibase/budibase into add-lints-for-only 2024-03-19 11:09:53 +00:00
Sam Rose c0a5e15740
Update pro and account portal references. 2024-03-19 11:04:50 +00:00
Sam Rose 1785f3af7e
Get lint passing. 2024-03-19 10:55:51 +00:00
Sam Rose 7a63dc9830
Making progress on getting the eslint-jest plugin working. 2024-03-19 10:46:59 +00:00
Adria Navarro a276c71ad9
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-19 11:09:44 +01:00
Andrew Kingston 22f4022a7e
Merge branch 'master' into tsconfig-paths-for-lsp 2024-03-19 09:50:18 +00:00
Andrew Kingston 1442dcf5fb Merge branch 'tsconfig-paths-for-lsp' of github.com:Budibase/budibase into tsconfig-paths-for-lsp 2024-03-19 09:50:03 +00:00
Andrew Kingston 07234a1c58 Make paths more generic and add paths for @budibase imports 2024-03-19 09:49:44 +00:00
Sam Rose 1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Sam Rose 03720b8ea8
Merge branch 'master' of github.com:budibase/budibase into add-lints-for-only 2024-03-19 09:41:42 +00:00
Andrew Kingston 872efcf944 Add missing store subscription to fix hard crash if automation error exists 2024-03-19 09:02:14 +00:00
Andrew Kingston 04ae1a6868
Merge branch 'master' into tsconfig-paths-for-lsp 2024-03-19 08:46:50 +00:00
Sam Rose 35add186e0
Merge branch 'master' into reorganise-row-tests-2 2024-03-18 17:08:40 +00:00
Adria Navarro 31eee8a7cc
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-18 17:46:43 +01:00
Adria Navarro 236b188630 Add missing devDependency 2024-03-18 17:43:30 +01:00
Sam Rose ae0eda21a5
Remove uses of console in tests. 2024-03-18 13:43:43 +00:00
Adria Navarro d34b4c9d80 Set inputs to nx 2024-03-18 13:47:54 +01:00
Sam Rose 01941dbab5
Fix duplicate enum value. 2024-03-18 11:58:50 +00:00
Adria Navarro 87730918d9 Inject buffer to string-templates dist 2024-03-18 12:37:05 +01:00
Adria Navarro 7933e7f6d6
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-18 10:22:04 +01:00
Adria Navarro 6d7712fbdc
Remove .only 2024-03-18 10:18:45 +01:00
Adria Navarro e373387071
Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-18 10:00:27 +01:00
Adria Navarro 749d411631 Update submodules 2024-03-18 09:58:49 +01:00
Adria Navarro a0f8609baf
Merge pull request #13260 from Budibase/chore/clean-stringtemplates-usages-in-docker
Remove string-templates links from the docker images
2024-03-18 09:58:28 +01:00
Adria Navarro e34f24e2f1 Lint 2024-03-15 20:12:41 +01:00
Adria Navarro a78485e325 Lint 2024-03-15 20:08:59 +01:00
Adria Navarro 21a387f4fe Mutate input 2024-03-15 19:57:04 +01:00
Sam Rose d4f9822c74
Move viewV2 tests out of row.spec.ts and into viewV2.spec.ts. 2024-03-15 17:03:47 +00:00
Dean 5696fe0030 Fix to for tenant favourite prefix 2024-03-15 16:52:38 +00:00
Sam Rose fec6c7d267
Fold some mocky unit tests into row.spec.ts 2024-03-15 15:57:27 +00:00
Adria Navarro b1689b38c2 Remove any 2024-03-15 16:56:53 +01:00
Adria Navarro 8f3c21f045 Fix server jest mappers 2024-03-15 16:40:30 +01:00
Gerard Burns fbec6d6eff Merge branch 'master' into component-collapse-redo 2024-03-15 14:38:46 +00:00
Gerard Burns f632e67f44 merge master 2024-03-15 14:05:18 +00:00
Adria Navarro dff96b88a2 Remove --frozen-lockfile 2024-03-15 14:53:50 +01:00
Adria Navarro 2d641a9672 Clean worker and server dockerfile string-templates injection 2024-03-15 14:53:50 +01:00
Adria Navarro 21fbd53041 Fix test mapper 2024-03-15 14:53:25 +01:00
Adria Navarro ec282189ba
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-15 14:23:49 +01:00
Adria Navarro 08a86bdd77 Fix tests 2024-03-15 13:40:14 +01:00
Adria Navarro ecde5add83 Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
Adria Navarro 8cbd0cf29d Fix pro types 2024-03-15 13:18:24 +01:00
Adria Navarro 3b1242b0e1
Merge branch 'master' into reorganise-row-tests 2024-03-15 13:13:43 +01:00
Adria Navarro 8b36419f1f Pro check:types 2024-03-15 13:02:54 +01:00
Sam Rose ac61087379
Merge branch 'master' into reorganise-row-tests 2024-03-15 12:02:17 +00:00
Adria Navarro 7d6377fa14 Fix types 2024-03-15 13:01:33 +01:00
Adria Navarro bb4b24219b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-15 12:53:11 +01:00
Dean b8277fc60f Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 10:01:38 +00:00
Adria Navarro 69ecf5183b Fix cli check:types 2024-03-15 10:38:51 +01:00
deanhannigan 7a737e7664
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:31:54 +00:00
Adria Navarro 204aadc8e6 Fix 2024-03-15 10:29:59 +01:00
Adria Navarro 987ea60537 Add string-templates check:types 2024-03-15 10:29:47 +01:00
Sam Rose 241c3fc385
Merge branch 'master' into reorganise-row-tests 2024-03-15 09:21:38 +00:00
Dean f2dbeed6e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 09:20:02 +00:00
Adria Navarro 9dac9d0a3d Types 2024-03-15 10:18:47 +01:00
deanhannigan 72a671e93b
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:10:57 +00:00
Dean 4949ea1bcd PR feedback 2024-03-15 09:09:44 +00:00
Adria Navarro 9671399ca8 Bundle build 2024-03-15 10:04:45 +01:00
Adria Navarro c698b684e4 Lint 2024-03-15 09:59:18 +01:00
Adria Navarro e3033b5e50 Add nx build dependencies back 2024-03-15 09:53:30 +01:00
Adria Navarro e1512f15de Add nx dependencies back 2024-03-15 09:47:48 +01:00
Adria Navarro 4332034434 Type tests 2024-03-15 09:41:32 +01:00
Adria Navarro 972cbf43b8 Types 2024-03-15 09:35:38 +01:00
Adria Navarro 05a169e2fd Remove nx dependencies 2024-03-15 00:11:22 +01:00
Adria Navarro 49cca6d69a Lint 2024-03-15 00:07:05 +01:00
Adria Navarro cfb1665ed9 Fix tests 2024-03-15 00:00:17 +01:00
Adria Navarro bd4b14e995 Fix tests 2024-03-14 23:51:24 +01:00
Adria Navarro acbb06edf7 Split code 2024-03-14 22:32:17 +01:00
Adria Navarro 03122b464f Types 2024-03-14 18:39:08 +01:00
Adria Navarro 029ac07fa2 Fix types 2024-03-14 18:37:49 +01:00
Sam Rose 3c2f2b95b3
Finishing touches. 2024-03-14 17:29:50 +00:00
Adria Navarro d4e72e4a0b Fix test/utils exports 2024-03-14 18:26:14 +01:00
Sam Rose 3b68873fc4
Move more view tests out of row.spec.ts 2024-03-14 17:17:56 +00:00
Sam Rose 850fb3d4ec
Get viewV2.spec.ts running against real databases. 2024-03-14 17:11:09 +00:00
Adria Navarro 8bd89a27a5 Fix types 2024-03-14 17:51:43 +01:00
Adria Navarro 215d68715b Declarations 2024-03-14 17:50:31 +01:00
Adria Navarro 81f2fb5aa9 Move manifest.json 2024-03-14 17:50:17 +01:00
Adria Navarro 2407ddbcfb Gen manifest to ts 2024-03-14 17:49:05 +01:00
Adria Navarro a390015757 Fix require 2024-03-14 17:41:30 +01:00
Andrew Kingston 8bbdebe050 Don't show live eval popovers for roles as they have always been broken in JS 2024-03-14 16:40:35 +00:00
Adria Navarro 68bfa2434b Add json back 2024-03-14 17:37:25 +01:00
Adria Navarro 0627a7f3a8 Remove json plugin 2024-03-14 17:31:07 +01:00
Adria Navarro 379b9a3e8f Fix build 2024-03-14 17:28:35 +01:00
Andrew Kingston b6eab42c18 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-14 16:24:16 +00:00
Andrew Kingston 542a1111c6
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-14 16:22:03 +00:00
Adria Navarro 1cb3288531 Update pro ref 2024-03-14 17:18:45 +01:00
Adria Navarro c60baaa012 More types 2024-03-14 17:17:38 +01:00
Adria Navarro 566c4e5c17 Fix typings 2024-03-14 17:17:38 +01:00
Adria Navarro c3531ac8ba Types 2024-03-14 17:17:38 +01:00
Adria Navarro 9e0e9297f5 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 8bbf318f4a Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 38f64aa704 Lint 2024-03-14 17:17:18 +01:00
Adria Navarro d24ea36c64 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro af3c4285f0 Fix build 2024-03-14 17:17:18 +01:00
Adria Navarro bbe5f0041d Types 2024-03-14 17:17:18 +01:00
Adria Navarro b05dc6ab49 Fix typings 2024-03-14 17:17:18 +01:00
Adria Navarro 0b292f2e82 Allow ts tests 2024-03-14 17:17:18 +01:00
Adria Navarro f782305219 Change to js 2024-03-14 17:17:18 +01:00
Adria Navarro c9973b5ecd Remove type 2024-03-14 17:17:18 +01:00
Adria Navarro 05c8f9b956 Fix js 2024-03-14 17:17:18 +01:00
Adria Navarro afe2335ed8 Fix rollup config 2024-03-14 17:17:18 +01:00
Adria Navarro 52fd8c2369 Remove not required rollup plugin 2024-03-14 17:17:18 +01:00
Adria Navarro 16ca7bbc45 Fix requires 2024-03-14 17:17:18 +01:00
Adria Navarro 2339030fe2 Build both cjs and mjs versions 2024-03-14 17:17:18 +01:00
Adria Navarro 667a5ab990 Fix package.json refs 2024-03-14 17:17:18 +01:00