Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Cerulean)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. Topic removal from a category/community

Topic removal from a category/community

Pianificato Fissato Bloccato Spostato Technical Discussion
piefed
29 Post 5 Autori 173 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • julian@activitypub.space Questo utente è esterno a questo forum
    julian@activitypub.space Questo utente è esterno a questo forum
    julian@activitypub.space
    scritto su ultima modifica di
    #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?

    phillycodehound@indieweb.social rimu@piefed.social 2 Risposte Ultima Risposta
    0
    • julian@activitypub.space julian@activitypub.space

      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?

      phillycodehound@indieweb.social Questo utente è esterno a questo forum
      phillycodehound@indieweb.social Questo utente è esterno a questo forum
      phillycodehound@indieweb.social
      scritto su ultima modifica di
      #2

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

      1 Risposta Ultima Risposta
      0
      • julian@activitypub.space julian@activitypub.space

        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?

        rimu@piefed.social Questo utente è esterno a questo forum
        rimu@piefed.social Questo utente è esterno a questo forum
        rimu@piefed.social
        scritto su ultima modifica di
        #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.

        rimu@piefed.social julian@activitypub.space silverpill@mitra.social 3 Risposte Ultima Risposta
        0
        • rimu@piefed.social rimu@piefed.social

          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.

          rimu@piefed.social Questo utente è esterno a questo forum
          rimu@piefed.social Questo utente è esterno a questo forum
          rimu@piefed.social
          scritto su ultima modifica di
          #4

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

          julian@activitypub.space 1 Risposta Ultima Risposta
          0
          • rimu@piefed.social rimu@piefed.social

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

            julian@activitypub.space Questo utente è esterno a questo forum
            julian@activitypub.space Questo utente è esterno a questo forum
            julian@activitypub.space
            scritto su ultima modifica di
            #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 Risposta Ultima Risposta
            0
            • rimu@piefed.social rimu@piefed.social

              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.

              julian@activitypub.space Questo utente è esterno a questo forum
              julian@activitypub.space Questo utente è esterno a questo forum
              julian@activitypub.space
              scritto su ultima modifica di
              #6

              rimu@piefed.social said in Topic removal from a category/community:
              > 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.

              Oh that's right! That makes sense. Having the community sign the activity (and the Announce wrapper) would effectively differentiate it from a simple author-initiated content deletion.

              The impetus for this question was that occasionally I will move topics out of a category for being off topic. Federated copies don't see this change reflected, so both Move and Delete are things I want to federate out in lockstep with Piefed and Lemmy.

              1 Risposta Ultima Risposta
              0
              • rimu@piefed.social rimu@piefed.social

                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.

                silverpill@mitra.social Questo utente è esterno a questo forum
                silverpill@mitra.social Questo utente è esterno a questo forum
                silverpill@mitra.social
                scritto su ultima modifica di
                #7

                @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.

                rimu@piefed.social 1 Risposta Ultima Risposta
                0
                • silverpill@mitra.social silverpill@mitra.social

                  @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.

                  rimu@piefed.social Questo utente è esterno a questo forum
                  rimu@piefed.social Questo utente è esterno a questo forum
                  rimu@piefed.social
                  scritto su ultima modifica di
                  #8

                  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.

                  julian@activitypub.space 2 Risposte Ultima Risposta
                  0
                  • rimu@piefed.social rimu@piefed.social

                    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.

                    julian@activitypub.space Questo utente è esterno a questo forum
                    julian@activitypub.space Questo utente è esterno a questo forum
                    julian@activitypub.space
                    scritto su ultima modifica di
                    #9

                    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)

                    julian@community.nodebb.org silverpill@mitra.social 2 Risposte Ultima Risposta
                    0
                    • julian@activitypub.space julian@activitypub.space

                      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)

                      julian@community.nodebb.org Questo utente è esterno a questo forum
                      julian@community.nodebb.org Questo utente è esterno a questo forum
                      julian@community.nodebb.org
                      scritto su ultima modifica di
                      #10

                      I also think that backfill will have a side effect of connecting the threadiverse and the rest of the fediverse.

                      Exposing context collections will mean consumers will be able to see both *verses. Once Mastodon starts consuming them I predict you will start seeing much more engagement from the microblogs.

                      The same would apply if Piefed or Lemmy begin consuming them as well.

                      That is an angle I had not even considered until now!

                      1 Risposta Ultima Risposta
                      0
                      • julian@activitypub.space julian@activitypub.space

                        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)

                        silverpill@mitra.social Questo utente è esterno a questo forum
                        silverpill@mitra.social Questo utente è esterno a questo forum
                        silverpill@mitra.social
                        scritto su ultima modifica di
                        #11

                        @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 Risposta Ultima Risposta
                        0
                        • rimu@piefed.social rimu@piefed.social

                          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.

                          julian@activitypub.space Questo utente è esterno a questo forum
                          julian@activitypub.space Questo utente è esterno a questo forum
                          julian@activitypub.space
                          scritto su ultima modifica di
                          #12

                          rimu@piefed.social silverpill@mitra.social I gave this a bit more thought and I am coming around to the idea that Remove could work.

                          I am assuming that when Piefed sends Announce(Delete(Object)) this is only understood by Piefed? Not Lemmy (and certainly not NodeBB, yet)...

                          In that case, a move to a simpler Remove(target: context) signed and acted on by the community actor, would send a more explicit message that the object was removed from the community.

                          The "1b12-speaking" portion of it would be an Undo(Announce(Create)), although once again I am not even sure if that action is understood by Piefed/Lemmy.

                          1 Risposta Ultima Risposta
                          0
                          • rimu@piefed.social Questo utente è esterno a questo forum
                            rimu@piefed.social Questo utente è esterno a questo forum
                            rimu@piefed.social
                            scritto su ultima modifica di
                            #13

                            only understood by Piefed? Not Lemmy

                            No, that's a Lemmy thing too.

                            julian@activitypub.space julian@community.nodebb.org 2 Risposte Ultima Risposta
                            0
                            • rimu@piefed.social rimu@piefed.social

                              only understood by Piefed? Not Lemmy

                              No, that's a Lemmy thing too.

                              julian@activitypub.space Questo utente è esterno a questo forum
                              julian@activitypub.space Questo utente è esterno a questo forum
                              julian@activitypub.space
                              scritto su ultima modifica di
                              #14

                              Oh okay. I wasn't sure about that since I don't think it's documented in the FEP, though it's been awhile since I've given it a read through.

                              1 Risposta Ultima Risposta
                              0
                              • rimu@piefed.social rimu@piefed.social

                                only understood by Piefed? Not Lemmy

                                No, that's a Lemmy thing too.

                                julian@community.nodebb.org Questo utente è esterno a questo forum
                                julian@community.nodebb.org Questo utente è esterno a questo forum
                                julian@community.nodebb.org
                                scritto su ultima modifica di
                                #15

                                rimu@piefed.social Do you send the Undo(Announce(Create)) as well for microblog compatibility?

                                1 Risposta Ultima Risposta
                                0
                                • rimu@piefed.social Questo utente è esterno a questo forum
                                  rimu@piefed.social Questo utente è esterno a questo forum
                                  rimu@piefed.social
                                  scritto su ultima modifica di
                                  #16

                                  Looks like for Mastodon we just do a bare Delete.

                                  julian@community.nodebb.org 1 Risposta Ultima Risposta
                                  0
                                  • rimu@piefed.social rimu@piefed.social

                                    Looks like for Mastodon we just do a bare Delete.

                                    julian@community.nodebb.org Questo utente è esterno a questo forum
                                    julian@community.nodebb.org Questo utente è esterno a questo forum
                                    julian@community.nodebb.org
                                    scritto su ultima modifica di julian@community.nodebb.org
                                    #17

                                    rimu@piefed.social got it, thanks. How do you reconcile the Delete coming from outside your domain? I would figure Mastodon would drop those Deletes.

                                    Edit: that was confusing wording... I mean — how do you sign a Delete for an object that doesn't belong to your instance?

                                    1 Risposta Ultima Risposta
                                    0
                                    • rimu@piefed.social Questo utente è esterno a questo forum
                                      rimu@piefed.social Questo utente è esterno a questo forum
                                      rimu@piefed.social
                                      scritto su ultima modifica di
                                      #18

                                      We only federate the deletion if it is in one of our local communities.

                                      The activity is signed by the person who did it, so if Mastodon detects that the person deleting is not the author and doesn't know how to find out if someone is a moderator or not, that's their problem.

                                      Mastodon has been dropping the ball on groups support for years so I didn't even bother to find out if they handle it well - I bet they don't.

                                      silverpill@mitra.social 1 Risposta Ultima Risposta
                                      0
                                      • rimu@piefed.social rimu@piefed.social

                                        We only federate the deletion if it is in one of our local communities.

                                        The activity is signed by the person who did it, so if Mastodon detects that the person deleting is not the author and doesn't know how to find out if someone is a moderator or not, that's their problem.

                                        Mastodon has been dropping the ball on groups support for years so I didn't even bother to find out if they handle it well - I bet they don't.

                                        silverpill@mitra.social Questo utente è esterno a questo forum
                                        silverpill@mitra.social Questo utente è esterno a questo forum
                                        silverpill@mitra.social
                                        scritto su ultima modifica di
                                        #19

                                        @rimu

                                        so if Mastodon detects that the person deleting is not the author and doesn’t know how to find out if someone is a moderator or not, that’s their problem.

                                        It is not their problem. If your actor Deletes an object that is owned by a different server, then your implementation of ActivityPub standard is incorrect:

                                        https://www.w3.org/TR/activitypub/#delete-activity-inbox

                                        The side effect of receiving this is that (assuming the object is owned by the sending actor / server) the server receiving the delete activity SHOULD remove its representation of the object with the same id

                                        @julian

                                        julian@community.nodebb.org 1 Risposta Ultima Risposta
                                        0
                                        • silverpill@mitra.social silverpill@mitra.social

                                          @rimu

                                          so if Mastodon detects that the person deleting is not the author and doesn’t know how to find out if someone is a moderator or not, that’s their problem.

                                          It is not their problem. If your actor Deletes an object that is owned by a different server, then your implementation of ActivityPub standard is incorrect:

                                          https://www.w3.org/TR/activitypub/#delete-activity-inbox

                                          The side effect of receiving this is that (assuming the object is owned by the sending actor / server) the server receiving the delete activity SHOULD remove its representation of the object with the same id

                                          @julian

                                          julian@community.nodebb.org Questo utente è esterno a questo forum
                                          julian@community.nodebb.org Questo utente è esterno a questo forum
                                          julian@community.nodebb.org
                                          scritto su ultima modifica di
                                          #20

                                          I think Announce(Delete(Object)) skirts around that, though. Maybe not if you're being technical about it, but the shape of the activity is different enough to mean something else in 1b12-land:

                                          • A community/group-actor announced a Delete
                                          • The object may or may not belong to the same domain as the community/group-actor or Delete actor
                                          • Verify that the community/group-actor and Delete actor are same-origin (might not need this if cross-instance moderation is a thing)
                                          • Verify that the Delete actor is a moderator of the community/group-actor as per 1b12
                                          1 Risposta Ultima Risposta
                                          0

                                          Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                                          Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                                          Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                                          Registrati Accedi
                                          Rispondi
                                          • Risposta alla discussione
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Più Voti


                                          • 1
                                          • 2
                                          Feed RSS
                                          Topic removal from a category/community
                                          @pierobosio@soc.bosio.info
                                          NodeBB Contributors
                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          • Primo post
                                            Ultimo post