trypost/app
Paulo Castellano 0619f2a0f4 refactor: address code review for per-workspace pricing
Bug fix
- Surface the localized "network already connected" message on the
  Facebook/Instagram/InstagramFacebook/LinkedInPage/Threads/YouTube OAuth
  callbacks: catch NetworkAlreadyConnectedException before the generic catch
  so the conflict no longer falls through to a generic error + Log::error.

Scope / dead code
- Remove the orphaned BillingController::checkout() + app.billing.checkout route
  (onboarding starts checkout directly); delete the now-dead DiscordWidget and
  useFeatureAccess composable; prune orphaned i18n keys left by removing the
  plan picker / upgrade dialog / count limits (billing.subscribe.*,
  accounts.limit_reached, workspaces.limit_reached, common.discord.*).
- Drop the unused `plan` prop from the usage page and the unused `label` from
  the onboarding persona payload (labels come from i18n); remove
  Persona::options()/label().

Conventions
- declare(strict_types=1) on the two new migrations.
- Extract autofill validation into AutofillBrandRequest (FormRequest).
- Drop the unused $plan param from AccountPolicy::swapPlan.
- CreateUser: drop the stale config('cashier.trial_days', 7) fallback (now 8).
- Rename LimitEnforcementTest to InvitePermissionTest; use Pest mock() helper in
  WorkspaceQuantitySyncTest; move shared test helpers into Pest.php.
- Memoize BillingCycle window() + subscription lookup.
2026-06-21 21:28:47 -03:00
..
Actions refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
Ai refactor(ai): introduce GeneratorFormat enum and drop stringly-typed format 2026-06-18 11:11:23 -03:00
Broadcasting feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00
Concerns refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Console/Commands Extract Telegram webhook registration into an action 2026-06-13 22:20:52 -03:00
DataTransferObjects feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00
Enums refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
Events Detect Telegram connection via broadcast instead of polling 2026-06-14 10:58:13 -03:00
Exceptions feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
Features feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
Helpers fix: correct Upload.php filename case for Linux CI 2026-03-31 12:01:48 -03:00
Http refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
Jobs refactor(ai): introduce GeneratorFormat enum and drop stringly-typed format 2026-06-18 11:11:23 -03:00
Listeners fix(posthog): harden usage sync after deletes and workspace removal 2026-05-19 19:01:53 -03:00
Mail feat: @mentions in comments, AI Action layer + MCP tools, settings tabs 2026-05-01 20:59:03 -03:00
Mcp refactor(meta): own the platforms.*.meta parent rule in PostPlatformMetaRules 2026-06-16 17:50:40 -03:00
Models feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
Observers feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
Policies refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
Providers feat(channels): add Discord as a social channel 2026-06-16 14:44:00 -03:00
Rules fix(automations): code-review hardening for feed fetch & URL validation 2026-06-16 12:09:16 -03:00
Services feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
Socialite feat(channels): add Discord as a social channel 2026-06-16 14:44:00 -03:00
Support refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00