trypost/tests/Unit/Rules
Paulo Castellano d84666360a refactor(linkedin): infer post format from media + unify account connection
Collapse LinkedIn to one content type per account kind (linkedin_post, linkedin_page_post). Publishers infer the publish format from the attached media — text, single image/video, multi-image carousel, or PDF document — matching how facebook_post/x_post already work; PDF is exclusive of any other attachment. Removes the editor variant picker, keeping only the PDF document title field. Includes a data migration collapsing the retired carousel/document content types.

Replace the two LinkedIn account cards with a single Connect LinkedIn button: one unified OAuth grant (linkedin-openid driver, union of scopes) then a post-callback identity picker to post as the personal profile (linkedin) or a company page the member administers (linkedin-page). The chosen organization is validated against the admin-verified list from the OAuth grant. Per-capability gating via LINKEDIN_ENABLED / LINKEDIN_PAGE_ENABLED supports profile-only or org-only self-hosting. Removes LinkedInPageController, LinkedInTokenSynchronizer, the standalone linkedin-page connect routes, and the unused redirect_page config.
2026-06-24 21:05:09 -03:00
..
ContentFitsPlatformLimitsTest.php fix(posts): block scheduling when content exceeds any platform's char limit 2026-05-11 19:39:41 -03:00
ContentTypeCompatibleWithMediaTest.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00
ContentTypeMatchesPlatformTest.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00
ContentTypeMatchesPostPlatformTest.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00