Commit Graph

59 Commits

Author SHA1 Message Date
Andrew Kingston e05d9f5e7f
Merge pull request #1678 from Budibase/form-fixes
Form fixes
2021-06-09 14:42:59 +01:00
Andrew Kingston 7e082a18d8 Allow string templates to handle null objects without failing 2021-06-09 14:17:11 +01:00
mike12345567 3ffd340450 Updating date helper to allow timezone capabilites. 2021-06-09 11:44:24 +01:00
mike12345567 2938d3a92d Fixing broken backend test cases. 2021-06-07 14:08:49 +01:00
Andrew Kingston 1b8e6ce195 Merge branch 'master' of github.com:Budibase/budibase into lab-day-plausible 2021-06-01 15:16:09 +01:00
Andrew Kingston c6827e8a75 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
mike12345567 1470e601aa Updating date helper to use UTC. 2021-05-27 15:21:00 +01:00
mike12345567 4c5bcb11a2 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
Andrew Kingston da6b76fbf5 Lint 2021-05-14 15:41:58 +01:00
Andrew Kingston 9d08a8f6a6 Merge branch 'lab-day-search' of github.com:Budibase/budibase into lab-day-search 2021-05-11 16:08:41 +01:00
mike12345567 3a1be567b8 Fixing an issue with date objects not being managed by handlebars correctly. 2021-05-11 16:07:55 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02: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
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
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 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
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
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 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 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 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 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 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