Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Topic removal from a category/community

Technical Discussion
29 5 110

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    1 Views
    I've made it so that when someone deletes their own post it is still viewable, including the comments. The post author and body will NOT be visible. Deleted posts will not show up in communities, search results, etc just as before - you need the URL of the post to get to it. Bookmark a deleted post within 7 days or it will be deleted for real. [image: 1olGBQ7vwolXKNa.png] Ask your instance admin to upgrade to v1.4.4. Chances are they'll be on 1.4.x already so this will be easy for them.
  • 0 Votes
    1 Posts
    7 Views
    One of the long-standing issues we have in/on the fediverse is that when I have a link in my post that goes to another post on my instance, people on other instances will click that link and be taken to MY instance, where they can't comment, don't have an account, aren't logged in, etc and they will try to log in using their login credentials for their home instance then wonder why it doesn't work. When someone links to https://lemmy.world/post/39832275 and I'm on piefed.social I want to see https://piefed.social/c/news/p/1544770/national-parks-ordered-to-check-gift-shops-for-dei-type-items not the copy on lemmy.world! As of PieFed v1.4, links like that will automatically be converted to link to the local copy of the post, where 'local' is whatever is local for the reader. See the linked video where I demonstrate this in action.
  • Friendly post urls

    PieFed Meta piefed
    6
    0 Votes
    6 Posts
    23 Views
    rimu@piefed.social for what it's worth, we had this discussion a decade ago too. We ended up being very simplistic and not tying anything to anything else. So posts are not tied to topics (theoretically you could have a post in multiple topics... we don't do that, but you can) And topics aren't tied to categories (same deal, and we also don't have topics in multiple categories... yet!!, cross-posting will change that. So when you have a direct url to a post it's just /post/. A friendly URL uses a post index, but we can do that because we order posts linearly. Piefed doesn't have that advantage unfortunately.
  • 0 Votes
    6 Posts
    27 Views
    In general that's a good idea because you should never trust content coming from somewhere else (even in an S2S context) For reference, NodeBB literally sanitizes the bejeezus out of what it gets from anywhere. All classes are removed, all attributes are removed. I want it as close to semantic HTML as possible, and classes/attributes mean absolutely nothing because: I don't use the same CSS classes Attributes may not follow my own rules for when and where they are added. For example, Mastodon messes with any URL it federates out. It chops the anchor text in half, hides the rest behind invisible or something, and adds an ellipsis. invisible does something different in NodeBB, so there is a CSS conflict here. I strip everything and just show the URL as it was intended.