Andrew Kingston
|
a0d8bffbc6
|
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
|
9b05990418
|
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
|
be8979e50a
|
Fixing bug #3195 with zero/falsy values not being passed out of bindings.
|
2021-11-02 16:55:16 +00:00 |
mike12345567
|
8b2c505050
|
Fixing #2718 - disabling handlebars helpers for queries.
|
2021-10-26 20:04:36 +01:00 |
Andrew Kingston
|
0539f1a429
|
Remove optional chaining from string-templates
|
2021-10-14 13:04:57 +01:00 |
Andrew Kingston
|
1bd0897fd8
|
Block certain browser API's when executing JS in the browser
|
2021-10-14 12:02:34 +01:00 |
Andrew Kingston
|
403f64d1ac
|
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
|
0dfa108ef5
|
Prevent executing JS bindings when running in a Node env
|
2021-10-13 14:37:14 +01:00 |
Andrew Kingston
|
4075d0d97c
|
Add one second timeout to execution of JS bindings
|
2021-10-13 13:44:43 +01:00 |
Andrew Kingston
|
7d7c28d967
|
Fix issue deeply extract falsey values from context while executing JS bindings
|
2021-10-12 16:13:07 +01:00 |
Andrew Kingston
|
d6a1e3d248
|
Correctly handle JS nullish values by removing forced fallback value of HBS helper
|
2021-10-12 15:40:01 +01:00 |
Andrew Kingston
|
4174b88057
|
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
|
b06669fe32
|
Fix inserting bindings manually when using JS
|
2021-10-11 16:18:20 +01:00 |
Andrew Kingston
|
d114b3f1ed
|
Fix bug determining if a binding is JS or not
|
2021-10-11 15:51:47 +01:00 |
Andrew Kingston
|
4fd31b9eac
|
Add JS helper to string templates
|
2021-10-11 14:53:55 +01:00 |
mike12345567
|
38e6956b19
|
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
|
e07792263e
|
Adding a case for Firefox undefined bindings when checking validity.
|
2021-08-06 15:32:55 +01:00 |
Martin McKeaveney
|
742402f4c7
|
merge with master
|
2021-07-11 18:07:46 +01:00 |
Kyle Harrison
|
b4afda7b09
|
apply fixes for common spelling mistakes
|
2021-07-09 17:54:49 +01:00 |
mike12345567
|
5dd53f67ac
|
Some work towards supporting many SQL relationships.
|
2021-06-28 17:42:39 +01:00 |
Andrew Kingston
|
fc4aa07495
|
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
|
b2c843adb4
|
Lint
|
2021-06-25 17:27:06 +01:00 |
Andrew Kingston
|
9815a3ff8c
|
Remove lodash functions and recursive context mutation in string templates to increase performance
|
2021-06-25 15:04:54 +01:00 |
mike12345567
|
1df459a5bf
|
Fixing issues discovered with hbs escaping.
|
2021-06-24 11:37:26 +01:00 |
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 |