Matt's Dev Log

Right now, we have a pause on major features in WriteFreely. I've finally started to work through the backlog of outstanding pull requests, some of which were from mid-2019, and now am getting to more of the polishing side of things. So coming soon, there will be some small new visual changes in WriteFreely / Write.as, particularly that affect user blogs.

  • Dates on blog posts. It's been missing for years. They'd show on the blog home page, but not blog posts. Well, this is no longer the case. Soon, posts on blogs that use the Blog display format will consistently show dates both on their home page and individual posts. Other display formats will continue not showing dates, because that's exactly what they're there for: not showing dates.
    • Also, dates are now correct, relative to your device's timezone!
  • <table> style. These elements were previously unstyled. Now they'll have some improved, basic styling that you can easily override with custom CSS. See #194.
  • Consistent user page headers. User pages (Blogs, Drafts, Account Settings, etc.) were all over the map with their headers. I'd start using a new style on new pages and not update the old ones. Well, now that's fixed in #262. Write.as users will notice this change is already live.
  • Slightly more line height. We've added 10% more space between lines of text. It's perhaps too small to really notice, but large enough to make a nice improvement. Changes in #263.

On the admin side, we're redesigning the dashboard to make it much more user friendly, and optionally less technical, in cases where an instance is in a hosted environment and the admin doesn't care about getting into the weeds. See #264. We need this change in Write.as for Teams, but it should also prove helpful for other WriteFreely hosts.

Particularly since these are visible changes that affect users, we want your feedback! Please jump into those pull requests on GitHub, try things out, and let us know what you think. We want to be sure people are happy with these upcoming changes before they get released to everyone.

#wfdev #design #WriteFreely

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

#dates

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

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!

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.

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

And just testing Socialhome: @matt9248@socialhome.network

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   :

This is just a #test post.

Okay real last one — this time, WF mentions:

@devlog@matt.writefreely.dev

@matt@write.as

edit: crash!