Commit Graph

14113 Commits

Author SHA1 Message Date
Sam Rose 99cf4feb07
Remove old automation test flag mechanism from Redis. 2025-01-20 17:30:36 +00:00
Sam Rose 2caa9776d3
Merge branch 'master' of github.com:budibase/budibase into pro-280-create-an-endpoint-to-run-a-single-step-of-an-automation 2025-01-20 17:18:35 +00:00
Sam Rose 5bc316916f
First iteration of single-step automation test endpoint. 2025-01-20 17:18:29 +00:00
mike12345567 d51491a19a Linting. 2025-01-20 17:06:31 +00:00
mike12345567 04a7878ce9 Changing how we enforce backend JS. 2025-01-20 17:02:57 +00:00
mike12345567 68374bce29 Testing backend JS further. 2025-01-20 16:40:08 +00:00
mike12345567 98bd824d7a Adding the ability to configure whether or not string templates is testing backend JS or frontend. 2025-01-20 16:33:21 +00:00
Sam Rose f2eb60b9d3
Merge branch 'pro-279-pull-automation-definitions-into-shared-core' of github.com:budibase/budibase into pro-279-pull-automation-definitions-into-shared-core 2025-01-20 15:09:08 +00:00
Sam Rose 75dac8f334
Fix tests (again). 2025-01-20 15:08:50 +00:00
Sam Rose 044bbab9fc
Merge branch 'master' into pro-279-pull-automation-definitions-into-shared-core 2025-01-20 14:48:42 +00:00
Sam Rose 0b1ff21da5
Fix tests. 2025-01-20 14:44:06 +00:00
Sam Rose 68c7a6a9ca
Merge branch 'master' of github.com:budibase/budibase into pro-279-pull-automation-definitions-into-shared-core 2025-01-20 14:40:25 +00:00
Sam Rose b8e5fce724
Merge branch 'master' into remove-dead-code 2025-01-20 14:39:34 +00:00
Adria Navarro 5d9a61bfa4
Merge branch 'master' into BUDI-8986/ground-work 2025-01-20 15:10:34 +01:00
Sam Rose 6068390d16
Merge branch 'master' into remove-dead-code 2025-01-20 13:18:28 +00:00
Adria Navarro 16222f0476
Merge branch 'master' into BUDI-8986/ground-work 2025-01-17 12:03:25 +01:00
Sam Rose cd6c3e3945
Extract automation step definitions out into shared-core. 2025-01-16 17:25:13 +00:00
Sam Rose d7b741ef92
Merge branch 'master' into server-ts-2 2025-01-16 16:54:10 +00:00
Sam Rose 177005ed5e
Convert viewBuilder.spec.js to ts 2025-01-16 16:53:21 +00:00
Martin McKeaveney d610317ef5 fix tests 2025-01-16 16:41:00 +00:00
Adria Navarro 566da4b2a3 ViewV2, return 404 if not found 2025-01-16 16:58:57 +01:00
Adria Navarro 325fea0c10 ViewV2, return 404 if not found 2025-01-16 16:55:24 +01:00
Martin McKeaveney c69e604eaf lint 2025-01-16 15:17:40 +00:00
Martin McKeaveney e4f7fa7fad more consistent null handling 2025-01-16 15:07:32 +00:00
Sam Rose aa2bf74a7d
Convert openapi2.spec.js 2025-01-16 10:29:48 +00:00
Sam Rose 5709c3b836
Convert curl.spec.js 2025-01-16 10:01:51 +00:00
Sam Rose 80fbaa1599
Remove old migration system. 2025-01-15 17:37:37 +00:00
Michael Drury 84e1bf5565
Merge branch 'master' into revert-15323-revert-15215-chore/aws-v2-to-v3 2025-01-14 16:31:27 +00:00
Sam Rose 0920c2dda8
Merge branch 'master' of github.com:budibase/budibase into budi-8960-issue-sorting-dates-when-using-mmddyyyy 2025-01-14 14:04:10 +00:00
Sam Rose 55f3dbcce5
Fix tests. 2025-01-14 14:03:59 +00:00
Sam Rose e55874a698
More validation around datetime columns and bulk importing. 2025-01-13 12:51:13 +00:00
mike12345567 0d6474a38a Other steps. 2025-01-13 12:30:19 +00:00
Sam Rose d06b22d4b8
Add sorting tests for dateonly fields. 2025-01-13 11:56:33 +00:00
mike12345567 87e7245aee Merge branch 'master' of github.com:Budibase/budibase into fix/automation-query-rows-table-with-spaces 2025-01-13 11:42:27 +00:00
Adria Navarro 593c74ef8f
Merge branch 'master' into BUDI-8885/only-select-required-columns-from-sql-databases 2025-01-13 12:20:06 +01:00
mike12345567 640dd930de Updating query row to correctly decode the input table Id as it will be encoded. The CTX expects this to be passed in its decoded state as Koa would do to encoded URLs. 2025-01-10 17:45:51 +00:00
Sam Rose d15a5f330c
Fix row.spec.ts 2025-01-09 17:25:31 +00:00
Sam Rose b9a5a71fd8
Remove focus test. 2025-01-09 17:17:24 +00:00
Sam Rose f477d1b158
Merge branches 'budi-8957-date-filter-equals-does-not-work' and 'master' of github.com:budibase/budibase into budi-8957-date-filter-equals-does-not-work 2025-01-09 17:16:55 +00:00
Sam Rose 7ad5879c3e
Create search cross product on whether we save/search with timestamp. 2025-01-09 17:16:47 +00:00
Sam Rose 26c0861e68
Fix date-only searching. 2025-01-09 17:05:44 +00:00
Michael Drury 9ab4623c12
Merge branch 'master' into revert-15323-revert-15215-chore/aws-v2-to-v3 2025-01-09 12:27:38 +00:00
Sam Rose dd309cbfc4
Merge master. 2025-01-09 12:06:59 +00:00
mike12345567 6b29a47f5f Adding test case for fetching the component/client libraries. 2025-01-08 18:08:24 +00:00
Sam Rose 2a9e4c3078
Remove double processing of AI columns. 2025-01-08 17:34:08 +00:00
Sam Rose addd832b6e
Merge branch 'master' of github.com:budibase/budibase into budi-8833-allow-ai-column-to-be-used-in-view-calculations 2025-01-08 17:33:55 +00:00
Sam Rose a18256a9cf
Limit view AI column tests to internal tables. 2025-01-08 17:10:02 +00:00
Sam Rose 352e16f347
Explain the weirdness with enriched view FieldType.AI columns in a comment for the next person to stumble on this. 2025-01-08 17:09:02 +00:00
Sam Rose 1a6d27ae83
Merge branch 'master' of github.com:budibase/budibase into budi-8833-allow-ai-column-to-be-used-in-view-calculations 2025-01-08 17:03:47 +00:00
Sam Rose 7d6b822b8a
Improve typing around AI prompts. 2025-01-08 16:12:02 +00:00
Adria Navarro d4ef20354d
Merge branch 'master' into BUDI-8885/only-select-required-columns-from-sql-databases 2025-01-08 16:14:57 +01:00
mike12345567 4024159452 Some type fixes and converting test case to TS. 2025-01-08 15:11:39 +00:00
Adria Navarro d3ba4b103e Fix return type 2025-01-08 15:51:48 +01:00
Sam Rose b9fb4416bb
Allow use of AI fields in view calculations. 2025-01-08 13:18:40 +00:00
Adria Navarro f76ec8d2c9 Fix types 2025-01-08 12:24:19 +01:00
Adria Navarro 8c0e7a12d6 Remove anys 2025-01-08 12:24:19 +01:00
Adria Navarro 1f51489368 Type views 2025-01-08 12:22:36 +01:00
Michael Drury c797b908f1
Revert "Revert "Update AWS SDK to V3"" 2025-01-08 10:41:57 +00:00
Michael Drury 8eed6de080
Revert "Update AWS SDK to V3" 2025-01-08 10:28:08 +00:00
Sam Rose af83f1b2e1
Delete old feature flags. 2025-01-07 17:18:36 +00:00
Michael Drury 4fe493922d
Merge branch 'master' into chore/aws-v2-to-v3 2025-01-06 15:00:39 +00:00
Sam Rose a58c75e328
Expose feature flags type in packages/type so it can be exposed to the frontend. 2025-01-06 12:11:14 +00:00
Adria Navarro b4b805ac1c Fix queries when returning nulls 2025-01-03 11:02:09 +01:00
Adria Navarro 793295ffee Align svelte packages 2024-12-31 12:16:35 +01:00
Adria Navarro 066586e0a2 Fix test types 2024-12-30 22:08:52 +01:00
Adria Navarro 07416e3e4a Persist row height 2024-12-30 21:50:31 +01:00
Peter Clement 3807568498 Merge remote-tracking branch 'origin/master' into feat/automation-store-ts-conversion 2024-12-23 09:06:30 +00:00
Peter Clement ac1b56db6f type errors 2024-12-20 14:54:37 +00:00
Adria Navarro bd261dcc33
Merge branch 'master' into typing/stores-viewv2 2024-12-20 12:24:36 +01:00
Michael Drury 3168b42407
Merge branch 'master' into BUDI-8885/only-select-required-columns-from-sql-databases 2024-12-20 11:09:04 +00:00
Michael Drury 87209915e4
Merge branch 'master' into chore/aws-v2-to-v3 2024-12-20 11:03:32 +00:00
Adria Navarro 15ad884ac8 Fix test order 2024-12-20 11:21:25 +01:00
Adria Navarro db9cf128f0 Is viewV2 to shared core 2024-12-19 19:46:58 +01:00
andz-bb 2d7ef6cee4 allow users to select firestore databases other than the default 2024-12-19 16:24:55 +00:00
mike12345567 bb5361135c Fixing more test that rely on mocks. 2024-12-19 14:41:31 +00:00
Adria Navarro 8905f9dd5d Fix tests 2024-12-19 15:27:18 +01:00
mike12345567 0f659635c7 Fixing mocked test case. 2024-12-19 14:02:24 +00:00
Adria Navarro 16fb86549b Fix tests 2024-12-19 14:43:25 +01:00
Adria Navarro 7cc03b1724 Create sql tests for sqs 2024-12-19 14:43:25 +01:00
Adria Navarro 5a9ed4ff52 Include hidden fields for formulas 2024-12-19 14:43:24 +01:00
Adria Navarro 0ee432dd9a Always use tableid prefix for sqs 2024-12-19 14:42:54 +01:00
mike12345567 979d63ce71 Merge branch 'master' of github.com:Budibase/budibase into chore/aws-v2-to-v3 2024-12-19 12:45:53 +00:00
mike12345567 889197679e Comment to explain the behaviour of the junction document select. 2024-12-19 12:39:00 +00:00
Adria Navarro 92e791f9a7 Add calculation tests 2024-12-19 12:48:33 +01:00
mike12345567 f41052058c Merge branch 'master' of github.com:Budibase/budibase into chore/aws-v2-to-v3 2024-12-18 17:51:26 +00:00
Adria Navarro 9396292c4a Create table test builder 2024-12-18 18:34:40 +01:00
Adria Navarro 460b5fd7dd More tests 2024-12-18 16:45:08 +01:00
Adria Navarro 8da96ab271 Add initial view tests 2024-12-18 16:36:20 +01:00
Adria Navarro 14da90296b Regenerate table before each test 2024-12-18 16:23:53 +01:00
Adria Navarro e23753ac61 Add describe 2024-12-18 15:54:07 +01:00
Adria Navarro 96bddbb545 More relationship tests 2024-12-18 15:53:09 +01:00
Adria Navarro 875319e85c Relationship tests 2024-12-18 15:50:51 +01:00
Adria Navarro 27d1929388 Add basic sqlUtils test 2024-12-18 14:09:26 +01:00
Adria Navarro 3de079579c Merge branch 'chore/guard-display-column-in-the-api' into BUDI-8885/only-select-required-columns-from-sql-databases 2024-12-18 13:46:54 +01:00
Adria Navarro 3a36289306 Only throw on creation or primary display edition 2024-12-18 13:32:09 +01:00
Adria Navarro 59bdae57cc Fix test 2024-12-18 13:20:10 +01:00
Adria Navarro ad02581e1d Guard primary display 2024-12-18 13:18:46 +01:00
Adria Navarro b7beec6226 Add tests 2024-12-18 13:18:13 +01:00
Adria Navarro 7d8cfebc34
Merge branch 'master' into BUDI-8885/only-select-required-columns-from-sql-databases 2024-12-18 12:37:14 +01:00
Adria Navarro 825c517910
Merge branch 'master' into fix/views-with-hidden-relationships 2024-12-18 12:23:09 +01:00
Adria Navarro d061f44eda Fix external patches 2024-12-18 11:51:32 +01:00
Adria Navarro 84a67bb346 Add test capturing 2024-12-18 11:51:32 +01:00
Adria Navarro b81e43ed59 Fix tests 2024-12-18 10:55:32 +01:00
Adria Navarro b538125d1f Add failing test 2024-12-18 10:40:12 +01:00
Adria Navarro 15f2aaf950 Fix encodings 2024-12-18 08:14:19 +01:00
Adria Navarro b05b523a6e Fix issues with display names not being sql tables 2024-12-17 17:01:06 +01:00
Adria Navarro bcc9bba254 Fix test 2024-12-17 16:58:15 +01:00
mike12345567 78c2a5a51c Typing datasource and sorted integration stores 2024-12-17 15:23:24 +00:00
Adria Navarro 23531e1509 Fix sqs formula 2024-12-17 16:12:16 +01:00
Adria Navarro 8eb82d3b05 Fix mysql formula test 2024-12-17 16:12:16 +01:00
Adria Navarro 8765a28f04 Move responsability to sql utils 2024-12-17 16:12:16 +01:00
Adria Navarro 95f7eeacce Don't add breaking changes 2024-12-17 16:12:16 +01:00
Adria Navarro c398412e00 Fix pg money 2024-12-17 16:12:16 +01:00
Adria Navarro 51ba1f072b Add required fields on table search as well 2024-12-17 16:12:16 +01:00
Adria Navarro 499d3f2041 Fix sql calculations 2024-12-17 16:12:16 +01:00
Adria Navarro 7932ee7620 Fix sqs calculations 2024-12-17 16:12:16 +01:00
Adria Navarro fc75728a1e Add more tests 2024-12-17 16:12:16 +01:00
Adria Navarro 7cd412bfdc Add basic sql alias test 2024-12-17 16:12:16 +01:00
Adria Navarro 740069ea78 Use table for get before row 2024-12-17 16:12:16 +01:00
Adria Navarro df62845cf9 Fix encodings 2024-12-17 16:12:16 +01:00
Adria Navarro eb7fcd0219 Don't select * on relationships 2024-12-17 16:12:16 +01:00
Adria Navarro aa288966d8 Fix tests back 2024-12-17 16:12:16 +01:00
Adria Navarro fc22db35ac Add back cte 2024-12-17 16:12:16 +01:00
Adria Navarro 0ef4a154ef Prevent repeated fields on select 2024-12-17 16:12:16 +01:00
Adria Navarro d60cc7aaf4 Fix encoding 2024-12-17 16:12:16 +01:00
Adria Navarro 14b5a42647 Fix patch issues 2024-12-17 16:12:16 +01:00
Adria Navarro 2d771c96dd Fix wrong relationship select 2024-12-17 16:12:16 +01:00
Adria Navarro e6a27ad4d5 Ensure required fields are included 2024-12-17 16:12:16 +01:00
Adria Navarro f92fcea42a Include * when having formulas 2024-12-17 16:12:16 +01:00
Adria Navarro 80dcc51923 Fix sql alias tests 2024-12-17 16:12:16 +01:00
Adria Navarro bbb60afdc2 Relations, select only required fields 2024-12-17 16:12:16 +01:00
Adria Navarro 112b7c70e2 Fix sqs views 2024-12-17 16:12:16 +01:00
Adria Navarro 74e1bbc7c6 Require only visible fields on views 2024-12-17 16:12:16 +01:00
Adria Navarro 191b63270c Dry 2024-12-17 16:12:16 +01:00
Adria Navarro 0e0b6471d6 Generate proper select 2024-12-17 16:12:16 +01:00
mike12345567 77eb805936 Fixing an issue where plugins are imported as apps, which can crash the service - return a useful message to tell the user this is a plugin not an app export. 2024-12-17 13:13:07 +00:00
mike12345567 2e7f75e93c Make sure password is always requested when working with encrypted files - if the enc file has been copied the name may change format, we should handle if this happens. 2024-12-17 12:28:22 +00:00
Michael Drury 57eaac88b1
Merge branch 'master' into fix/automation-webhook-improvements 2024-12-17 11:08:51 +00:00
mike12345567 a35e504e8f PR comment. 2024-12-16 15:07:06 +00:00
Andrew Kingston cb88f1faa9
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-16 14:40:06 +00:00
mike12345567 e11c3f87c4 Fixing issue with webhook test case - getting sync response back. 2024-12-13 18:15:08 +00:00
mike12345567 eb69bbd3cb Merge branch 'master' of github.com:Budibase/budibase into fix/automation-webhook-improvements 2024-12-13 17:55:32 +00:00
mike12345567 d20592e885 Updating query row API to correctly state successful if not returning an error. 2024-12-13 17:33:40 +00:00
mike12345567 b58aa807bd Another test change. 2024-12-13 17:22:35 +00:00
mike12345567 7cf20ef16c Fixing query row. 2024-12-13 17:11:35 +00:00
mike12345567 6699b202b4 Fixing some automation requirements. 2024-12-13 17:10:05 +00:00
mike12345567 77b9baa095 Updating types to remove any instances of ctx.status = 200 being set and then no body provided. 2024-12-13 16:48:47 +00:00
mike12345567 ba6b0fba6d Correcting issue with test case. 2024-12-13 16:00:40 +00:00
mike12345567 80bd561bba Some further work on automation webhook testing. 2024-12-13 13:59:29 +00:00
mike12345567 715399b755 Typing improvements for webhooks - fixing issue with parameter change - working on test case. 2024-12-13 13:34:32 +00:00