Commit Graph

106 Commits

Author SHA1 Message Date
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
d98762625 f100356078 started on full op test suite 2018-08-13 17:57:53 +01:00
d98762625 a2f4e34866 need to inclide src/node/index for `module` use 2018-08-11 22:22:07 +01:00
d98762625 91eb692d99 Merge branch 'bake' into node-lib 2018-07-20 14:02:21 +01:00
d98762625 9abaadf1b6 Build chef.bake. 2018-07-20 13:55:11 +01:00
d98762625 2480dca473 Make help function use OperationConfig.json file
Tidy up Gruntfile execs
2018-07-06 11:42:56 +01:00
d98762625 fa8736b1a4 Make help function use OperationConfig.json file
Tidy up Gruntfile execs
2018-07-06 11:34:06 +01:00
d98762625 a4d7065e42 add operation input case to chef.search 2018-06-25 17:58:57 +01:00
d98762625 2ff7b5902c fix args transformation for ops with editableOptions 2018-06-25 11:38:05 +01:00
d98762625 e04f66f599 export help function on chef object 2018-06-19 17:10:04 +01:00
d98762625 27ee7f8592 exclude File operations until File API can be mimicked 2018-06-19 09:12:55 +01:00
d98762625 f95f01b895 Add ability to exclude operations from Node API. Exclude flow control ops 2018-06-19 09:08:45 +01:00
d98762625 471009bc17 remove example and remove cap issues for SyncDish 2018-06-18 13:15:29 +01:00
d98762625 c90f30a7a1 update editableOptions wrapper 2018-06-18 11:17:17 +01:00
d98762625 a5d58071cd WIP: start testing ops with various arg types. AESENCRYPT result encoding error 2018-06-15 11:33:13 +01:00
d98762625 ec00413a4b add example usage file 2018-06-06 17:57:16 +01:00
d98762625 45d2fbc5fc create SyncDish and wrap results in it. 2018-06-06 16:37:12 +01:00
d98762625 0a0240e520 WIP: generate top level node exports - manually mock lib files 2018-05-25 11:26:28 +01:00
d98762625 0a0316a000 Make optional args in operation call use named properties rather than array 2018-05-11 19:25:14 +01:00
d98762625 7e8f78acaa dont decapitalise all-caps operation names 2018-05-11 17:33:14 +01:00
d98762625 615cb561e4 add some chef.translateTo tests 2018-05-11 11:58:09 +01:00
d98762625 c96a1df8e1 add namespaces to docas 2018-05-11 11:09:04 +01:00
d98762625 5efc3f15f2 linting 2018-05-03 13:58:15 +01:00
d98762625 5fb50a1759 OperationErrors now bubble up to the top of the API.
Added test functionality for node api
refactor TestRegister into class
2018-05-03 13:53:40 +01:00
d98762625 c238862efe in/out typing working. Added translateTo function 2018-04-27 16:45:02 +01:00
d98762625 b8b98358d0 function tidy, add comments 2018-04-20 12:23:20 +01:00
d98762625 fca4ed7013 simplified API 2018-04-20 10:55:17 +01:00
d98762625 59877b5138 Exporing options with API. 2018-04-13 12:14:40 +01:00
n1474335 9b4fc3d3aa Converted the core to ES modules 2018-03-26 23:14:23 +01:00
n1474335 cd5265fad4 Added 'Disassemble x86' operation 2017-10-04 22:35:44 +01:00
n1474335 a61df0832f Updated dependencies and linted 2017-07-24 13:49:16 +00:00
Thomas Grainger b33f73ac9a
autofix no-var 2017-04-28 16:45:00 +01:00
n1474335 706423462d 'From Base' operation now supports numbers with fractional parts. 2017-03-31 16:00:23 +00:00
n1474335 d37bc4ab08 Fixed node imports. 2017-03-25 13:56:46 +00:00
n1474335 c75ebcf001 Fixed tests and brought test module naming in line with conventions. 2017-03-25 13:32:35 +00:00
n1474335 131b3a83c1 Converted all modules from CommonJS to ES6 2017-03-23 17:52:20 +00:00
n1474335 0f2a5014be Restructured src files into a more logical hierarchy 2017-03-23 00:33:40 +00:00