Commit Graph

1299 Commits

Author SHA1 Message Date
j433866 85809efcc0 Adjust number of tabs shown when resizing window.
Improve refresh tabs logic.
Fix input not being shown when loaded from a URL
2019-05-29 13:25:12 +01:00
j433866 722edcc274 Display file size in header 2019-05-29 11:46:21 +01:00
j433866 919c3fd999 Fix display file slice displaying raw instead of presented data.
Fix errored filter when searching for tabs.
2019-05-28 15:01:49 +01:00
j433866 6c711ec211 Add and remove chefworkers when adding or removing inputs.
This increases the responsiveness of baking as it means we don't have to...
spin up workers when bake is clicked
2019-05-28 14:11:05 +01:00
j433866 7528065d4d Fix stepping again.
Add new getInput function to inputWorker
2019-05-28 11:59:57 +01:00
j433866 0bced35931 Fix stepping again 2019-05-23 15:31:18 +01:00
j433866 4dcd60adc0 Improve handling of displaying large outputs.
Bring getDishStr and getDishBuffer back.
2019-05-23 15:29:58 +01:00
j433866 e95f92cdeb Bake inputs after clearing IO 2019-05-21 11:24:44 +01:00
j433866 cb86cb1882 Change baking to not send all inputs at once.
Add input debouncer.
Remove old HTML comments and unnecessary CSS
(Step is currently a bit broken!)
2019-05-20 16:53:56 +01:00
j433866 c50f5769db Add key bindings for tabs 2019-05-16 15:02:32 +01:00
j433866 6df9b649a1 Terminate zipworker when clearing all io 2019-05-16 13:04:04 +01:00
j433866 6f5018d45e Don't change option value if new value is blank 2019-05-16 11:59:25 +01:00
j433866 a750b0f08a Use transferable objects to send arraybuffers back to the workerwaiter 2019-05-16 10:42:27 +01:00
j433866 0e850b2a85 Fix stepping not working.
Use transferable object for sending arraybuffers to workers
2019-05-16 10:42:07 +01:00
j433866 d326cad611 Remove unused parameter 2019-05-16 09:38:34 +01:00
j433866 2ddb9b8f7c Remove unecessary progress item 2019-05-16 09:33:28 +01:00
j433866 6237db9ba6 Use detectFileType to autodetect file extensions in zip 2019-05-16 09:27:46 +01:00
j433866 0cff7bdd04 Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
2019-05-15 16:24:49 +01:00
j433866 413e80ed3e Add clicking on output search result 2019-05-15 16:03:18 +01:00
j433866 5d52f4a760 Add searching for output tabs.
Remove all existing chefworkers before starting a bake.
Clear breakpoint when starting a bake
2019-05-15 09:37:07 +01:00
j433866 0855dc617f Add comments to inputWorker.
Slightly improve logic for getNearbyNums
2019-05-14 16:13:36 +01:00
j433866 04587a8a47 Merge branch 'multiple-input-files' of github.com:j433866/CyberChef into multiple-input-files 2019-05-14 11:45:22 +01:00
j433866 392b96dc34 Commenting 2019-05-14 11:45:13 +01:00
j433866 84cc3d16ed Fix close tab buttons not working in old firefox. 2019-05-10 16:54:28 +01:00
j433866 e34d521dcc Improve UI for searching for input tabs 2019-05-10 13:48:03 +01:00
j433866 2c02900edf Improve handling of errors.
Add parameter to some update functions for whether or not to set the output
2019-05-10 13:47:48 +01:00
j433866 f5442c307a Only set the input of the active input if the progress has changed.
Autobake when the input loads instead of when all load.
2019-05-10 13:45:27 +01:00
j433866 802879ced2
Merge pull request #2 from gchq/master
Bring branch up to date with gchq/master
2019-05-10 09:09:58 +01:00
j433866 cbcc2aa731 Fix regex to handle multiple escaped backslashes 2019-05-09 10:04:06 +01:00
j433866 aff0416405 Remove some comments 2019-05-09 09:07:28 +01:00
j433866 6d9a14feed Display when an input errors on load.
Autobake when all inputs have loaded.
Improve load experience.
2019-05-08 16:44:11 +01:00
j433866 3c2e5c143a Set bake button to "Loading..." when an autobake is started 2019-05-08 16:42:19 +01:00
j433866 cbf1d2feb0 Add specific handling for DOMExceptions 2019-05-08 16:42:06 +01:00
j433866 65bb7f32e9 Fix refreshTabs not always hiding the tab bar 2019-05-08 14:58:09 +01:00
j433866 3b8c365f7e Remove unused zip dependency 2019-05-08 14:48:37 +01:00
j433866 43747accd5 Change to add input tabs as inputs are added, instead of at the end.
Change outputWaiter to use outputExists instead of getOutput
2019-05-08 14:47:05 +01:00
j433866 50f9bbeac3 Make set() asynchronous 2019-05-08 13:46:29 +01:00
j433866 3cffd9334f Fix file slice not always being displayed 2019-05-08 12:54:55 +01:00
j433866 f72749304d Improve handling of errors in operations.
Remove unused dependencies.
2019-05-08 11:57:22 +01:00
j433866 689d08416b Don't create more ChefWorkers than we need. 2019-05-08 10:53:04 +01:00
j433866 28182713bf Fix showing slice of output not working.
Fix output status message not being reset.
Hide magic button when baking.
2019-05-08 10:10:14 +01:00
j433866 8190c7aac7 Add maximise output button 2019-05-07 15:36:42 +01:00
j433866 6268f091b8 Bring back moving the output into the input.
Change wording for download as zip button
2019-05-07 15:34:36 +01:00
j433866 cbfde7ddb1 Don't highlight if the input and output tab numbers are different 2019-05-07 14:33:38 +01:00
j433866 35d6c7d79e Bring highlighting back.
Fix backgroundMagic using output result instead of dish value
2019-05-07 14:20:18 +01:00
j433866 f1a2cf7efc Add cancellation of zipping 2019-05-07 12:00:53 +01:00
j433866 ec4eb22a72 Don't include loading inputs in complete percentage 2019-05-07 12:00:37 +01:00
j433866 97c218cb4c Fix where zipworker was using output presented result.
Now uses the raw dish value
2019-05-07 12:00:14 +01:00
j433866 07021b8dd5 Add new worker for zipping outputs.
Use bakeId to track which outputs are stale.
2019-05-07 09:26:55 +01:00
j433866 df20196201 Fix magic not always working 2019-05-03 11:49:14 +01:00
j433866 e9d60f73f4 Fix some more autobake weirdness.
Input passed in the URL is now set on load.
Added a new progress bar.
2019-05-02 15:44:31 +01:00
j433866 8e9717906f Improve autobake further to behave more like it did before.
Improve generation of state URI.
2019-05-02 13:54:15 +01:00
j433866 82183bf204 Improve queueing of inputs to avoid baking the same input twice.
Fix generation of input URL.
Fix worker log levels not being set correctly.
2019-05-02 11:29:54 +01:00
j433866 b2406b0465 Run set() when a bake is cancelled.
This will make sure the output shows the most recently baked data,
and also shows the stale indicator if needed
2019-05-02 09:20:28 +01:00
j433866 ff9c68db56 Update handling of bake errors.
Add preview thumbnail for image input.
2019-05-01 17:08:36 +01:00
j433866 1cedc94652 Fix status messages for baking 2019-05-01 15:19:01 +01:00
j433866 02bda3250b Fix magic button.
Fix download all files not working
2019-05-01 14:46:05 +01:00
j433866 f6f60e8203 Update LoaderWorker to not use messagechannels 2019-05-01 14:13:40 +01:00
j433866 55beb433f3 Go back to sending messages via the main thread.
A MessageChannel is faster on Chrome, but causes issues in Firefox.
Bake button now says "Loading..." when the inputWorker is gathering inputs for baking
2019-05-01 14:12:36 +01:00
j433866 2fff18cb61 Don't create a new loaderWorker until we need one.
This was causing issues on single core systems after I got rid of the active status as we had already reached the max number of workers.
Instead, we just create a loaderWorker when needed as loaderWorkers are small enough!
2019-04-30 15:23:41 +01:00
j433866 6d8bf3a08a Enable filter buttons in manager 2019-04-30 14:45:34 +01:00
j433866 13ee79a06b Add searching for inputs 2019-04-30 14:15:05 +01:00
j433866 b4208ede3b Add clear io button.
Fix some weirdness with removing tabs
2019-04-30 13:34:00 +01:00
j433866 a96cb3f99f Add clear all io button. 2019-04-30 13:18:22 +01:00
j433866 1f39a922d1 Reset bake button background when state changed 2019-04-30 12:58:29 +01:00
j433866 145fba5949 Input pasting now works 2019-04-30 11:48:01 +01:00
j433866 8cb86c364d Increase file limit 2019-04-26 15:19:17 +01:00
j433866 6d98014ad2 New max limit for files 2019-04-26 15:16:15 +01:00
j433866 1cf83c2485 Change baking to send all inputs individually.
Re-enable go to tab button.
Active tab is now autobaked on load completion.
Handle (ish) loaderWorker errors.
Improve load performance.
2019-04-26 15:15:44 +01:00
j433866 f638bd4ded If sending arraybuffer back, use a transferable object 2019-04-26 14:01:49 +01:00
j433866 7b169fb798 Add css for search box 2019-04-25 16:33:02 +01:00
j433866 406cbb0f41 Move input logic into a new worker (InputWorker)
Change OutputWaiter to use dict of outputs instead of list
LoaderWorker communicates with InputWorker using a messagechannel
2019-04-25 16:32:48 +01:00
j433866 6d8daac5ca Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-04-23 09:02:04 +01:00
j433866 82186c8592 Add search box for input tabs 2019-04-23 09:02:00 +01:00
j433866 f099a352b3 Change get input function calls 2019-04-23 09:01:25 +01:00
n1474335 01f0625d6a Fixed XSS in 'Text Encoding Brute Force. Closes #539 2019-04-14 22:00:17 +01:00
n1474335 8f450501cc Downloadble version is now a .zip file instead of a single .htm file 2019-04-12 18:54:31 +01:00
n1474335 08c5dbce09 Merge branch 'init-dish' of https://github.com/d98762625/CyberChef into d98762625-init-dish 2019-04-12 16:24:23 +01:00
d98762625 cdc15c0f20 change empty Dish initialisation to use ArrayBuffer 2019-04-08 17:58:46 +01:00
j433866 bd3777f9de Change maximum file size in readme 2019-04-05 10:51:39 +01:00
j433866 9690ccd8a0 Fix being unable to go to tab 1 2019-04-04 14:42:21 +01:00
j433866 0804647441 Load in the right order 2019-04-04 13:14:45 +01:00
j433866 76da287cca Bake in the right order 2019-04-04 13:13:38 +01:00
j433866 8739dd97d6 Change srcElement to target
(srcElement is non-standard)
2019-04-04 13:13:21 +01:00
j433866 de21f14fd8 Move the tab buttons onto the tab bar 2019-04-04 10:57:01 +01:00
j433866 b90cca77a9 Fix more tab weirdness.
Move tab buttons onto tab bar.
Calculate size of maxTabs automatically on page load.
Display total execution time when a bake finishes.
2019-04-04 10:15:13 +01:00
j433866 1eadc08098 Fix some weirdness with tabs.
Adjust worker logic to avoid closing and reopening a worker as often
2019-04-03 16:05:10 +01:00
j433866 9df26b8c84 Output tabs now (mostly) work.
Add downloading files as an archive (needs work)
Add option for keeping the tabs in sync
2019-04-03 12:00:47 +01:00
n1474335 525cb0689f Added 'Protobuf Decode', 'VarInt Decode' and 'VarInt Encode' operations 2019-04-02 17:27:14 +01:00
j433866 e0c9aba25e Improve WorkerWaiter and OutputWaiter.
- Will run and display outputs in the output area as they're baked
- Creates output tabs
- Can change output tabs (only the first 4 at the moment)
2019-04-02 16:58:36 +01:00
j433866 2cb33bfec4 Bring up to date with master 2019-04-02 16:54:34 +01:00
j433866 2aad7647ef Add tab buttons (don't work yet).
Change some of the HTML around the tab bar
2019-04-02 16:53:15 +01:00
j433866 6430129b2a Remove some inputNum stuff for now 2019-04-02 16:52:43 +01:00
n1474335 7d03be3a77 Dish._translate now uses ArrayBuffer as its intermediate type instead of byteArray. This should speed up operations on large files. 2019-04-02 15:34:30 +01:00
j433866 cd094d1475 Change "input-tabs" id to be for the actual ul element.
Automatically disable auto-bake if more than 20 files are input.
2019-04-01 16:15:09 +01:00
j433866 7bf8467637 Add maximum limit to the thumbnail image size 2019-04-01 08:53:52 +01:00
n1474335 27677adbe8 Fixed option default 2019-04-01 00:29:10 +01:00
n1474335 3dc5b5c31a Changed input type for BLAKE hashing ops to ArrayBuffer and tidied 2019-03-31 22:40:54 +01:00
n1474335 342e11f83e Merge branch 'blake2' of https://github.com/h345983745/CyberChef into h345983745-blake2 2019-03-31 22:25:40 +01:00
n1474335 1640859542 Tidied up charts operations 2019-03-31 21:40:54 +01:00