# TODO

Planned work that hasn't been scoped into a release yet. Newest items at the
top of each section.

## Install & license telemetry

Two new config variables (site-wide, not per-install-editable via the admin
UI yet — decide during implementation whether they belong in `Settings` or a
new dedicated config file):

- `SUPPORT_EMAIL` — `contact@secret-item-games.com`. Every support-related
  message the software itself sends (e.g. a future "Contact support" form)
  goes here.
- `WELCOME_EMAIL` — `admin@secret-item-games.com`. Installation/license
  notifications go here instead.

On a **new installation** (not a version upgrade — i.e. this fires once,
the first time the install has no prior version recorded, not on every
`deploy.php` update), send a notification to `WELCOME_EMAIL` containing:

- the installer's name and email (need to decide where these come from —
  likely a new required field during first-run setup, since nothing today
  collects an installer identity)
- the domain the install is running on
- date/time of installation
- the version installed
- once license keys exist: the license key entered (if any)
- once premium/enterprise support tiers exist: whether premium or
  enterprise support was enabled

Support requests (once a "contact support" flow exists) always go to
`SUPPORT_EMAIL`, never `WELCOME_EMAIL`.

**Public status page**: a page anyone can load (no login) that shows which
tier the install is running (Free / Premium / Enterprise), the installed
version, and the update channel it's tracking. Purpose: lets Secret Item
Games (or anyone) verify from outside whether an install has hacked-in
premium/enterprise features it hasn't actually licensed. Needs a route
decision (e.g. `/status.php` or `/about.php`) and a decision on how much
detail is safe to expose publicly (version + tier + channel only — no
license key, no installer identity).

Depends on the license-key and premium/enterprise-tier enforcement work not
existing yet (see welcome_sales.php's Premium tier, currently "Coming soon"
with no real enforcement).

## Known pre-existing issues

- The "Stable" update channel returns a 502 ("Couldn't reach the update
  server") — confirmed independent of any code from the i18n/rename/sales
  page work (last real stable git tag is v0.7.10). Blocks
  `public/download.php`'s Community-edition download from working until a
  real `vX.Y.Z` stable tag exists or the underlying package coordinates
  are fixed.
