Ask me anything.

I also develop Tesseract UI

  • 7 Posts
  • 122 Comments
Joined 2 years ago
cake
Cake day: March 17th, 2024

help-circle




  • Not that that isn’t good advice to make mods’ lives easier in general, but for the ban evader I think you’re talking about, it’s usually pretty apparent if you look at the profile of the user being reported:

    1. Minutes old, 10+ posts and no comments or maybe 1 boilerplate-looking one.
    2. Usually cycles through c/Politics, c/News, c/Health, c/UK, c/Ohio, c/Television and a few others
    3. Here lately, spams out 10+ posts rapid-fire and then deletes the account (not all UIs indicate a user is deleted, but that info is often helpful).

    Granted, I’m really good at pattern matching. It’s like my one neurodivergent superpower lol.









  • Can’t edit the post (Thanks Cloudflare! /s) but additional info:

    • I truncated the log excerpts in the post. The user agent string in these requests isn’t shown here, but it is blank in the actual logs.
    • This is for Lemmy admins only. It might apply to others in some form, but this seems to be specifically exploiting a Lemmy API endpoint
    • My Nginx solution may have room for improvement; I was just trying to block that behavior without breaking comments in posts and move on with my day. Suggestions for improvement are welcome.






  • but I send you a PM

    Oh, sorry. One of the new features in this dev branch is the ability to disable PMs and mentions. I’ve been running with those turned off. Seems like that feature is working lol.

    I turned DMs back on and found the message - will try to join here when I’m back on desktop. Dunno how active I can be right now, but I am eventually going to start on Piefed so would be nice to have a sounding board.

    Some of the devs are already working on shared logic/libraries between apps.

    Nice!



  • I believe you can, yeah, and I also think that “bootstraps” that instance to yours if it doesn’t already know about it. But in that case, the way I have the search written, it’ll “fall back” to regular search which also does resolveObject. That just takes longer.

    The ap_id check is just to short-circuit that behavior to avoid the lengthy, often unnecessary, search and quickly redirect you to your instance’s local copy.

    Have had that working for about a week now, and it’s pretty nice. Please do steal this feature lol.