Commit Graph

139 Commits

Author SHA1 Message Date
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
Sam Rose deee5e4e05
Put the frontend back to how it was. 2024-10-07 12:35:05 +01:00
Sam Rose 55699cfaff
Don't clone non-object/non-arrays, use default JS in manifest.spec.ts. 2024-10-07 12:23:22 +01:00
Sam Rose 2c451d494b
Backend/frontend JS parity, deep clone optimisation. 2024-10-07 12:04:45 +01:00
mike12345567 bbc33d37e6 PR comments. 2024-08-15 11:04:57 +01:00
mike12345567 87999db659 Adding test cases. 2024-08-14 18:12:33 +01:00
mike12345567 e34257a018 One more fix. 2024-07-22 18:22:04 +01:00
Peter Clement c417a5e627
Replace multiple spaces in bindings with one space (#14018)
* replace multiple spaces in bindings with one space

* add some tests and update regex to account for strings

* update regex to character based approach

* simplify regex to only look for spaces after {{

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-06-28 14:18:15 +01:00
mike12345567 32e4493a96 Quick fix for using the roles option within the builder - this was broken in JS which was a bit of a pain - this works properly now and allows more compat between HBS and JS. 2024-06-05 11:58:40 +01:00
Adria Navarro 56ed9a477f Add tests 2024-04-04 21:27:22 +02:00
Adria Navarro 35a0a4d44c Add tests 2024-04-04 21:27:21 +02:00
Adria Navarro 09368340de Add tests 2024-03-21 17:29:55 +01:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose 5749333fc7
Reenable no-useless-escape. 2024-03-19 11:14:16 +00:00
Adria Navarro 4332034434 Type tests 2024-03-15 09:41:32 +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 03122b464f Types 2024-03-14 18:39:08 +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 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
mike12345567 5dfa460374 Disabling VM by default in string-templates, backend services *MUST* set their JS runner specifically rather than assuming the VM library by default. 2024-02-20 16:23:35 +00:00
Adria Navarro 6c78c7a45f Fix tests 2024-02-09 13:28:37 +01:00
Adria Navarro 0db98f7fb1 Move sandbox escape test to server 2024-02-09 10:35:58 +01:00
Adria Navarro 7aee57eb6a Fix javacript runs 2024-02-09 10:33:09 +01:00
Adria Navarro ec7adfb1b1 Remove index.cjs entry point 2024-02-09 10:27:22 +01:00
Adria Navarro 573096e869
Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm 2024-02-08 18:15:36 +01:00
Sam Rose 8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
Adria Navarro 45ea6a6fd6
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-01 16:47:41 +01:00
Adria Navarro 16749ec3dd
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-01 16:30:34 +01:00
Adria Navarro 843d95c3bb Lint 2024-02-01 12:30:59 +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
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 de4d7d95c3 Move code to test helpers 2024-01-31 17:49:55 +01:00
Adria Navarro e5d5dea5e6 Renames 2024-01-31 10:00:41 +01:00
Adria Navarro 43e536e7a6 Test only js helpers 2024-01-30 16:52:25 +01:00
Adria Navarro f94e1e105a Renames 2024-01-30 15:49:48 +01:00
Adria Navarro 061d1589af Run js only for non-block 2024-01-30 10:21:33 +01:00
Adria Navarro 5b5228d8b0 Type params 2024-01-30 09:48:15 +01:00
Adria Navarro 5a1d73ff2f Fix avg helper 2024-01-30 09:48:15 +01:00
Adria Navarro ceb7fc04f4 Add js tests (not all working) 2024-01-30 09:48:15 +01:00
Adria Navarro b36c8ad476 Move cleanups out of the actual test 2024-01-30 09:48:15 +01:00