Skip to content

Releases: robflop/megumin.love

Version 7.0.0

31 Dec 10:32
Compare
Choose a tag to compare

Version 7.0.0

General rework of many things, yay for improvement.

Front-end

  • Social media icons and links updated
  • Credits overhauled and expanded
  • Remove jQuery and maintenance mode, instead use standard browser javascript
  • Refactor soundboard inner workings and fix some bugs, as well as adding a "Play all" button for every source
  • Add many different seasonal backgrounds (check the sidebar dropdown)
  • Adjust main counter to fit 9,99 billion (as it surpassed prev. 99,99 million limit)
  • Rewrite versions page into lists (like this one)
  • Improve responsiveness (mobile layout)
  • SEO optimization (robots.txt, sitemap, canonical links, etc)
  • Adjust content of sidebar (links, mostly)
  • Add possibility of having different versions of the same seasonal background
  • Adjust color scheme and redesign buttons website-wide (based on survey results)

Back-end

  • Data transfer between server and client optimized to use less data
  • Database update interval adjusted to every 15 minutes
  • Admin sound upload/rename/delete functionality reworked
  • API routes (locations, mostly) and documentation reworked to make a lot more sense
  • Chart data for statistics now sent via WebSocket for live updates, as well as giving it consistent scaling
  • "from" argument for statistics api endpoint reworked to fit more into the "from" / "to" wording
  • General code refactorization, including dropping ogg audio format and only carrying mp3

Misc

  • Update dependencies and manifest file the site uses
  • Make megumin.love/fun out of boredom (try pressing on it)

Version 6.0.0

12 Sep 19:22
Compare
Choose a tag to compare

Version 6.0.0

Gotta love breaking old, bad code.

See the Upgrading file for instructions to upgrade from prev. versions.

Front-end

  • API link updated
  • Wrap soundboard source titles + button wrappers into one big source wrapper for each source
  • Add crazy mode toggle
  • Use localStorage for settings instead of cookies
  • Rename background script to extras and include crazy mode code in it

Back-end

  • "yamero_counter" table renamed to "main_counter"
  • Default db adjusted for this change
  • API routes updated to make sense
    • All routes moved to /api/
    • /conInfo moved to /api/conInfo
    • /counter moved to /api/counter
    • /counter?statistics moved to /api/statistics/summary
    • /stats moved to /api/statistics
    • /sounds moved to /api/sounds
  • Add proper documentation for sounds endpoint and add source, over, under and equals filter parameters
  • Refactor statistics endpoint
  • Make api routes respond with consistent data format (JSON)
  • Add "crazy mode" in which every sound played in any other user's session is mirrored for whoever has said mode enabled
  • Replace moment.js with date-fns and replace node-schedule with node-cron

Misc

  • Dependencies updated
  • Readme updated
  • eslintrc adjusted
  • Uppercase all comments
  • Wiki page renamed + updated
  • soundQueries page refunctioned to Upgrading info page
  • Migration script for v5 -> v6 created, it and the one for v4 -> v5 moved to upgrading_legacy folder

Version 5.1.1

05 Aug 23:28
Compare
Choose a tag to compare

Version 5.1.1

Some bug fixes.

Front-end

  • Statistics chart has been changed to be logarithmic chart
  • Chart no longer goes crazy on mobile
  • Dead links removed
  • Credits updated

Back-end

  • Statistics chart fixed to actually increment the correct month's datas
  • Tiny adjustment for the default db that's shipped

Misc

  • Dependencies updated
  • Readme updated

Version 5.1.0

15 Jul 23:59
Compare
Choose a tag to compare

Version 5.1.0

Statistical and background updates, woop.

Front-end

  • Background randomization extracted into own file & optimized
  • Two new backgrounds added
  • CSS fixes / adjustments
  • "Rotate" background setting renamed to "Random"
  • Credits wording adjusted
  • Yearly counter implemented
  • Chart for monthly clicks added to statistics

Back-end

  • "equals", "under" and "over" arguments for statistics endpoint
  • Disable HSTS sent by helmet (sending this via NGINX)
  • Websocket events refactored

Misc

  • Dependency updates
  • Wiki updates

Version 5.0.1

15 Feb 14:54
Compare
Choose a tag to compare

Version 5.0.1

Ayy, rewrites and adjustments. No breaking changes though, whew.

Front-end

  • None.

Back-end

  • Some leftover code removed
  • Stats endpoint rewritten
    • Statistics are now stored in an Object as opposed to previously a Map
    • Requests now return all dates in the specified date range, if a date in that range is not present in the database they will be displayed as 0 clicks in the response
    • Use a seperate iteration (don't just iterate the statistics object) for the purpose of adding the above-mentioned missing date entries, as this wouldn't be possible if the statistics object was iterated
    • Emit errors for input like dates in the future, or a start date that is after the end date
  • Logging for when a user logs into or out of the admin panel

Misc/Meta

  • Update script renamed
  • Readme updated
  • Updating/Migration instructions added/updated
  • Dependency updates

Version 5.0.0

28 Jan 17:40
Compare
Choose a tag to compare

Version 5.0.0

When updating to version 5.0.0, you must run the updateDB script provided in the repository before being able to boot the website.

Backend

  • Restructure some database tables
  • No longer save sound info in a js object, save in DB instead
  • Save soundboard rankings alongside sound info in DB
  • Add new settings to config.json for the admin panel log in
  • Add 5 api routes - login, logout, upload, rename, delete
  • Login required to access upload, rename and delete
  • Api routes serve to upload, rename or delete sounds from the website
  • Automatically send sound updates via websocket for every action taken in admin panel
  • No longer pre-sort sounds in server

Frontend

  • Admin panel and login page which leads to admin page
  • Soundboard & Rankings sorting adjusted
  • CSS updates across the website
  • New 401 error page (401 - Access Denied)
  • Add new version entry for v5
  • Automatically rebuild soundboard, adjust rankings and modify main page sounds with changed sound(s) on admin action
  • Display notices on main page, soundboard and rankings when no sounds are available

Misc/Meta

  • Readme updated with new instructions
  • Deleted sounds.js from /src/resources/js as info is stored in DB now
  • Added database migration script that must be run to migrate from v4 to v5
  • Add helmet, multer and express-session package for admin panel
  • Update dependencies
  • A default database is now provided along with the sound info revamp.

Version 4.0.2

14 Jan 20:09
Compare
Choose a tag to compare

Version 4.0.2

More tiny adjustments that I still want to get out as release, yay!

  • Backlinks have been restructured, the bottom backlink is now always aligned to the right on all pages (added to the css template)
  • Backlinks are now encased in a div and use the css text-align property instead of floating them
  • Add nicer "Loading" message for the soundboard rankings (you normally shouldn't really see this anyway, as loading is nearly instant)

Version 4.0.1

30 Dec 21:26
Compare
Choose a tag to compare

Version 4.0.1

Just some fixes and adjustments.

  • Readme adjustment
  • Dev env adjustment
  • Specify image dimensions using css and not html
  • Restructure images folder in resources
  • Bugfixes
  • WebSocket interaction only now

Version 4.0.0

06 Dec 18:30
Compare
Choose a tag to compare

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

Version 3.0.1

22 Nov 14:46
Compare
Choose a tag to compare

Small release with some fixes/adjustments here and there.

  • Pre-sorted rankings serverside, so client doesn't need to filter them
  • Ranking numbers are now formatted (x.xxx.xxx)
  • Database indexes for rankings & statistics finally fixed
  • Boot message adjusted
  • Sidebar adjusted, new links and so on because most sites that were on it went down
  • use express json method instead of send method for objects
  • Index page counter element is no longer a div, but a paragraph
  • Dependency updates