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

Piefed community tags

Technical Discussion
8 5 74

Gli ultimi otto messaggi ricevuti dalla Federazione
  • Yes, I think I like the idea of clients being able to store data on the server however they like. It reminds me of this description of ATProto that I found recently: https://overreacted.io/a-social-filesystem/

    I guess my question is: once I store my custom stuff in custom places on my server, how do I publish this so other people can find?

    And, object IDs are usually defined by the server. So how would it work to say "create a collection named XYZ and add this object to it"?

    @silverpill @mariusor @trwnh

    read more

  • @benpate @silverpill in a client managed followers collection i would Add you to my followers just like fedi instances currently do silently. "but how can you prove--" yes exactly, how can current fedi prove anyone is a follower either? you need the Follow+Accept pair to both be live without an Undo on either, right? and that's what leads to the "follow state machine" on fedi that drifts out of sync and leads to private posts being leaked to removed followers (which you can't officially do!)

    read more

  • @benpate @silverpill @mariusor none of the IDs should have any semantics; from the outside, there is no distinction between a client managed or server managed collection. likes/shares/etc could be managed by a "client" like mastodon, or even a "default" one. it's not any more complex unless you want to vary the collection responses based on the request headers. for that you need a minimal dynamic layer with an access control policy of some sort. (WAC is the simplest, but ACP is more powerful)

    read more

  • @silverpill @mariusor @trwnh

    I e*love* this idea- especially in principle. I say that because I’m having a hard time wrapping my head around this and how it would be used in practice.

    Do you think you could post an example workflow (or three) to demonstrate how this would work?

    I get that objects could be added to client-defined collections (very cool) but if object/collection IDs don’t have predefined semantics, how will I know where to look to get the data I need?

    read more

  • > The thanks was for your input with regards to collection management.

    @silverpill of course, sorry for the misunderstanding. Doubly so, for forgetting Mitra is Rust, I remembered it to be Python. :D

    And yes, the difficulty is indeed in massaging JSON-LD documents into strongly typed data that are meaningful for library consumers. However I've not despaired yet... there's light at the end of that boring tunnel. :P

    read more

  • @julian It looks simple on the surface, but in reality it is much more complicated than a non-generic server. In addition to activity transfer, generic server needs to maintain collections. First of all, a followers collection, which is often used as a delivery target. Then likes, shares etc. It needs to enforce permissions, to prevent actors on the same server from deleting each other posts.

    This is doable if you only care about activities defined in ActivityPub. But then you want to introduce context collection. And then 50 other extensions. How to do that without special-casing every one of them?

    This is where duck typing (FEP-2277) and unified security model (FEP-fe34) become really handy. No matter what the client sends, you can figure out what it is (an object, an actor, or a collection), and enforce permissions.

    read more

  • @silverpill@mitra.social I find it curious that this needs to be spelled out in an FEP.

    Isn't a generic AP server one that ingests anything and shoves it into the outbox... like a mail transfer agent?

    ... then delivers it dutifully?

    I mean, sure, you can do stuff in between, like spam detection, blocklists, etc etc etc...

    My quick read through of the FEP (and it was quick, because it was a short FEP :stuck_out_tongue:) seems to confirm this.

    read more

  • @silverpill lol, based on the "claims" at the begining, why do I feel like the "thanks" at the end should be in quotations?

    Also I take umbrage with calling what I've been doing for the past 8 years as "being not difficult to build nor an interesting concept". I feel like you, and other developers having the benefit of dynamically typed programming languages, underestimate how that can be worked into robust APIs when you're limited by less versatile stacks.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    6 Views
    there is currently a #Piefed Hackathon going on if anyone is interested in partaking. There are groups working on spanish, german, french and japanese translations, and a bunch of other things.https://tarte.nuage-libre.fr/c/fediverse/p/221411/hackathon-this-week-7-8-febuary #fediverse #fedidev #activitypub
  • 0 Votes
    1 Posts
    8 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.
  • PieFed 1.3 is released

    PieFed Meta fediverse piefed
    1
    0 Votes
    1 Posts
    9 Views
    What's new Media library that lets you upload images to comments/post body and paste from the clipboard Animated gif support for user profile pictures Specify alt-text for link posts that link to an image Emoji picker and spoiler button added to markdown toolbar More links to the modlog (footer, community sidebar, user profile) and improved searching/filtering Leave a conversation to remove it from the list of their direct message conversations Post urls are now "friendly" since they include the community name and a snippet of the title instead of just a number Add link to show parent comment when directly viewing a comment reply Image markdown style formatting to allow more advanced control of how images are rendered. e.g. ![image alt text :: width=300px](https://url to image) Code syntax highlighting in code blocks and allow for style selection in user settings Tag cloud added to sidebar for feeds and topics Better searching and filtering of the Instances list Add a block (of a user, community, instance or domain) from the blocks and filters management area, without doing it via a post Popup suggestions when mentioning a community or user as you type Onboarding plugin which auto-subscribes, auto-blocks and sends a welcome message for new accounts Improved federation efficiency Old posts can be automatically archived (saved to S3) to free up database space Old posts by bots with no comments are automatically deleted LLDAP support, which does LDAP a bit differently To upgrade To upgrade from 1.2.x: git pull git checkout v1.3.x ./deploy.sh or ./deploy-docker.sh In the past we had a separate project for realtime notifications, which is now unsupported as it's code has been merged with the main PieFed project. To set it up, refer to the Push Notifications section of install.md. As well as enhancing the user experience doing this will decrease load on your server if it hosts local communities with many subscribers as some of the federation work has been offloaded to the push notifications service. Donations PieFed is free and open-source software while operating without any advertising, monetization, or reliance on venture capital. Your donations are vital in supporting the PieFed development effort, allowing us to expand and enhance PieFed with new features. Donations can be made via Patreon, Liberapay or Ko-fi.
  • 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.