Commit Graph

84 Commits

Author SHA1 Message Date
Adria Navarro 4829cdc4ce Fix uuid tests 2024-01-23 19:32:03 +01:00
Adria Navarro 603943d7cf Refactor tests 2024-01-23 19:32:03 +01:00
Adria Navarro b66fac87cc Fix some array examples 2024-01-23 19:32:03 +01:00
Adria Navarro 6f87a6f0bc Fix some array examples 2024-01-23 19:32:03 +01:00
Adria Navarro c59750cc9e Fix some array tests 2024-01-23 19:32:03 +01:00
Adria Navarro 7705397da3 Array instead of string 2024-01-23 19:32:03 +01:00
Adria Navarro dc0bef20d8 Fix sum 2024-01-23 19:32:03 +01:00
Adria Navarro ac9f8bd498 Fix random test 2024-01-23 19:32:03 +01:00
Adria Navarro f783602d9f Fix date test examples 2024-01-23 19:32:03 +01:00
Adria Navarro daa87915e8 Test examples 2024-01-23 19:32:03 +01:00
Adria Navarro afd5b593f8 Fix test 2024-01-23 19:31:22 +01:00
Adria Navarro 272e85f696 Add test 2024-01-18 15:35:58 +01:00
Michael Drury dceb623732
Merge branch 'master' into feature/uuid-helper 2023-12-18 11:06:48 +00:00
Sam Rose b963e7081e
Fix test. 2023-12-15 16:50:36 +00:00
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 d667276fa1 Adding a onlyFound option to our handlebars system so that we can enrich only the parts we have and leave other components for further enrichment. 2023-01-27 15:15:07 +00:00
mike12345567 d3029d33ae Minor fix for #8843 - the binding input drawer was using the format helper. rather than helpers. when generating JS helpers. 2022-12-06 18:21:54 +00:00
mike12345567 3b64a8f94b Adding ellipsis test case. 2022-09-07 11:55:03 +01:00
mike12345567 b4a8109cf0 Adding the examples and helper add functionality for JS as well as hiding button to convert outside of development environment. 2022-07-29 14:12:04 +01:00
mike12345567 7a6efe3ea8 Some minor fixes for edge cases. 2022-07-29 09:50:53 +01:00
mike12345567 3d13030aa1 Initial attempt at transpiling HBS to JS. 2022-07-28 20:20:53 +01:00
mike12345567 aac6bc48a7 Fix for issue discovered by test case. 2022-05-04 17:36:30 +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 1b45a9190d Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567 581c27d8b7 Fixing issue with escaping on multiple bindings that are the same in queries. 2022-02-17 13:22:36 +00:00
mike12345567 2e8aa2d80d Fixing test case. 2022-02-08 17:41:54 +00: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
mike12345567 82c4c0b731 Fixing merge conflict. 2022-02-03 20:32:20 +00:00
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. 2022-02-03 18:44:34 +00:00
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. 2022-01-21 16:24:24 +00:00
Andrew Kingston 69d25e8a14 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2022-01-18 15:27:14 +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
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +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 da38734a62 Fixing bug #3195 with zero/falsy values not being passed out of bindings. 2021-11-02 16:55:16 +00:00
mike12345567 eb411cd0b0 Fixing #2718 - disabling handlebars helpers for queries. 2021-10-26 20:04:36 +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 94f790f310 Update JS HBS helper tests 2021-10-13 14:37:29 +01:00
Andrew Kingston 6619a16caf Add tests to HBS JS helper 2021-10-13 13:45:14 +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
Andrew Kingston 91b701a746 Merge pull request #1834 from Budibase/design-panel-v2
Design panel V2 + big performance improvements + misc features
2021-06-28 11:11:00 +01:00
Andrew Kingston d65d4975c9 Fix tests 2021-06-28 10:00:22 +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
Andrew Kingston 18a78c979d Merge pull request #1678 from Budibase/form-fixes
Form fixes
2021-06-09 14:42:59 +01:00
Andrew Kingston 4d8e878f6f Allow string templates to handle null objects without failing 2021-06-09 14:17:11 +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