Matt's Dev Log

Dates on this blog should now be correct to your current timezone. This post is set as published just a bit before midnight UTC, so it should change to the day after (January 29) for anyone in Europe, Africa, Asia, etc.

#dates


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

Just merged writefreely#235 (Add dates to blog post pages) to the develop branch, which closes T669.

It's a small change that'll make it over to Write.as soon (before WriteFreely v0.12), but you can see what that looks like on this blog post!


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

A recent idea I had: what if WF federated Notes instead of Articles in certain situations? I just tweaked this instance so that if there's no newline in a post, it'll come out as a Note. Otherwise it'll be an Article, like normal. Thoughts? Reply to @matt@writing.exchange.


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This should be fixed now: @matt@write.as

And just testing Socialhome: @matt9248@socialhome.network


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

I created an account matt9248@socialhome.network and searched for @devlog@matt.writefreely.dev (this blog).

SocialHome successfully pulled up the account and I was able to follow it. I made a test post that went out to all followers successfully and seems to have been successfully received on socialhome.network (according to the 202 Accepted in the response, shown below).

Here are the logs on my end from the post going out to socialhome.network:

2019/11/27 13:01:19 POST https://socialhome.network/receive/public/
2019/11/27 13:01:19 POST /receive/public/ HTTP/1.1
Host: socialhome.network
User-Agent: Go (WriteFreely/0.11.1-13-gbbb7b28; +https://matt.writefreely.dev)
Content-Length: 1348
Content-Type: application/activity+json
Date: Wed, 27 Nov 2019 13:01:19 GMT
Digest: SHA-256=OdKi+5fNxiOZMV/xl8u3o+wQHPenx/VoL/4BQYMiu/Y=
Signature: keyId="https://matt.writefreely.dev/api/collections/devlog#main-key",algorithm="rsa-sha256",headers="(request-target) date host digest",signature="yL+tw87IQF9FaPW05Smq1/4+rPg0qAcVD3N124PXZ7ubG1NOVdU1y2og0HbQp4LYEIutzE5vmMUCtNcg62ETFOrjAGW3fzwmpld+lspnhnq/YOXfXbMf7E9NXfLlgamsSx4Rtimt1tAwAMD8HzO5kiHW1O5MNOxRpsDhXCaoHkB/gnJW4T3SfMISgEfREN3/Ix1CtNkzxHQflV/9aKZKN0YvR33ruvvk9UKtJwDY2lDvfcQqPlKOAo+7gu8KwVz8lNjfIyXmjc/23A4QZVTFrey9Ru8vQC7UFuzdbIX+8mcgQ9ERrJ+EfEr3R0DiG6NGgUOtGsPUwYitdmRHOtvycg=="
Accept-Encoding: gzip
[1B blob data]
{"@context":["https://www.w3.org/ns/activitystreams",{}],"type":"Create","id":"https://matt.writefreely.dev/api/posts/lr7wrfa67t","actor":"https://matt.writefreely.dev/api/collections/devlog","published":"2019-11-27T13:01:18Z","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://socialhome.network/u/matt9248/"],"object":{"type":"Article","id":"https://matt.writefreely.dev/api/posts/lr7wrfa67t","published":"2019-11-27T13:01:18Z","inReplyTo":null,"url":"https://matt.writefreely.dev/testing-socialhome","attributedTo":"https://matt.writefreely.dev/api/collections/devlog","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://socialhome.network/u/matt9248/"],"name":"Testing SocialHome","content":"\u003cp\u003eThis is just a \u003ca href=\"https://matt.writefreely.dev/tag:test\" class=\"hashtag\" rel=\"nofollow\"\u003e\u003cspan\u003e#\u003c/span\u003e\u003cspan class=\"p-category\"\u003etest\u003c/span\u003e\u003c/a\u003e post.\u003c/p\u003e\n","contentMap":{"en":"\u003cp\u003eThis is just a \u003ca href=\"https://matt.writefreely.dev/tag:test\" class=\"hashtag\" rel=\"nofollow\"\u003e\u003cspan\u003e#\u003c/span\u003e\u003cspan class=\"p-category\"\u003etest\u003c/span\u003e\u003c/a\u003e post.\u003c/p\u003e\n"},"tag":[{"type":"Hashtag","href":"https://matt.writefreely.dev/tag:test","name":"#test"}]}}
2019/11/27 13:01:19 Resp status : 202 Accepted
2019/11/27 13:01:19 Resp body   :

Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This is just a #test post.


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

Okay real last one — this time, WF mentions:

@devlog@matt.writefreely.dev

@matt@write.as

edit: crash!


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This broke before on AP implementations without a shared inbox; let's see if it works now:

@bear@pixelfed.social @baer@prismo.xyz @matt@pleroma.site

edit: no crash!

#mentions


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

Let's see if I (@matt@writing.exchange) get this.

#mentions


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.