Sure.
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.
Thanks a lot for the donation! Weve added you to the "Gold Pressed Latinum" sponsors on join-lemmy.org.
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.
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.
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.
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.
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.
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.
All of the fields should be defined in context. Which one do you think is missing?
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