Beheerscherm van de app-uitgever: verbindingen en seintjes van de pushgateway, zonder te weten wie de burger is
  • Dart 82%
  • HTML 8.3%
  • Dockerfile 4.3%
  • Makefile 4.2%
  • Go Template 1.2%
Find a file
Zamir Amir ddebf749d6
All checks were successful
CI / chart-release (push) Successful in 4s
CI / chart (push) Successful in 5s
CI / image (push) Successful in 2m27s
Release 0.1.0
2026-11-25 16:26:59 +01:00
.forgejo/workflows Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
helm Release 0.1.0 2026-11-25 16:26:59 +01:00
lib Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
nginx/templates Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
test Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
web Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
.dockerignore Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
.fvmrc Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
.gitignore Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
.metadata Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
analysis_options.yaml Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
Dockerfile Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
LICENSE Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
Makefile Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
pubspec.lock Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
pubspec.yaml Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00
README.md Show the app-uitgever what its pushgateway does 2026-11-25 16:24:17 +01:00

mailbox-app-push-gateway-management-ui

Operator screen of the app-uitgever of Notificatie voor Burgers (ADR 0010 in getting-started). It shows what the pushgateway counts: per kanaal whether it is served, the devices connected now, the pushtokens issued and the seintjes sent and failed, why seintjes failed, and the latest events. A pushtoken appears only as an 8-character pseudonym; which hoster asked for a seintje and who the burger is, the gateway does not know, and the screen says so.

The web build is served by nginx under /push-management/ on the shared hostname. nginx proxies /push-management/api/ to the management listener of mailbox-app-push-gateway, which runs on its own Service (mailbox-app-push-gateway-management), apart from the hosters' seintjes, so the browser stays on one origin and the screen cannot wake a device. There is no management-process: the gateway has no database, so it serves its counts itself; they live in its memory and start from zero after a restart. There is no authorisation yet, so the screen and that proxy are public for now.

Development

Flutter is pinned in .fvmrc; run everything through fvm.

fvm flutter test
fvm flutter run -d chrome --dart-define=MANAGEMENT_API_URL=http://localhost:8080/push-management/api

The image has a test target (analyze and tests with the pinned SDK) and a production target with nginx; CI builds the first before publishing the second. The chart sets MANAGEMENT_API_URL from managementApi.service, or managementApi.url when given.

Release

make release VERSION=1.2.3   # on an up-to-date main: writes helm/Chart.yaml, commits, tags v1.2.3
git push --follow-tags

The tag pipeline tags the image 1.2.3 and v1.2.3 and publishes the chart at 1.2.3 to the Forgejo Helm registry (see the charts repository). The environments repository pins that version.

License

EUPL-1.2, see LICENSE.