docs: Bring all documentation up to date for v2.10.1
- architecture/: overview, technology stack, auth (OIDC + built-in IndieAuth), syndication (POSSE) rewritten; new database.md, deployment.md and indieweb-protocols.md; legacy stack marked historical - decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections (superseded auth ADRs, proposed -> accepted); INDEX rebuilt - design/: reconstructed the v1.6.0 documents the webmention code cites; reports for 18 v2 releases without a design folder; INDEX rebuilt - projectplan/: BACKLOG rewritten (shipped items removed, open issues from the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX - standards/: development setup (uv, tests, DEV_MODE), testing (CI test stage), git and release flow, versioning, coding standards, cookies - README, CLAUDE.md, .env.example (every setting the code reads, with defaults) brought up to date - 137 broken links repaired (old absolute paths, moved files); stale ADR references in code comments corrected (comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa551de197
commit
0716984958
143 files changed
+6222
-8660
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# v2.6.6: Crossposts include photos embedded in the text
|
||||
|
||||
> Reconstructed on 2026-11-03 from the changelog and git history. Commit `39c8259`.
|
||||
|
||||
## Summary
|
||||
|
||||
Some Micropub clients (OutPost) upload to the media endpoint and then put
|
||||
the image in `content` instead of sending `photo`. Those notes have no
|
||||
attached media, so crossposts went out without the image.
|
||||
|
||||
## Changes
|
||||
|
||||
`starpunk/syndication.py`:
|
||||
|
||||
- `inline_images(markdown)`: images in the note text, with alt text.
|
||||
- `_own_media_path(url)` / `_media_by_path(path)`: keep only images in this
|
||||
site's media library.
|
||||
- `_media_files(note_id, limit, content)`: attached media first, then
|
||||
embedded own images, de-duplicated, within each target's photo limit,
|
||||
alt text from the Markdown.
|
||||
- `strip_images()`: GoToSocial's text no longer contains the image
|
||||
Markdown.
|
||||
|
||||
## Tests
|
||||
|
||||
`tests/test_syndication.py` (4 tests: embedded own image attached, text
|
||||
around the image kept, image both attached and embedded sent once, other
|
||||
sites' images ignored).
|
||||
|
||||
## Notes
|
||||
|
||||
Images hosted on other sites are still left out of crossposts.
|
||||
`__version_info__` was not bumped in v2.6.6 and v2.6.7 (stayed `(2, 6, 4)`;
|
||||
`__version__` was correct).
|
||||
Reference in new issue
Block a user