Commit Graph

310 Commits

Author SHA1 Message Date
Martin McKeaveney d8a0f0f747 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney 9eb6b541e9 merge 2021-04-12 13:39:53 +01:00
Martin McKeaveney c30e70c939 v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney 4b6efc42ed v0.8.13 2021-04-11 12:53:39 +01:00
Andrew Kingston ac75c3cd65 Update string-templates tests 2021-04-07 10:56:06 +01:00
Andrew Kingston 4e200d0def Update locks 2021-04-07 10:52:41 +01:00
Andrew Kingston 8241dbcd58 Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567 bdb751a8ff Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Andrew Kingston d945d76e59 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Andrew Kingston 7d0641746b Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston 6dae8a83ec Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston aa450c08b4 Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Andrew Kingston 583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Martin McKeaveney 6f2a1d45cc v0.8.12 2021-03-25 10:40:08 +00:00
Martin McKeaveney 9a47528775 v0.8.11 2021-03-24 18:48:26 +00:00
Andrew Kingston 2cfc30ad2f Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston d1be0a58b4 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
Martin McKeaveney b4c14bf8a6 v0.8.10 2021-03-15 21:26:50 +00:00
dependabot[bot] 73d7446a26
Bump marked from 1.2.8 to 2.0.0 in /packages/string-templates
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 12:11:54 +00:00
Martin McKeaveney 0f37bc44a7 v0.8.9 2021-03-14 18:13:13 +00:00
Martin McKeaveney 6afcda7599 v0.8.8 2021-03-12 14:20:18 +00:00
Martin McKeaveney 1b95326b20 v0.8.7 2021-03-12 11:45:42 +00:00
Martin McKeaveney b51ac37b6f v0.8.6 2021-03-12 09:33:12 +00:00
Martin McKeaveney 72f0aebb2b v0.8.5 2021-03-03 17:46:36 +00:00
Martin McKeaveney 768a9d59da v0.8.4 2021-03-03 17:05:18 +00:00
Martin McKeaveney 88fa3d18ea v0.8.3 2021-02-25 17:18:36 +00:00
Martin McKeaveney da6a90a042 v0.8.2 2021-02-25 16:39:52 +00:00
Martin McKeaveney 63fefd08a9 v0.8.1 2021-02-25 13:50:33 +00:00
Martin McKeaveney ae6a6ad779 v0.8.0 2021-02-25 12:49:03 +00:00
Martin McKeaveney d58ac80cc9 v0.7.8 2021-02-15 14:07:27 +00:00
Martin McKeaveney 9ce9d10c29 v0.7.7 2021-02-12 11:15:38 +00:00
Martin McKeaveney dda087f10a v0.7.6 2021-02-06 22:59:28 +00:00
Martin McKeaveney d9378f1eed v0.7.5 2021-02-06 12:43:01 +00:00
Martin McKeaveney cca4b93c53 v0.7.4 2021-02-05 10:59:29 +00:00
Martin McKeaveney 2cb0e35b25 app export with space in name 2021-02-05 10:55:54 +00:00
Martin McKeaveney 1a80b09fd0 v0.7.3 2021-02-05 09:43:45 +00:00
Martin McKeaveney d954b0f4c1 v0.7.2 2021-02-04 14:25:15 +00:00
mike12345567 a9dc9f0561 Fixing issue that was breaking linting. 2021-02-04 10:41:25 +00:00
mike12345567 008c9dcbcd Linting and updating helper manifest. 2021-02-04 10:25:04 +00:00
mike12345567 a86b6db772 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 39ea169752 Updated script and manifest - minor spelling error. 2021-02-03 14:00:58 +00:00
mike12345567 6fd080269b linting. 2021-02-03 13:56:01 +00:00
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. 2021-02-03 13:55:33 +00:00
mike12345567 ae54a420ba Adding some more changes to make it more obvious when a binding hasn't worked. 2021-02-03 13:04:19 +00:00
mike12345567 c10cd53eb6 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 96acfc6563 Fixing an issue with the new validity checking being too lenient. 2021-02-03 12:10:39 +00:00
mike12345567 b79d6b712b 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 12eb36175d v0.7.1 2021-02-03 10:30:22 +00:00
Michael Drury 30b004ba1f Linting. 2021-02-02 20:29:10 +00:00
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. 2021-02-02 20:28:27 +00:00
Martin McKeaveney 8dbc102c6c v0.7.0 2021-02-02 18:52:05 +00:00
mike12345567 20c2413c6f Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 18:04:18 +00:00
mike12345567 08cf4bf292 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 7ece2e65a4 Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:57:55 +00:00
mike12345567 711ab8a070 Updating manifest. 2021-02-02 17:29:46 +00:00
mike12345567 666a7b324c 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 2d82969350 Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567 a0c8c20782 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 ef63f24ec6 bump budibase hbs version 2021-02-02 16:19:37 +00:00
mike12345567 63933e9da0 Merge branch 'bug/attachment-issue' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 14:57:19 +00:00
mike12345567 92ab3631ea Adding object and regex helpers as well as a complex test case for forIn. 2021-02-02 14:22:10 +00:00
mike12345567 db6d2f1316 Updating script for generating handlebars-helpers manifest. 2021-02-01 17:12:18 +00:00
mike12345567 d350dd2c2b Updating manifest tests. 2021-02-01 13:17:42 +00:00
mike12345567 2276944f36 Converting markdown to HTML and rendering this for the hbs-helpers. 2021-02-01 12:55:37 +00:00
mike12345567 e837470c78 Updating handlebars-helpers functionality. 2021-02-01 11:22:32 +00:00
mike12345567 430913ebbe Removing rollup replacement. 2021-02-01 11:03:20 +00:00
mike12345567 7fed6fe599 Merge branch 'feature/handlebars-helpers' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-02-01 11:00:41 +00:00
mike12345567 e82fa5f68a Updating to use budibase helpers. 2021-01-31 11:46:45 +00:00
Michael Drury ff75f8e8a5 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 34a6e88fe2 Updating lock file. 2021-01-30 00:21:13 +00:00
Michael Drury 699046ccb8 Some fixes, still dealing with problems of illegal re-assignment in rollup. 2021-01-30 00:20:13 +00:00
Michael Drury 93a7abf160 Quick fix for number systems in string templates. 2021-01-29 22:56:01 +00:00
mike12345567 bd3bdfa9aa 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 72f205d736 Adding a getManifest function to string templates. 2021-01-29 14:36:16 +00:00
mike12345567 9cc8c08cf1 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-01-28 09:59:28 +00:00
mike12345567 c04dd20805 Linting. 2021-01-27 18:09:32 +00:00
mike12345567 48dc9f9533 Adding a manifest of all the useful helpers which our system provides. 2021-01-27 18:09:04 +00:00
Martin McKeaveney 497c87ce00 v0.6.2 2021-01-27 17:43:38 +00:00
Martin McKeaveney ed5d0f4e53 v0.6.1 2021-01-27 16:47:44 +00:00
Martin McKeaveney 71c88fc410 v0.6.0 2021-01-27 15:04:13 +00:00
mike12345567 2d6f79a433 Adding date information. 2021-01-26 14:47:30 +00:00
mike12345567 7456e1fbed Disabling save button on binding drawer when handlebars statement is invalid. 2021-01-26 14:09:31 +00:00
mike12345567 c8295f0fbd Linting. 2021-01-26 12:43:26 +00:00
mike12345567 bb85078300 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 01f9885637 Linting. 2021-01-25 17:08:38 +00:00
mike12345567 ebb78a3c29 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 d7da11e96c Linting. 2021-01-22 17:58:01 +00:00
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. 2021-01-22 17:57:38 +00:00
mike12345567 6429750081 Quick fix for an issue found while checking string templates. 2021-01-22 13:56:29 +00:00
mike12345567 6d63e461ef Making sure tsc stubs are always built. 2021-01-21 19:06:49 +00:00
mike12345567 b42677f657 Fixing some issues CI linting found. 2021-01-21 18:08:04 +00:00
mike12345567 83e8a45b91 Linting. 2021-01-21 17:56:22 +00:00
mike12345567 932107cd65 Changing up how processors work to make it a bit easier to add to them. 2021-01-21 17:56:00 +00:00
mike12345567 5fa18c0280 Linting. 2021-01-21 17:30:51 +00:00
mike12345567 4888aea3bd Updating build process to fix issues with polyfill. 2021-01-21 17:30:18 +00:00
mike12345567 72ea6f3903 Attempting to polyfill for browser 2021-01-21 16:44:03 +00:00
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. 2021-01-21 15:50:46 +00:00
mike12345567 ddb9ea50f7 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 13:49:05 +00:00
mike12345567 ec55655900 Handling undefined/null values in context object for string templates, replacing with empty string. 2021-01-21 13:48:23 +00:00
Andrew Kingston 6fb50a1988 Fix crashing when a nullish value exists in an object being recursed for enrichment 2021-01-21 13:46:45 +00:00
mike12345567 d3789c9069 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 eb627c52d8 Re-writing pre-processor to be a bit clearer. 2021-01-21 11:37:16 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
mike12345567 3d33199f16 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 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. 2021-01-20 18:12:16 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567 4c597ed91a 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 e8ef03bb1c Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567 759a106d2d Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00