Skip to content

Commit 5578ade

Browse files
committed
Updated changes to enhance repo and fix bugs.
1 parent 96f7de5 commit 5578ade

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1513
-3112
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [justinhartman]
2+
custom: ['https://www.paypal.me/22digital']

CHANGELOG.md

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,42 @@
22

33
Below is a detailed change-log, along with specific tasks completed, for each version released to date for Apache Error Pages.
44

5-
## Version 2.0.2 (15/05/2018)
5+
## :rocket: Version 2.1.0 (03/06/2020)
66

7-
- [#enhancement](#enhancement)
7+
- [:new: #new](#new)
8+
- Added GitHub Sponsors.
9+
- [:+1: #enhancement](#enhancement)
10+
- Upgraded all Node packages in `package.json`.
11+
- Updated the install instructions in `README.md`.
12+
- Regenerated `html`, `css` and `fonts` in `/dist/` folder.
13+
- Reformatted the minify scripts contained in `/scripts/` folder.
14+
- [:bug: #bugfix](#bugfix)
15+
- Fixed Dependabot alerts with `package.json` upgrades.
16+
- Removed comments in minifying with new setting in `postcss.config.js`.
17+
- Issue with `postcss` not running.
18+
- Formatting in `README.md`.
19+
20+
## :rocket: Version 2.0.2 (15/05/2018)
21+
22+
- [:+1: #enhancement](#enhancement)
823
- Renamed the Git repo from `Apache-Error-Pages` to `Webserver-Error-Pages` as there is now support for additional webservers.
924

10-
## Version 2.0.1 (15/05/2018)
25+
## :rocket: Version 2.0.1 (15/05/2018)
1126

12-
- [#new](#new)
27+
- [:new: #new](#new)
1328
- Moved `/assets/` and `/webfonts/` to new `/src/static/` folder for better organisation.
1429
- 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.
15-
- [#enhancement](#enhancement)
30+
- [:+1: #enhancement](#enhancement)
1631
- Created proper functions for all the minfy scripts:
1732
- `src/scripts/minify`
1833
- `src/scripts/minify_iis`
1934
- `src/scripts/minify_nginx`
2035
- `src/scripts/minify_other`
2136
- 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.
2237

23-
## Version 2.0.0 (15/05/2018)
38+
## :rocket: Version 2.0.0 (15/05/2018)
2439

25-
- [#new](#new)
40+
- [:new: #new](#new)
2641
- Added link to Font Awesome License.
2742
- New templates:
2843
- `409.html`
@@ -58,49 +73,49 @@ Below is a detailed change-log, along with specific tasks completed, for each ve
5873
- Nginx: `./scripts/minify_nginx`
5974
- MS IIS: `./scripts/minify_iis`
6075
- Other: `./scripts/minify_other`
61-
- [#enhancement](#enhancement)
76+
- [:+1: #enhancement](#enhancement)
6277
- Restructured the `/dist/` folder and cleaned it up so it now only contains sub-folders for the respective webservers.
6378
- Apache templates files have moved from `/dist/` to `/dist/apache/`.
6479

65-
## Version 1.1.0 (14/05/2018)
80+
## :rocket: Version 1.1.0 (14/05/2018)
6681

67-
- [#new](#new)
82+
- [:new: #new](#new)
6883
- New templates have been created as follows:
6984
- 520.html
7085
- 521.html
7186
- 533.html
7287
- 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`.
7388
- Added `postcss.config.js` to load the `cssnano` plugin.
74-
- [#enhancement](#enhancement)
89+
- [:+1: #enhancement](#enhancement)
7590
- Optimised the `minify` script to now compress the JavaScript contained in the file along with any CSS inputs.
7691
- Optimised the CSS minification by using `postcss.config.js` to load the `cssnano` plugin which now reduces all CSS to one line of code.
7792
- 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:
7893
- CSS files: from `61 KB` to `44 KB` (`27.87%` file size reduction).
7994
- HTML files: from `46.3 KB` to `24.1 KB` (`47.95%` file size reduction).
8095
- Updated `README.md` to include all available HTTP error codes when modifying `httpd.conf`.
81-
- [#bugfix](#bugfix)
96+
- [:bug: #bugfix](#bugfix)
8297
- Removed the commit of `html-minifier` to the project. This would prevent users from cloning the repo in order to run the minification script.
8398

84-
## Version 1.0.1 (14/05/2018)
99+
## :rocket: Version 1.0.1 (14/05/2018)
85100

86-
- [#new](#new)
101+
- [:new: #new](#new)
87102
- Added `CHANGELOG.md`, `CODE_OF_CONDUCT.md` and `CONTRIBUTING.md` files.
88-
- [#enhancement](#enhancement)
103+
- [:+1: #enhancement](#enhancement)
89104
- Checked in Visual Studio Code workspace file for users of VS Code.
90105
- Install instructions now included in `README.md` file.
91106
- Updated `README.md` file with minifying setup included.
92-
- [#bugfix](#bugfix)
107+
- [:bug: #bugfix](#bugfix)
93108
- Set absolute path to css folder (`/ErrorPages/css/`) to ensure that the resources load when running on a production server.
94109
- Rebuilt all `/dist/` files with the new changes.
95110

96-
## Version 1.0.0 (13/05/2018)
111+
## :rocket: Version 1.0.0 (13/05/2018)
97112

98113
Grab everything you need from the `/dist/` folder. All other files support the creation of the files in this folder.
99114

100-
- [#new](#new)
115+
- [:new: #new](#new)
101116
- HTML was minified but JavaScript is still unminified.
102117
- CSS has been minified although I am unclear what the advantage has been. (?)
103-
- [#enhancement](#enhancement)
118+
- [:+1: #enhancement](#enhancement)
104119
- If you're insterested, there is a script that does the minification from source. This file is contained in [src/scripts/minify][script]. Simply run that file and it will:
105120
- Delete the `/dist/css/` folder.
106121
- Delete all the error pages (`rm -f ../dist/*.html`).

0 commit comments

Comments
 (0)