Version 4.0.0
Oh boy another Major release. Lots of optimization on both back-end and front-end here.
Back-end
- Only send necessary data about counter updates (bandwidth saving)
- Turned the "season" setting for sounds to a "source" setting to allow for easier working with adding new sounds from various sources that may not be a specific season
- Safeguarding against soundboard events carrying a non-existent sound
- Replace Socket.IO in favor of uWS (re-run
npm install
on installation of this version!)
Front-end
- Default to ogg sound files and fallback to mp3, drop aac completely
- Image optimization for share buttons
- Replace low-resolution/quality sidebar image with a vector graphic
- Specify width and height attributes for html img elements
- Optimize CSS delivery (fonts & style template)
- Optimize JS delivery (google analytics & site-specific scripts)
- Updates for the CSS rules concerning the website background
- Fix display of index page main counter on Firefox (Nightly)
- Rename "version" page to "versions" as this fits better
- Remove unnecessary CSS overspecification
- Add background randomization (six at the moment) with option of choosing to display only one specific one
- Make the default background color (no image) black to ease page load looks
- Make the index page accessible on both the root path ("/"), the name without extensions ("/index") and the name with the extension ("/index.html")
Misc. Adjustments
- Usual dependency adjustments
- Indenting adjustments in various files
- Update readme with nginx proxy example, phrasing adjustments and hyperlinks
- travis and package.json updates