Working on a few backend bug fixes, currently fixing the avatar cache logic
The issue is we store remote avatars and update them after 24 hours (which is being changed) and we never purged older avatars, leading to avatar caches ballooning to multiple GBs (containing dozens or hundreds of old avatars)
The fix will be shipping soon, and will contain a command to manually purge old avatars
I've seen a few different people suggest a network feed of only Pixelfed posts, that would be easy to implement, maybe a self-discovery mechanism to bootstrap new instances with a few dozen public posts too while I'm at it... 🤔 #pixeldev
Cody is just one part of the new media pipeline, along with more efficient previews (using srcset and various sizes), exif support, better video handling, and a much more efficient schema and hydration! #pixelfed#pixeldev
Refactoring @pixelfed home feed to support reblogs and hashtag follows, not only do we get more features, but also a significant performance increase 🥳
Fan-out on write (via redis sorted sets) will replace the expensive db queries we currently use! #pixelfed#pixeldev
Just shipped a big fix for authorized fetch, now working on Import from IG improvements, then going to jump on some mobile app refactoring.
The app is like 80% ready for release IMO, but still needs some major work when it comes to FlatList image layout shifting, comment threading and thumbnail previews. Good news is that those wont take long, and I can squeeze in push notifications & stories before the big public release!
This is my next @NGIZero milestone, and will allow admins to define roles and permissions for all users, as well as allow users to manage permissions of another account (Parental Controls)!
"Trust levels" are another exciting aspect, where admins can define roles with limits that are applied based on thresholds, similar to Discourse Trust Levels
I think @pixelfed is the only fediverse project that supports both mysql and postgres databases.
That being said, postgres support hasn't been up to par until recently, I'm now using it locally and testing against both.
For all the postgres servers, I promise the days of failed jobs, api errors and overall issues are going to be a thing of the past 💪 #pixelfed#pixeldev
Just shipped some improvements to sudo mode, 2fa checkpoint and password resets, besides the redesigned layouts, it now features optional captcha support and implements a random sleep timeout to make brute forcing less useful!
It's a lot of fun to jump back into federation and admin dashboard improvements.
The past week I've been busy with https://beta.fedidb.org, [secret project], and the #pixelfedApp, it feels good to context switch every so often.
I wasn't able to get to Stories and Status Edits this weekend, but I will prioritize them this week along with federated reports and improve anti-spam mitigation!