Updated copyright declarations to a range up to the latest commit
This commit is contained in:
parent
d3fb8bd6e9
commit
1b870e559e
@ -86,10 +86,12 @@ module.exports = function (grunt) {
|
|||||||
|
|
||||||
|
|
||||||
// Project configuration
|
// Project configuration
|
||||||
const compileTime = grunt.template.today("UTC:dd/mm/yyyy HH:MM:ss") + " UTC",
|
const compileYear = grunt.template.today("UTC:yyyy"),
|
||||||
|
compileTime = grunt.template.today("UTC:dd/mm/yyyy HH:MM:ss") + " UTC",
|
||||||
pkg = grunt.file.readJSON("package.json"),
|
pkg = grunt.file.readJSON("package.json"),
|
||||||
webpackConfig = require("./webpack.config.js"),
|
webpackConfig = require("./webpack.config.js"),
|
||||||
BUILD_CONSTANTS = {
|
BUILD_CONSTANTS = {
|
||||||
|
COMPILE_YEAR: JSON.stringify(compileYear),
|
||||||
COMPILE_TIME: JSON.stringify(compileTime),
|
COMPILE_TIME: JSON.stringify(compileTime),
|
||||||
COMPILE_MSG: JSON.stringify(grunt.option("compile-msg") || grunt.option("msg") || ""),
|
COMPILE_MSG: JSON.stringify(grunt.option("compile-msg") || grunt.option("msg") || ""),
|
||||||
PKG_VERSION: JSON.stringify(pkg.version),
|
PKG_VERSION: JSON.stringify(pkg.version),
|
||||||
@ -125,6 +127,7 @@ module.exports = function (grunt) {
|
|||||||
filename: "index.html",
|
filename: "index.html",
|
||||||
template: "./src/web/html/index.html",
|
template: "./src/web/html/index.html",
|
||||||
chunks: ["main"],
|
chunks: ["main"],
|
||||||
|
compileYear: compileYear,
|
||||||
compileTime: compileTime,
|
compileTime: compileTime,
|
||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
minify: {
|
minify: {
|
||||||
@ -227,6 +230,7 @@ module.exports = function (grunt) {
|
|||||||
filename: "index.html",
|
filename: "index.html",
|
||||||
template: "./src/web/html/index.html",
|
template: "./src/web/html/index.html",
|
||||||
chunks: ["main"],
|
chunks: ["main"],
|
||||||
|
compileYear: compileYear,
|
||||||
compileTime: compileTime,
|
compileTime: compileTime,
|
||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
})
|
})
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<!-- htmlmin:ignore --><!--
|
<!-- htmlmin:ignore --><!--
|
||||||
CyberChef - The Cyber Swiss Army Knife
|
CyberChef - The Cyber Swiss Army Knife
|
||||||
|
|
||||||
@copyright Crown Copyright 2016
|
@copyright Crown Copyright 2016-<%= htmlWebpackPlugin.options.compileYear %>
|
||||||
@license Apache-2.0
|
@license Apache-2.0
|
||||||
|
|
||||||
Copyright 2016 Crown Copyright
|
Copyright 2016-<%= htmlWebpackPlugin.options.compileYear %> Crown Copyright
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>CyberChef</title>
|
<title>CyberChef</title>
|
||||||
|
|
||||||
<meta name="copyright" content="Crown Copyright 2016" />
|
<meta name="copyright" content="Crown Copyright 2016-<%= htmlWebpackPlugin.options.compileYear %>" />
|
||||||
<meta name="description" content="The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis" />
|
<meta name="description" content="The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis" />
|
||||||
<meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" />
|
<meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" />
|
||||||
|
|
||||||
@ -565,7 +565,7 @@
|
|||||||
Version <%= htmlWebpackPlugin.options.version %><br>
|
Version <%= htmlWebpackPlugin.options.version %><br>
|
||||||
Compile time: <%= htmlWebpackPlugin.options.compileTime %>
|
Compile time: <%= htmlWebpackPlugin.options.compileTime %>
|
||||||
</p>
|
</p>
|
||||||
<p>© Crown Copyright 2016.</p>
|
<p>© Crown Copyright 2016-<%= htmlWebpackPlugin.options.compileYear %>.</p>
|
||||||
<p>Released under the Apache Licence, Version 2.0.</p>
|
<p>Released under the Apache Licence, Version 2.0.</p>
|
||||||
<p><a href="https://gitter.im/gchq/CyberChef">
|
<p><a href="https://gitter.im/gchq/CyberChef">
|
||||||
<img src="<%- require('../static/images/gitter-badge.svg') %>">
|
<img src="<%- require('../static/images/gitter-badge.svg') %>">
|
||||||
@ -861,7 +861,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Build time: <%= htmlWebpackPlugin.options.compileTime %></li>
|
<li>Build time: <%= htmlWebpackPlugin.options.compileTime %></li>
|
||||||
<li>The changelog for this version can be viewed <a href="https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md">here</a></li>
|
<li>The changelog for this version can be viewed <a href="https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md">here</a></li>
|
||||||
<li>© Crown Copyright 2016</li>
|
<li>© Crown Copyright 2016-<%= htmlWebpackPlugin.options.compileYear %></li>
|
||||||
<li>Released under the Apache Licence, Version 2.0</li>
|
<li>Released under the Apache Licence, Version 2.0</li>
|
||||||
<li>SHA256 hash: DOWNLOAD_HASH_PLACEHOLDER</li>
|
<li>SHA256 hash: DOWNLOAD_HASH_PLACEHOLDER</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user