Commit Graph

621 Commits

Author SHA1 Message Date
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 ace80ccb7a Updated script and manifest - minor spelling error. 2021-02-03 14:00:58 +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 febad5ad9d Adding some more changes to make it more obvious when a binding hasn't worked. 2021-02-03 13:04:19 +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
mike12345567 32b0816ecb Quick fix for string-templates, was being a bit too fuzzy in its lookup of possible helper names. 2021-02-03 11:41:33 +00:00
Martin McKeaveney e283dc0bb1 v0.7.1 2021-02-03 10:30:22 +00:00
Michael Drury cb4f7ade75 Linting. 2021-02-02 20:29:10 +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
Martin McKeaveney 7a386ac1b5 v0.7.0 2021-02-02 18:52:05 +00:00
mike12345567 7baf12f63d Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 18:04:18 +00:00
mike12345567 5dd11ddcc5 Fixing issue with regex helper - escape test used the word 'test' a lot which breaks the helper. 2021-02-02 18:01:41 +00:00
mike12345567 cf72511b1d Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:57:55 +00:00
mike12345567 b19c906572 Updating manifest. 2021-02-02 17:29:46 +00:00
mike12345567 262cdaf0c9 Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 17:28:44 +00:00
mike12345567 ec21fcbc4d Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567 32c2a78148 Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:25:35 +00:00
Martin McKeaveney e48e263f9f bump budibase hbs version 2021-02-02 16:19:37 +00:00
mike12345567 713f9b5e8b Merge branch 'bug/attachment-issue' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 14:57:19 +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 f81330b3e7 Updating script for generating handlebars-helpers manifest. 2021-02-01 17:12:18 +00:00
mike12345567 17ad4577f6 Updating manifest tests. 2021-02-01 13:17:42 +00:00
mike12345567 9fcb8c258d Converting markdown to HTML and rendering this for the hbs-helpers. 2021-02-01 12:55:37 +00:00
mike12345567 c48d316d00 Updating handlebars-helpers functionality. 2021-02-01 11:22:32 +00:00
mike12345567 a02d7da918 Removing rollup replacement. 2021-02-01 11:03:20 +00:00
mike12345567 9a94b61a72 Merge branch 'feature/handlebars-helpers' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-02-01 11:00:41 +00:00
mike12345567 26b716c407 Updating to use budibase helpers. 2021-01-31 11:46:45 +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
Michael Drury fc6a59b123 Updating lock file. 2021-01-30 00:21:13 +00:00
Michael Drury d3603a7b75 Some fixes, still dealing with problems of illegal re-assignment in rollup. 2021-01-30 00:20:13 +00:00
Michael Drury af0ef3fc61 Quick fix for number systems in string templates. 2021-01-29 22:56:01 +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 d5b8ffe086 Adding a getManifest function to string templates. 2021-01-29 14:36:16 +00:00
mike12345567 9e3d2a3553 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-01-28 09:59:28 +00:00
mike12345567 b7e7dbba65 Linting. 2021-01-27 18:09:32 +00:00
mike12345567 56c7f8094c Adding a manifest of all the useful helpers which our system provides. 2021-01-27 18:09:04 +00:00
Martin McKeaveney 79277f0ee0 v0.6.2 2021-01-27 17:43:38 +00:00
Martin McKeaveney 23899840d3 v0.6.1 2021-01-27 16:47:44 +00:00
Martin McKeaveney b1a76ad74d v0.6.0 2021-01-27 15:04:13 +00:00
mike12345567 75b0e49978 Adding date information. 2021-01-26 14:47:30 +00:00
mike12345567 19ed02be60 Disabling save button on binding drawer when handlebars statement is invalid. 2021-01-26 14:09:31 +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 766200e59e Linting. 2021-01-25 17:08:38 +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 1d38dda79b Linting. 2021-01-22 17:58:01 +00:00
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. 2021-01-22 17:57:38 +00:00
mike12345567 094c0335e9 Quick fix for an issue found while checking string templates. 2021-01-22 13:56:29 +00:00
mike12345567 4e512559d9 Making sure tsc stubs are always built. 2021-01-21 19:06:49 +00:00
mike12345567 90dce862f1 Fixing some issues CI linting found. 2021-01-21 18:08:04 +00:00
mike12345567 decc1aba5e Linting. 2021-01-21 17:56:22 +00:00
mike12345567 5076c2f064 Changing up how processors work to make it a bit easier to add to them. 2021-01-21 17:56:00 +00:00
mike12345567 1a87b2caaf Linting. 2021-01-21 17:30:51 +00:00
mike12345567 0e93c4b7f8 Updating build process to fix issues with polyfill. 2021-01-21 17:30:18 +00:00
mike12345567 18fd079c64 Attempting to polyfill for browser 2021-01-21 16:44:03 +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 ed89d39904 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 13:49:05 +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
Andrew Kingston ecbe24662a Fix crashing when a nullish value exists in an object being recursed for enrichment 2021-01-21 13:46:45 +00:00
mike12345567 4deccae711 More fixes for issues found by cheeks, as well as adding a test case for rendering app. 2021-01-21 12:08:57 +00:00
mike12345567 1dd0eb1327 Re-writing pre-processor to be a bit clearer. 2021-01-21 11:37:16 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +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 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 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
mike12345567 5a7c0de397 Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567 329b76590c Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567 419c6b9393 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00