Profile pic

DeckPacker

Instance: piefed.blahaj.zone
Joined: a month ago
Posts: 4
Comments: 40

I am a guy from southern germany. I like scouting, trains and computers. Politically, I would consider myself as a democratic socialist. This is not my main instance anymore, my new account is !DeckPacker@piefed.social

  • Pronounds
    he/him

  • My blog
    blog.strawberrycloud.org

  • My linkstack
    links.strawberrycloud.org/@Straw(berry)man

RSS feed

Posts and Comments by DeckPacker


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.


Are you serious?

A change.org with 51 signatures? I am usually not a cynical person, but there have never been any change.org petitions that have really changed anything.

Please stop with this online activism bullshit and go out into the real world and organize and actually do something.


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


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.



I think, I am neither, I am



Yeah, I was looking for that info, because I don’t trust any (especially new projects, that use AI).

How did you know, it was AI though? I am just curious


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?


Yeah, that’s a good idea, I’ll try to implement that in a future update.


There are a lot of ways to inject javascript into css aswell. With @import, if you just escape css with </style> and so many more. It would be a herculean task to really sanitize css so that it’s fully safe unfortunately and if we were to make any mistake, that would pose a massive security risk for our users.
So maybe it’s possible, but I am afraid, that it’s beyond the scope of our project.


And, to your other question, there is an option in the user settings to disable community themes.


Yeah, unfortunately it will only work for servers, that have the theme in their files, so you would have to propose it to the repo. This is mainly because of security concerns, because there are a lot of ways to inject malicious Javascript code into a theme, and we don’t want that federating across piefed.





RSS feed

Posts by DeckPacker

Comments by DeckPacker


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.


Are you serious?

A change.org with 51 signatures? I am usually not a cynical person, but there have never been any change.org petitions that have really changed anything.

Please stop with this online activism bullshit and go out into the real world and organize and actually do something.


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


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.



I think, I am neither, I am



Yeah, I was looking for that info, because I don’t trust any (especially new projects, that use AI).

How did you know, it was AI though? I am just curious


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?


Yeah, that’s a good idea, I’ll try to implement that in a future update.


There are a lot of ways to inject javascript into css aswell. With @import, if you just escape css with </style> and so many more. It would be a herculean task to really sanitize css so that it’s fully safe unfortunately and if we were to make any mistake, that would pose a massive security risk for our users.
So maybe it’s possible, but I am afraid, that it’s beyond the scope of our project.


And, to your other question, there is an option in the user settings to disable community themes.


Yeah, unfortunately it will only work for servers, that have the theme in their files, so you would have to propose it to the repo. This is mainly because of security concerns, because there are a lot of ways to inject malicious Javascript code into a theme, and we don’t want that federating across piefed.





Also nuclear is just way more expensive than renewables, so we could build way more renewables than nuclear


Maybe you could try out nightshade , it only works properly on windows / mac unfortunately, but it’s basically a tool to change your image slightly (not that noticeable to people), which poisons AI datasets. If you don’t have access to a Mac or Windows PC with a decent GPU, you could also try out WebGlaze, which runs on their servers.