57 Commits (580bb89fda65bf48a4f660652ecc2c2e798e900d)

Author SHA1 Message Date
mike12345567 2e8aa2d80d Fixing test case. 4 years ago
mike12345567 a35a8cb81c Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped. 4 years ago
mike12345567 82c4c0b731 Fixing merge conflict. 4 years ago
mike12345567 f2a025013e 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. 4 years ago
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. 4 years ago
mike12345567 deb4a34c18 Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 4 years ago
Andrew Kingston 56ef16665e Transform the output of JS expressions to be actual types rather than strings 4 years ago
Andrew Kingston c8121ed0e3 Transform the output of JS expressions to be actual types rather than strings 4 years ago
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 4 years ago
Andrew Kingston 28557a3f96 Remove the pre-execution validation in string templates to double performance and prevent JS binding issues when mutating context 5 years ago
mike12345567 da38734a62 Fixing bug #3195 with zero/falsy values not being passed out of bindings. 5 years ago
mike12345567 331c1ca48e Fixing bug #3195 with zero/falsy values not being passed out of bindings. 5 years ago
mike12345567 eb411cd0b0 Fixing #2718 - disabling handlebars helpers for queries. 5 years ago
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 5 years ago
Andrew Kingston 94f790f310 Update JS HBS helper tests 5 years ago
Andrew Kingston 6619a16caf Add tests to HBS JS helper 5 years ago
mike12345567 47acb7e69b Fixes for #2634 - make sure string templates library handles conversion of raw JSON objects to stringified correctly. 5 years ago
Andrew Kingston d65d4975c9 Fix tests 5 years ago
mike12345567 a7ce3ada3f Fixing issues discovered with hbs escaping. 5 years ago
mike12345567 c52be5aad6 Updating examples, adding length tests and updating HBS helpers library. 5 years ago
Andrew Kingston 4d8e878f6f Allow string templates to handle null objects without failing 5 years ago
mike12345567 e67f19ea20 Updating test. 5 years ago
mike12345567 b741194b7d Updating date helper to allow timezone capabilites. 5 years ago
mike12345567 3d01ac17e9 Updating date helper to use UTC. 5 years ago
mike12345567 de91822ce7 Adding test case for issue found by Andrew with formulas, HBS in deep context objects was being evaluated which is not valid and breaks things. 5 years ago
mike12345567 5181ca710f Fixing an issue with date objects not being managed by handlebars correctly. 5 years ago
mike12345567 2cd4e389a6 Fixing complex test case. 5 years ago
mike12345567 a7022de9b5 Moving drawers around to be a common component as they are utilised in a few places, keep all the binding work together, as well as some fixing for readable/runtime binding detection and conversion. 5 years ago
Andrew Kingston ff938e70b5 Update string-templates tests 5 years ago
Andrew Kingston 5276cd7117 Fix edge case bug where the literal handlebars helper would not work with objects including a dash character 5 years ago
mike12345567 821fb20e8b Quick addition of a duration helper which can be used to create relative humanized date strings. 5 years ago
mike12345567 537c5a02ca Removing the use of helper-date which was causing some problems, instead took what we needed of it out of the package and updated to use dayjs instead of moment. 5 years ago
mike12345567 9aaf6b4883 Some more fixes, getting a balance of validity checking, not letting package output anything non-sensical. 5 years ago
mike12345567 4f2fd656c5 Fixing an issue with the new validity checking being too lenient. 5 years ago
Michael Drury 7e4e0db30f Widening the allowance criteria for handlebars validity, check for any errors which suggest a simple type error from the context and allowing these through. 5 years ago
mike12345567 5dd11ddcc5 Fixing issue with regex helper - escape test used the word 'test' a lot which breaks the helper. 5 years ago
mike12345567 ec21fcbc4d Some quick fixes to allow custom verbs. 5 years ago
mike12345567 5f40ea49d8 Adding object and regex helpers as well as a complex test case for forIn. 5 years ago
mike12345567 17ad4577f6 Updating manifest tests. 5 years ago
Michael Drury a1f09b0a1a Some rollup fixes - the handlebars-helper library needs dynamic requires removed from it, likely best to fork it and do this. 5 years ago
mike12345567 41fbc39618 Work in progress, fixing issue with some helpers not getting translated, now running into rollup issue. 5 years ago
mike12345567 d5b8ffe086 Adding a getManifest function to string templates. 5 years ago
mike12345567 56c7f8094c Adding a manifest of all the useful helpers which our system provides. 5 years ago
mike12345567 19ed02be60 Disabling save button on binding drawer when handlebars statement is invalid. 5 years ago
mike12345567 673ae8d031 Adding a literal helper which can make sure the output of an operation is a literal value. 5 years ago
mike12345567 a254567bec Updating string templates to have test cases for all the main helpers we want to make use of and adding a readme. 5 years ago
mike12345567 d3d840e42a Adding error checking to our handlebars syntax inputs as well as making all handlebars helpers available due to space pre-processor being removed. 5 years ago
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. 5 years ago
mike12345567 38144f84a3 Handling undefined/null values in context object for string templates, replacing with empty string. 5 years ago
mike12345567 4deccae711 More fixes for issues found by cheeks, as well as adding a test case for rendering app. 5 years ago