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

Implementing postingRestrictedToMods

Technical Discussion
6 3 19

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @trwnh

    the type information is largely unnecessary and shouldn't factor into handling CRUD

    Servers needs to know the core type / class in order to determine the "owner" of an object (actor, attributedTo, etc).

    how does the server know which ids to assign and which ones not to?

    The result property could be declared as special in the FEP. Servers will be required to assign IDs to embedded activities. What is a blank node identifier, id: null? Using this to indicate a need for ID is a good idea too.

    I don't think side effect activities should be fragments.

    lastly as:result itself maybe doesn't have these semantics defined, so should a subproperty or different property be used, or do we skip non-CRUD results?

    Why skip non-CRUD results? I think side effects shouldn't be limited to basic activities like Create/Update/Add/Remove.

    @steve

    read more

  • @silverpill @steve so we might need to recommend that these "side effect" activities in as:result SHOULD have fragment identifiers, to be able to refer to them later? or do we intend to never refer to them later? we could say they're transient activities so don't need to be referred to later (only processed in-order).

    lastly as:result itself maybe doesn't have these semantics defined, so should a subproperty or different property be used, or do we skip non-CRUD results?

    read more

  • @silverpill @steve also the server's main responsibility being publishing and therefore needing to mint an identifier for the top level activity, we should ask if the server is expected to assign any inner ids as well? assigning ids changes the graph so it's not clear cut. <how does the server know *which* ids to assign and which ones not to?> is an open question (and maybe blank node identifiers are actually in practice required to avoid ambiguity?)

    read more

  • @silverpill @steve regarding as:result itself there are some other ideas that have come up in past years so good to discuss those in a more focused thread:

    - either marking activities as the "result of" (maybe "in response to"?) another activity could update the other activity to refer to the later activities, or the "result of" property is defined as a @\reverse property of as:result
    - quote stamps currently use result for the stamp itself, not a Create activity for it

    read more

  • @silverpill @steve the type information is largely unnecessary and shouldn't factor into handling CRUD, especially if the objects are managed by the client. the authorization/trust model for which activities are allowed to CRUD which objects is important but can be something other than fe34 (such as an explicit access control policy or authorization resource). also multiple CRUD mechanisms may be in use.

    read more

  • @steve @trwnh

    I am not sure if generic server is even possible without FEP-2277 and FEP-fe34. Maybe duck typing (FEP-2277) could be replaced with hierarchical types, but that would require JSON-LD processing, and I don't want to make it mandatory.

    If you're certain that a different flavor of generic server is possible, I can publish the side effects part as a separate FEP. This way we can focus on areas where we are in agreement.

    read more

  • @steve @silverpill now if only AP had officially defined conformance profiles to this effect... (the "activity publishing profile" and the "notification delivery profile", to be clear)

    read more

  • @steve @silverpill in theory POST to outbox should publish the activity, and should trigger the delivery algorithm based on audience (which is another thing handled poorly compared to even smtp which it tried to copy...)

    imo that should be part of the protocol contract, and the idea of "side effects" unfortunately muddles that. the guarantee should be built into the outbox delivery algorithm and an outbox should signal this algorithm is in effect.

    read more
Post suggeriti
  • 0 Votes
    6 Posts
    21 Views
    @eyeinthesky @evan @trwnh the charter has the correct scope. I believe Evan was responding to discussion about the Fediverse and trying to point out the venn diagram overlap of Fediverse and WG charter. As such, indieweb stuff didn't factor in to that conversation. Or at least that was my read -- I raised an eyebrow when I read the email too!
  • 0 Votes
    1 Posts
    5 Views
    mein hirn macht gleich bumm #activitypub learning
  • 0 Votes
    1 Posts
    10 Views
    There are two big features in release v3.1.3 of Ktistec: auto-approve followers and a new image viewer.Auto-approve followers is conceptually simple ("the server automatically sends an Accept activity when it receives a Follow activity") but it required extensive changes to some of the oldest code in the codebase: the inboxes and outboxes controllers. I refactored inbox and outbox side-effect processing into independent services, which made it possible to support side-effects like auto-approve follow (and also auto-follow back), without having to go through the controllers.A more significant change for me personally was replacing the lightGallery image gallery (an external dependency) with my own implementation. It's not as slick, and not as full of features—I wrote it in two days—but it is fully free software, and that's important to me.AddedAdd admin page for managing OAuth access tokens.Add support for auto-approve followers. (fixes #26)Add support for auto-follow back.FixedPrevent triggering actor refresh when user is anonymous.ChangedReplace "lightgallery" dependency with custom image viewer.Set OAuth access token expiry to 30 days (previously expired after 24 hours).Refactor inbox and outbox processing into dedicated processor services.The OAuth changes set the groundwork for better support of the Mastodon API and the Fediverse clients that depend on it. Stay tuned!#ktistec #fediverse #activitypub #crystallang
  • 0 Votes
    7 Posts
    52 Views
    silverpill@mitra.social oh don't tell me we're going to have competing E2EE implementations too!