Commit Graph

26 Commits

Author SHA1 Message Date
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
mike12345567 1b45a9190d Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567 6cb7c2b770 Fix for safari, removing all usage of regex lookbehinds. 2022-02-15 14:48:32 +00:00
mike12345567 f946f2f68d Fix for #4308 - triple brace conversion was not working correctly, wrote this into the string templates instead - also fixing an issue with the RBAC for Rest. 2022-02-03 18:26:26 +00:00
Andrew Kingston 28557a3f96 Remove the pre-execution validation in string templates to double performance and prevent JS binding issues when mutating context 2021-12-06 17:58:43 +00:00
Andrew Kingston 01dfef735f Use vm2 for JS execution in node, and a vm polyfill for the browser. Use 2 standalone entrypoints for string-templates depending on env 2021-10-14 11:51:05 +01:00
Andrew Kingston 50f8931fbe Lint 2021-06-25 17:27:06 +01:00
Andrew Kingston 6d9a1b8382 Remove lodash functions and recursive context mutation in string templates to increase performance 2021-06-25 15:04:54 +01:00
Andrew Kingston b402254b2c Lint 2021-05-14 15:41:58 +01:00
Andrew Kingston 023f5c5813 Merge branch 'lab-day-search' of github.com:Budibase/budibase into lab-day-search 2021-05-11 16:08:41 +01:00
mike12345567 5181ca710f Fixing an issue with date objects not being managed by handlebars correctly. 2021-05-11 16:07:55 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 febad5ad9d Adding some more changes to make it more obvious when a binding hasn't worked. 2021-02-03 13:04:19 +00:00
Michael Drury a1f09b0a1a Some rollup fixes - the handlebars-helper library needs dynamic requires removed from it, likely best to fork it and do this. 2021-01-30 02:54:52 +00:00
mike12345567 673ae8d031 Adding a literal helper which can make sure the output of an operation is a literal value. 2021-01-25 18:14:45 +00:00
mike12345567 766200e59e Linting. 2021-01-25 17:08:38 +00:00
mike12345567 a254567bec Updating string templates to have test cases for all the main helpers we want to make use of and adding a readme. 2021-01-25 17:08:21 +00:00
mike12345567 90dce862f1 Fixing some issues CI linting found. 2021-01-21 18:08:04 +00:00
mike12345567 decc1aba5e Linting. 2021-01-21 17:56:22 +00:00
mike12345567 5076c2f064 Changing up how processors work to make it a bit easier to add to them. 2021-01-21 17:56:00 +00:00
mike12345567 3481fe8cd2 Getting ready to merge with some basic functionality but updates required to client/builder/automations to remove the need for space in hbs statement handling. 2021-01-21 15:50:46 +00:00
mike12345567 38144f84a3 Handling undefined/null values in context object for string templates, replacing with empty string. 2021-01-21 13:48:23 +00:00
mike12345567 4deccae711 More fixes for issues found by cheeks, as well as adding a test case for rendering app. 2021-01-21 12:08:57 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +00:00
mike12345567 4a30af4082 Fixing issue found by cheeks with all helper trying to wrap helpers even if no other helpers present. 2021-01-21 11:30:53 +00:00