Mirid email access source
Version: 2026-10-08-release-1.0.13-r4
Deployed Worker version: not asserted by this staged archive
Copyright (C) 2025-2026 Bernard Peter Fitzgerald
Licence: GNU Affero General Public License, version 3; see LICENSE.

This archive contains the source of the Mirid email access service and its
website access pages. The public Access service source links provide this
version without sign-in or payment. AGPL section 13 covers the source offer
for users interacting with modified software over a network; the full terms
are in LICENSE, including definitions of Corresponding Source in section 1.
Official licence text: https://www.gnu.org/licenses/agpl-3.0.html

Layout
services/access/ contains Worker source, migrations, tests, package metadata,
local and production-example configuration, operational scripts and README.
website/access/ contains the access and privacy HTML, CSS and JavaScript.
website/landing.css and website/assets/favicon.svg are their shared assets.
scripts/ contains the unchanged website staging and discovery checks.
SOURCE-MANIFEST.json records the SHA-256 of every other source archive entry.

Reproduce local checks
Use Node.js 24 or newer. No package installation is required for the tests.
From services/access, run:
  npm run check
  npm test
The tests use Node's local in-memory SQLite and mocked provider requests.
They do not deploy resources or send email.

Website staging
The access pages use the same HTTPS origin as /api/access/*.
Run python3 scripts/stage_access_website.py EXISTING_MIRID_WEBSITE_DIRECTORY
to overlay these pages onto an existing complete Mirid static website build.
The script preserves existing pages, adds access/verify/, updates the sitemap
and appends access-page headers, then rejects discovery restrictions.
For a local source preview, serve website/ with a local static HTTP server.

Deployment
Follow services/access/README.md for database migrations, sender binding,
secret setup, the same-origin route, hourly cleanup and activation checks.
The production example contains placeholders that must be completed in a
separate private deployment configuration. Live configuration, account
credentials, secret values and compiled deployment output are not included.
This archive is prepared for the Mirid 1.0.13 website activation. It does not
assert deployment or qualify the desktop release. The included release manifest
is the exact supplied Worker source. The desktop corresponding-source offer
is separate. Regenerate this access-service archive after any source change
and before deploying that changed version. Keep earlier public archives available.
