mastodon / mastodon

Your self-hosted, globally interconnected microblogging community
https://joinmastodon.org
GNU Affero General Public License v3.0
47.07k stars 6.97k forks source link

Use a versioned json-ld AP context? #4964

Open cwebber opened 7 years ago

cwebber commented 7 years ago

When the ActivityPub context grows and older Mastodon revisions have a different version of the json-ld context, this can cause problems. Fortunately, a solution was put in place, which is that we now have versioned AP contexts. Mastodon should probably make use of them!


ThisIsMissEm commented 1 week ago

This is causing problems in GoToSocial versions prior to v0.17.0 because they've used this json-ld context without embedding it like mastodon does.

(Edited to be more accurate, I'd mixed up some information when writing originally)

trwnh commented 1 week ago

@ThisIsMissEm can you provide more details or link to somewhere that i can read more about the specifics of gotosocial's problems?

ThisIsMissEm commented 1 week ago

@trwnh here: https://github.com/superseriousbusiness/gotosocial/issues/1947

It's fixed in 0.17.0, but this invalid namespace stuff is still causing fundamental problems in wild implementations trying to be mastodon compatible

trwnh commented 1 week ago

ah, that looks to be caused by trying to import joinmastodon.org/ns which isn't a real context document (or gotosocial's equivalent of it). it doesn't seem to have anything to do with versioned activitystreams contexts like v1.11 (which is the latest)

On Sun, Oct 27, 2024, 06:51 Emelia Smith @.***> wrote:

@trwnh https://github.com/trwnh here: superseriousbusiness/gotosocial#1947 https://github.com/superseriousbusiness/gotosocial/issues/1947

It's fixed in 0.17.0, but this invalid namespace stuff is still causing fundamental problems in wild implementations trying to be mastodon compatible

— Reply to this email directly, view it on GitHub https://github.com/mastodon/mastodon/issues/4964#issuecomment-2439982509, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQ5OX7XQNEA35UZBJIC323Z5TASDAVCNFSM6AAAAABQVV6RVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZHE4DENJQHE . You are receiving this because you were mentioned.Message ID: @.***>

ThisIsMissEm commented 1 week ago

Oh? Do I have the wrong issue here? I'd love to get a point in time snapshot of the json-ld context made available at http://joinmastodon.org/ns even if we now inline that for easier development (I don't think we've had to make breaking changes to it?)

trwnh commented 1 week ago

i don't think we have an issue for an official joinmastodon context file but that feels like something that needs to happen on an organizational level and not just a software level

On Sun, Oct 27, 2024, 07:35 Emelia Smith @.***> wrote:

Oh? Do I have the wrong issue here? I'd love to get a point in time snapshot of the json-ld context made available at http://joinmastodon.org/ns even if we now inline that for easier development (I don't think we've had to make breaking changes to it?)

— Reply to this email directly, view it on GitHub https://github.com/mastodon/mastodon/issues/4964#issuecomment-2439998541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQ5OXZOFIDYJ7KFPZIRJJ3Z5TFXBAVCNFSM6AAAAABQVV6RVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZHE4TQNJUGE . You are receiving this because you were mentioned.Message ID: @.***>