nutomic

joined 5 years ago
MODERATOR OF
[–] nutomic@lemmy.ml 2 points 2 years ago

The groups implementation for Mastodon has been stuck as a draft for 1.5 years now, I wouldnt expect it to get merged anytime soon. Even worse, for reasons I dont understand they made the group federation intentionally incompatible with Lemmy.

https://github.com/mastodon/mastodon/pull/19059

[–] nutomic@lemmy.ml 11 points 2 years ago (7 children)

The library is actually fully compatible with Mastodon. All the compatibilities are in Lemmy and in Mastodon. The problem is that Mastodon doesnt have any real documentation for the federation messages they send. So its necessary to test things manually and reverse engineer it which I dont have time for. Plus there are some compatibility issues which could easily be fixed on the Mastodon side, but they seem to have zero interest to do that.

[–] nutomic@lemmy.ml 1 points 2 years ago

Thanks a lot for the donation! Weve added you to the "Gold Pressed Latinum" sponsors on join-lemmy.org.

[–] nutomic@lemmy.ml 1 points 2 years ago

Sounds like you are looking at the api tests then. There are also unit tests which you can run with ./scripts/test.sh. The database is a fundamental part of Lemmy, so its obviously required for many of the unit tests. It may be possible to mock the db, but that would be a lot of effort for very little benefit, and might even introduce additional bugs.

[–] nutomic@lemmy.ml 3 points 2 years ago

This is not currently possible but I opened an issue.

https://github.com/LemmyNet/lemmy/issues/4343

[–] nutomic@lemmy.ml 1 points 2 years ago (1 children)

Looks like this is just wrongly named, maybe it was copy pasted from the community ban. Probably not worth the trouble to fix it, as it would be a breaking change for clients.

[–] nutomic@lemmy.ml 4 points 2 years ago (2 children)

There is already an open PR for Oauth, though Im not sure whats the difference to LDAP. Regarding tests you must have looked in the wrong place, we have a couple hundred already. Docs are here.

[–] nutomic@lemmy.ml 3 points 2 years ago

Federation is different from a browser. Even if Threads pushed through some protocol changes on their side, it would change anything for Lemmy, Peertube etc federating with the original protocol. They couldnt federate with Threads then, but clearly most users wouldnt mind.

[–] nutomic@lemmy.ml 6 points 2 years ago (2 children)

The Activitypub protocol is nothing but a piece of paper. Meta can rewrite it if they want, but that doesn't mean Lemmy, Mastodon or the many other platforms would automatically use it. Programmers have to implement it, and then instance admins have to deploy it. So by inertia it's likely that changes would be ignored by most platforms. However they could easily bribe developers or admins to make certain changes.

[–] nutomic@lemmy.ml 3 points 2 years ago (1 children)

Lemmy 0.19 supports authorized fetch when retrieving remote objects. Enforcing it for fetches from Lemmy would also not be hard. It doesn't make much sense though as long as we don't have private communities.

[–] nutomic@lemmy.ml 2 points 2 years ago (1 children)

All of the fields should be defined in context. Which one do you think is missing?

view more: ‹ prev next ›