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,38 @@
|
||||
# v2.0.1: Absolute URLs from SITE_URL; CI builds with BuildKit
|
||||
|
||||
> Reconstructed on 2026-11-03 from the changelog and git history. Commits `b4e6cf3`, `2d0568d`.
|
||||
|
||||
## Summary
|
||||
|
||||
Behind Caddy the app is reached over plain HTTP, so
|
||||
`url_for(..., _external=True)` produced `http://` links on the https site:
|
||||
RSS/OPML `<link>`s and the microformats `u-url`/`u-uid` permalinks that
|
||||
IndieWeb parsers treat as canonical. Separately, the container workflow
|
||||
had never succeeded.
|
||||
|
||||
## Changes
|
||||
|
||||
- `starpunk/utils.py`: new `absolute_url_for(endpoint, **values)` =
|
||||
`SITE_URL` (trailing slash stripped) + `url_for(endpoint, **values)`.
|
||||
Registered as a Jinja global in `create_app()`.
|
||||
- `templates/base.html`, `index.html`, `note.html`, `tag.html`: absolute
|
||||
URLs use `absolute_url_for()`.
|
||||
- `starpunk/indieauth.py`, `starpunk/routes/indieauth.py`: the IndieAuth
|
||||
metadata used its own SITE_URL helper; it now shares `absolute_url_for()`.
|
||||
- `.gitea/workflows/build-container.yml`: the runner no longer has a Docker
|
||||
daemon. Build with `docker buildx` against the rootless BuildKit socket
|
||||
(`unix:///run/buildkit/buildkit/buildkitd.sock`, remote driver) and log in
|
||||
to `git.thesatelliteoflove.com` (the old workflow logged in to
|
||||
`gitea:3000`, which did not resolve). Image name is lower-cased.
|
||||
|
||||
## Tests
|
||||
|
||||
`tests/test_absolute_urls.py`: links in pages and feeds use `SITE_URL`
|
||||
even when the request arrives over http.
|
||||
|
||||
## Notes
|
||||
|
||||
- Any new absolute URL must use `absolute_url_for()`, not `_external=True`
|
||||
(later used for outgoing webmention source URLs, v2.5.0).
|
||||
- The registry login still used the automatic Actions token, which the
|
||||
registry refused; fixed in v2.0.2.
|
||||
Reference in new issue
Block a user