trypost/tests/Feature
Paulo Castellano 9f3b8e547a fix: overhaul social publishing — validation, uploads, token refresh
- Fix UpdatePostRequest missing content_type, synced, meta fields
  (content_type was silently dropped, causing Instagram Reels to post as Feed)
- Create API FormRequests (StorePostRequest, UpdatePostRequest) replacing inline validation
- Fix syntax errors in all publishers ($media->isVideo() missing variable)
- Fix Instagram Feed with single video calling publishSingleImage instead of publishReel
- Fix TikTok hardcoded SELF_ONLY privacy — now queries creator_info API
- Refactor YouTubePublisher to use google/apiclient SDK with chunked resumable upload
- Fix all publishers using file_get_contents for large videos (memory overflow)
  — X, LinkedIn, LinkedInPage, Pinterest, Bluesky, Mastodon now use temp file + stream
- Fix Media::isVideo/isImage to use mime_type instead of extension
- Fix Threads not saving refresh_token (was null, now saves access_token)
- Add Instagram token refresh to publisher and ConnectionVerifier
- Fix PublishToSocialPlatform job: tries 3→1 (prevents duplicate uploads),
  timeout 60→600s, added failed() method for cleanup
- Increase Horizon worker timeout 60→630s, Redis retry_after 90→660s
- Increase upload limit 500MB→1GB
- Add mastodon to getDefaultContentType in Edit.vue
2026-03-31 19:25:19 -03:00
..
Api fix: overhaul social publishing — validation, uploads, token refresh 2026-03-31 19:25:19 -03:00
Auth chore: tracking, gtm and more 2026-03-30 21:32:43 -03:00
Commands refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Controllers refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Jobs fix: overhaul social publishing — validation, uploads, token refresh 2026-03-31 19:25:19 -03:00
Listeners fix: Stripe webhook setup completion, notifications routing, billing UI 2026-03-31 13:52:36 -03:00
Mcp feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
Middleware refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
Services/Social fix: overhaul social publishing — validation, uploads, token refresh 2026-03-31 19:25:19 -03:00
Settings feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
Social refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
AcceptInviteControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
ApiKeyControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
BillingControllerTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
CreateUserActionTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
ExampleTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
MediaControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
NotificationControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
OnboardingControllerTest.php fix: security audit - IDOR, open redirect, authorization, session fixes 2026-03-30 14:58:25 -03:00
PostControllerTest.php fix: overhaul social publishing — validation, uploads, token refresh 2026-03-31 19:25:19 -03:00
PostSearchTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
SendPostHogEventTest.php chore: posthog, ui, features and more 2026-03-30 21:18:07 -03:00
SignupSuccessControllerTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
SocialAccountToggleTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
SocialControllerTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
SocialLoginControllerTest.php chore: tracking, gtm and more 2026-03-30 21:32:43 -03:00
VerifyWorkspaceConnectionsTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceControllerTest.php refactor: code review fixes — policies, enums, data_get, tests 2026-03-31 00:40:18 -03:00
WorkspaceHashtagControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
WorkspaceInviteControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00
WorkspaceLabelControllerTest.php feat: social account toggle action, API, MCP + full test coverage 2026-03-31 01:42:39 -03:00