trypost/app/Http/Requests/App
Paulo Castellano 44d891ef08 fix(pinterest): restore board picker + require board_id in validation
The post editor lost the Pinterest board picker during a UI rewrite,
causing scheduled posts to fail in production with 'Pinterest board_id
is required'. This restores the picker and locks the contract with
validation + tests so the regression cannot happen silently again.

Backend:
- PostController: pinterestBoards is now Record<account_id, Board[]>
  (mirrors the TikTok creator-info pattern); supports multi-account.
- UpdatePostRequest: 'platforms.*.meta.board_id' rule + after-validator
  rejects Publishing/Scheduling Pinterest posts without board_id.

Frontend:
- PinterestSettings.vue: Combobox board picker with empty-state warning;
  emits update:meta with board_id.
- ScheduleTab / PostEditorSidebar / Edit pass pinterestBoards down by
  social_account_id.

Tests (6 new):
- UpdatePostRequestTest: rejects publishing/scheduling without board_id
  across pin/carousel/video pin; allows draft without board_id;
  pinterest error doesn't block sibling platforms in multi-platform.
- PinterestPublisherTest: publisher throws for carousel + video pin
  when no board_id (existing image-pin case kept).

1542 tests passing.
2026-05-15 11:51:20 -03:00
..
Ai feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
ApiKey refactor: restructure to Actions, subdomain routes (app/api), API tokens 2026-03-29 19:24:28 -03:00
Asset refactor: replace regex/preg_match with sscanf + ends_with in chunked upload 2026-05-04 14:59:57 -03:00
Auth refactor: organize middleware/requests into App/ subdirs, add Resources, fix auth routes 2026-03-29 21:13:30 -03:00
Invite feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
Label refactor: restructure to Actions, subdomain routes (app/api), API tokens 2026-03-29 19:24:28 -03:00
Post fix(pinterest): restore board picker + require board_id in validation 2026-05-15 11:51:20 -03:00
PostComment feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00
PostTemplate feat: pass and persist post dates through AI creation wizard and template application flows 2026-05-06 17:21:30 -03:00
Settings feat: implement consolidated authentication settings including session management and social provider integration 2026-05-03 17:42:44 -03:00
Workspace feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00