From e2c7d8c6785b7f45378a64e14de29c583707ff7d Mon Sep 17 00:00:00 2001 From: j433866 Date: Tue, 13 Aug 2019 16:03:52 +0100 Subject: [PATCH 01/10] Increase size limit for inlined fonts / icons --- webpack.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 46878282..1258a5c4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -103,11 +103,17 @@ module.exports = { "sass-loader", ] }, + /** + * The limit for these files has been increased to 60,000 (60KB) + * to ensure the material icons font is inlined. + * + * See: https://github.com/gchq/CyberChef/issues/612 + */ { test: /\.(ico|eot|ttf|woff|woff2)$/, loader: "url-loader", options: { - limit: 10000, + limit: 60000, name: "[hash].[ext]", outputPath: "assets" } From 59864e37811cc3dda1948c2b2e1247ddc6a23f10 Mon Sep 17 00:00:00 2001 From: j433866 Date: Tue, 13 Aug 2019 16:45:53 +0100 Subject: [PATCH 02/10] Fix Defang IP tests causing the tests to fail --- tests/operations/tests/DefangIP.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/operations/tests/DefangIP.mjs b/tests/operations/tests/DefangIP.mjs index 7c3ce1e8..60005c54 100644 --- a/tests/operations/tests/DefangIP.mjs +++ b/tests/operations/tests/DefangIP.mjs @@ -6,7 +6,7 @@ * @copyright Crown Copyright 2019 * @license Apache-2.0 */ -import TestRegister from "../TestRegister"; +import TestRegister from "../../lib/TestRegister.mjs"; TestRegister.addTests([ { @@ -15,7 +15,7 @@ TestRegister.addTests([ expectedOutput: "192[.]168[.]1[.]1", recipeConfig: [ { - op: "Defang IP", + op: "Defang IP Addresses", args: [], }, ], @@ -25,7 +25,7 @@ TestRegister.addTests([ expectedOutput: "2001[:]0db8[:]85a3[:]0000[:]0000[:]8a2e[:]0370[:]7343", recipeConfig: [ { - op: "Defang IP", + op: "Defang IP Addresses", args: [], }, ], @@ -35,7 +35,7 @@ TestRegister.addTests([ expectedOutput: "2001[:]db8[:]3c4d[:]15[:][:]1a2f[:]1a2b", recipeConfig: [ { - op: "Defang IP", + op: "Defang IP Addresses", args: [], }, ], From 1fb6bffe1c50ebebeefd5426ed5f4e7a9e15947f Mon Sep 17 00:00:00 2001 From: j433866 Date: Tue, 13 Aug 2019 16:46:17 +0100 Subject: [PATCH 03/10] 9.0.6 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e31acdd..b79260b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cyberchef", - "version": "9.0.5", + "version": "9.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index cece0e40..99819c8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cyberchef", - "version": "9.0.5", + "version": "9.0.6", "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.", "author": "n1474335 ", "homepage": "https://gchq.github.io/CyberChef", From ae1cd8ba3e52ab5bdfc5eaeb2f85e681b85a0301 Mon Sep 17 00:00:00 2001 From: j433866 Date: Thu, 15 Aug 2019 15:03:13 +0100 Subject: [PATCH 04/10] Add fade animation to modals --- src/web/html/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/web/html/index.html b/src/web/html/index.html index 7fcb7415..011742d3 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -382,7 +382,7 @@ -