The containerization release¶
It’s been longer than the usual one month since I wrote one of these posts.
The pause was mostly due to the fact that I got a new job which left me with less time than I wanted to pursue working on FedBOX and littr.me projects.
Docker¶
Another reason was that most of the time I spend putting together a docker setup for littr.me that can be run out of the box with as little hassle as possible. Docker is not my favourite technology and I wasn’t feeling super motivated to get it done.
The docs have the very basic instructions.
The dev environment based on docker is using 3 containers, fedbox, littr and Caddy in front of them as a load balancer. An obvious point of improvement is to add some actual load balancing if we scale one of them.
Improved OAuth2 and sessions¶
There have been a couple of bugs related to OAuth2 authentication and session storage. These last ones were so annoying that I’m considering replacing gorilla/sessions with go-session/session.
This included adding a new storage layer for FedBOX OAuth2 directly at fs layer, in the same tree as the regular fs layer for ActivityPub.
Their saga has not ended, as there are still some unpolished cases, with logging out and back in, which sometimes requires to manually delete cookies.
Improved moderation and moderation log¶
Making some of the filters in the moderation log work. Fix some crashes, when unable to load them.
Adding support for #tags and @mentions in moderation requests, they are not yet filtered on.
Conclusion and next steps¶
Even though the release notes seem pretty light, the stats are somewhat less so:
82 files changed, 3728 insertions(+), 1616 deletions(-)
Even though in June I was confident that the next thing I’ll be doing is ActivityPub Server to Server protocol, I realized I want to do add some more improvements to the storage layer. Mainly I want to save Object’s contents in separate files/buckets.