Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. Fediverse
  3. ActivityPub
  4. Automatic category/community assignment on received object

Automatic category/community assignment on received object

Scheduled Pinned Locked Moved ActivityPub
activitypubthreadiverse
11 Posts 4 Posters 9 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • silverpill@mitra.socialS This user is from outside of this forum
    silverpill@mitra.socialS This user is from outside of this forum
    silverpill@mitra.social
    wrote on last edited by
    #2

    I think it's important to get an Announce, because the actor who addressed the community might be blocked by that community, or might not be a member of it (if the community is private).
    You can try to retrieve the outbox of the addressed community to verify that a post was actually Announce'd

    @activitypub

    julian@community.nodebb.orgJ 1 Reply Last reply
    0
    • silverpill@mitra.socialS silverpill@mitra.social

      I think it's important to get an Announce, because the actor who addressed the community might be blocked by that community, or might not be a member of it (if the community is private).
      You can try to retrieve the outbox of the addressed community to verify that a post was actually Announce'd

      @activitypub

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #3

      silverpill@mitra.social I thought about checking against the outbox, but there's a potential race condition that could occur if I receive the Create(Note) at roughly the same time as the community, but the community hasn't processed the activity yet. In that scenario, the activity would not be in the outbox for checking.

      The same thing would happen if there was some out-of-band check for object membership in a collection (not that there is one right now).

      1 Reply Last reply
      1
      • projectmoon@forum.agnos.isP This user is from outside of this forum
        projectmoon@forum.agnos.isP This user is from outside of this forum
        projectmoon@forum.agnos.is
        wrote last edited by
        #4

        I still think it would be good to update the synchronization function in admin settings to automatically slot any synced community/category into the local category, even if the sync only goes one way (e.g. with Lemmy not being able to remote follow category actors).

        1 Reply Last reply
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote last edited by
          #5

          projectmoon@forum.agnos.is it'll work better once cross-posting is built into NodeBB I think 😄

          1 Reply Last reply
          0
          • silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.social
            wrote last edited by
            #6

            @julian Does NodeBB support creating new topics by mentioning a group/category?

            I wonder how context should be assigned in this case.

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • silverpill@mitra.socialS silverpill@mitra.social

              @julian Does NodeBB support creating new topics by mentioning a group/category?

              I wonder how context should be assigned in this case.

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote last edited by
              #7

              silverpill@mitra.social yes, it should. Mentioning the category means it will be addressed and NodeBB will slot the received content in the first group object it finds.

              1 Reply Last reply
              0
              • silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.social
                wrote last edited by
                #8

                If I create a topic this way, I will be the owner of the context collection. But if the conversation is to be moderated, it should be owned by the group.

                Am I correct?

                (there is a parallel discussion happening at https://codeberg.org/streams/streams/issues/229)

                julian@community.nodebb.orgJ 1 Reply Last reply
                0
                • silverpill@mitra.socialS silverpill@mitra.social

                  If I create a topic this way, I will be the owner of the context collection. But if the conversation is to be moderated, it should be owned by the group.

                  Am I correct?

                  (there is a parallel discussion happening at https://codeberg.org/streams/streams/issues/229)

                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote last edited by
                  #9

                  I suppose you're right in a way. The context owner is not supposed to be set by someone other than the context owner. It's a fallback mechanism intended for better compatibility with Mastodon.

                  When a group is addressed and it is one of the local NodeBB categories, it will assume control

                  If it is another group that it knows about but isn't same origin to the author, then no category is assumed.

                  1 Reply Last reply
                  0
                  • silverpill@mitra.socialS This user is from outside of this forum
                    silverpill@mitra.socialS This user is from outside of this forum
                    silverpill@mitra.social
                    wrote last edited by
                    #10

                    How it works between forums, e.g. between Discourse and NodeBB?
                    Can a Discourse user create a topic in NodeBB category?
                    Who creates/owns the context collection in this case?

                    1 Reply Last reply
                    0
                    • scott@loves.techS This user is from outside of this forum
                      scott@loves.techS This user is from outside of this forum
                      scott@loves.tech
                      wrote last edited by
                      #11
                      Is there or should there be a distinction between the original and the mirrors?

                      We have a conversation owner at the thread level (which is either the forum, subforum, forum category, or person who created the top level post, depending on the software). They determine the official moderated version of the thread since they can remove comments (although mirrors don't have to honor that).

                      If we show that conversation on another server, technically that is a mirror of that thread, especially if you are throwing it in a category or displaying it under a hashtag.

                      Should we be indicating that a particular thread was started on a particular forum (or category within a forum)? Should we be honoring the moderated version of the conversation from the original thread?

                      The concept of mirroring threads across platforms is great for participation and censorship resistance, but it does make it unclear about who owns the thread from a moderation perspective.
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups