trypost/app/Http
Paulo Castellano a4cf8aa4ce Add Telegram connection flow (controller + webhook)
Connect a channel by issuing a one-time code the user posts as /connect <code>
in their channel. A secret-token-guarded webhook matches the code, links the
channel as a SocialAccount (chat_id in meta), and records it on the request so
the connect endpoint can poll for completion. Adds the TelegramConnectRequest
model + migration, the connect/status endpoints, the public webhook route (CSRF
exempt), a ConnectionVerifier branch (getChat liveness), and a telegram:set-webhook
command. Tests cover the code issue, webhook link, secret rejection, expired/
unknown codes, status polling, and the command.
2026-06-13 21:39:03 -03:00
..
Controllers Add Telegram connection flow (controller + webhook) 2026-06-13 21:39:03 -03:00
Middleware feat(billing): make trial card requirement configurable 2026-05-21 10:02:38 -03:00
Requests Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00
Resources Tidy automation backend: run duration, folded migrations, imports 2026-06-13 16:30:32 -03:00