- Dart 82%
- HTML 8.3%
- Dockerfile 4.3%
- Makefile 4.2%
- Go Template 1.2%
| .forgejo/workflows | ||
| helm | ||
| lib | ||
| nginx/templates | ||
| test | ||
| web | ||
| .dockerignore | ||
| .fvmrc | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
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.