Files
Siro/backend
Hamza-AyedandClaude Opus 5 a0812dbd10 Fix broadcast delivery; make transit organisations manageable
Broadcasts never reached anyone. The internal FCM call defaulted to
127.0.0.1, which inside the php container is the php container itself — the
web server runs in a separate nginx container, reachable by service name on
the Compose network. Every send failed the curl and returned a generic 502.
The default now points at nginx, the URL is overridable via FCM_INTERNAL_URL,
and the error carries the actual reason and target instead of a bare status.

Transit organisations were a read-only count table with nothing to act on.
The module now supports the operations an admin actually needs:
- open an organisation for its counts, routes, recent trips and admins
- create one, including the founding administrator create.php requires
- edit city, contact details, contract status and trial end, with a
  confirmation when the contract changes since suspending cuts off service
- add an administrator, and enable or disable an existing one

Verified end to end against the endpoints' real payload shapes, including
that an incomplete create form is rejected before any request is sent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-25 17:10:51 +03:00
..
2026-07-09 03:41:48 +03:00
2026-07-23 16:56:58 +03:00
2026-06-09 08:40:31 +03:00
2026-06-09 08:40:31 +03:00
2026-06-09 08:40:31 +03:00
2026-07-12 05:40:28 +03:00
2026-06-16 17:47:19 +03:00
2026-06-29 00:07:33 +03:00
2026-06-09 08:40:31 +03:00
2026-06-12 20:40:40 +03:00
2026-06-28 00:42:26 +03:00
2026-06-11 13:47:40 +03:00
2026-06-25 01:22:26 +03:00
2026-06-16 01:17:29 +03:00
2026-06-24 16:12:30 +03:00
2026-06-27 05:07:43 +03:00
2026-06-25 01:15:22 +03:00
2026-06-12 20:40:40 +03:00