rspace-online/modules/rsocials
Jeff Emmett 5c32119946 feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state
Per-post "Schedule to Postiz" button on Post nodes (rSpace → Postiz), a 60s
server sweep that auto-pushes Scheduled posts within a 10min lead window,
and a Postiz → rSpace reconcile poll that flips postizStatus to
'published' (or 'failed') and records publishedAt + releaseURL.

- schemas: PostNodeData gains postizPostId, postizIntegrationId,
  postizStatus, postizError, postizSentAt, postizCheckedAt,
  postizReleaseURL, publishedAt.
- postiz-client: listPosts(startDate, endDate) for reconciliation.
- mod.ts: sendCampaignNodeToPostiz() helper, POST /api/campaign/flows/
  :flowId/nodes/:nodeId/send-postiz, postizSweep() + postizReconcile()
  wired into onInit via startPostizScheduler.
- folk-campaign-planner: button + status badge in Post inspector,
  timeline/table dot colors reflect postizStatus (queued=purple,
  published=green, failed=red). Timeline bucket stays by scheduledAt.
- campaign-planner.css: postiz state pill styles.
- Bump campaign-planner JS/CSS to ?v=2 to bust CF cache.

Mock-Postiz smoke against the client lib passes 20/20 assertions.
Live Postiz round-trip pending deploy to Netcup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 10:28:26 -04:00
..
components feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
lib feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
applets.ts feat(canvas): rApplet Phase 2 — port chips, data flow, toolbar palette, 15 module applets 2026-04-15 13:08:49 -04:00
campaign-data.ts feat(rsocials): AI campaign generator from event brief 2026-03-12 13:59:56 -07:00
landing.ts fix: disable all feature tours — shell welcome tour, TourEngine, landing links 2026-04-15 11:12:00 -04:00
local-first-client.ts feat(rsocials): add Campaign Wizard with 5-step AI-guided creation flow 2026-03-21 14:41:45 -07:00
mod.ts feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
schemas.ts feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00