Commits
- Commit:
1081cf75278f13ca411f20635423bcd737707d4f
- From:
- Oliver Lowe <o@olowe.co>
- Date:
lemmy: import from its own repo
No need to manage this seperately, it's all related and only brings in
a single dep.
- Commit:
8403ab16d82c2829a3ee4c45b8147aae113b4d66
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub, cmd/apsend: implement shared inbox delivery
This helps servers hosting many actors, and it helps us when
delivering to lots of people on the same server; we only need to make
1 request per server.
- Commit:
d32587396427e2e5dba703667d4bb7cd5bb4ad59
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: remove unused http sig header list
- Commit:
5acd8b1ba0702aa96c36c49046bdaada3f78008d
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: handle unmarshalling from quoted-printable mail
MailMate, for example, using quoted-printable encoding when lines are
about 80 chars long. Blegh!
- Commit:
16b05de44f3a6f511fad431d0ccf13bb44e744ad
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apserve: correct nodeinfo field name
- Commit:
af1bda8fe5eea19660473b8bb1a5ef15756dd5c9
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: use RFC5322-compatible timestamp in Date in header
RFC822 makes Spamassassin unhappy and I learned isn't actually
compliant with revisions to the message spec!
- Commit:
a00f14b4484c749ac2943e42e21ad00076acdaeb
- From:
- Oliver Lowe <o@olowe.co>
- Date:
test for carriage return removal
- Commit:
d3dfb6729126922affd3865165ef240d239837e4
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: handle collection recipients mroe reliably
When we receive activity that has a collection, we see if any of the
other actor recipients have the collection set as their followers.
Then we can encode it with plus addressing. If we can't do that we
drop it. Not ideal, but it covers most use cases.
Next up we can encode arbitrary collections like
"some/path/to/thing@example.com".
- Commit:
ed0db64ab00968903e807add075cfd6dcbf1dafb
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: handle HTTP request signing for those without body
- Commit:
8b63e10caf6d4402d4de05a00d03ea3074ffaf04
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apsend: remove unused message encoding
- Commit:
eec649355b1ab496b58a8e65abc64f9ee7e635ac
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: correctly marshal followers collection from an email recipients
The receiving server can forward the message for us. For us to resolve
the entire collection is a lot of work, especially since paginated
followers collections only contain like 12 entries per page! Lots of
people have over 300 followers.
- Commit:
b526632b614889f059e5aa5d29e84a9f416572da
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: guard against empty pubkey url
A nil key gets handled by rsa.Sign* but we won't catch an empty pubkey
url until some server finds an incorrect HTTP signature.
- Commit:
3d0a086d672bdd0567d3e9127a231334923e3463
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apget: context on marshal to mail error
- Commit:
945bf12efd48f91f4c015c8e3ea78e0474972d16
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: correct actor Address() doc typo
- Commit:
fb77ab166443e8882652dfdbd580a6732494bfd8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: document receiving and reading sections
While here make apget print mail format by default, consistent with
rest of system.
- Commit:
6f092909c92185b689e43e27ae1e2603f6368834
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apsend: accept activitypub json input
This lets it send activity which cannot be converted to mail such as
Follow
- Commit:
8a4431dbcec73c849fba0b624ae24f6ce1303bcc
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/webfinger: import webfinger command
- Commit:
68335697b094d7c1bcb943f5b0ec28352e30b0a9
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apget: clearer summary doc. It's not just about fetching JSON.
- Commit:
421e5894018406b90aeb34ab0d4ed7aa2ace09bd
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: omit empty ID when encoding Activity
This is actually valid according to the spec. This makes embedded
Activities like Mentions neater, too.
- Commit:
e7d3ccfd4186c0f4fa196dc3f282fee6140702db
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apget: add little tool for downloading objects
- Commit:
662ec9733f1620bf3657cc08bf574d45f7ca1de9
- From:
- Oliver Lowe <o@olowe.co>
- Date:
apub: guard against content we cannot unmarshal activity from
Yet! Decoding shouldn't be too hard. But for now it's a TODO.
At least error out so we don't send out crazy messages.
- Commit:
b0c99ab8bd8266f1b53a47220d7b9c3c81d4fbec
- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: make code blocks legible in dark mode
- Commit:
93390e9fff577ce53a6b09d74954879c2da6627a
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apserve: write and serve the system docs!
- Commit:
07a06dfeefde2dbb26c98bdba280315afcb72771
- From:
- Oliver Lowe <o@olowe.co>
- Date:
cmd/apsubmit: reliably print stderr of apsend
- Commit:
184e4de6a4897b14d1f75b9a95ff5b7eb957f543
- From:
- Oliver Lowe <o@olowe.co>
- Date:
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