Skip to content

Releases: allejo/bzion

Version 0.10.1 "Life Moves On Like A Conveyor Belt"

21 Jan 08:33
12ed65f
Compare
Choose a tag to compare

As promised, the release schedule should speed up a bit between releases: 4 months since the last stable release! Grab your reading glasses, because there have been a lot of changes!

Elo Recalculation Bug

First and foremost, I'd like to apologize in advance for this very critical bug when it came to Elo calculations. With the release of 0.10.0, Elo has been expanded beyond just ranking teams and now is used to rank players as well. The way that Elo ratings work is that all values are always compounded on the value from the previous match. In order to preserve the ability to see an Elo history and "undo" calculations in the case of a match being edited or deleted, a lot of information is kept and all of that information is used in our code.

With the new feature of seasons and player Elo ratings for each season, the player Elo changes need to be categorized based on season since every season the Elo resets at 1200. The incremental Elo calculations worked just fine. However, whenever an Elo recalculation was executed, this would cause an incorrect base Elo value to be used in a number of situations.

Explain like I'm five? There was a chance that instead of starting your season with a 1200 Elo, you started with a value higher or lower giving you an advantage or disadvantage from the start of the season.

Remember how I mentioned that a lot of information is kept regarding Elo changes? Well all of that information will allow us to rectify the issue; I wasn't joking about having a "return policy" in the 0.10.0 release name. I've added a new command for website hosts to correctly recalculate player Elos. The <match ID> that is used should be the ID of the first match of the first season you hosted.

./app/console bzion:recalc-elo <match ID>

So what does all of this mean for players? If you started with a disadvantage, you'll likely see a boost in your Elo balancing out the disadvantage. If you started with an advantage, you'll likely get a drop in your Elo balancing out the advantage. Don't worry, these are the real Elo ratings you should have always had. Because, maths!

The Seasons Page

With the introduction of seasons in 0.10.0, there was no way for players to see actual their statistics for a given season. It was promised that a "Season" page would be introduced and it's finally here! The new page contains information for the current season and can display information for previous seasons too. So what's on this page?

  • Number of official matches and fun matches, respectively
  • Number of matches that happened on each map
  • The players with the top 10 Elo ratings
  • The top 10 players who had played in the most fun and official matches, respectively

Ban Interface

Being banned is never fun, maybe it is to some players. Who knows? Anyhow, being banned on the site led to a number of issues of players being hidden accidentally or not having proper permissions, even after the ban had expired. The ban system on the website has been updated to function only as a formality/historical record.

This will be changing in the future, however the existing bugs of unexpired bans has been rectified.

Accessibility Improvements

Accessibility has always been important to us and we are working very hard on improving the experience for all players. In this release we have improved some ARIA specifications to make things more accessible for individuals who rely on assistive technologies. However, the biggest improvement for this release is that we've added an option to help users with different forms of colorblindness.

To access this option, go to your profile and click the "Color Blind Assistance" checkbox.

The "color blindness assistance" option available in the profile settings

Throughout this website, a lot of information is conveyed with color (and that's bad!). For example, red buttons typically mean destructive actions or things that cannot be undone. By enabling this option, an additional layer of decoration will be added to buttons.

Website buttons being shown with and without background patterns

If you don't have a form of colorblindness, this may look strange to you but this is what buttons would approximately look like to different forms of colorblindness.

Website buttons being shown with a protanopia colorblindness filter
Website buttons being shown with an achromatopsia filter

The patterns and colors of buttons across the website have been standardized to the following:

  • Destructive actions: red buttons with a diamond pattern
  • Modification actions: grey or yellow buttons with diagonal stripes
  • Creation actions: green with vertical stripes
  • Submission actions: blue with diagonal stripes

This is an opt-in feature for players and is still in the testing phase.

Admin Control Panel

The administration control panel has always been neglected but no more! Editing pages, roles, models, and player information has been completely redesigned and cleaned up. Accessibility has been improved throughout the control panel and is more user friendly.

There is still a lot of work that needs to be done, however this release is a start of what's to come.

Additional Release Notes

Fixes

  • Thumbnails for team and player avatars always get cropped into squares now. Previously, rectangular thumbnails would break the layout of a given page.
  • Team and player avatars with transparency now correctly keep their transparency

New

  • Support for restoring teams through the web interface is now available
  • Maps now have more information regarding the world
    • World size - the size of the world
    • Randomly generated - whether or not the world is generated at the start of each map
    • Game mode - the game mode this map uses (e.g. CTF, AHOD) with support for more easily available

Improvements

  • Less queries are necessary on the Team's page, speeding up its load time
  • Team activity calculations have been offloaded to MySQL
  • Page titles have been standardized and updated to be more friendly when appearing in search engines and social media cards.

Development Changes

  • The matches page has been rewritten so grouping by day happens in the controller instead of the Twig template
  • Added "Demo Mode" to hide sensitive player data while a BZiON website is being demoed with production level data
  • Player match participation has been restructured in the database to allow for faster queries. The information is now available in a separate table (allowing for JOINs) instead of having to perform string operations in a comma-separated column.

Version 0.10.0 "Don't Worry—We Have a Return Policy"

24 Sep 22:55
Compare
Choose a tag to compare

Well, almost 400 commits, 38+ closed issues, and about a year later, I'm really proud to announce the release of version 0.10.0 the next stable release of BZiON. This release features a lot of improvements, new features, and a completely redesigned user interface. Here are some of the highlights of the new release.

Player Elos

Conceived by llrr, with feedback by the community, the biggest feature in this release is the support for new match types and Elo ratings tied directly to players. With this, there is the introduction of new official match types:

  • Team vs Team (TvT)
  • Team vs Mixed (MvT)
  • Mixed vs Mixed (MvM)

That's right! Official matches no longer need two teams to happen. Official matches can now occur with 4 different players from 4 different teams. What's in it for you if you win? Bragging rights and an Elo boost. For each official match you participate in, you risk lowering your Elo but you also could get an increase. If you don't want to gamble, that's fine too! Fun matches aren't going away and haven't changed.

New UI

Don't worry, I heard you about wanting a dark theme for the website. Sorry that it took so long, but the dark theme you've all been asking for is here and it's the default! Liked the light theme? Don't worry, go to your preferences and change it.

I'll be introducing more color themes, especially for those players with a form of colorblindness. If you'd like to create your own theme, documentation for how to do so will be coming soon!

Accessibility

Web accessibility has been drastically updated and has become a top priority for website navigation. What does this mean? Website elements have been updated to use semantically correct tags and keyboard navigation has been improved. You can now browse the entire website with just your keyboard. Additionally, screen readers should have an easier time with navigating the website.

Accessibility support isn't where I'd like it to be, but it will continue to receive more updates in the coming releases.

OpenGraph Support

Sharing website pages on social media just got cleaner. If you share a page from this website on social media, the preview and name will actually be understandable.

Less JS Requirements

With the new design of the website, JavaScript has become less of a dependency. This means that most pages will work even better without JavaScript being enabled and won't look as broken. Heck, even our mobile menu works without JavaScript now!

There are still some legacy JS that could not be rewritten in time but will be phased out or updated to not be vital.

Players Page

Tired of scrolling through a wall of inactive players? Tired of clicking each player to see if they were teamless? The players page has been updated to only show active players and allow for grouping by teams and geographic locations; their match/day activity is also listed. Don't worry, you can still see all the players with an extra click.

The load time for this page has gotten significantly faster and has far less queries being made. Your database will love you!

Map + Server Pages

New information can be added to league maps, such as jumping, max shots, and ricochet. Another cool thing? The total amount of matches that have occurred on each match and each server can now be viewed on the website. With this information, we'll be able to see which servers and maps are getting the most activity.

Development

The minimum PHP version needed to host this website has been bumped to 5.6. Webpack Encore has been implemented to make use of Webpack to intelligently compile and bundle up our JS assets into a single file for less parallel downloads at page load.

Thanks

This release could not have happened without the help of the following players. Thank you for your artwork, suggestions, thorough help with testing. I would not have been able to get to this release without your help.

Listed in alphabetical order

0.9.2 "Vanity Toast"

29 Aug 01:14
Compare
Choose a tag to compare

The 0.9.2 release comes with support for FM matches, player statistics, new tools for administrators and many more!

0.9.1 "Less @nags, more bugs"

14 Mar 02:01
Compare
Choose a tag to compare

This release mainly contains bug fixes based on LeaguesUnited players' input.

0.9.0 "Finally"

22 Feb 02:33
Compare
Choose a tag to compare

The initial release for the long awaited replacement to bz-owl and the final key to launching Leagues United.

Thank you to everyone who has helped make this release become a reality (including our naggers):

In order as listed on the README