mike12345567
|
38e6956b19
|
Fixes for #2634 - make sure string templates library handles conversion of raw JSON objects to stringified correctly.
|
5 years ago |
Andrew Kingston
|
545c710ce5
|
Fix tests
|
5 years ago |
mike12345567
|
1df459a5bf
|
Fixing issues discovered with hbs escaping.
|
5 years ago |
mike12345567
|
c51f1dae13
|
Updating examples, adding length tests and updating HBS helpers library.
|
5 years ago |
Andrew Kingston
|
7e082a18d8
|
Allow string templates to handle null objects without failing
|
5 years ago |
mike12345567
|
f9ba157f97
|
Updating test.
|
5 years ago |
mike12345567
|
3ffd340450
|
Updating date helper to allow timezone capabilites.
|
5 years ago |
mike12345567
|
1470e601aa
|
Updating date helper to use UTC.
|
5 years ago |
mike12345567
|
4c5bcb11a2
|
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
|
3a1be567b8
|
Fixing an issue with date objects not being managed by handlebars correctly.
|
5 years ago |
mike12345567
|
4068a29624
|
Fixing complex test case.
|
5 years ago |
mike12345567
|
a6e282c19b
|
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
|
ac75c3cd65
|
Update string-templates tests
|
5 years ago |
Andrew Kingston
|
d1be0a58b4
|
Fix edge case bug where the literal handlebars helper would not work with objects including a dash character
|
5 years ago |
mike12345567
|
a86b6db772
|
Quick addition of a duration helper which can be used to create relative humanized date strings.
|
5 years ago |
mike12345567
|
9ae53caa4d
|
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
|
c10cd53eb6
|
Some more fixes, getting a balance of validity checking, not letting package output anything non-sensical.
|
5 years ago |
mike12345567
|
96acfc6563
|
Fixing an issue with the new validity checking being too lenient.
|
5 years ago |
Michael Drury
|
8d40cb6b32
|
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
|
08cf4bf292
|
Fixing issue with regex helper - escape test used the word 'test' a lot which breaks the helper.
|
5 years ago |
mike12345567
|
2d82969350
|
Some quick fixes to allow custom verbs.
|
5 years ago |
mike12345567
|
92ab3631ea
|
Adding object and regex helpers as well as a complex test case for forIn.
|
5 years ago |
mike12345567
|
d350dd2c2b
|
Updating manifest tests.
|
5 years ago |
Michael Drury
|
ff75f8e8a5
|
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
|
bd3bdfa9aa
|
Work in progress, fixing issue with some helpers not getting translated, now running into rollup issue.
|
5 years ago |
mike12345567
|
72f205d736
|
Adding a getManifest function to string templates.
|
5 years ago |
mike12345567
|
48dc9f9533
|
Adding a manifest of all the useful helpers which our system provides.
|
5 years ago |
mike12345567
|
7456e1fbed
|
Disabling save button on binding drawer when handlebars statement is invalid.
|
5 years ago |
mike12345567
|
bb85078300
|
Adding a literal helper which can make sure the output of an operation is a literal value.
|
5 years ago |
mike12345567
|
ebb78a3c29
|
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
|
9acd30a4cb
|
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
|
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.
|
5 years ago |
mike12345567
|
ec55655900
|
Handling undefined/null values in context object for string templates, replacing with empty string.
|
5 years ago |
mike12345567
|
d3789c9069
|
More fixes for issues found by cheeks, as well as adding a test case for rendering app.
|
5 years ago |
mike12345567
|
3d33199f16
|
Fixing issue found by cheeks with all helper trying to wrap helpers even if no other helpers present.
|
5 years ago |
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.
|
5 years ago |
mike12345567
|
3f6d9e21e0
|
Updating the string templating system to be capable of async operations.
|
5 years ago |
mike12345567
|
4c597ed91a
|
Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping.
|
5 years ago |
mike12345567
|
e8ef03bb1c
|
Adding jest test cases to string templating library.
|
5 years ago |