Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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
Caint logo. It's just text.
  1. Home
  2. Technical Discussion
  3. Topic removal from a category/community
Welcome to Caint!

Issues? Post in Comments & Feedback
You can now view, reply, and favourite posts from the Fediverse. You can click here or click on the on the navigation bar on the left.

Topic removal from a category/community

Scheduled Pinned Locked Moved Technical Discussion
piefed
9 Posts 4 Posters 1 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.
  • julianJ This user is from outside of this forum
    julianJ This user is from outside of this forum
    julian
    wrote last edited by
    #1

    Hey rimu@piefed.social question to you about post removal…

    If a remote user posts to a local community, and the local mod deletes it (let’s say it’s spam of off topic), does the local community federate a delete out?

    Technically you’re not deleting the content, just removing it from the community.

    Is there a different action Piefed takes?

    1 Reply Last reply
    1
    1
    • R ActivityRelay shared this topic
    • Seth of the FediverseP This user is from outside of this forum
      Seth of the FediverseP This user is from outside of this forum
      Seth of the Fediverse
      wrote last edited by
      #2

      @julian @rimu Always wondered about that. Is that the same for other AP sites?

      1 Reply Last reply
      1
      0
      • RimuR This user is from outside of this forum
        RimuR This user is from outside of this forum
        Rimu
        wrote last edited by
        #3

        Yes, a Delete activity is sent to all instances with actors that follow the category/community. Those instances then delete their local copy. In Lemmy/PieFed there is no distinction between deletion and removal.

        The deletes are soft so it is possible to un-delete by sending an Undo activity. PieFed keeps soft-deleted posts (topics, in NodeBB language) for a few days then after a week deletes the content from the database.

        All of these activities are enclosed in an Announce and the http POST is signed using the community key. So in a way the content ‘belongs’ to the community, not to the original author. With that model of ownership the idea of removal redundant - a post without a community is not a post.

        Tangentially - it would be good to come up with a way to move a topic to another category and federate that so the move can happen on other instances, too. We could go off-piste and create a Move activity, or use Remove (from old topic/comm) followed by Add (to new topic/comm) to do the same thing. I feel more inclined to go with Move as it’s a single atomic operation that either succeeds or fails, despite it not being in the spec.

        The AP spec is so badly stretched by various implementation-specific differences that I don’t think it’s worth being ideological about adherence to it it anymore.

        RimuR silverpillS 2 Replies Last reply
        1
        0
        • RimuR Rimu

          Yes, a Delete activity is sent to all instances with actors that follow the category/community. Those instances then delete their local copy. In Lemmy/PieFed there is no distinction between deletion and removal.

          The deletes are soft so it is possible to un-delete by sending an Undo activity. PieFed keeps soft-deleted posts (topics, in NodeBB language) for a few days then after a week deletes the content from the database.

          All of these activities are enclosed in an Announce and the http POST is signed using the community key. So in a way the content ‘belongs’ to the community, not to the original author. With that model of ownership the idea of removal redundant - a post without a community is not a post.

          Tangentially - it would be good to come up with a way to move a topic to another category and federate that so the move can happen on other instances, too. We could go off-piste and create a Move activity, or use Remove (from old topic/comm) followed by Add (to new topic/comm) to do the same thing. I feel more inclined to go with Move as it’s a single atomic operation that either succeeds or fails, despite it not being in the spec.

          The AP spec is so badly stretched by various implementation-specific differences that I don’t think it’s worth being ideological about adherence to it it anymore.

          RimuR This user is from outside of this forum
          RimuR This user is from outside of this forum
          Rimu
          wrote last edited by
          #4

          There are lots of other uses for Move. A community whole could move instances, a user could move instances, etc.

          julianJ 1 Reply Last reply
          1
          0
          • RimuR Rimu

            There are lots of other uses for Move. A community whole could move instances, a user could move instances, etc.

            julianJ This user is from outside of this forum
            julianJ This user is from outside of this forum
            julian
            wrote last edited by
            #5

            Yeah you’re right, Move has some prior art for account migrations so it’s worth some thinking through.

            I’d like to work together on this though. I’m working through context ownership and inheritance first, but once that FEP is drafted I can move on to this.

            1 Reply Last reply
            1
            1
            • RimuR Rimu

              Yes, a Delete activity is sent to all instances with actors that follow the category/community. Those instances then delete their local copy. In Lemmy/PieFed there is no distinction between deletion and removal.

              The deletes are soft so it is possible to un-delete by sending an Undo activity. PieFed keeps soft-deleted posts (topics, in NodeBB language) for a few days then after a week deletes the content from the database.

              All of these activities are enclosed in an Announce and the http POST is signed using the community key. So in a way the content ‘belongs’ to the community, not to the original author. With that model of ownership the idea of removal redundant - a post without a community is not a post.

              Tangentially - it would be good to come up with a way to move a topic to another category and federate that so the move can happen on other instances, too. We could go off-piste and create a Move activity, or use Remove (from old topic/comm) followed by Add (to new topic/comm) to do the same thing. I feel more inclined to go with Move as it’s a single atomic operation that either succeeds or fails, despite it not being in the spec.

              The AP spec is so badly stretched by various implementation-specific differences that I don’t think it’s worth being ideological about adherence to it it anymore.

              silverpillS This user is from outside of this forum
              silverpillS This user is from outside of this forum
              silverpill
              wrote last edited by
              #6

              @rimu Still, I think it would be nice to deprecate Delete and slowly migrate to Remove(target: context), since both PieFed and Lemmy implement the context collection now.

              My server rejects Delete if its actor is different from object's owner, and I have to treat Announce(Delete) as a special case where the normal processing logic doesn't apply.

              RimuR 1 Reply Last reply
              1
              0
              • silverpillS silverpill

                @rimu Still, I think it would be nice to deprecate Delete and slowly migrate to Remove(target: context), since both PieFed and Lemmy implement the context collection now.

                My server rejects Delete if its actor is different from object's owner, and I have to treat Announce(Delete) as a special case where the normal processing logic doesn't apply.

                RimuR This user is from outside of this forum
                RimuR This user is from outside of this forum
                Rimu
                wrote last edited by
                #7

                Possibly although the differences of federation between the threadiverse and the rest of the fediverse go way beyond deletes. FEP 1b12 is a whole thing, chipping away at it piece by piece would be slow going.

                julianJ 1 Reply Last reply
                1
                0
                • RimuR Rimu

                  Possibly although the differences of federation between the threadiverse and the rest of the fediverse go way beyond deletes. FEP 1b12 is a whole thing, chipping away at it piece by piece would be slow going.

                  julianJ This user is from outside of this forum
                  julianJ This user is from outside of this forum
                  julian
                  wrote last edited by
                  #8

                  Personally I think 1b12 doesn’t need to be changed or hacked around. It doesn’t specifically call for federating out deletes so I’d think any solution we come up with together would work with that FEP, not go against it.

                  cc silverpill@mitra.social (if your app notifies you of new replies without a direct mention I’ll stop tagging you too)

                  silverpillS 1 Reply Last reply
                  0
                  • julianJ julian

                    Personally I think 1b12 doesn’t need to be changed or hacked around. It doesn’t specifically call for federating out deletes so I’d think any solution we come up with together would work with that FEP, not go against it.

                    cc silverpill@mitra.social (if your app notifies you of new replies without a direct mention I’ll stop tagging you too)

                    silverpillS This user is from outside of this forum
                    silverpillS This user is from outside of this forum
                    silverpill
                    wrote last edited by
                    #9

                    @julian

                    if your app notifies you of new replies without a direct mention I'll stop tagging you too

                    Inclusion in to or cc is enough to generate a notification.

                    1 Reply Last reply
                    1
                    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.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • All Topics
                    • Popular
                    • World
                    • Users
                    • Groups