Commit Graph

10370 Commits

Author SHA1 Message Date
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
mike12345567 2ec4fd5d67 Fixing executeScript test cases to cover the issue we experienced, make sure context is correctly accessible. 2024-02-01 16:11:44 +00:00
mike12345567 6cad0e758f Quick fix for automation JS scripting, make sure context is passed through correctly. 2024-02-01 16:00:58 +00:00
Adria Navarro 87501bf25e
Merge branch 'master' into isolated-vm 2024-02-01 13:15:47 +01:00
Adria Navarro 2ea70e1010
Merge pull request #12922 from Budibase/test-isolated-vm
Test isolated vm
2024-02-01 13:15:33 +01:00
Michael Drury 8576a71128
Merge branch 'master' into fix/very-large-backups 2024-02-01 11:45:19 +00:00
Adria Navarro 3aff1004c8
Merge branch 'master' into isolated-vm 2024-02-01 12:42:48 +01:00
Adria Navarro 3808718004 Fix tests 2024-02-01 12:42:23 +01:00
Adria Navarro 843d95c3bb Lint 2024-02-01 12:30:59 +01:00
Adria Navarro 1439eb9b27 Fix stripProtocol 2024-02-01 12:20:31 +01:00
mike12345567 c4eae33b67 Fixing mock to cover getReadStream in object store. 2024-02-01 11:09:28 +00:00
Adria Navarro d1cf13707d Fix url.escape 2024-02-01 11:57:22 +01:00
Adria Navarro 1b88700d02 Test random helper 2024-02-01 11:17:55 +01:00
Adria Navarro 2899c4f7f8 Test uuid helper 2024-02-01 11:15:36 +01:00
Adria Navarro 181d462cdf Update uuid 2024-02-01 11:15:21 +01:00
Adria Navarro 4461c49f48 Allow skipping tests 2024-02-01 10:58:20 +01:00
Adria Navarro 82db76627f Better typing 2024-02-01 10:56:59 +01:00
mike12345567 010f160fa5 Cleaning up files after import is finished (with large files this saves on tmp space) as well as fixing an issue where menu would appear next to a restore despite having no options. 2024-01-31 18:22:18 +00:00
Adria Navarro e6ae364918 Register server helpers 2024-01-31 17:49:55 +01:00
Adria Navarro b96ca1cf54 Run hbs on server tests 2024-01-31 17:49:55 +01:00
Adria Navarro 786acaa121 Add basic test 2024-01-31 17:49:55 +01:00
Adria Navarro ed7b89f2f9 Move jsRunner to folder 2024-01-31 17:49:55 +01:00
Adria Navarro 507aa8af93 Simplify and remove magic strings 2024-01-31 17:05:20 +01:00
Adria Navarro 805b24975b Allow configuring memory limits 2024-01-31 16:55:59 +01:00
Adria Navarro 60dc6822cf Run only once 2024-01-31 12:41:34 +01:00
Adria Navarro 623b4f5dab
Merge branch 'master' into isolated-vm 2024-01-31 10:47:08 +01:00
Peter Clement c915442a9e
Merge branch 'master' into fix/pc-fixes 2024-01-30 16:53:38 +00:00
Peter Clement 9c47671032 fix issue with automation setting sync 2024-01-30 15:39:12 +00:00
Michael Drury b69559566a
Merge branch 'master' into string-split-check 2024-01-30 11:38:03 +00:00
Sam Rose b3c949b091
Fix case where if a binding returned an int it would throw an error. 2024-01-30 11:06:09 +00:00
Sam Rose 72d63d0c00
Rename executeSynchronously to be a bit less confusing, as it does not execute synchronously. 2024-01-30 10:57:25 +00:00
Sam Rose 456817ee7b
More loop step typing improvements. 2024-01-30 10:37:23 +00:00
Sam Rose 67a848bb86
Fix tests. 2024-01-30 10:23:11 +00:00
Sam Rose 669b0743ac
Typing improvements around automation loop tests. 2024-01-30 10:00:44 +00:00
Adria Navarro 1024bd1dbf Lint 2024-01-30 09:23:28 +01:00
Adria Navarro 9da9935c95 Types 2024-01-29 23:25:12 +01:00
Adria Navarro 7394a7cd64 Smart typing 2024-01-29 23:19:07 +01:00
Adria Navarro ff75fbf99e Convert query.sec.spec.ts to ts 2024-01-29 22:57:20 +01:00
Adria Navarro 9e4a2542e1 Fix test 2024-01-29 19:17:07 +01:00
Sam Rose 2bfa4c6f91
Mild refactor of stringSplit to make it easier to understand. 2024-01-29 17:43:08 +00:00
Sam Rose b5672d676f
Add a check to stringSplit that gives a nicer error message is a non-string is passed. 2024-01-29 17:38:52 +00:00
Adria Navarro 51406a80da Fix test 2024-01-29 16:18:34 +01:00
Adria Navarro f3f6e0c41b Fix tests 2024-01-29 15:43:35 +01:00
Adria Navarro aca7b50dc5 Fix tests 2024-01-29 15:27:09 +01:00
Adria Navarro d806029075
Merge branch 'master' into remove_test_flakiness 2024-01-29 15:21:24 +01:00
mike12345567 41c1c6ae65 Fixing type build issue. 2024-01-26 17:01:56 +00:00
mike12345567 acc7868634 Fixing accidental removed character. 2024-01-26 16:52:19 +00:00
mike12345567 99c2a51f41 Updating back to use our own home-rolled version which allows us to specify the image version correctly, but using the testcontainers option to wait for two logs. 2024-01-26 16:48:56 +00:00
mike12345567 ccd6c2ece6 Merge branch 'fix/postgres-test-db-not-starting' of github.com:Budibase/budibase into fix/postgres-test-db-not-starting 2024-01-26 15:59:27 +00:00
mike12345567 cf60138832 Trying proper Postgres testcontainers - should have more accurate startup. 2024-01-26 15:59:06 +00:00