Skip to content

Releases: justinhartman/Webserver-Error-Pages

Version 2.1.0 Release

03 Jun 15:05
2f9e1b2
Compare
Choose a tag to compare

Tagged version 2.1.0 release which improves the overall functionality and fixes various bugs in old dependencies.

馃殌 Version 2.1.0 (03/06/2020)

  • 馃啎 #new
    • Added GitHub Sponsors.
  • 馃憤 #enhancement
    • Upgraded all Node packages in package.json.
    • Updated the install instructions in README.md.
    • Regenerated html, css and fonts in /dist/ folder.
    • Reformatted the minify scripts contained in /scripts/ folder.
  • 馃悰 #bugfix
    • Fixed Dependabot alerts with package.json upgrades.
    • Removed comments in minifying with new setting in postcss.config.js.
    • Issue with postcss not running.
    • Formatting in README.md.

In this release, you will find the dist.zip file attached. Download this file if you are just looking for the compiled and minified error pages and aren't looking to build your own. This file contains the apache, nginx, iis, and other html error pages and is a drop-in replacement for your webserver.

Version 2.0.2 Release

15 May 15:23
Compare
Choose a tag to compare

Version 2.0.2 (15/05/2018)

  • #enhancement
    • Renamed the Git repo from Apache-Error-Pages to Webserver-Error-Pages as there is now support for additional webservers.

Version 2.0.1 Release

15 May 15:00
Compare
Choose a tag to compare

Version 2.0.1 (15/05/2018)

  • #new
    • Moved /assets/ and /webfonts/ to new /src/static/ folder for better organisation.
    • Cleaned up the /src/ folder by moving all the Apache HTML templates to /src/apache/ and the minify script now builds the distribution files out of this new folder.
  • #enhancement
    • Created proper functions for all the minfy scripts:
      • src/scripts/minify
      • src/scripts/minify_iis
      • src/scripts/minify_nginx
      • src/scripts/minify_other
    • Changed src/scripts/minify script to now copy everything in the /src/static/ folder so that it acts like the other scripts when installing the assets and fonts.

Version 2.0.0 Release

14 May 23:30
Compare
Choose a tag to compare

Version 2.0.0 (15/05/2018)

  • #new
    • Added link to Font Awesome License.
    • New templates:
      • 409.html
      • 410.html
      • 412.html
      • 416.html
      • 417.html
      • 418.html
      • 421.html
      • 422.html
      • 423.html
      • 424.html
      • 426.html
      • 428.html
      • 451.html
      • 506.html
      • 507.html
      • 508.html
      • 510.html
      • 511.html
      • nginx/444.html
      • nginx/494.html
      • nginx/495.html
      • nginx/496.html
      • nginx/497.html
      • nginx/499.html
      • ms-iis/440.html
      • ms-iis/449.html
      • ms-iis/451.html
    • All template files missing have now been created. There are no outstanding error codes to add; the list is now exhaustive.
    • Additional Server Support; now supporting Nginx, IIS and others.
    • Added new minification scripts to minify additional templates for:
      • Nginx: ./scripts/minify_nginx
      • MS IIS: ./scripts/minify_iis
      • Other: ./scripts/minify_other
  • #enhancement
    • Restructured the /dist/ folder and cleaned it up so it now only contains sub-folders for the respective webservers.
    • Apache templates files have moved from /dist/ to /dist/apache/.

Version 1.1.0 Release

14 May 21:03
Compare
Choose a tag to compare

Version 1.1.0 (14/05/2018)

  • #new
    • New templates have been created as follows:
      • 520.html
      • 521.html
      • 533.html
    • Added v1.0.0 of the package.json file which contains the dependencies for executing the minify script. You can run $ npm install from the project root folder and you should have all the Node modules to run $ ./scripts/minify.
    • Added postcss.config.js to load the cssnano plugin.
  • #enhancement
    • Optimised the minify script to now compress the JavaScript contained in the file along with any CSS inputs.
    • Optimised the CSS minification by using postcss.config.js to load the cssnano plugin which now reduces all CSS to one line of code.
    • New, minified versions for the CSS and HTML files have been created. The HTML templates are now one line of code as is the same with the CSS templates. File size has been reduced as follows:
      • CSS files: from 61 KB to 44 KB (27.87% file size reduction).
      • HTML files: from 46.3 KB to 24.1 KB (47.95% file size reduction).
    • Updated README.md to include all available HTTP error codes when modifying httpd.conf.
  • #bugfix
    • Removed the commit of html-minifier to the project. This would prevent users from cloning the repo in order to run the minification script.

Version 1.0.1 Release

14 May 16:23
Compare
Choose a tag to compare

Version 1.0.1 (14/05/2018)

  • #new
    • Added CHANGELOG.md, CODE_OF_CONDUCT.md and CONTRIBUTING.md files.
  • #enhancement
    • Checked in Visual Studio Code workspace file for users of VS Code.
    • Install instructions now included in README.md file.
    • Updated README.md file with minifying setup included.
  • #bugfix
    • Set absolute path to css folder (/ErrorPages/css/) to ensure that the resources load when running on a production server.
    • Rebuilt all /dist/ files with the new changes.

Version 1.0.0 Release

13 May 23:28
Compare
Choose a tag to compare

Grab everything you need from the /dist/ folder. All other files support the creation of the files in this folder. Each of the following has taken place:

  • HTML was minified but JavaScript is still unminified.
  • CSS has been minified although I am unclear what the advantage has been. (?)

If you're insterested, there is a script that does the minification from source. This file is contained in src/scripts/minify. Simply run that file and it will:

  • Delete the /dist/css/ folder.
  • Delete all the error pages (rm -f ../dist/*.html).
  • Recreate the /dist/css/ folder.
  • Minify the HTML for all files in the /src/ directory.
  • Minify the CSS for all the files in /src/css/ directory.
  • Output the HTML and CSS to the /dist/ folder.