~tsileo

https://a4.io

Trackers

~tsileo/microblog.pub

Last active 3 days ago

~tsileo/gemapi

Last active 4 months ago

~tsileo/blobstash

Last active 3 years ago

~tsileo/entries

Last active 3 years ago

#70 Feat: batch operations, esp regarding import a day ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, I just implemented the "follows" import from Mastodon: https://docs.microblog.pub/user_guide.html#import-follows-from-mastodon

I will give some thoughts about the export!

Thanks!

#78 Python build fails on Python 3.11 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey,

I've seen this invoke issue with Python 3.11. I was waiting for them to release a new version but it's starting to be a bit long/ridiculous. It prevented me to switch too.

Thanks for sharing your fix, I will leave the issue open, but ultimately, it would be nice if they can fix invoke though!

#73 Media Proxy Key Error? 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

REPORTED RESOLVED CLOSED

#76 Allow regex/glob in blocked servers 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey,

I just pushed a tweak that makes the blocklist aloso block subdomains: https://git.sr.ht/~tsileo/microblog.pub/commit/a337b32bcd814fa81033a3f86b336069e842f257

Thanks!

REPORTED RESOLVED FIXED

#77 Publishing fails when an URL has an invalid HTTPS certificate 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey,

I just pushed a fix (the issue was during the webmention discovery, the opengraph stuff was already failing gracefully): https://git.sr.ht/~tsileo/microblog.pub/commit/5d95fd44ac5d32e79b0e08b63b19a3d95444f620

Thanks!

REPORTED RESOLVED FIXED

#76 Allow regex/glob in blocked servers 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

I don't think we're vulnerable, as there's already recursion limits when processing a thread (we had issue with blocking workers when processing a message from a thread that have thousands of messages).

And we don't try to save/fetch mentioned actors in an object (we only look for mentions of the local actor).

#77 Publishing fails when an URL has an invalid HTTPS certificate 3 days ago

on ~tsileo/microblog.pub

Thank you,

I was trying to get a look at the code, but I'm still too unfamiliar with the code base to contribute here.

However, I just noticed that, unlike opengraph.py, the other utils don't seem to catch generic Exceptions.

So maybe the fact that I only see the "Failed scrap OG meta" means the open graph parser is actually working, and the problem might be on one of the other parsers? I was not really able to debug much further than this... still, I'm leaving this comment here in case my snippet of logs gives you tunnel vision into OpenGraph.

Again, thank a lot for your help. I'm really enjoying using microblog.pub so far!

On 03/12/2022 23:35, ~tsileo wrote:

Hey,

Failing to fetch the OpenGraph metadata does not prevent processing an incoming activity.

And you're right, it should not prevent creating a note(/processing an outgoing activity), it should just not skip processing.

I will take a deeper look soon.

Thanks!

#77 Publishing fails when an URL has an invalid HTTPS certificate 3 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey,

Failing to fetch the OpenGraph metadata does not prevent processing an incoming activity.

And you're right, it should not prevent creating a note(/processing an outgoing activity), it should just not skip processing.

I will take a deeper look soon.

Thanks!

#69 Display gif videos in a more gif-y way. 4 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey!

I just pushed a test to enable a "GIF mode" for "videos without audio and small duration" (using JS).

It works like Mastodon:

  • show a small "GIF" overlay
  • disable controls
  • play in a loop on mouse over

Let me know how it goes!

Thanks!

#76 Allow regex/glob in blocked servers 4 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey,

I think the right behavior should be blocking a domain should also block all subdomains (that's what Mastodon is doing for example).

I will take a look and push a tweak.

Thank you for the report!