trypost/app/Http/Controllers
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
..
Api Make AspectRatio the single source for crop math; fill test gaps 2026-06-10 15:52:41 -03:00
App Tidy automation backend: run duration, folded migrations, imports 2026-06-13 16:30:32 -03:00
Auth Add Telegram connection flow (controller + webhook) 2026-06-13 21:39:03 -03:00
Webhooks Add Telegram connection flow (controller + webhook) 2026-06-13 21:39:03 -03:00
Controller.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00