Skip to content

Releases: robflop/megumin.love

Version 3.0.0

21 Sep 19:07
Compare
Choose a tag to compare

Version 3.0.0

Main changes:

  • Soundboard rankings to see how often each soundboard button was clicked
  • Colorful logging using chalk (new dep) and a dedicated Logger class for less repetition and ease of usage
  • firstRun setting has been removed, server now automatically makes sure the database is ready for usage

Misc changes:

  • Lots of repetetive code has been turned into a function
  • General refactoring (moving variables into necessary scope, adjust front-end resource loading, etc)
  • Dependency updates

Bugfixes / adjustments:

  • Various typos fixed
  • Travis link for Repo fixed
  • Use ++x instead of x++
  • Use css to adjust spacing instead of br elements
  • Center alignment of error template text
  • Fix package.json's main attribute to point to correct location
  • Various unnecessary variables/lines of code removed

Updating from pre-3.0.0

Updating your version from pre-3.0.0 to 3.0.0 is very simple.

Simply download and replace your old version's files with new files and then start the server. It will automatically check if your database contains all necessary tables/rows and if not create them before trying to work with them, avoiding any crashes.

This means migration is completely automatic and you only need to update the other files.

Version 2.4.2

02 Sep 21:45
Compare
Choose a tag to compare

Version 2.4.2

Bugfixes, yay

  • Unnecessary whitespace removed
  • Fix mixed-content loading of font
  • Add global "open sans" font to body element
  • Fix "name" sound on Soundboard

Version 2.4.1

12 Aug 16:41
Compare
Choose a tag to compare

Version 2.4.1

Lots of refactoring / adjustment this release.

  • Regex for /stats endpoint has been adjusted
  • Methods for query results of statistics optimized (reduce and map instead of for..in)
  • Dependency updates (non-breaking)
  • Sidebar refactor thanks to Danktuary (#3)

Version 2.4.0

31 Jul 09:32
Compare
Choose a tag to compare

Version 2.4.0

  • Rewrite of the sounds.js file structure (array of objects)
  • Dynamical creation of entire soundboard
  • Adjustments of index page following structural rewrite

New sounds.js structure:

  • Each sound is an object containing three properties: filename, season and displayName.
  • filename is obvious
  • season decides its grouping on the soundboard
  • displayName decides the button's display value and is unrelated to filename

Version 2.3.2

26 Jul 17:56
Compare
Choose a tag to compare

Version 2.3.2

  • Docs example fixed
  • Unnecessary conditional statement for statistics removed
  • CSS adjustments
  • Non-breaking dependency updates
  • HTML Formatting adjustments
  • HTML linting

Version 2.3.1

25 Jun 13:34
Compare
Choose a tag to compare

Version 2.3.1

Quick bugfix release to fix the statistics updating the next day's statistics upon midnight instead of still updating the previous day's.

(bootDate and todayDate seperation)

Version 2.3.0

24 Jun 16:58
Compare
Choose a tag to compare

Version 2.3.0!

This release introduces the following features:

  • The soundboard is now finally adjusted for mobile usage! Refer to #2.
  • Further optimizations have been made
  • Make statistics retrievable via /stats endpoint, refer to the Statistics wiki page.

Version 2.2.0

03 Jun 00:21
Compare
Choose a tag to compare

Version 2.2.0!

  • Object deconstruction for various modules in server.js
  • Move of actual code-related files to src folder, env files such as linting, travis etc above
  • Update dependencies (non-breaking)

Version 2.1.1

01 Jun 13:18
Compare
Choose a tag to compare

Version 2.1.1

Tiny release fixing a division-by-zero at the monthly reset.

Version 2.1.0

31 May 22:10
Compare
Choose a tag to compare

Version 2.1.0

aka Version I totally didn't forget to push this as release!

Main features:

  • A statistics page! See all-time clicks, today's clicks, this week's/month's clicks and average clicks a day during this month!
  • Statistics are updated into the database every 30min (default val) or configured interval
  • Automatic database creation if it does not exist with pre-filled 0 values

Misc additions:

  • /x.html links such as megumin.love/x.html are now redirected to just /x, e.g. megumin.love/x, provided the page actually exists. This is because previously that is how the pages were accessed.
  • CSS templating, no more endless css copying for new pages!
  • The front page counter is now formatted into a x.xxx.xxx format, such as 1.000.000 for readability

Bugfixes / adjustments:

  • Adjust mobile scaling for error pages
  • Contact email updated
  • Several consistency changes
  • Removal of unnecessary GA events
  • Add travis
  • Clean-up