Skip to content

v0.1.4a -- Report Me Not, player reports, neural OCR, and the full Showdown library

Choose a tag to compare

@Hailey-Ross Hailey-Ross released this 28 Jun 09:10
559b21b

What's New

Bug Reports -- "Report Me Not"

  • File a bug from anywhere with the Report Bug button at the bottom of the sidebar.
  • Each report is a private, threaded conversation with staff at /reports, split into Active and Closed, with an unread badge in the sidebar.
  • Invite up to 4 collaborators onto a report. A reply on a resolved report reopens it.
  • Mark your own report resolved or reopen it, and rate how it was handled (editable for 7 days).
  • Staff get a full triage workspace: filters and sorting, public replies and internal notes, status, priority, assignee, labels (7 built-in plus custom), and reusable canned responses.

Player Reports

  • Report another trainer for bad behavior (spoofing, botting, harassment, hate, threats, scams, impersonation, inappropriate username or profile, spam) from their profile, the social and friends pages, or a raid lobby.
  • Pick a reason and add details; the report goes privately to the moderator queue and the reported user is never notified.
  • Staff handle player reports in a dedicated admin tab with a shared moderator bucket and self-assignment; resolving a report thanks the reporter.

Neural OCR for IV screenshots (Tesseract removed)

  • IV Calculator screenshot scanning now reads CP, name, HP, and stardust through a self-hosted neural OCR microservice (RapidOCR), the same class of recognition the mobile app uses.
  • Two-pass CP extraction fixes the white "CP" font and dust costs over bokeh backgrounds; the on-screen clock is no longer mistaken for CP; the pixel arc scan is now a fallback only.
  • Tesseract is no longer required on the server.

Full Showdown avatar library

  • Added the complete Pokemon Showdown trainer library (~1,314 new sprites) across every generation group, Let's Go, Masters EX, and Pokemon GO.
  • The avatar picker gains keyword search by type, role, gender, generation, region, and Pokemon GO faction. Existing avatar selections are unchanged.

Navigation and shiny grid

  • Sidebar user row overhaul: your username links to your profile, a compact logout button sits beside it, and a quick-links row adds Social, Friends, My Profile, and Logout.
  • Trainer-profile shiny grid is now responsive and sorted by Pokedex number.

Self-hosting: database migration tool

  • New cmd/migrate tool upgrades an existing install to the latest schema automatically. It tracks applied sections in a schema_migrations table and runs only what is pending, tolerating sections you already applied by hand.

Upgrading from v0.1.3a

Apply the new database migrations (sections 39-41), then deploy.

Recommended, with the new tool:

go run ./cmd/migrate -from v0.1.3a   # baseline at v0.1.3a, then apply 39-41

Or apply migrate.sql sections 39, 40, and 41 manually, in order.

Then:

  • Install and run the OCR microservice (ocr-service/; see the README in that directory). It listens on 127.0.0.1:18265; deploy.ps1 syncs it to /opt/hailsdotgo-ocr and restarts it.
  • Tesseract is no longer used and can be removed.
  • OCR_SERVICE_URL is optional (default http://127.0.0.1:18265/ocr).

See the Database Guide, Deployment, and Configuration wiki pages.

Fresh install

Use schema.sql; it already reflects every migration through section 41 and seeds the migration history. Do not also run migrate.sql. See Getting Started.

Documentation