After countless hours of debugging, #Smithereen now finally supports linked data signatures!
Gregory
After countless hours of debugging, #Smithereen now finally supports linked data signatures!
Gregory
Could someone please help me making sense of LD-signatures? This RDF stuff drives me crazy. https://socialhub.activitypub.rocks/t/making-sense-of-rsasignature2017/347
Gregory
I made my first unit tests today. I'll have to support the parts of JSON-LD spec I thought I didn't need because, well, I might end up needing them to verify LD-signatures.
Gregory
I did it! The JSON-LD algorithm spec was clearly written with something dynamically typed like JavaScript in mind. Implementing that in Java is pain in the ass and takes extreme amounts of instanceof statements to get right. But at least I now support those "reverse" properties no one's ever gonna use...
Gregory
Replying to something now adds a mention of both the author of the original post and of the reply you're replying to – so both those people get notifications. If you're replying to a reply, that second mention is actually visible. (side note: there are two kinds of mentions in AP, the one you put into the "tag" field which triggers notifications on Mastodon, and the one you put into the post content as a link that users can click on.)
Gregory
Seems like Mastodon only notifies you about a reply if the reply contains a mention. Addressing (to/cc) doesn't matter here AT ALL. So I guess I have to support mentions, no way around that ¯\_(ツ)_/¯
Gregory
Now, there's a good question whether the mention has to actually be there in the post content or putting one in "tags" is going to be enough.
Gregory
Verifying JSON-LD signatures doesn't appear to be the easiest thing in the world... #ActivityPub
Gregory
@lightone @strypey also Smithereen which I'm making. VKontakte-like social network written in Java (probably the first ever #ActivityPub implementation in Java) with friends and walls and photos and groups... Of which currently only friends and walls are implemented. Not quite ready enough and so not published anywhere yet, but I'm looking forward to it.
Gregory
@douginamug https://flak.tedunangst.com/post/ActivityPub-as-it-has-been-understood not a presentation but a series of articles, but it does help with understanding.
Adrian
@grishka Thanks, you are right. See the topic at socialhub: https://socialhub.activitypub.rocks/t/the-activitypub-test-suite/290/4
Gregory
What happens if I link another toot in my toot? Will it display nicely? |