[-] Nothing4You@programming.dev 5 points 2 years ago

mod actions generally do federate correctly, at least on the latest lemmy versions. it's just reports that don't.

but in general, you will need an account on the community instance to get full federation abilities when you take potential instance bans and defederations into account. even when it's not a defederation, if a user is banned from your instance but not from the community instance their posts won't make it to you.

[-] Nothing4You@programming.dev 5 points 2 years ago

slrpnk.net has some first hand experience for this, as @poVoq@slrpnk.net already deployed anubis in front of lemmy-ui.

it wouldn't be that complicated to add it to lemmy-ansible if people are interested in having the option.

i don't see the argument for having this before user interaction though; the main goal of this is to fight malicious crawlers. for authenticated users, solutions like this are completely unnecessary as these can simply and much more efficiently be addressed through rate limits without putting users on low end hardware at a disadvantage and contributing to global warming.

[-] Nothing4You@programming.dev 5 points 2 years ago

lemmy has an image proxy feature, but it doesn't seem to be enabled on lemm.ee currently. it also still has various issues where media may break, it should get better in future lemmy versions (probably only in 1.0, not in 0.19 versions).

some alt uis also have the option to proxy images if enabled by the person hosting it, e.g. tesseract.
there is an open instance available at https://tesseract.dubvee.org/, you can enable media proxying in the settings on the left.
as always with uis hosted by third parties, keep in mind that you need to trust the operator, as they could deliver code that steals your credentials. when possible, use uis hosted by your own instance operator, as they would have access to them anyway if they wanted.

[-] Nothing4You@programming.dev 4 points 2 years ago

you might find some inspiration from https://breezewiki.com/ - either its codebase directly or using it as an intermediary while scraping

[-] Nothing4You@programming.dev 5 points 2 years ago

this isn't entirely true, they do have some comments on lemmy as well, here are some examples:

it seems to be primarily about their communities not federating though i guess?

and either nobody from there posted a post to a lemmy community yet or maybe it doesn't federate posts currently?

[-] Nothing4You@programming.dev 4 points 2 years ago

this is the important part.

when an account is deleted the associated private key used for signing activities is deleted as well. the activitypub protocol does not really define how software is supposed to deal with deleted and recreated actors (which includes users), so some software has been built with the assumption that any change of encryption keys for a user means it's an invalid signature and will prevent activities involving that user to federate to that software.

[-] Nothing4You@programming.dev 5 points 2 years ago

If the sole moderator of a community was banned from an instance, does that make the community unavailable to the instance they were banned from?

yes, if the ban was with content removal and they're the top mod.

If the community had multiple moderators and only one was banned, would that still be the issue?

the filter is whether the user being banned is the top mod.

[-] Nothing4You@programming.dev 5 points 2 years ago

You can export/import your account settings on the settings page, which includes also the following data:

  • subscribed communities
  • saved posts
  • saved comments
  • blocked communities
  • blocked users
  • blocked instances

There is no way to associate content you have previously posted/commented with your new account however.
You might need to import the file multiple times to get everything imported.

[-] Nothing4You@programming.dev 4 points 2 years ago

It seems that p.d didn't or wasn't able to fetch the community moderator list yet, which would prevent it from accepting any new posts to the community, as it's set to allow posting by mods only and the bot isn't detected as mod yet.

I think the only way (without manual intervention) might be to access the community after 24h to have Lemmy refresh this from the origin server.

[-] Nothing4You@programming.dev 4 points 2 years ago

Posts have a canonical reference to the originating instance, e.g. this post contains <link data-inferno-helmet="true" rel="canonical" href="https://aussie.zone/post/11962005"> for me. This is a hint for search engines to ignore this post and instead index the original one instead. The same also already works for communities, this community containing <link data-inferno-helmet="true" rel="canonical" href="https://aussie.zone/c/meta">. Not sure if DDG is just ignoring this or there's another reason for it to show up multiple times.

[-] Nothing4You@programming.dev 4 points 2 years ago

it's open source: https://github.com/Nothing4You/activitypub-federation-queue-batcher

I strongly recommend fully understanding how it works, which failure scenarios there are and how to recover from them before deploying it in production though. not all of this is currently documented, a lot of it has just been in matrix discussions.

I also have a script to prefetch posts and comments from remote communities before they'd get through via federation, which would make them appear without votes at least, and slightly improve processing speed while they're coming in through regular federation. this also doesn't require any additional privileges or being in a position to intercept traffic. it is however also not enough to catch up and stay caught up.
this script is not open source currently. while it's fairly simple and straightforward, i just didn't bother cleaning it up for publishing, as it's currently still partially integrated in an unrelated tool.
I previously tried offering to deploy this on matrix but one of my attempts to open a conversation was rejected and the other one never got accepted.

view more: ‹ prev next ›

Nothing4You

0 post score
0 comment score
joined 2 years ago