https://codeberg.org/rimu/pyfedi/src/commit/b168820a089ff6e835059f0d806f81b612987a79/app/models.py#L3513

A few people in the other thread assumed that it was required to fork the code to disable those filters. That’s not the case, the filters can be configured, and are off by default.

To hide the reputation system, here’s a line of CSS that admins can add in the admin area to hide it for every user

https://piefed.social/c/piefed_css/p/1722358/hide-red-triangle-warnings-on-accounts-with-bad-reputation

That CSS line can also be used by any user wanting to hide the score at the user level.

  • irelephant [he/him]@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 hours ago

    A lot of people looking at the code were saying these things were hardcoded, even after seeing an if statement which checks if the thing is enabled, which is straight up wrong unless you consider it hard coded because its coded, into the codebase.

    • dgdft@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      10 hours ago

      unless you consider it hard coded because its coded into the codebase

      That’s precisely the common definition and understanding of the term.

      E: Sorry, I see what you mean in context now. I thought we were talking about a different piefed feature with a similar anti-4chan label that used a set of hardcoded strings to blacklist comments. Yeah, the tesseract image filter isn’t quite what I’d call hardcoded in and of itself.