Commit Graph

86 Commits

Author SHA1 Message Date
d98762625 a1cf20bd67 gitignore fix 2019-07-05 10:24:29 +01:00
d98762625 d2ff2ec9c6 improve comments and re-add some excluded operations 2019-07-05 10:22:14 +01:00
d98762625 1c24c05647 swap ENVIRONMENT_IS_* functions for Utils named exports 2019-07-05 10:17:52 +01:00
d98762625 6084759907 Merge branch 'use-node-lts' into node-lib 2019-05-03 13:42:45 +01:00
d98762625 d3e6200385 remove babel-polyfill and update plugins to work with uplifted version 2019-04-05 17:15:21 +01:00
d98762625 af504891e4 incorporate ArrayBuffer base Dish type. Add global file shim to node index. Fix Buffer -> ArrayBuffer transformation 2019-04-05 16:51:14 +01:00
d98762625 e4ee0fc397 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-04-04 15:21:52 +01:00
d98762625 a7874cc351 improve naming in API 2019-04-04 11:28:46 +01:00
n1474335 2385f1cbf8 Updated dependencies 2019-03-30 14:56:43 +00:00
d98762625 638093d40e correct translation from node Buffer to byte array 2019-03-22 09:42:25 +00:00
d98762625 b98cab7d62 pass full dish into NodeDish Apply to allow apply from ArrayBuffer type to work 2019-03-20 17:46:01 +00:00
d98762625 9e2aac0696 update tests file name and linting 2019-03-20 16:34:20 +00:00
d98762625 b48a55bd74 add all options to argOptions. Add some extra test case for Zip 2019-03-20 16:27:35 +00:00
d98762625 aad1bc898e update file shim to use detectFileType. 2019-03-20 12:38:49 +00:00
d98762625 8eed2232ee add immutable presentAs method to Dish for node REPL display. add test for exact match help 2019-03-20 11:57:47 +00:00
d98762625 8f5f3e56cb prefer exact matches in help function 2019-03-20 10:23:03 +00:00
d98762625 b8cb7e9ba8 add tests for File and test based operations. Only unzip to go 2019-03-14 17:54:06 +00:00
d98762625 2019ae43d7 File shim now translates correctly 2019-03-14 16:33:09 +00:00
d98762625 d080c5dd14 debugging File shim 2019-03-14 08:27:06 +00:00
d98762625 14d591caa1 more debugging 2019-03-11 09:47:58 +00:00
d98762625 6d219ade2d remove legacy async api from NodeRecipe 2019-03-01 16:56:14 +00:00
d98762625 573a292e16 WIP dynamically define async functions in Dish, only if needed 2019-02-15 15:40:29 +00:00
d98762625 04b7f2fa8c WIP HAD to move NodeDish out - NONE of it is async! 2019-02-15 15:20:05 +00:00
d98762625 7522e5de33 remove unnecessary operationConfig manipulation 2019-01-23 09:55:29 +00:00
d98762625 83fa50bf13 linting 2018-12-21 10:24:20 +00:00
d98762625 a010bba047 add test and change name of property to argOptions 2018-12-21 09:46:30 +00:00
d98762625 19366e3624 arg array options to wrapped func 2018-12-07 15:46:05 +00:00
d98762625 fa87fc8325 replace operations on Dish with apply 2018-10-12 11:44:19 +01:00
d98762625 48f3a3b18f Do not mangle names on minification for Node prod build - property names are used for search in bake 2018-10-05 18:24:06 +01:00
d98762625 25e0585742 Improve use of files as input. Add dish to repl 2018-10-05 18:06:15 +01:00
d98762625 431f1d4be0 housekeeping & add repl command to package 2018-09-27 17:51:44 +01:00
d98762625 cc840c050b Add header to repl. Use uppercase Dish in chef export. Fix SyncDish constructor call 2018-09-21 12:24:34 +01:00
d98762625 e19d3d0d06 simplify repl-index - no longer needs its own config script. Just needs grunt node. 2018-09-04 10:08:05 +01:00
d98762625 749a587eb2 fix tests after merge; remove detectFileType as it behaves erratically 2018-09-04 09:55:41 +01:00
d98762625 5047619e54 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2018-09-04 09:42:05 +01:00
d98762625 63a23e4dcc make chef.help emulate search function in UI. Didnt extract search logic from web as it is fairly entwined. 2018-09-04 09:34:55 +01:00
d98762625 3466f4e452 add help, bake to top level export so theyre in the expected place in ES5 chef 2018-08-31 15:17:33 +01:00
d98762625 c6a292bccb rename node Recipe > NodeRecipe to avoid naming confusion 2018-08-31 14:52:14 +01:00
d98762625 96d5930f05 Throw ExcludedOperationError when excluded operation is called from API 2018-08-31 14:43:14 +01:00
d98762625 7c9ebafd00 toggleString args now additionally accept just input value, taking first option as default. 2018-08-31 13:45:12 +01:00
d98762625 f6c4b5073c Expose Dish (SyncDish) in API and make it composable. 2018-08-31 13:09:22 +01:00
d98762625 f73452e01f making SyncDish composable! we want to exclude certain ops from top level api export (chef, etc) and make an Order (or something) class to start the chain off maybe? 2018-08-31 13:09:22 +01:00
d98762625 55f7cac526 Remove Buffer from Dish. Convert into ByteArray in api and then pass in as ArrayBuffer. Add some PNG files to tests 2018-08-31 13:08:55 +01:00
d98762625 20bb104006 use utils.inspect.custom Rready for node v12 2018-08-19 22:34:50 +01:00
d98762625 223e2e0b73 add Buffer translation to Dish. Cannot work in SyncDish as typeEnums are static. Seeing as they will never be hit in the broswer, shouldnt be an issue 2018-08-17 17:16:24 +01:00
d98762625 fbcb626fd0 add test timer. Remove operations related to esprima 2018-08-16 18:14:02 +01:00
d98762625 7557f43f77 Wrap async ops in an async wrapper 2018-08-16 17:14:28 +01:00
d98762625 a6c0db47ab Finished first run through of tests 2018-08-16 09:58:27 +01:00
d98762625 1f634ed341 add more tests 2018-08-14 17:46:15 +01:00
d98762625 50c916216c adding more tests 2018-08-14 12:03:10 +01:00