Skip to content

Instantly share code, notes, and snippets.

@brussell98
Created August 22, 2019 03:05
Show Gist options
  • Save brussell98/59b958ebd9a45e8a034553c312d48f5b to your computer and use it in GitHub Desktop.
Save brussell98/59b958ebd9a45e8a034553c312d48f5b to your computer and use it in GitHub Desktop.
BoD 2.6 Changelog

2.6.0 - Search Update

This update replaces the old search with Elasticsearch, bringing many improvements. It also adds more markdown features, adding bots to lists from their page, tips, and more.

Feature

  • New search engine using Elasticsearch
    • Create markdown.js for parsing markdown outside of Vue
    • Improved the pagination component so it's much easier to use
    • Added ability to sort search results by relevance
    • Don't apply new search parameters until the search button is pressed again
    • Various other small improvements to the search page
  • Markdown extensions
    • Custom inline code style (code block <code> elements now have a .cb class)
    • Containers (see the markdown guide)
  • Added tips above the footer
  • Added the ability to add bots to lists on bot pages
    • New lists can be created with bots already added

Improvements

  • Switched from our fork of markdown-it-attrs to the npm version
  • Updated FontAwesome to 5.10.1
  • Notable dependencies upgraded
    • Nuxt 2.8 -> 2.9
    • Buefy 0.7 -> 0.8
    • sitemap 3 -> 4
    • Eslint 5 -> 6
  • Updated the about page
    • New "What is Bots on Discord" section
    • Updated feature list
    • Added new staff
    • Removed donations section
    • Added "Powered by" section
  • Required bots to be added to the main server before a non-admin can approve them
  • Added ad unit to tag pages
  • Allowed checking if a bot is on the main server, not just any official server

Fixes

  • Removed unused CSS from the old announcements
  • Fixed login redirect when a page is server-rendered (for normal auth requirements)
  • Prevent a bot from being added to a list it's already in
  • Check the user's permission in the DB, not memory, when trying to ban them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment