Files
25df5b3abc chore(assets): move Manfred originals to assets/manfred, rename by pose
Relocate the four full-resolution mascot source PNGs out of the root
Manfred/ folder into assets/manfred/ (a non-build-context source dir,
like mockup/), renamed from their ChatGPT export names to pose names:
manfred-{waving,confident,coffee,celebrating}.png. git mv preserves
history (all four recorded as renames).

These originals are never shipped (Vite serves only apps/convivo/public/),
so the served 224px WebP poses are untouched and the attendee bundle is
byte-identical. Add assets/manfred/README.md with the pose table and a
regeneration command, and note a pre-existing cosmetic mismatch: the
deployed WebP filenames are rotated relative to their content (harmless —
Profile picks a pose at random and e2e asserts the filename).

Docs: fix the stale Manfred/ pointer in releases/2026-10-10.md and
cross-reference the source dir from frontend/screens.md.

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
2026-10-16 23:32:57 +02:00

144 lines
8.6 KiB
Markdown

# Release: 2026-10-10
## Changes
- Attendee entry accepts an existing administrator's email and requests an
existing-user-only magic link. The callback verifies the user and server-side
admin rule; an event ticket is not required for this entry. Exact callback
allowlisting and token scrubbing are retained. See
[screens](../frontend/screens.md) and [API client](../frontend/api-client.md).
- Excel import accepts explicit service-session sheets and marked ID-less
service rows with stable generated identities. The supplied workbook has no
service rows, so these cannot be inferred from it. See
[sidecar import formats](../backend/sidecar.md).
- Registration totals exclude blank QR tokens. Check-in toggles update
immediately and restore the old value on failure. Imported unticketed rows
offer an explicit merge into a purchased ticket, with name-ranked suggestions
and manual selection. Assignments transfer before source deletion. Ticket QR,
points and check-in are preserved; contacts, Auth users and other events remain.
Import replay resolves the persistent mapping. See
[Admin](../frontend/admin-app.md) and [RPC contracts](../backend/rpcs.md).
- Assigned speakers cannot be downgraded to attendee by later Pretix imports.
Exact email and regular-session assignment in the same event determine the
promotion. Both import orders are supported; staff/sponsor precedence remains.
Service-only and other-event links do not promote attendees. Twelve incorrectly
classified production registrations were reconciled, including Martin P Lopez.
- Removed all fifty fabricated attendee seed accounts, identities, contacts,
registrations and artificial points entries. Staff and schedule seeds remain
unchanged. Existing accounts are not deleted by editing the seed. See
[seed data](../backend/seed.md).
- Production magic-link mail now uses Brevo STARTTLS on port 587 with From
`[email protected]`. Credentials remain outside Git. TLS and authentication
were verified without sending email; inbox delivery is not proven by that
check. See [SMTP configuration](../backend/supabase-core.md).
## Migrations
All three migrations were applied in production with migration-ledger entries:
- `20261010093021_admin_magic_link_eligibility`
- `20261010102828_registration_ticket_merge`
- `20261010111607_preserve_assigned_speaker_role`
Reapply neither installed migrations nor the seed during a redeployment. The
seed is a future-initialization fixture, not a production cleanup procedure.
## Deployment
Production runs at https://convivo.appe.at and https://admin.appe.at. The VM is a
flat-copy workspace without Git and predates some unrelated local Reports code.
Deploy scoped source changes against the actual VM baseline, never overwrite
shared API/server files wholesale. Preserve private runtime dotenv/config files,
Auth signing/issuer settings and database volumes. Rebuild only the requested
application services; do not restart the core or run resets/imports/email tests.
Private database/source/config backups exist under
`/home/APPE/convivo-backups/`, including:
- `entry-20261010T094841Z`: admin-email entry and service parser.
- `brevo-20261010T102723Z`: SMTP activation and Auth rollback container.
- `registration-20261010T110534Z`: toggle/merge and migration.
- `speaker-role-20261010T111804Z`: assigned-speaker reconciliation.
- `release-20261010T112631Z`: final app-only rebuild, database/source backup,
rollback image tags and private preservation checks.
The final redeployment completed successfully. It rebuilt
the three app images from their verified VM source, and copied this release's
nonsecret documentation, migration sources and revised seed without executing it.
Use the saved image tags/source archive for application rollback. Database
rollback requires reviewing concurrent changes; never restore a production dump
blindly or remove a merge mapping after users have merged real tickets.
## Verification
- Attendee/Admin builds, browser-test TypeScript, and generated-workbook parser
tests pass locally.
- Mocked browser tests cover admin email entry, eligibility, callback handling,
immediate check-in feedback, rollback, merge suggestions, selection, cancel
and retry. All 35 tests pass against the final production bundles with API mocks.
- Rollback-only SQL tests cover admin eligibility, atomic ticket transfers,
source activity rejection, role priority, event isolation, Excel/API replay,
and Pretix/Excel speaker-role persistence. See [commands](../backend/tests.md).
- Production migration checks retained ticket/activity fields and speaker links;
speaker reconciliation changed only the expected role fields.
- Final redeployment retained every core container ID/start time and the counts
of registrations, contacts, speaker assignments, Auth users, sessions and
storage objects. All three rollback-only SQL suites and nine isolated-image
parser tests passed after rebuilding.
- Public roots, callbacks, assets, sidecar and Auth health are checked after
redeployment. No real email send, import or ticket merge is needed to verify
deployment. Shared authenticated-browser inspection was unavailable; API-mocked
browser tests and direct production checks were used instead.
## Follow-up Deployments
- QR-only login hint: `entryLabel` and `placeholder` now say `QR Code`, with
existing admin-email magic-link behavior unchanged. Attendee-only deployment
backup: `qr-hint-20261010T113838Z`; 31 API-mocked production tests passed.
- Profile Manfred easter egg: four transparent 224px WebP poses appear beside
the Profile title at 76px. Random choice occurs on each mount, including tab
re-entry and refresh, and remains stable during edits. Choices may repeat.
Original artwork is retained in `assets/manfred/`; optimized assets live in
`apps/convivo/public/manfred/`. Backup: `manfred-20261010T114633Z`.
All 33 login/profile production-bundle tests passed, including 360px/1280px
image loading, layout and lifecycle checks. Only the attendee app restarted.
- Public asset deployment requires directory mode `755` and file mode `644`.
Restrictive transfer permissions initially caused 403s; source permissions
were corrected and the image rebuilt. Nginx Proxy Manager cached those errors
for 30 minutes. Only cache entries matching the four new image URLs were
invalidated, checking both the MD5 filename and embedded cache key. The proxy
was not restarted and unrelated cache entries were not removed.
- Seven-day sessions: migration
`20261010183614_preserve_sessions_on_unchanged_ticket` is installed with a
migration-ledger entry. Pretix's password helper previously rehashed unchanged
passwords and deleted sessions every sync. It now locks the user, compares the
supplied password against the existing hash, and only rewrites the password
and revokes sessions when the effective password actually changes.
- Auth now uses `GOTRUE_SESSIONS_TIMEBOX=168h`,
`GOTRUE_SESSIONS_INACTIVITY_TIMEOUT=168h`, and
`GOTRUE_SESSIONS_SINGLE_PER_USER=false`. Persistent session config is aligned.
This is a refreshable session lifetime, not a week-long JWT. Existing
production JWT expiry (`86400` seconds), issuer/signing keys, SMTP, redirects,
image and container settings were preserved. Only Auth restarted; other
container IDs/start times were unchanged. Backup:
`week-sessions-20261010T183742Z`, including the database, previous config and
private Auth inspect, plus the retained rollback Auth container.
- Three rollback-only password-sync checks passed locally and in production.
Actual Auth refresh requests using a disposable confirmed test account accepted
a six-day-old inactive session and rejected both an expired seven-day lifetime
and eight-day inactivity. The account was deleted in cleanup; no real email
was sent. Existing users may need to sign in once if an earlier sync already
revoked their session. Clearing browser storage, explicit logout, password
changes or other security revocations still require sign-in. Limits are checked
on refresh, so an already-issued JWT can remain valid until its own expiry.
- Final combined validation passed: both frontend builds, nine importer tests,
browser-test TypeScript and all 37 API-mocked production-bundle login, profile
and ticket-merge checks.
## Credential Handling
The private SMTP instructions are ignored by Git. Earlier diagnostic output
exposed the SMTP credential; rotation remains required and has not been performed.
Never print credential-bearing deployment documents, environment dumps or Auth
container inspection data. Commit only allowlisted source/docs/tests/config
references, not runtime credentials or private backup artifacts.