Skip to content

v1.12.0

Latest

Choose a tag to compare

@DredBaron DredBaron released this 02 Dec 03:04
63ef837

v1.12.0 - Locations

This release adds Locations, a way to record which binder, box, display case, bag, deck, or custom location holds each card and deck, as requested in #62. Locations is off by default and can be turned on by an admin in Settings. Publishing whole binders or locations to the Showroom is not part of this release.

Quick Start

$ git clone https://github.com/DredBaron/OpenMTG

$ cd OpenMTG

$ mv .env.example .env

$ openssl rand -hex 32
# paste the output as JWT_SECRET in .env

$ docker compose up -d

See the README or Installation Wiki for full setup instructions.

Please read these notes before updating.

  • arm64 users: the openmtg-arm64:latest tag was mistakenly not moved to v1.11.0, so pulling openmtg-arm64:latest since then has stayed on v1.10.0. Updating now brings you to v1.12.0, including the v1.11.0 security fixes and their required changes. Read the v1.11.0 notes first, especially the new JWT_SECRET requirement. The amd64 images were not affected.
  • The update runs a database migration on start. Existing cards and decks start with no location.
  • Back up databases before updating. Once migrated, the database can't be used by a v1.11.0 image, so going back to v1.11.0 means restoring that backup.

Changes

  • Locations - Record where cards and decks are kept, such as binders, boxes, display cases, bags, decks, or custom location types.
    • New Locations page listing each location with its card and deck counts, in grid or list view. Locations can be renamed, retyped, annotated with notes, and deleted.
    • Custom location types (e.g. "Trade Binders") can be created from the location form and deleted from the Locations page once no location uses them.
    • Pick a location when adding a card (Add Card, Card Search) or creating or importing a deck. Change it later from the card's Edit dialog or the deck's page.
    • The Collection page has a Location column (shown by default in place of Notes, which stays available) and a Location filter.
    • The same printing can now be kept in more than one location. Moving copies into a location that already holds identical copies merges the two entries, including their photos.
    • Showroom owners can choose, per card and per deck, to show its location on their public Showroom.
    • Deleting a location does not delete its cards and decks, which are left with no location.
    • Admin toggle in Settings, off by default. Turning it off hides Locations for every user but keeps all locations and assignments.
  • Exports - Collection exports (CSV, JSON, SQL) include a location column, added as the last column, so scripts that read columns by position keep working.
  • Trades and imports - Cards received in a trade or added by a collection import arrive with no location.

Images

  • ghcr.io/dredbaron/openmtg:latest
  • ghcr.io/dredbaron/openmtg-arm64:latest
  • ghcr.io/dredbaron/openmtg:v1.12.0
  • ghcr.io/dredbaron/openmtg-arm64:v1.12.0