Commit Graph

23 Commits

Author SHA1 Message Date
mike12345567 e12767fd85 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 a0d8bffbc6 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 403f64d1ac 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 b2c843adb4 Lint 2021-06-25 17:27:06 +01:00
Andrew Kingston 9815a3ff8c Remove lodash functions and recursive context mutation in string templates to increase performance 2021-06-25 15:04:54 +01:00
Andrew Kingston da6b76fbf5 Lint 2021-05-14 15:41:58 +01:00
Andrew Kingston 9d08a8f6a6 Merge branch 'lab-day-search' of github.com:Budibase/budibase into lab-day-search 2021-05-11 16:08:41 +01:00
mike12345567 3a1be567b8 Fixing an issue with date objects not being managed by handlebars correctly. 2021-05-11 16:07:55 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 ae54a420ba 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 ff75f8e8a5 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 bb85078300 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 01f9885637 Linting. 2021-01-25 17:08:38 +00:00
mike12345567 ebb78a3c29 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 b42677f657 Fixing some issues CI linting found. 2021-01-21 18:08:04 +00:00
mike12345567 83e8a45b91 Linting. 2021-01-21 17:56:22 +00:00
mike12345567 932107cd65 Changing up how processors work to make it a bit easier to add to them. 2021-01-21 17:56:00 +00:00
mike12345567 00967985e8 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 ec55655900 Handling undefined/null values in context object for string templates, replacing with empty string. 2021-01-21 13:48:23 +00:00
mike12345567 d3789c9069 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 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
mike12345567 3d33199f16 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