Commit Graph

42 Commits

Author SHA1 Message Date
Sven
072b803308 chore: update youtube endpoint fork (fix double video embed)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 10:00:43 +01:00
Sven
fad383dfee chore(deps): update activitypub fork to v3.6.8 (Mastodon Client API merge)
Pulls the merged upstream feat/mastodon-client-api branch into our fork
(svemagie/indiekit-endpoint-activitypub@f029c31). The fork now tracks
upstream v3.6.8 while retaining our custom additions.

What's new in the installed package:
- lib/mastodon/ — full Mastodon Client API compatibility layer (entities,
  middleware, routes, helpers, backfill-timeline, router)
- 13 additional locale files (es, fr, de, hi, id, it, nl, pt, sr, sv, zh, …)
- signatureTimeWindow and allowPrivateAddress built into federation-setup.js
  (patch-ap-allow-private-address now cleanly detects "already up to date")

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 15:27:04 +01:00
Sven
fe0f347e49 chore(ai): remove custom AI patches superseded by upstream endpoint-posts@beta.44
- Remove patch-preset-eleventy-ai-frontmatter: upstream now writes AI
  frontmatter natively using hyphenated keys (ai-text-level etc.)
- Remove patch-endpoint-posts-ai-cleanup: upstream beta.44 natively
  removes empty ai-text-level/ai-code-level/ai-tools/ai-description fields
- Remove patch-endpoint-posts-ai-fields: upstream beta.44 has AI form UI
  inline in post-form.njk; our separate templates would have duplicated fields
- Remove patch-micropub-ai-block-resync: one-time stale-block migration,
  no longer relevant
- Remove patch-endpoint-posts-prefill-url: upstream beta.44 has native
  prefill from query params; our patch would have conflicted
- Remove patch-endpoint-posts-search-tags: upstream beta.44 has native
  search/filter/sort UI; patch already detected this and was a no-op
- Bump @rmdes/indiekit-endpoint-posts beta.25→beta.44,
  override beta.41→beta.44
- Update indiekit.config.mjs: remove camelCase ai field names from
  all postTypes.fields (ai-* fields now rendered inline by upstream)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 14:37:04 +01:00
Sven
868be4905c chore(deps): update indiekit-endpoint-activitypub to 842fc5a
Pulls AP like detection — likes of Mastodon/AP URLs are now sent as
proper Like activities; likes of regular URLs remain bookmark-style.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 08:50:27 +01:00
Sven
e193c20a50 chore(deps): update indiekit-endpoint-activitypub to 03c4ba4
Pulls fix for OG image URL — slug-only path (/og/{slug}.png)
instead of date-prefixed path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 06:38:07 +01:00
Sven
8e304e4fc1 docs: document likes-as-bookmarks, OG images, and announce revert
- Update README: likes delivered as bookmarks, announces use upstream
  addressing, OG images added to AP objects
- Update fork reference to 45f8ba9
- Remove unused patch-ap-like-announce-addressing.mjs (now in fork)
- Update package-lock.json for new fork commit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 01:39:08 +01:00
Sven
e7bc37f282 chore: merge upstream AP fork v2.13–v2.15.4, remove 5 obsolete patches
Upstream features merged into svemagie/indiekit-endpoint-activitypub:
- v2.13.0: FEP-8fcf/fe34, custom emoji, manual follow approval
- v2.14.0: server blocking, Redis caching, key refresh, async inbox
- v2.15.0-4: outbox failure handling, reply forwarding, CW property,
  soft-delete filtering, as:Endpoints stripping

Patches removed (now baked into fork):
- patch-ap-object-url-trailing-slash
- patch-ap-normalize-nested-tags
- patch-ap-like-announce-addressing
- patch-inbox-skip-view-activity-parse
- patch-inbox-ignore-view-activity

Patches updated:
- patch-ap-allow-private-address: match v2.15 comment style

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 00:49:13 +01:00
Sven
5925d712a1 chore: update youtube endpoint fork (store fix + draft support)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 22:49:16 +01:00
Sven
817145e84a chore: update package-lock for youtube endpoint fork (c0563cf)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 22:09:10 +01:00
Sven
4dabb32ca1 chore: update package-lock.json for forked youtube endpoint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 21:07:27 +01:00
Sven
3beac515cd feat: add indiekit-endpoint-readlater 2026-03-17 12:26:40 +01:00
Sven
ff0a8759a8 chore: upd package-lock.json 2026-03-15 19:34:01 +01:00
Sven
53bb7d363b chore: update @indiekit/* to beta.27, bump endpoint-comments and webmention-sender
- @indiekit/indiekit, @indiekit/store-github: ^1.0.0-beta.25 → ^1.0.0-beta.27
- @rmdes/indiekit-endpoint-comments: 1.0.0 → 1.0.10
- @rmdes/indiekit-endpoint-webmention-sender: 1.0.6 → 1.0.7

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 23:12:50 +01:00
Sven
3708dd92c3 chore: remove Mastodon syndicator and related patches
Blog is now a native ActivityPub actor; Mastodon syndication via
troet.cafe is no longer needed. Removes the syndicator package,
config vars, patch script, and env example entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 22:31:37 +01:00
Sven
af7c89b2c5 update: fix npm 2026-03-14 13:56:54 +01:00
Sven
d411a87161 chore: update lock file for activitypub 2.8.2 2026-03-13 18:59:18 +01:00
svemagie
270249bf83 feat: update blogroll + microsub forks with unified bookmark flow
Both plugins now implement the intended bookmark→feed pipeline:

Microsub:
- tag → find/create channel (no more fallback-only to "Bookmarks")
- stores micropubPostUrl on feed for update/delete tracking
- calls notifyBlogroll() after bookmark-import (blogroll via microsub, not independently)
- moves feed when tag changes (delete from old channel, create in new)
- handles micropub update action: detects tag change or bookmark-of removal

Blogroll:
- skips direct bookmark import when microsub is installed (avoids duplicates)
- acts as fallback importer when microsub is absent
- updates category in-place when existing entry's tag changes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 09:35:46 +01:00
svemagie
cb1418bae5 feat: replace @rmdes/indiekit-endpoint-microsub with svemagie fork
Switches to github:svemagie/indiekit-endpoint-microsub#bookmarks-import
which adds a contentNegotiationRoutes hook to auto-follow bookmarked
URLs as Microsub feed subscriptions when a bookmark-of post is created.

Mirrors the same pattern already in place for the blogroll fork.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 08:36:55 +01:00
svemagie
c591b6fe37 feat(auth): add IndieAuth endpoint plugin and config for /auth 2026-03-10 20:47:20 +01:00
svemagie
7f830aa31f feat(blogroll): use bookmark post category in blogroll entry
Passes the micropub post's category (first tag) through to the blogroll
blog entry. Falls back to "bookmarks" when no category is set.

Handles all micropub body formats (form-encoded, JF2, MF2 JSON).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 19:54:20 +01:00
svemagie
c1a4eb2404 feat(blogroll): auto-import bookmark sites into blogroll
When a micropub bookmark post is created, the bookmarked site's
origin URL is discovered for RSS/Atom feeds and added to the blogroll
under category "bookmarks".

Integration is self-contained in the blogroll plugin via
contentNegotiationRoutes — no micropub patches needed.

Source: github:svemagie/indiekit-endpoint-blogroll#bookmark-import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 19:31:15 +01:00
svemagie
8dbe966a4c fix(posts): ensure post type fields and normalize AI taxonomy
Only display post types with defined fields; backend filters out types lacking fields.
Require fields for backend visibility, not just post path/url.
Add support for custom post form fields by requiring matching templates; missing templates are ignored.
Normalize legacy AI taxonomy values (3 → 2) in frontmatter.
Strip empty AI fields before jf2ToMf2 to avoid empty-string metadata in Micropub payloads.
2026-03-10 16:09:20 +01:00
svemagie
1be5baa60f feat: install and configure @rmdes/indiekit-endpoint-microsub
Adds Microsub social reader endpoint at /microsub, enabling feed
subscription and management via the Microsub protocol.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 10:17:04 +01:00
svemagie
038b94a606 feat: install and configure @rmdes/indiekit-endpoint-blogroll
Mounts blogroll API at /blogrollapi — syncs RSS/Atom feeds hourly,
caches 50 items per blog, deletes items after 7 days.
Public endpoints: /blogrollapi/api/blogs, /items, /categories, /status, /opml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 10:17:03 +01:00
svemagie
ab2c248344 feat: Add @rmdes/indiekit-syndicator-indienews plugin and config block 2026-03-10 10:17:02 +01:00
svemagie
99b7966722 feat: update package files for indiekit-endpoint-youtube 2026-03-10 00:07:31 +01:00
svemagie
7d13d5dbfa Add and configure comments endpoint 2026-03-09 18:23:32 +01:00
svemagie
fed5657957 Add webmentions proxy endpoint integration 2026-03-09 14:10:59 +01:00
svemagie
8d77f0d259 Configure syndicate endpoint with Bluesky and Mastodon syndicators 2026-03-09 13:48:49 +01:00
svemagie
be0f7e1823 Add webmention sender endpoint integration 2026-03-09 09:36:29 +01:00
svemagie
3153cf95f2 Add podroll endpoint integration and env docs 2026-03-09 09:30:36 +01:00
svemagie
0a6de5b4ad feat(homepage): add homepage endpoint and mount path 2026-03-08 18:19:45 +01:00
svemagie
6565b47c48 Enable ActivityPub federation endpoint and configuration 2026-03-08 10:18:56 +01:00
svemagie
867a982fa6 Enable dedicated repost post type in admin 2026-03-08 07:39:59 +01:00
svemagie
59e34af629 Revert "Enable CV endpoint at /cvapi"
This reverts commit a81180e8e9.
2026-03-08 06:42:03 +01:00
svemagie
a81180e8e9 Enable CV endpoint at /cvapi 2026-03-08 06:36:12 +01:00
svemagie
540d83afc3 Enable optional Funkwhale and Last.fm listening endpoints 2026-03-08 06:04:12 +01:00
svemagie
21d16695c2 fix(deploy): add mongodb runtime dep and harden env checks 2026-03-08 02:10:17 +01:00
svemagie
da25ffa8c2 feat(indiekit): add rmdes page post type and endpoint posts 2026-03-07 23:47:30 +01:00
svemagie
c179ee313f chore(indiekit): sync with rmdes repos and add postinstall lightningcss path fix 2026-03-07 23:17:38 +01:00
svemagie
b8b268e238 0.1.0 2026-03-07 16:00:15 +01:00
63df3fc892 Initial import of Indiekit server 2026-03-07 15:23:34 +01:00