Skip to content

Update auf Hi.Events v2.2.0 mit EMAH-Anpassungen - #1

Merged
mnlmaier merged 661 commits into
mainfrom
upgrade/v2.2.0
Dec 2, 2026
Merged

mnlmaier merged 661 commits into
mainfrom
upgrade/v2.2.0

Conversation

@mnlmaier

@mnlmaier mnlmaier commented Dec 1, 2026

Copy link
Copy Markdown
Member

⚠️ Nicht vor dem Deploy-Tag mergen. Auf main ist Quick Deploy aktiv. Der Merge ist der Livegang, inklusive der Datenbank-Migrationen. Ablauf und Checkliste: Plane EMAHW-15.

Worum es geht

Upstream Hi.Events v2.2.0 plus das EMAH-Patch-Set. Die Fork-Anpassungen liegen als 11 kleine Commits auf dem Upstream-Tag v2.2.0. Diese PR ersetzt den bisherigen Fork-Stand auf Basis von v0.8.0-beta.3. Deshalb enthält der Diff gegen main auch alle Upstream-Änderungen.

EMAH-Commits

Commit Inhalt
85d25a3a Skript für die Probe-Migration mit echtem Backup (scripts/emah-rehearse-migration.sh)
332acf05 API unter /api für Forge, einstellbar über APP_API_ROUTE_PREFIX (Standard api)
e5807222 Stripe: Karte, PayPal und Klarna wie bisher, einstellbar über STRIPE_PAYMENT_METHOD_TYPES
e8ef2f29 get-ticket-info und price_including_taxes für den Besucher-Zähler, im bisherigen Antwortformat
dbb2fa35 Branding: Weissenhof Grotesk, auch als Homepage-Schrift; Favicon; Titel
44052886 Impressum-Link im Footer. „Powered by Hi.Events“ bleibt, so verlangt es AGPL §7(b).
639f03d1 Check-ins und Check-outs werden wie bisher an visitors.emahevents.de gemeldet
4cf72f48 Ticket: Bruttopreis, QR-Code-Download, Instagram- und Verleih-Box
33b30807 Startseite / leitet auf die Veranstalterseite weiter
e1ec95c6 Plausible auf öffentlichen Seiten (VITE_PLAUSIBLE_DOMAIN)
d8deb7b5 Übersetzungen extrahiert und Deutsch ergänzt. yarn build extrahiert nicht mehr, damit die .po-Dateien im Server-Checkout unverändert bleiben.

Alle neuen Einstellungen haben EMAH-Standardwerte. An der .env in Produktion muss deshalb nichts geändert werden.

Bewusst nicht portiert:

  • Hartcodierte deutsche Texte und Datumsformate: v2 übersetzt nach Sprache.
  • Das auskommentierte Login-Redirect in client.ts
  • Der Preiszusatz „inkl. aller Steuern und Gebühren“: Das steuert jetzt die Event-Einstellung, geprüft wird es bei der Abnahme.

Details stehen in Plane EMAHW-10.

Getestet

  • Backend-Unit-Tests unter PHP 8.5: 2533 grün (Upstream 2528 plus 5 neue)
  • tsc fehlerfrei, yarn build mit Node 26 erfolgreich
  • SSR-Kurztest: / antwortet mit 302 auf /events/1/…. Plausible ist nur auf öffentlichen Seiten eingebunden, das Favicon wird ausgeliefert.
  • Probe-Migration v0.8 → v2.2.0 mit synthetischen Daten (EMAHW-7)
  • Probe-Migration mit echtem Backup und Browsertest der migrierten Kopie (EMAHW-8, EMAHW-15 Schritt 12)
  • Abnahme in Produktion (EMAHW-15, Phase 4)

yarn lint stürzt in v2.2.0 schon im unveränderten Upstream-Code ab: eslint-plugin-lingui verträgt sich nicht mit TypeScript 6. Die geänderten Dateien sind deshalb einzeln geprüft, ohne die abstürzende Regel.

Vor dem Merge

  1. Die Punkte aus EMAHW-15 Phase 1 bis 3 sind erledigt: Node 26 über nvm, PHP 8.5 installiert, Backup, Generalprobe.
  2. Auf diesem Branch git merge -s ours main ausführen und pushen. So lässt sich der PR ohne Konflikte und ohne Force-Push mergen.
  3. Den Draft auf „Ready“ setzen, zum vereinbarten Termin mergen, danach die Abnahme laut EMAHW-15.

🤖 Generated with Claude Code

daveearley and others added 30 commits March 14, 2026 08:27
Event created, updated, and archived event types are not relevant
when configuring webhooks at the event level.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ents (HiEventsDev#1104)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
fix: Set staleTime to 0 for deletion status queries (HiEventsDev#1107)
…EventsDev#1128)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
daveearley and others added 22 commits November 3, 2026 22:09
Stop a used-up promo code from unlocking hidden products (HiEventsDev#1478)
Add an MCP server with OAuth sign-in for AI assistants
Add attendee and order tools to the MCP server
Restores a production backup into a throwaway Postgres, counts orders,
attendees, check-ins and payments, migrates to v2 and compares before/after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Forge's nginx passes /api/* to PHP-FPM without stripping the prefix, so the
routes need it. Configurable via APP_API_ROUTE_PREFIX (default "api");
tests and the upstream Docker setups, whose nginx strips /api, set it empty.
Also keeps the fork's GET /api/ reachability response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ports the fork's fixed payment_method_types instead of Stripe's automatic
payment methods. Configurable via STRIPE_PAYMENT_METHOD_TYPES; set it empty
to fall back to the dashboard-driven automatic mode. Currency and
setup_future_usage need no patch any more: v2 takes the currency from the
event and no longer sets setup_future_usage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sitor counter

Ports GET /public/attendees/get-ticket-info/{attendee_public_id} to products.
The response keeps the pre-v2 ticket_id/ticket_price_id/ticket keys (plus
product_* aliases) so the visitor counter keeps working unchanged. Product
prices expose price_including_taxes again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Self-hosted Weissenhof Grotesk as app font and as the default homepage
  font for event and organizer pages (also selectable in the designer)
- EMAH favicon and logo symbol, page title "Ticketshop | EMAH Events"
- 16px inputs so iOS Safari does not zoom in on focus

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the legally required link to emahevents.de/impressum next to the
"Powered by Hi.Events" notice, which stays as AGPL §7(b) requires. The
link also shows where the notice is hidden.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ports the fork's browser calls to visitors.emahevents.de/api/{checkin,checkout}.
checkin_data keeps a ticket_id alias of product_id for the counter. Failures
are only logged and never block the check-in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The ticket shows the price including taxes and fees
- "Download QR code" saves the ticket's QR code as PNG
- Instagram and equipment rental boxes below the ticket and order summary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/ now redirects to the public page of organizer 1, which lists all upcoming
events. Replaces the hard-coded redirect to a single event. Requests with
query parameters keep upstream's login/dashboard redirect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Injected as an SSR head snippet like upstream's Fathom integration. Domain
defaults to tickets.emahevents.de; set VITE_PLAUSIBLE_DOMAIN empty to disable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n build

The production build no longer runs lingui extract. On Forge that rewrote the
.po files in the server checkout on every deploy, which can make the next
git pull fail. Catalogs are extracted locally and committed instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Records the fork's main (v0.8.0-beta.3 based) as a parent so the PR merges
as a fast-forward of history without a force push. All fork customizations
on main were ported in the preceding EMAH commits; main's content is
intentionally discarded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ E2E smoke tests: Everything passed.

Mode Result ✅ Passed ❌ Failed ⚠️ Flaky ⏭️ Skipped ⏱️ Duration
Self-hosted ✅ Passed 112 0 0 1 2m 60s
⏭️ Why tests were skipped

Self-hosted

  • 1 × Requires STRIPE_PUBLIC_KEY (Stripe test mode) to be configured.

Open the run

mnlmaier and others added 2 commits December 2, 2026 21:59
- docker/e2e: nginx strips /api/ before proxying, so the backend runs with
  APP_API_ROUTE_PREFIX='' (like the dev and all-in-one stacks).
- openapi.json: regenerated for the get-ticket-info endpoint,
  price_including_taxes and the Weissenhof Grotesk homepage font.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It enforces Hi.Events' contributor licence agreement for upstream PRs and
always fails in this fork (no token for their signatures repository).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mnlmaier
mnlmaier marked this pull request as ready for review December 2, 2026 21:21
@mnlmaier
mnlmaier merged commit e20b25b into main Dec 2, 2026
9 of 10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.