Commit Graph

11027 Commits

Author SHA1 Message Date
Sam Rose b303592f4c
Remove content length checks. 2024-03-25 15:30:14 +00:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
Sam Rose 66cfb8eedd
Remove jest-testcontainers. 2024-03-25 15:24:14 +00:00
Sam Rose 7bf17932c9
Merge branch 'master' of github.com:budibase/budibase into remove-pg-mock 2024-03-25 15:00:56 +00:00
Sam Rose a925132fdf
Fix broken tests. 2024-03-25 15:00:16 +00:00
Sam Rose 869ed4256e
Merge master. 2024-03-25 14:13:48 +00:00
Sam Rose 419880e4fb
Merge branch 'master' into pull-images-prior-to-tests 2024-03-25 13:51:38 +00:00
Sam Rose 538f3b9dbe
Align our use of images across the codebase. 2024-03-25 13:51:27 +00:00
Sam Rose fc41d16d1d
Remove comment added to trigger tests. 2024-03-25 11:52:18 +00:00
Michael Drury 6824d8626a Fixing failing test. 2024-03-25 11:19:31 +00:00
Sam Rose 077ca2d120
Make a change in packages/server to trigger the tests. 2024-03-25 11:16:37 +00:00
Michael Drury 5240c2c2ca
Merge branch 'master' into fix/BUDI-7444 2024-03-25 10:03:38 +00:00
Michael Drury a7142dc618
Merge branch 'master' into remove-mongodb-mock 2024-03-22 16:16:15 +00:00
mike12345567 cc8a0274a4 Updating based on PR comments. 2024-03-22 15:26:02 +00:00
Sam Rose a9aa409d7c
Fix up tests. 2024-03-22 15:01:40 +00:00
Sam Rose 5e6a9d2176
Convert executeQuery.spec.js to TypeScript and make it hit real databases. 2024-03-22 14:41:09 +00:00
mike12345567 defb925d16 Query seq fix. 2024-03-22 13:38:52 +00:00
mike12345567 185e9c3425 Fixing test case. 2024-03-22 13:01:51 +00:00
mike12345567 2464020a22 Test fixes after running in CI. 2024-03-22 12:36:00 +00:00
mike12345567 5b1db96129 Fixing typing issue. 2024-03-22 12:05:55 +00:00
Sam Rose 08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +00:00
mike12345567 ce73832a43 Merge branch 'fix/BUDI-7444' of github.com:Budibase/budibase into fix/BUDI-7444 2024-03-22 11:50:24 +00:00
mike12345567 3f225c94e7 Linting. 2024-03-22 11:50:07 +00:00
Michael Drury f5d085ec83
Merge branch 'master' into fix/BUDI-7444 2024-03-22 11:45:12 +00:00
mike12345567 f4f7ac42ec Adding test cases for interpolation of SQL, confirming that the context correctly gets cleaned up before passing into bindings. 2024-03-22 11:40:44 +00:00
mike12345567 c32163a9be Initial fix for defaulting parameters, switch to null rather than strings, this is important for prepared statements/SQL queries. 2024-03-21 18:26:35 +00:00
Sam Rose 1c13565459
Making really good progress removing the pg mocks. More to do, though. 2024-03-21 18:16:52 +00:00
Adria Navarro 332fa3050a Redo bundle 2024-03-21 18:51:22 +01:00
Adria Navarro ae0ef14a63 Lint 2024-03-21 17:22:33 +01:00
Adria Navarro 8c7ab2e506 Fix ts 2024-03-21 17:14:27 +01:00
Adria Navarro 8da1170b90 Recreate bundles 2024-03-21 16:21:23 +01:00
Adria Navarro bb87b9943c Import 2024-03-21 14:33:12 +01:00
Adria Navarro a85d4460b1 Clean code 2024-03-21 14:22:07 +01:00
Adria Navarro bc02fb372f
Merge branch 'master' into BUDI-8084/single-attachment-binding 2024-03-21 14:20:15 +01:00
Sam Rose 78c878c3ea
Merge branch 'master' into remove-mongodb-mock 2024-03-21 11:35:09 +00:00
Sam Rose ef435ce9e1
Merge branch 'master' into remove-mssql-mock 2024-03-21 10:26:56 +00:00
Adria Navarro 8a6080ac19
Merge branch 'master' into reorganise-row-tests-3 2024-03-21 10:55:55 +01:00
Adria Navarro 30f08ef232
Merge branch 'master' into BUDI-8084/single-attachment-binding 2024-03-21 10:39:57 +01:00
Adria Navarro 7a779faf6b
Merge branch 'master' into BUDI-8084/single-attachment-binding 2024-03-21 10:39:03 +01:00
Sam Rose a0182b3d9b
Merge branch 'master' into remove-mysql-mock 2024-03-21 09:31:43 +00:00
Adria Navarro 0859e79b1e Lint 2024-03-20 23:19:42 +01:00
Adria Navarro 0827cc6bda Type everywhere! 2024-03-20 19:33:39 +01:00
mike12345567 b3bc092ee0 Allowing deletion of external tables, whether they were createrd in Budibase or not. 2024-03-20 18:25:23 +00:00
Sam Rose 30a8a89f60
Fix debug spec assertions. 2024-03-20 18:03:02 +00:00
Sam Rose 545c67eac6
Remove mssql mock, unify SQL-based query tests. 2024-03-20 17:59:35 +00:00
Adria Navarro 3638c1d266
Merge branch 'master' into BUDI-8084/single-attachment-binding 2024-03-20 18:35:53 +01:00
Sam Rose a81a1b13ce
Remove mysql mocks. 2024-03-20 16:55:34 +00:00
Sam Rose 6da84d2941
Fix lint errors. 2024-03-20 16:06:22 +00:00
Sam Rose a82c38dc0c
Merge branch 'reorganise-row-tests-3' of github.com:budibase/budibase into reorganise-row-tests-3 2024-03-20 16:01:49 +00:00
Sam Rose 07c6dcc0c0
Merge branch 'master' of github.com:budibase/budibase into reorganise-row-tests-3 2024-03-20 16:01:29 +00:00
Sam Rose 681c53156f
Merge master. 2024-03-20 15:52:44 +00:00
Sam Rose db4c3eb214
Remove no longer needed jest.unmnock call. 2024-03-20 15:42:40 +00:00
Sam Rose ff22db3d9f
Fold MongoDB unit tests into integration tests, delete MongoDB mocks. 2024-03-20 15:42:06 +00:00
Adria Navarro 59a7d8052a Single attachment subtype 2024-03-20 13:35:09 +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
Sam Rose 15ddfd1309
Merge branch 'master' into reenable-no-prototype-builtins 2024-03-20 11:10:06 +00: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
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
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 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
Michael Drury 34b4e8fd1d
Merge branch 'master' into fix/sql-table-update-aliasing 2024-03-19 17:35:23 +00: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
mike12345567 74abee8902 Fixing snapshot test. 2024-03-19 16:52:16 +00:00
Sam Rose 9eeb04fa95
Fix broken mocks. 2024-03-19 16:50:48 +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
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 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
Sam Rose 7dc9e4ef3f
Fix incorrect test. 2024-03-19 15:34:02 +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
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
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
mike12345567 abdff7d8e6 Adding test case. 2024-03-19 13:22:43 +00: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 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
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
Sam Rose 35add186e0
Merge branch 'master' into reorganise-row-tests-2 2024-03-18 17:08:40 +00: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