Skip to content

Releases: qbreader/website

v5.0.0

06 Jan 05:01
3d409d0
Compare
Choose a tag to compare

Add support for alternate subcategories (#134, #243). This release also moved "math" to an alternate_subcategory under "Other Science" instead of its own subcategory.

Frontend

  • Update modal to accomodate alternate subcategories
  • On the database page, scroll to top of results after a pagination event
  • Add frequency list to navbar
  • Add /api/query ignoreWordOrder param to docs
  • Images are now located at root of client folder instead of an images folder inside /client

Backend

  • Update qb-answer-checker version number to 1.0.3
  • Add support for alternate subcategories in getQuery, getRandomBonuses, and getRandomTossups functions in database/qbreader

Miscellaneous

Full Changelog: v4.6.0...v5.0.0

v4.6.0

06 Jan 04:57
Compare
Choose a tag to compare

Add frequency lists for each subcategory.

  • Create /api/frequency-list endpoint

Full Changelog: v4.5.0...v4.6.0

v4.5.0

06 Jan 04:56
Compare
Choose a tag to compare

Creates geoword category stats (#205).

  • Add a new endpoint at /api/geoword/category-stats
  • Creates corresponding views for geoword admin
  • escapeHTML now checks if input is undefined
  • Bump qb-answer-checker version number to 1.0.2

Full Changelog: v4.4.4...v4.5.0

v4.4.4

24 Dec 04:59
Compare
Choose a tag to compare

Finishes database organization (started in v4.4.3) and endpoint organization (started in 55c0b70 in v4.1.1), plus a plethora of small changes and fixes.

Frontend

  • Add keyboard shortcut to star most recent question (#223)
  • Increasing the font size in settings page increases the size for the database results (#228)
  • Add option to include "standard format only" on all question reading pages (/singleplayer/tossups, /singleplayer/bonuses, /multiplayer/:roomName) (#160)

Backend

  • Publish qb-answer-checker as its own npm package (#235)
  • Add MODAQ option/flag on /api/packet endpoint (#232)
  • Mark all sets as either standard or non-standard (also see #160)
  • Validate/restrict usernames (#170)
  • Reorganize database/account-info and database/geoword, splitting methods into their own files (finishes work done for database/qbreader)
  • Reorganize /auth/stats and /auth/user-stats endpoint code, splitting routes into their own files

Note: /admin/geoword and /api/admin/geoword still need to be reorganized (i.e. routes split into individual files), but all other endpoints should have their own file.

Full Changelog: v4.4.3...v4.4.4

v4.4.3

21 Dec 01:49
Compare
Choose a tag to compare

A major database update, plus some minor multiplayer bug fixes.

Database

  • Move math subcategory under other science (#233)
    • Makes math into an alternate_subcategory
  • Add "ignore word order" option (#236)
  • Improve database code organization, splitting individual methods into individual files
  • Improve how query options are validated

Multiplayer

  • Correctly display existing players' online status when you join a room
  • clearStats now properly clears stats

Full Changelog: v4.4.2...v4.4.3

v4.4.2

20 Dec 05:14
Compare
Choose a tag to compare

A major multiplayer update, adding both a new player UI and a series of small bug fixes and features.

Frontend

  • Add singleplayer landing page
    • This page will eventually house a few features, such as a new "game" mode, the ability to play against an AI, and the ability to play questions locally
  • Fix missing /script.js file on settings page

Multiplayer

  • Revamp multiplayer user display using popovers
    • This makes it more compact and expandable, e.g. to add team functionality or allow players to be kicked
  • Show online status of players
  • Add ability to lock a private room from other players from joining
  • Permanent rooms now have locked settings and categories
  • Fix bug where you couldn't pause a tossup after the first buzz
  • Fix bug where players with parentheses in their username couldn't join a room

Full Changelog: v4.4.1...v4.4.2

v4.4.1

24 Nov 20:11
Compare
Choose a tag to compare

Create a settings page, and some improvements to how the gameplay pages are rendered. Also improves the answer-checking code.

Frontend

  • Optimize how singleplayer settings are loaded
    • The website now loads settings before doing anything else, which should mitigate the screen flashing as the user settings (e.g. select by set name) are loaded in
  • Create a settings page
    • Add a site-wide audio effect option in this page (#221, #140)
  • Change default to type to answer for bonuses
  • Increase options width on devices between L and XL (based on the Bootstrap grid system)
  • If redirected to login page, logging in redirects you back to previous page
  • Skip numbering for inactive geoword buzzes (in admin view)

Backend

  • Move all routing to routes/ folder

Answer Checking

  • Reorganize the answer checking code to make it easier for others to contribute
  • Add a specification.md document to describe what kind of answerlines to expect
  • Fix same token being matched multiple times in stringMatchesReference (for evaluating answers) (#132)
  • Fix given and expected fields being flipped in answerline testing output

Full Changelog: v4.4.0...v4.4.1

v4.4.0

24 Nov 20:06
ce12f93
Compare
Choose a tag to compare

More multiplayer improvements, and two new endpoints to retrieve a question by its _id.

Multiplayer

Frontend

Backend

  • API route /api/tossup-by-id to find a tossup by ID by @tildezero in #225
  • Also adds an api route /api/bonus-by-id to find a bonus by ID

New Contributors

Full Changelog: v4.3.2...v4.4.0

v4.3.2

24 Nov 20:04
Compare
Choose a tag to compare

Better file structure to help other contributors contribute. Also, the set list is not retrieved dynamically.

  • Reorganize /api/admin and /api/geoword into separate folders.
  • Dynamically get the set list instead of caching on server startup
    • Sets that are uploaded to the database will now instantly appear, instead of having to wait for the next server restart
    • May have a small, but so far unnoticeable, hit on performance.
  • Add instructions for how to set up .env file.
  • Fix an issue where invalid ObjectID would crash the server.

Full Changelog: v4.3.1...v4.3.2

v4.3.1

24 Nov 20:01
2657b15
Compare
Choose a tag to compare

Adds a timer to multiplayer and create types.js.

  • Add timer by @JeliHacker in #215
  • Created types.js (see #206)
  • Fixes a bug where getQuestionCount would return 0
  • Move geoword audio into client/

Full Changelog: v4.3.0...v4.3.1