mike12345567
|
6173497afa
|
Adding a UUID helper to simplify things, question comes up fairly regularly.
|
2023-12-13 17:56:16 +00:00 |
Adria Navarro
|
742eb4ff46
|
Lint fix
|
2023-11-20 15:36:55 +01:00 |
Conor Webb
|
3aad1e8ca3
|
Helpers functions bug fixes (#11003)
* Helpers functions bug fixes
* Corrected multiply example
* Removing test for times.
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
|
2023-07-03 12:07:45 +01:00 |
mike12345567
|
3b64a8f94b
|
Adding ellipsis test case.
|
2022-09-07 11:55:03 +01:00 |
mike12345567
|
dfb292862f
|
Fixing an issue with JSONparse helper always being considered invalid due to a lack of input.
|
2022-05-04 12:14:01 +01:00 |
mike12345567
|
2e8aa2d80d
|
Fixing test case.
|
2022-02-08 17:41:54 +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 |
mike12345567
|
eb411cd0b0
|
Fixing #2718 - disabling handlebars helpers for queries.
|
2021-10-26 20:04:36 +01:00 |
mike12345567
|
a7ce3ada3f
|
Fixing issues discovered with hbs escaping.
|
2021-06-24 11:37:26 +01:00 |
mike12345567
|
c52be5aad6
|
Updating examples, adding length tests and updating HBS helpers library.
|
2021-06-10 13:44:44 +01:00 |
mike12345567
|
e67f19ea20
|
Updating test.
|
2021-06-09 12:11:40 +01:00 |
mike12345567
|
b741194b7d
|
Updating date helper to allow timezone capabilites.
|
2021-06-09 11:44:24 +01:00 |
mike12345567
|
3d01ac17e9
|
Updating date helper to use UTC.
|
2021-05-27 15:21:00 +01:00 |
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.
|
2021-05-27 11:45:17 +01:00 |
mike12345567
|
2cd4e389a6
|
Fixing complex test case.
|
2021-04-30 16:21:59 +01:00 |
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.
|
2021-04-30 16:17:57 +01:00 |
Andrew Kingston
|
ff938e70b5
|
Update string-templates tests
|
2021-04-07 10:56:06 +01:00 |
Andrew Kingston
|
5276cd7117
|
Fix edge case bug where the literal handlebars helper would not work with objects including a dash character
|
2021-03-16 18:16:56 +00:00 |
mike12345567
|
821fb20e8b
|
Quick addition of a duration helper which can be used to create relative humanized date strings.
|
2021-02-04 10:17:10 +00:00 |
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.
|
2021-02-03 13:55:33 +00:00 |
mike12345567
|
9aaf6b4883
|
Some more fixes, getting a balance of validity checking, not letting package output anything non-sensical.
|
2021-02-03 12:38:06 +00:00 |
mike12345567
|
4f2fd656c5
|
Fixing an issue with the new validity checking being too lenient.
|
2021-02-03 12:10:39 +00:00 |
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.
|
2021-02-02 20:28:27 +00:00 |
mike12345567
|
ec21fcbc4d
|
Some quick fixes to allow custom verbs.
|
2021-02-02 17:28:11 +00:00 |
mike12345567
|
5f40ea49d8
|
Adding object and regex helpers as well as a complex test case for forIn.
|
2021-02-02 14:22:10 +00:00 |
mike12345567
|
17ad4577f6
|
Updating manifest tests.
|
2021-02-01 13:17:42 +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
|
41fbc39618
|
Work in progress, fixing issue with some helpers not getting translated, now running into rollup issue.
|
2021-01-29 20:03:09 +00:00 |
mike12345567
|
56c7f8094c
|
Adding a manifest of all the useful helpers which our system provides.
|
2021-01-27 18:09:04 +00:00 |
mike12345567
|
19ed02be60
|
Disabling save button on binding drawer when handlebars statement is invalid.
|
2021-01-26 14:09:31 +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
|
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
|
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
|
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 |
mike12345567
|
ce5ab5482b
|
Updating the string templating system to be capable of async operations.
|
2021-01-20 13:32:15 +00:00 |
mike12345567
|
d7a3e6210d
|
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 |