[–] [S] 1 point 7 months ago (2 children)

Do you know, if there is a way to be able to get the result of my function community.utils.get_community_theme_allowed in the jinja base template when any relevant route is rendered?

Because including this as a parameter in every route seems really inefficient.

  • source
  • parent
  • context
  • [–] [S] 2 points 7 months ago (4 children)

    Thank you so much, for this advice! I was also planning on doing a separate table for the blocked communities, I didn't think about the deleting part though, so thank you for telling me how that works. As for the UI, I have currently implemented it as an extra section in the community info card at the side (which only shows up if the community has an active theme). I will now be working on implementing this within the database.

    NxSKpJ9aUCGZ7Ko.png

    :cyberheart_green: 1
  • source
  • parent
  • context
  • [–] 2 points 7 months ago* (1 child)

    The demorcrats would also have gone to war with Iran, if Israel wanted it. Notice how almost none of the majour dems have really condemned the war in Iran, even though it would have been massively electorally advantageous for them?

    Maybe they would have done the war more carefully / competently, but they are slaves to the exact same forces of capital, that pushed Trump towards the war.

  • source
  • parent
  • context
  •  

    UPDATE:
    The feature is now fully implemented! It shows up as an extra option in the community sidebar and saves the result in the database (as was decided by the poll). It is not merged with main yet, but you can look at the pull request , if you are interested.

    In a previous post , I talked about the new community themes feature.

    From a lot of the commentors, I heard, that you wish, that you would like to have the ability to disable community themes from specific communities and not just in general.
    I am currently planning on implementing that feature, but I am not quite shure, if you would like to be able to disable certain community themes on some of your devices, but not on others (which would mean storing that setting in a browser cookie) or if you want to disable community themes of certain communities for your entire user account, so that the setting is applied to all your devices at once (which would mean storing that setting in the database.

    Feel free to share your opinion in more details in the comments!

    50% Disable certain community themes only on one device at a time (store it as a cookie)
    50% Disable certain community themes for your entire account (store it in the database)
    2 votes - ended 7 months ago
    [–] [S] 3 points 7 months ago (1 child)

    Disabling a particularly annoying theme seems to me like something you would wanna do on every device, no?

    Maybey it would make sense to store the user theme in a cookie though, because that is a thing, you may want to be different on different types of devices.

    Do you know, how long such a cookie lasts?

  • source
  • parent
  • context
  •  

    For the newest piefed release, I worked on a new feature, that allows community admins to choose a "community theme", which overrides the users theme while they are browsing the specific community. This works for every user on piefed, that has the newest version, it unfortunately won't show up on lemmy, because they have a completely different theming system.

    There are already some cool themes to choose from (the themes, that the users could pick from before), but the idea with this, is that you can create your own themes for your community and propose it to our Codeberg repository. There are so many cool ways, to make your community stand out, I am imagining maybe a swirling background for a balatro community, a theme that makes posts looked like ripped out pages and a custom comic-book hand as a cursor for !nonpolitical_comics@piefed.social or other comic communities, maybe the hercules, or irix theme for retro communities.

    I am sure you have many ideas, that are even cooler and I really hope that piefed get's even more wild and interresting with this update!

    (PS: I know that the screenshot is of a lemmy community and that this wouldn't work, it's just meant as an example)

    A screenshot of the !retrocomputing@lemmy.sdf.org community with a retro theme applied
     

    As I understand, there are currently no real guidelines for this, even though AI is currently a big topic in FOSS.
    In my opinion, AI can be quite dangerous for free software and that's why we really need to discuss how we can address this issue. Here are some of the reasons for that:

    • Poor quality, insecure code: AI still produces hard to maintain code, that is often severely insecure. Even if you check every line of code carefully, there is a good chance you overlook something, because you won't fully understand the code, you haven't written yourself
    • Licensing issues: AI often reproduces code from it's training material, which could be incompatible with this codes license
    • Legal trouble: The legality of the copyright about AI is not yet really settled, so it could be a big legal risk to have AI-code in your codebase
    • Ethics: AI systematically exploits the work of all open source contributors for the profit of big companies. We as part of the free software movement should reject this more openly

    My idea for this policy was, that we should definetely demand for AI generated code to be marked as such (you have to disclose in your commits, if you have used AI for that). I think we should also ban entirely AI-generated PRs aswell, because they produce more work for the maintainers than they actually help with anything. Were I am not quite sure yet, is how we handle the case when someone used AI just as autocomplete, but wrote most of the code themselves? You should probably also have to disclose that, do you think we should ban something like that?

    Looking forward to hear what you think about this!

     

    This thought came to me in the shower today. Open source checks most of the boxes. It is a collaborative, worker owned (develloper-owned) project, that tries to flatten hierarchy. Especially if you look at something like Debian ), which really tries to have a bottom-up structure.
    Of course, there are exceptions, considering there are a lot of corporate open-source projects, that are not democratically maintained and clearly only serve the interest of the company, who created it (like chromium for example).
    So I am mainly talking about community-oriented FOSS projects here.
    And if you were to agree with my statement, would you say that developing FOSS software is advancing the goals of the anarchist / communist project, because it is laying the groundwork infrastructure needed for a new kind of economy and society?
    Thought this could be an interesting discussion!

    view more: next ›