Commit Briefs
cmd/apserve: write and serve the system docs! (origin/master, tags/v0.1.0)
apub: tighten up content-type on marshalling into mail
Clearer: set a body to read from, then change it when necessary. Fewer instructions! Also, mail clients don't really know what to do with text/markdown, so just use text/plain; that's what Gruber would want. Adds basic test case too
abub/apserve: remove old unused apub file handlers
This stuff is generated programaticall now.
apub: remove unused UserWebFingerFile
Moved to package sys, generated dynamically (and tested!).
apub: unmarshal direct To recipients into Mastodon et al. Mentions
This seems clear enough. In the regular email world we want direct recipients to be signalled in some way of our message. Recipients merely copied in (CC'd) don't need to be alerted but still get the message.
apub: return entire actor when doing multiple webfinger lookups
We've already looked up the entire actor so may as well return it, then let callers do what they want with the data.
apub: decode tag field of Activities
This gets us a bit closer to seeing Mastodon's non-standard Mention activities.
cmd/apserve: ensure JSON content-type header set
For some reason http.DetectContentType can't work out that we're sending JSON.
apub: fix testdata for current live system
Not ideal to rely on live system available over the internet but we'll get there eventually maybe.
all: refactor like Unix, Plan 9 upas
That is, delegate all message handling, incoming and outgoing to a short-lived process. Maybe this is really like sendmail but I dunno. Anyway it works and this is a big and bad enough commit already!
cmd/apmail: use host users as the actors
Now defaults to whoever owns the process.
cmd/apmail: let reverse proxy do its own logging
This was debug logging from a while ago.
public-ish release
I made a bit of an announcement to fediverse@lemmy.world: https://old.lemmy.world/post/12791602 Replies were delivered ok to my ActivityPub inbox and my mail inbox. And I replied to those from my email client, too!