trypost/tests/Feature/Mcp
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
..
ApiKeyToolTest.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00
AttachMediaFromUploadToolTest.php fix(mcp): use morph alias for mediable_type to match production storage 2026-05-15 16:34:25 -03:00
AttachMediaFromUrlToolTest.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00
LabelToolTest.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00
MediaUploadFlowTest.php test(mcp): end-to-end media upload flow 2026-05-15 16:37:40 -03:00
PlatformToolTest.php feat: complete create + publish post flow via MCP and REST API 2026-05-04 08:12:28 -03:00
PostPlatformMetaToolTest.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00
PostPublishToolTest.php refactor(posts): centralize post editing status checks with PostStatusGuard 2026-05-21 19:27:19 -03:00
PostToolTest.php Make AspectRatio the single source for crop math; fill test gaps 2026-06-10 15:52:41 -03:00
RequestMediaUploadToolTest.php feat(mcp): RequestMediaUploadTool issues signed upload URLs 2026-05-15 16:19:03 -03:00
SignatureToolTest.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00
SocialAccountToolTest.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00
WorkspaceToolTest.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00