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

Expanding collections on delivery

Technical Discussion
11 2 2

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @julian well, sure, with a monolithic implementation, the client and the outbox and the delivery agent are all the same app. but they don't have to be. the model is that the client submits to the outbox, and the outbox could also talk to a separate delivery agent internally. it's all opaque from outside the outbox. your internal "outbox" is the code that serializes activities and sends them to the delivery workers.

    read more

  • @trwnh@mastodon.social said in Expanding collections on delivery:
    > say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    Simple. My outboxes send a "not supported" HTTP tag 🤣

    But I'm being facetious.

    From a C2S standpoint I suppose that makes sense. Thanks.

    read more

  • @julian now remove the requirement. what do you do instead?

    - if it has ldp:inbox, send an LDN

    ...and that's it. at no point were you ever told or required to do anything else, so your followers/audience/members/etc will never get the activity even if addressed, because the collection was never expanded.

    read more

  • @julian i don't think it's "inferred", and leaving ambiguous cases up to inference in specification is typically called "unspecified behavior" ;)

    say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    - in all cases, if it has an `inbox`, you send an LDN to that id if you can.
    - in case it's an as:Collection, you iterate over its items in theory and repeat step 1 recursively. (this is also problematic because it can be both paged+unpaged)

    read more

  • @trwnh@mastodon.social so collection expansion is mainly for when I am sending an activity to collections that I control?

    Then I'm wondering why this needs to be explicitly spelled out and required because it seems to be inferred already from a UX perspective.

    read more

  • @julian there's probably a bunch of open issues on the https://github.com/w3c/activitypub/issues tracker regarding the problems with outbox delivery. those problems might be addressable all together, but it might instead make more sense to conceive of a sort of "LDN proxy" which handles deliveries instead (and holds your keys as an HTTP agent sending signed messages)

    read more

  • @julian

    i would be fine with removing this collection expansion behavior from outbox delivery if it was decided that outbox delivery itself is problematic and should be removed -- probably in favor of the client being responsible for sending notifications, where the client can apply whatever logic it wants.

    this is kinda what mastodon does right now as a monolith -- it is both the activitypub client (submitting to its internal outbox) and also the http agent for linked data notifications.

    read more

  • @julian

    > 7.1.2

    wrt inbox forwarding, this only helps when addressing collections of *someone else*, where the contents are private. for your own collections, unless you plan to deliver all such activities to yourself with the expectation that you will forward them (why didn't the outbox do it for you?^1), it doesn't help you.

    ^1: if the outbox doesn't have your credentials, then it can't do this. in this case, you or your client is responsible for deliveries, and the outbox only publishes.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    5 Views
    https://youtu.be/R3ptZ1W-FRA?si=d71nnp_pCrl5c_kV#fideverse #mastodon #activitypub
  • 1 Votes
    7 Posts
    17 Views
    @silverpill Thank you
  • 0 Votes
    1 Posts
    13 Views
    What do you do when you've found a PeerTube video and you want to like or reply to a comment without having to create a PeerTube account on every instance? Activity Pub makes this easy from a number of popular federated services. Written Version: https://fedihost.co/blog/slug/how-do-i-comment-on-peertube Get A PeerTube Instance: https://fedihost.co/hosting/peertube
  • 0 Votes
    1 Posts
    6 Views
    Guest?
    EDIT - informationThis tutorial is supposed to be published by the tutorial profile of this server.It is designed to have several chapters, each being distinctively seperated by an own titel. In total as of now there are like besides this introduction like 6 chapters.posting and edition time of and by this EDIT profileof ver05 as of now 1hsmastodon review contact: @bitpickup--Categories:@helpers@forum.friendi.ca SPOILER - click to open/close || IntroductionThis tutorial is an adaption of the tutorial "creating a friendica server - ubuntu" by @hankg based on the experience of the installation report by @jesuisatirebitpickup:squeet.me/display/962c3e10-576…and specific help by @raroun.Server specs and friendica version used:VPS server | Ubuntu 22.04 LTSPHP Version 8.1.2-1ubuntu2.144 Core CPU, 8 GB Ram with 300GB NVME DiskFriendica [STABLE] | 'Giant Rhubarb' 2023.05 - 1518SPOILER - click to open/close || Installation environment and HowToThe only reasonable way to work with a VPSserver on the web is using the console.If you are not familiar with that don't worry, it is easy and the only thing you have to do is being able to copy/paste the commands displayed:¡Copy/paste only the codeBoxes like this one, located outside of the spoilers of this tutorial one after another without altering the sequence!Of course it is necessary to change the specific file names and passwords for you indiviual site, but that's all. promise!On the console you wont be able to copy/paste with the keyboard ctrl-C/ctrl-V technique, you'll have to use the mouse "right click, chose option" technique.This tutorial was created on a #debian #linux desktop environment.There shouldn't be differences if you want to do this from a #windows machine.The method used for communication between your local computer and the VPS server is called #SSH:Wikipedia - Secure Shell:"Cryptographic network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers."#linux #debian #ubuntu #friendica #fediVerse #fediTutorial #tutorial #fediHelp #fediTips #activityPub #HowTo #DIY #VPS #server #selfHosting@admin@tupambae.org @tutorial@tupambae.org