Skip to content

Releases: qbreader/website

v3.3.3

16 Mar 04:48
Compare
Choose a tag to compare

Improvements overall to the front-end, answer checking, and performance, plus a year slider.

Frontend

  • Added a year slider for random questions (#126)
  • Added dedicated backup page
  • Add bolding for power for all tossups
  • Question cards on /db page can be collapsed
  • Fix bug with ANSWER: ANSWER: showing in cards in multiplayer

Backend

  • Add permanent multiplayer rooms
  • Exceeding max payload size in websocket no longer crashes the server

Answer Checking

  • Correctly parse mixed parentheses
  • Account for more cases when hyphens are present
  • Add special accept answers (e.g. 1984 and wavefunction)
  • Account for presence of (s) at end of words
  • Accept ordinals (1st, 2nd, etc.)
  • Accept cm and mm for centimeters and millimeters

What's Changed

  • add github action checks for linting and unit testing on commit and pr by @g3ner1c in #137
  • Hide powermarks until the answer is revealed by @BLCRAFT210 in #139

Full Changelog: v3.3.2...v3.3.3

v3.3.2

15 Mar 00:56
Compare
Choose a tag to compare

Split the "questions" collection in the mongodb database into a "tossups" and a "bonuses" collection.

  • More meaningful backups, which is especially pertinent for quizbowl software developers using the backup
  • Allows me to build search indexes for improved searching
  • Allows me to create schema validation
  • Slightly reduced storage size due to smaller indexes and no need for "type" field
    • Note: performance differences were negligable based on testing

Note: no return types, API calls, or any other front-facing interfaces have changed. API users should notice no difference. The type field is still present on questions for now, although this may be removed later.

Other Changes

  • Increased query speed by 3-5x using Promise.all
  • Raised API rate limit to 20 requests / second
  • Condensed question reporting options
  • Added tests for database.js

Full Changelog: v3.3.1...v3.3.2

v3.3.1

14 Feb 02:52
Compare
Choose a tag to compare

Rate-limiting and IP blocking, plus some minor changes.

  • Change default theme to dark mode
  • Close #129

Full Changelog: v3.3.0...v3.3.1

v3.3.0

14 Feb 02:50
Compare
Choose a tag to compare

Changes the /api/check-answer endpoint to account for directed prompts. Also includes performance optimizations and small improvements to the front-end and back-end.

Front-End

  • Remove most instances of console.log in client-side code
  • Update about page, including difficulty explanations
  • Optimize random question loading so the user should never have to wait for questions
  • Add queryLock to all instances of querying
  • Add keyboard shortcut to open last question #123

Back-End

  • Use more reliable roman-numerals package
  • Increase max query return length to 400
  • Use GET instead of POST for query
    • Allows more detailed logs (IP data, categories, subcategories) for queries
  • Reorganize colors -> bcolors
  • Only use questions from 2010 onward when sampling random questions

Full Changelog: v3.2.2...v3.3.0

v3.2.2

15 Mar 00:54
Compare
Choose a tag to compare

Add type to answer for bonuses.

  • Parse arabic numerals in answerline
  • Parse roman numerals in answerline

Full Changelog: v3.2.1...v3.2.2

v3.2.1

15 Mar 00:50
Compare
Choose a tag to compare

Various bug fixes, especially in the database page.

  • Prevent spacebar from scrolling page
  • Correctly account for bonuses of arbitrary length (especially > 3)
  • Small speed optimizations to answer checking
  • Include '0' difficulty in query
  • Add support for alternate_subcategory
  • Update backup link

Full Changelog: v3.2.0...v3.2.1

v3.2.0

15 Mar 00:48
Compare
Choose a tag to compare

Added ability to type answers in singleplayer (#115), along with a new associated api endpoint, and some other small changes.

  • Add /api/check-answer endpoint
  • Fix answer checking when answer contains "dr" as a substring but not as a token
  • Add python api wrapper module info to /about and /api-info pages
  • Automatically disable submit button during submission and close report question modal after submission
  • Remove sticky navbar from all pages that originally had it

Full Changelog: v3.1.4...v3.2.0

v3.1.4

15 Mar 00:46
Compare
Choose a tag to compare

Major improvements to the answer checking algorithm.

Backend

  • Use Porter stemmer (see #88)
  • Correctly parse answers that use round brackets () in place of square brackets []
  • Fix [] or () in middle of main answer
  • Accept abbreviated form of main answer
  • Fix checking of four letter answers
  • Accept dr. for doctor

Full Changelog: v3.1.3...v3.1.4

v3.1.3

15 Mar 00:44
Compare
Choose a tag to compare

Improvements

  • Use separate toggleShowHistory setting for tossups and bonuses
  • Changed /database layout to avoid horizontal scrolling
  • Support italics in answerline

Backend

  • Support commas as an answer separator (see 12517cd for an example of such an answerline)

Bug Fixes

  • Fix missing space in bonuses between [10] and text in /database page
  • Fix singleplayer bonus keyboard shortcuts

Full Changelog: v3.1.2...v3.1.3

v3.1.2

15 Mar 00:42
Compare
Choose a tag to compare

They haven't received much attention recently, so this release is focused on improvements to bonuses.

  • Add ability to report bonuses
  • Create question cards when new bonuses are read (in singleplayer)
  • Add ability to show/hide question history in singleplayer

Backend and Bug Fixes

  • Fix documentation for the searchType parameter of /api/query
  • Check for null and undefined parameters in database methods, ensuring the server doesn't crash on those
  • Use lowercase doctype as specified in https://codeguide.co

Full Changelog: v3.1.1...v3.1.2