Commit Graph

223 Commits

Author SHA1 Message Date
mike12345567 9acd30a4cb Adding error checking to our handlebars syntax inputs as well as making all handlebars helpers available due to space pre-processor being removed. 2021-01-22 17:57:38 +00:00
mike12345567 6429750081 Quick fix for an issue found while checking string templates. 2021-01-22 13:56:29 +00:00
mike12345567 6d63e461ef Making sure tsc stubs are always built. 2021-01-21 19:06:49 +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 5fa18c0280 Linting. 2021-01-21 17:30:51 +00:00
mike12345567 4888aea3bd Updating build process to fix issues with polyfill. 2021-01-21 17:30:18 +00:00
mike12345567 72ea6f3903 Attempting to polyfill for browser 2021-01-21 16:44:03 +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 ddb9ea50f7 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 13:49:05 +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
Andrew Kingston 6fb50a1988 Fix crashing when a nullish value exists in an object being recursed for enrichment 2021-01-21 13:46:45 +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 eb627c52d8 Re-writing pre-processor to be a bit clearer. 2021-01-21 11:37:16 +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
mike12345567 a9274f7d86 Adding cleaners which will process and find spaces removing them and fixing them with literal specifiers for handlebars props. Also changing the way cleaners work for the system to make it easier to add them. 2021-01-20 18:12:16 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567 4c597ed91a Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
mike12345567 e8ef03bb1c Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567 759a106d2d Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00