now working on access token validation for upload, which will need some work on the <local> server bit too, accessing the synapse db for things.
But this standin works, much secure such wow :P
and initial commit published!
https://git.pixie.town/f0x/synapse-media-proxy
:O I think I implemented the whole https://spec.matrix.org/unstable/server-server-api/#server-discovery Matrix server discovery flow!!! It's rather complex, with .well-knowns and SRV records and combinations of those.
Also nice that I could fork of the client-spec counterpart already made by someone else :) https://www.npmjs.com/package/@modular-matrix/autodiscover-client-configuration
submitted 2 things to TWIM https://matrix.org/blog/category/this-week-in-matrix for the first time in aaaages :3
@f0x hell yeah f0x that's really cool!
@f0x anything i can do?
@dumpsterqueer Just checked, and ondergrond uses SRV lookup which I already have a consenting example of, but thanks for the offer :)
@f0x no problem ^_^ forgot i'd set it up like that, cool, good job past me
- proper database access token validation
- saving uploaded files to <local> server disk