17 Commits

Author SHA1 Message Date
eb932ebdaa Publish milestones per channel and add Instagram
Consent is bound to the channel it was given for: approving a post on X says
nothing about Instagram. Publishing state moves from the SocialMilestone row
into SocialMilestonePost, one row per channel, where a missing row means no
consent. The dialog asks per channel, shows the text each one will publish and
keeps a separate handle for each; Instagram captions end in hashtags because a
link there is not clickable.

Also fixes three problems in the existing X path:

- A QR code already past several thresholds produced one prompt per threshold,
  and since the post quotes the current scan count, every one of them would
  have published the same number. Only the highest threshold is announced now.
- Detection ran after every unique scan and re-read the QR code's full scan
  history just to hit skipDuplicates. Known milestones are filtered first.
- A failed post stayed failed forever because the consent dialog only opens
  once. The queue now retries three times on its own, spaces first attempts by
  SOCIAL_MILESTONE_MIN_GAP_HOURS, and Settings lists every milestone per
  channel with restart and revoke.

The worker no longer renders the card itself; it downloads the image the app
renders at /s/m/<token>/og, which also serves the new square and portrait
formats. Instagram publishing stays off until SOCIAL_MILESTONE_CHANNELS and
SOCIAL_WORKER_CHANNELS both name it.

Schema changes are manual SQL, see sql/2026-08-16_*.sql. Run both before
deploying this version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 13:46:13 +02:00
f7d82aa5bd Add consented social milestone posting 2026-08-14 09:03:21 +02:00
7b81464a1d Atom eve seo 2026-07-15 18:08:51 +02:00
c352cb75b5 Bild Carousel V3 2026-07-12 12:32:30 +02:00
d542f849aa TikTok V5 + Security 2026-07-11 22:09:10 +02:00
Timo
c26c2aae31 Social assets: no auto table create, manual SQL only
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 11:14:26 +02:00
Timo
863e03f802 Social asset hosting API for TikTok PULL_FROM_URL
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 11:01:56 +02:00
1a39593b29 TikTok V3 2026-07-09 18:18:17 +02:00
cc2522f7a4 Bild Carousel V2 2026-07-09 17:02:33 +02:00
2a14c84ad3 Bild Carousel 2026-07-09 16:45:03 +02:00
a7d6d3bce9 TikTok api 2026-07-08 19:03:40 +02:00
68b2ac0089 11 seo pages 2026-07-06 21:53:53 +02:00
Timo Knuth
0b9c8d2a8f TikTok api 2026-07-02 13:06:50 +02:00
eea88f2fb4 Add internal RevOps export API 2026-06-30 20:11:13 +02:00
Timo Knuth
22a987029b SEO: compare/guide pSEO pages + internal links + intent differentiation 2026-06-22 13:22:11 +02:00
Timo Knuth
81d1fdd280 weekly seo 2026-05-11 11:10:30 +02:00
Timo Knuth
aab808c553 Impeccable 2026-04-29 20:34:09 +02:00