~tsileo

France

https://thomassileo.name

Software engineer in love with Python and Go, paranoids about backups.

Trackers

~tsileo/microblog.pub

Last active 3 days ago

~tsileo/gemapi

Last active 1 year, 11 months ago

~tsileo/blobstash

Last active 4 years ago

~tsileo/entries

Last active 4 years ago

#149 'Internal Server Error' when navigating to Notifications page. 1 year, 17 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Thanks!

REPORTED RESOLVED FIXED

#149 'Internal Server Error' when navigating to Notifications page. 1 year, 17 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Thanks for the details, this is bug in the pruning method: it removed the "Move" object and the notification relies on it.

I pushed a fix, if you update, you should be able to see the notifications again.

Keep me updated, thanks!

#148 image gets broken when downloaded through media proxy 1 year, 17 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey there!

Good catch! I just pushed a fix to add content-encoding to the allow list: https://it.sr.ht/~tsileo/microblog.pub/commit/a5290af5c803cdd57ef30390c45e0a2e2eb27211.

Thanks!

#149 'Internal Server Error' when navigating to Notifications page. 1 year, 17 days ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, the logs should contain additional details after the "Exception in ASGI application", can you share it?

It should look like this:

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/opt/venv/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]

Thanks!

#132 Make CSRF token expiration configurable 1 year, 1 month ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, I just added support for a new csrf_token_exp config item (and also extended the default one to 3600 seconds).

Thanks!

REPORTED RESOLVED IMPLEMENTED

#141 stream/inbox: show content once 1 year, 1 month ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, there's already an always-on dedup to prevent seeing multiple announces of the same object, but there's no nothing in place to prevent seeing announces of known objects.

I will check it it would be doable with filters or consider adding an extra setting for this.

Thanks!

#140 PNG images get trashed when uploaded to Microblog 1 year, 1 month ago

Comment by ~tsileo on ~tsileo/microblog.pub

A 3rd-party library (pillow) is used to convert images to webp (to reduced page loading time), I will add a setting to enable/disable this behavior.

#137 Login session lifetime 1 year, 1 month ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, I was able to replicate this behavior on Chrome, but for some reason, on Firefox the cookies is still valid after a restart.

I agree that it makes sense to tweak the behavior.

I will add this my todo list, unless you're still up for proposing a patch, let me know!

Thanks!

#130 Posts in plain text instead of Markdown/HTML 1 year, 2 months ago

on ~tsileo/microblog.pub

Thanks, ~tsileo! I didn’t mean disrespectfully, it was a genuine question. Hope you find time soon (and more volunteers) to keep improving Microblog — it’s an awesome software! :)

I’m aware other fediverse software support formatting. Particularly, I’m very wary regarding where formatting improves things; overall, I prefer plain text on social media. An option to turn formatting off would be great.

#135 Replace Supervisord with Direct Systemd Unit 1 year, 2 months ago

Comment by ~tsileo on ~tsileo/microblog.pub

Hey, you can try porting the supervisord configuration into a systemd unit, but I think it will end up being quite complex (handling the venv and 3 processes).

Supervisord as the advantage of playing nicely with Docker too, so I think we will stay with supervisord, at least for now.

Thanks!