Adria Navarro
|
f782305219
|
Change to js
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
c9973b5ecd
|
Remove type
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
05c8f9b956
|
Fix js
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
afe2335ed8
|
Fix rollup config
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
52fd8c2369
|
Remove not required rollup plugin
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
16ca7bbc45
|
Fix requires
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
2339030fe2
|
Build both cjs and mjs versions
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
667a5ab990
|
Fix package.json refs
|
2024-03-14 17:17:18 +01:00 |
Adria Navarro
|
0ad7bde478
|
Don't run tsc
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
a572cc980f
|
Fix ts
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
046e27c737
|
Change from js to ts
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
3b757476e0
|
Setup typescript rollup
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
6b3c4ec651
|
Update entrypoints
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
8503af6729
|
Point to src
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
813b96354b
|
Final convertions
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
4aa8456d21
|
More convertions
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
92f08d84d7
|
More convertions
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
b457b0e023
|
Convert helpers
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
cdf251f9cc
|
Processors to esm
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
e0873b359c
|
Mark as module
|
2024-03-14 17:17:10 +01:00 |
Adria Navarro
|
efef47b77e
|
Indexjs to esm
|
2024-03-14 17:17:10 +01:00 |
Andrew Kingston
|
95f71efdab
|
Cache snippet evaluations in the browser
|
2024-03-13 12:52:36 +00:00 |
Andrew Kingston
|
861d48dbf3
|
Transform snippets into a map in the browser for faster access
|
2024-03-13 12:37:49 +00:00 |
Andrew Kingston
|
64855bbdf0
|
Optimise cloneDeep usage in string templates
|
2024-03-13 12:11:09 +00:00 |
Andrew Kingston
|
a1186cd6d3
|
Remove testing snippet code
|
2024-03-13 12:01:26 +00:00 |
Andrew Kingston
|
706f9b5d4a
|
Update snippets to be an array
|
2024-03-05 19:11:34 +00:00 |
Andrew Kingston
|
5b3280832c
|
Improve logic around swapping binding panel tabs
|
2024-03-05 18:38:48 +00:00 |
Andrew Kingston
|
483fcbe30a
|
Add example of crazy long snippet for performance testing
|
2024-03-01 15:48:39 +00:00 |
Andrew Kingston
|
b7b1e95eb8
|
Add working PoC of snippets for both polyfilled vm and isolated-vm
|
2024-03-01 15:25:40 +00:00 |
mike12345567
|
4e61230c9a
|
Removing unused function.
|
2024-02-20 17:17:13 +00:00 |
mike12345567
|
5dfa460374
|
Disabling VM by default in string-templates, backend services *MUST* set their JS runner specifically rather than assuming the VM library by default.
|
2024-02-20 16:23:35 +00:00 |
Adria Navarro
|
70db60a360
|
Move default setJSRunner from mjs to index
|
2024-02-12 17:04:29 +01:00 |
Adria Navarro
|
b27ca57e1a
|
Allow loging js execution errors
|
2024-02-12 14:00:32 +01:00 |
Adria Navarro
|
6c78c7a45f
|
Fix tests
|
2024-02-09 13:28:37 +01:00 |
Adria Navarro
|
0db98f7fb1
|
Move sandbox escape test to server
|
2024-02-09 10:35:58 +01:00 |
Adria Navarro
|
7aee57eb6a
|
Fix javacript runs
|
2024-02-09 10:33:09 +01:00 |
Adria Navarro
|
2cde033783
|
Remove vm2
|
2024-02-09 10:27:56 +01:00 |
Adria Navarro
|
ec7adfb1b1
|
Remove index.cjs entry point
|
2024-02-09 10:27:22 +01:00 |
Adria Navarro
|
573096e869
|
Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm
|
2024-02-08 18:15:36 +01:00 |
Sam Rose
|
8e9db069e5
|
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future.
|
2024-02-08 16:32:14 +00:00 |
Adria Navarro
|
6bc5bf5be1
|
Clean
|
2024-02-06 10:42:44 +01:00 |
Adria Navarro
|
719062ab2f
|
Remove bundles from string-templates
|
2024-02-06 10:06:26 +01:00 |
Adria Navarro
|
b28890b401
|
Load
|
2024-02-06 10:04:54 +01:00 |
Adria Navarro
|
f28417a776
|
Move bundle for ivm to server
|
2024-02-05 18:26:39 +01:00 |
Adria Navarro
|
8dfcc3aeb1
|
Revert "Revert "Migrate from `vm` to `isolated-vm`""
|
2024-02-02 12:02:09 +01:00 |
Sam Rose
|
332a201ae7
|
Revert "Migrate from `vm` to `isolated-vm`"
|
2024-02-02 09:51:46 +00:00 |
Adria Navarro
|
45ea6a6fd6
|
Revert "Revert "Migrate from `vm` to `isolated-vm`""
|
2024-02-01 16:47:41 +01:00 |
Adria Navarro
|
16749ec3dd
|
Revert "Migrate from `vm` to `isolated-vm`"
|
2024-02-01 16:30:34 +01:00 |
Adria Navarro
|
480476bcfe
|
Lint
|
2024-02-01 12:32:39 +01:00 |
Adria Navarro
|
843d95c3bb
|
Lint
|
2024-02-01 12:30:59 +01:00 |
Adria Navarro
|
1439eb9b27
|
Fix stripProtocol
|
2024-02-01 12:20:31 +01:00 |
Adria Navarro
|
4461c49f48
|
Allow skipping tests
|
2024-02-01 10:58:20 +01:00 |
Adria Navarro
|
82db76627f
|
Better typing
|
2024-02-01 10:56:59 +01:00 |
Adria Navarro
|
e6ae364918
|
Register server helpers
|
2024-01-31 17:49:55 +01:00 |
Adria Navarro
|
b96ca1cf54
|
Run hbs on server tests
|
2024-01-31 17:49:55 +01:00 |
Adria Navarro
|
de4d7d95c3
|
Move code to test helpers
|
2024-01-31 17:49:55 +01:00 |
Adria Navarro
|
a5ccb9f0e8
|
Dry
|
2024-01-31 17:47:07 +01:00 |
Adria Navarro
|
507aa8af93
|
Simplify and remove magic strings
|
2024-01-31 17:05:20 +01:00 |
Adria Navarro
|
f2aeb56671
|
Lint
|
2024-01-31 13:30:41 +01:00 |
Adria Navarro
|
b2e1d8ee71
|
Merge branch 'master' into isolated-vm
|
2024-01-31 12:12:14 +01:00 |
Adria Navarro
|
623b4f5dab
|
Merge branch 'master' into isolated-vm
|
2024-01-31 10:47:08 +01:00 |
Adria Navarro
|
cd4fccbd6e
|
Allow excluding js helpers
|
2024-01-31 10:34:49 +01:00 |
Adria Navarro
|
e5d5dea5e6
|
Renames
|
2024-01-31 10:00:41 +01:00 |
Adria Navarro
|
82b4af1436
|
Update handlebars-helpers package
|
2024-01-30 17:09:41 +01:00 |
Adria Navarro
|
43e536e7a6
|
Test only js helpers
|
2024-01-30 16:52:25 +01:00 |
Adria Navarro
|
f5157c4184
|
Fix other tests
|
2024-01-30 15:54:00 +01:00 |
Adria Navarro
|
f94e1e105a
|
Renames
|
2024-01-30 15:49:48 +01:00 |
Adria Navarro
|
710083d9fc
|
Use require.resolve to get the manifest on generation
|
2024-01-30 15:49:48 +01:00 |
Adria Navarro
|
061d1589af
|
Run js only for non-block
|
2024-01-30 10:21:33 +01:00 |
Adria Navarro
|
eac30aa787
|
isBlock to manifest
|
2024-01-30 10:20:52 +01:00 |
Adria Navarro
|
5b5228d8b0
|
Type params
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
db9e4513c2
|
Update manifest examples
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
db14f9afab
|
Inject {} at the end of the helper calls
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
a14ff42b14
|
Fix duration as js
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
5a1d73ff2f
|
Fix avg helper
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
ceb7fc04f4
|
Add js tests (not all working)
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
b36c8ad476
|
Move cleanups out of the actual test
|
2024-01-30 09:48:15 +01:00 |
Adria Navarro
|
48dfc09f22
|
Fix types
|
2024-01-24 18:11:28 +01:00 |
Adria Navarro
|
37033dd468
|
Handle js timeouts
|
2024-01-24 18:03:09 +01:00 |
Adria Navarro
|
73c977d6fb
|
Fix test
|
2024-01-24 17:40:13 +01:00 |
Sam Rose
|
cc363f1ba7
|
Fix server tests.
|
2024-01-24 16:18:56 +00:00 |
Sam Rose
|
fd635ed080
|
Merge master.
|
2024-01-24 15:31:00 +00:00 |
Adria Navarro
|
52fca8714d
|
More verbose test code
|
2024-01-23 19:40:31 +01:00 |
Adria Navarro
|
108508db7e
|
Fix tests
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
f193c276f6
|
Fix test
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
ea0e36b7a4
|
Don't explicitly exclude raw
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
99e5bc1a57
|
Refactor
|
2024-01-23 19:32:03 +01:00 |
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
|
142b404a91
|
Array instead of string
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
6abaf589ff
|
Fix duration generation
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
dc0bef20d8
|
Fix sum
|
2024-01-23 19:32:03 +01:00 |
Adria Navarro
|
537eae7b98
|
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
|
76780d1c86
|
Remove raw from manifest
|
2024-01-23 17:41:07 +01:00 |
Adria Navarro
|
663e6d9bf8
|
Merge branch 'master' into isolated-vm
|
2024-01-19 13:11:34 +01:00 |
Adria Navarro
|
915482a915
|
Configure cypto
|
2024-01-19 10:59:48 +01:00 |
Adria Navarro
|
5bc5f71549
|
Fix uuid
|
2024-01-18 15:39:39 +01:00 |
Adria Navarro
|
272e85f696
|
Add test
|
2024-01-18 15:35:58 +01:00 |
Adria Navarro
|
262dbc7c2b
|
Inject url
|
2024-01-18 13:49:47 +01:00 |
Adria Navarro
|
60574196b9
|
Add date functions
|
2024-01-17 14:50:26 +01:00 |
Adria Navarro
|
ef08c699d6
|
Add comparison functions
|
2024-01-17 14:43:46 +01:00 |
Adria Navarro
|
9949b08879
|
Add regex functions
|
2024-01-17 14:25:17 +01:00 |
Adria Navarro
|
a2082e94d3
|
Add object functions
|
2024-01-17 13:47:56 +01:00 |
Adria Navarro
|
b7647797b3
|
Add string functions
|
2024-01-17 13:30:58 +01:00 |
Adria Navarro
|
51f21456ec
|
Add array functions
|
2024-01-17 12:53:47 +01:00 |
Adria Navarro
|
adc98f7cac
|
Add number functions
|
2024-01-17 12:32:41 +01:00 |
Adria Navarro
|
2c9165d1be
|
Create a better bundle (math only)
|
2024-01-16 17:32:23 +01:00 |
Adria Navarro
|
17339b7b50
|
Exclude handlebars from the esbuild bundle
|
2024-01-16 16:31:19 +01:00 |
Adria Navarro
|
eb69b36aac
|
Use esbuild for jsrunner
|
2024-01-15 12:30:47 +01:00 |
Adria Navarro
|
27bb73f77a
|
Compile stringtemplates via esbuild
|
2024-01-15 11:01:13 +01:00 |
Adria Navarro
|
52b97336ee
|
lodash.clonedeep
|
2024-01-10 14:56:29 +01:00 |
Adria Navarro
|
a4cc424b69
|
Update @budibase/handlebars-helpers package
|
2024-01-10 14:38:58 +01:00 |
Sam Rose
|
f61346a0c5
|
Cache the helpers list for executing JS.
|
2023-12-19 17:46:15 +00:00 |
Sam Rose
|
1c34147357
|
Add tests for per-request execution timeout.
|
2023-12-18 17:01:56 +00:00 |
Sam Rose
|
bd324f3225
|
Implement per-request JS execution limiting.
|
2023-12-18 15:29:56 +00:00 |
mike12345567
|
f6841308d2
|
Merge branch 'feature/uuid-helper' of github.com:Budibase/budibase into feature/uuid-helper
|
2023-12-18 11:46:21 +00:00 |
mike12345567
|
c374ac6973
|
Removing test statement.
|
2023-12-18 11:45:47 +00: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 |
Sam Rose
|
92a230667f
|
Tell a user if their JS failed due to a timeout.
|
2023-12-15 16:27:20 +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
|
e7bcabf1d2
|
Merge branch 'master' into BUDI-7580/account_portal_submodule
|
2023-11-27 20:48:32 +01:00 |
Adria Navarro
|
db2c20e3ae
|
eslint import/newline-after-import
|
2023-11-20 21:52:29 +01:00 |
Adria Navarro
|
742eb4ff46
|
Lint fix
|
2023-11-20 15:36:55 +01:00 |
Adria Navarro
|
051551f876
|
Unify .eslintrc
|
2023-11-17 12:51:22 +01:00 |
Adria Navarro
|
a945b52f9a
|
Rename dev:builder to dev (unifying account-portal)
|
2023-11-07 19:15:40 +01:00 |
Adria Navarro
|
004e0a5f11
|
Update jest
|
2023-11-06 14:24:33 +01:00 |
Adria Navarro
|
3851a67915
|
Unify jsonwebtoken and lodash packages
|
2023-10-19 11:00:53 +02:00 |
Adria Navarro
|
0f862088d2
|
Unify lodash
|
2023-10-18 10:49:15 +02:00 |
mike12345567
|
7090819752
|
Updating version of VM2 to ^3.9.19 - due to possible RCE issue with Promises (we do not allow async code, but there still could be a risk).
|
2023-10-11 18:43:25 +01:00 |
Adria Navarro
|
220adea647
|
Clean dependencies from string-templates
|
2023-09-26 12:53:09 +02:00 |
Adria Navarro
|
02ab0a134e
|
Update ts to 5.x
|
2023-09-22 18:17:19 +02:00 |
Andrew Kingston
|
bd5c6056d8
|
Update dayjs dependencies to same version and fix import syntax in DateCell
|
2023-09-15 08:04:17 +01:00 |
Adria Navarro
|
1ef8d118cb
|
Remove unnecessary package.json/gitHead
|
2023-08-02 12:04:54 +02:00 |
Adria Navarro
|
194e413026
|
Undo changes
|
2023-08-02 00:56:43 +02:00 |
Adria Navarro
|
4794cfce99
|
Unify rollup
|
2023-08-01 19:24:09 +02:00 |
Adria Navarro
|
367f5c2963
|
Update usage
|
2023-08-01 19:24:01 +02:00 |
Adria Navarro
|
9ab78809eb
|
Clean package
|
2023-08-01 19:24:01 +02:00 |
Adria Navarro
|
ddec3e9a9f
|
Update plugins
|
2023-08-01 19:24:01 +02:00 |
Adria Navarro
|
d310751fd3
|
Update rollup/plugin-commonjs
|
2023-08-01 19:23:55 +02:00 |
Adria Navarro
|
c715e7aa3f
|
Unify rollup/plugin-commonjs
|
2023-08-01 19:23:55 +02:00 |
Adria Navarro
|
6d5eef4e42
|
Update
|
2023-07-28 17:11:48 +02:00 |