mike12345567
|
aac6bc48a7
|
Fix for issue discovered by test case.
|
2022-05-04 17:36:30 +01:00 |
mike12345567
|
159cc9d277
|
Fixes for #4736 - I believe the issue was that the dynamic variables were not being saved, removing the need for the user to be aware of this, also making it possible to pass the entire data structure from one call to another if desired.
|
2022-05-04 15:26:19 +01:00 |
mike12345567
|
a35a8cb81c
|
Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped.
|
2022-02-07 17:56:01 +00:00 |
Andrew Kingston
|
c8121ed0e3
|
Transform the output of JS expressions to be actual types rather than strings
|
2022-01-18 13:20:06 +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 |
Andrew Kingston
|
a721619a06
|
Update literal helper to return an empty string rather than the string 'undefined' when the value is undefined
|
2021-11-15 12:25:30 +00:00 |
mike12345567
|
da38734a62
|
Fixing bug #3195 with zero/falsy values not being passed out of bindings.
|
2021-11-02 16:55:16 +00:00 |
Andrew Kingston
|
b1f174debe
|
Remove optional chaining from string-templates
|
2021-10-14 13:04:57 +01:00 |
Andrew Kingston
|
29d58f08c1
|
Block certain browser API's when executing JS in the browser
|
2021-10-14 12:02:34 +01:00 |
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
|
2021-10-14 11:51:05 +01:00 |
Andrew Kingston
|
aa150989bd
|
Prevent executing JS bindings when running in a Node env
|
2021-10-13 14:37:14 +01:00 |
Andrew Kingston
|
4d6d453676
|
Add one second timeout to execution of JS bindings
|
2021-10-13 13:44:43 +01:00 |
Andrew Kingston
|
4245430561
|
Fix issue deeply extract falsey values from context while executing JS bindings
|
2021-10-12 16:13:07 +01:00 |
Andrew Kingston
|
39e98800d3
|
Correctly handle JS nullish values by removing forced fallback value of HBS helper
|
2021-10-12 15:40:01 +01:00 |
Andrew Kingston
|
5691be6fc0
|
Ensure null or empty values don't cause raw JS to appear when executing JS HBS helper
|
2021-10-12 15:32:43 +01:00 |
Andrew Kingston
|
43d546b2db
|
Fix inserting bindings manually when using JS
|
2021-10-11 16:18:20 +01:00 |
Andrew Kingston
|
67a74ee327
|
Fix bug determining if a binding is JS or not
|
2021-10-11 15:51:47 +01:00 |
Andrew Kingston
|
e96453ce6c
|
Add JS helper to string templates
|
2021-10-11 14:53:55 +01:00 |
mike12345567
|
47acb7e69b
|
Fixes for #2634 - make sure string templates library handles conversion of raw JSON objects to stringified correctly.
|
2021-09-17 17:18:52 +01:00 |
mike12345567
|
a7ce3ada3f
|
Fixing issues discovered with hbs escaping.
|
2021-06-24 11:37:26 +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 |
Andrew Kingston
|
797e8a8b67
|
Add explicit prettier options
|
2021-05-04 11:32:22 +01:00 |
Keviin Åberg Kultalahti
|
0afbf1649e
|
lint:fix
|
2021-05-03 09:31:09 +02: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
|
5a7c0c1cc1
|
Fixing issue that was breaking linting.
|
2021-02-04 10:41:25 +00:00 |
mike12345567
|
1a9d6bcb60
|
Linting and updating helper manifest.
|
2021-02-04 10:25:04 +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
|
f4c7d3acd7
|
linting.
|
2021-02-03 13:56:01 +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
|
5f40ea49d8
|
Adding object and regex helpers as well as a complex test case for forIn.
|
2021-02-02 14:22:10 +00:00 |
mike12345567
|
26b716c407
|
Updating to use budibase helpers.
|
2021-01-31 11:46:45 +00:00 |
mike12345567
|
182353d555
|
Linting.
|
2021-01-26 12:43:26 +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
|
90dce862f1
|
Fixing some issues CI linting found.
|
2021-01-21 18:08:04 +00:00 |
mike12345567
|
1a87b2caaf
|
Linting.
|
2021-01-21 17:30:51 +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
|
38144f84a3
|
Handling undefined/null values in context object for string templates, replacing with empty string.
|
2021-01-21 13:48:23 +00:00 |
mike12345567
|
239079d973
|
Linting.
|
2021-01-21 11:32:26 +00:00 |
mike12345567
|
da457cd0c4
|
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
|
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 |
mike12345567
|
419c6b9393
|
Adding the handlebars library, still need to add testcases to this.
|
2021-01-18 17:40:19 +00:00 |