From de6bc99a9149617c8811cc7e476bf77f313381c7 Mon Sep 17 00:00:00 2001 From: "Ronald M. Clifford" Date: Tue, 30 Apr 2019 22:54:27 -0700 Subject: [PATCH] Version 1.1. --- README.md | 36 ++++++++++++++++++++++++++++++++++++ package.json | 6 +++--- public/views/about.js | 6 +++--- 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 84bafcd5..d1f7b636 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,42 @@ The Discord bot and website used for the Overload Teams League. Visit the OTL a # Version History +## v1.1 - 4/30/2019 + +### Bot: + +* Refactored database code to be less monolithic. +* For commands where you enter a date and time, if you don't enter a year, it will no longer fail to recognize Daylight Savings Time properly in some cases. +* The `!home` command will now enforce the one stock map per team rule. +* Added `!overtime` command to implement overtime periods for games that use overtime. +* Improved error reporting. +* The `!addstat` command now shows KDA. +* Added `!lockteam` and `!unlockteam` commands to lock and unlock team rosters. +* Added `!addmap` and `!removemap` commands to add and remove maps from the allowed map pool. +* Fix to `!creatematch` not swapping team colors properly. +* Added `!next time` to show the next events and matches in the user's local time zone. +* Increase admin's `!forcetime` range to 180 days. +* Fix a bug where the bot will throw an error if a player leaves a server after playing a match but before it's closed. +* Fix a bug with issuing `!voidgame` and `!closegame` too rapidly in succession. + +### Website: + +* Refactored to a proper MVC pattern. +* Uses a more generic router. +* Now using morgan for logging. +* Improved display name sanitizing. +* Fix a bug with team size records being incorrect on the standings page. +* Overtime games are now noted on the website on the home, matches, and match page. +* Added a prominent link to Challonge. +* Added images for Burning Indika, Junebug, Keg Party, Mesa, Sub Rosa, and Turnstile. +* Added new links page. +* Website now uses SSL. +* Matches page now dynamically loads 10 matches at a time. +* Website now has a favicon. +* Added custom 404 and 500 pages. +* Team rosters now link to the player's page. +* New match page, linked to from everywhere on the site that shows a match. The match's time serves as the link. + ## v1.0.7 - 3/10/2019 ### Bot: diff --git a/package.json b/package.json index f1b81822..31e30292 100644 --- a/package.json +++ b/package.json @@ -18,16 +18,16 @@ "url": "https://github.com/roncli/otl-bot.git" }, "dependencies": { - "compression": "1.7.3", + "compression": "1.7.4", "discord-markdown": "2.1.2", "discord.js": "11.4.2", "express": "4.16.4", "express-minify": "1.0.0", - "html-minifier": "3.5.21", + "html-minifier": "4.0.0", "morgan": "1.9.1", "node-database": "roncli/node-database#v1.0.2", "timezone-js": "0.4.13", - "tzdata": "1.0.15" + "tzdata": "1.0.16" }, "devDependencies": { "@types/express": "4.16.1", diff --git a/public/views/about.js b/public/views/about.js index 8f6c1d85..7a87b52e 100644 --- a/public/views/about.js +++ b/public/views/about.js @@ -63,9 +63,9 @@ class AboutView {
Unsets your Twitch channel.
!removetwitch
-
!next
-
List the upcoming scheduled matches.
-
!next
+
!next [time]
+
List the upcoming scheduled matches. Displays a countdown by default, use the "time" parameter to display times in your local time zone instead.
+
!next
!next time
!matchtime <challengeId>
Gets the match time in your local time zone.