Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Hey @julian I am working on implementing a Soft Delete.

Hey @julian I am working on implementing a Soft Delete.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
6 Indlæg 3 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • pfefferle@mastodon.socialP This user is from outside of this forum
    pfefferle@mastodon.socialP This user is from outside of this forum
    pfefferle@mastodon.social
    wrote sidst redigeret af
    #1

    Hey @julian I am working on implementing a Soft Delete. Do you have an example JSON how a Tombstone should look like?

    https://codeberg.org/fediverse/fep/src/branch/main/fep/4f05/fep-4f05.md

    pfefferle@mastodon.socialP mariusor@metalhead.clubM 2 Replies Last reply
    0
    • pfefferle@mastodon.socialP pfefferle@mastodon.social

      Hey @julian I am working on implementing a Soft Delete. Do you have an example JSON how a Tombstone should look like?

      https://codeberg.org/fediverse/fep/src/branch/main/fep/4f05/fep-4f05.md

      pfefferle@mastodon.socialP This user is from outside of this forum
      pfefferle@mastodon.socialP This user is from outside of this forum
      pfefferle@mastodon.social
      wrote sidst redigeret af
      #2

      @julian Just checked the spec for a Tombstone... Seems to be pretty straight forward ☺️

      #rtfm

      pfefferle@mastodon.socialP 1 Reply Last reply
      0
      • pfefferle@mastodon.socialP pfefferle@mastodon.social

        @julian Just checked the spec for a Tombstone... Seems to be pretty straight forward ☺️

        #rtfm

        pfefferle@mastodon.socialP This user is from outside of this forum
        pfefferle@mastodon.socialP This user is from outside of this forum
        pfefferle@mastodon.social
        wrote sidst redigeret af
        #3

        @julian is there a way to `Undo` a soft delete?

        julian@community.nodebb.orgJ 1 Reply Last reply
        0
        • pfefferle@mastodon.socialP pfefferle@mastodon.social

          Hey @julian I am working on implementing a Soft Delete. Do you have an example JSON how a Tombstone should look like?

          https://codeberg.org/fediverse/fep/src/branch/main/fep/4f05/fep-4f05.md

          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.club
          wrote sidst redigeret af
          #4

          @pfefferle is there a reason why you aren't looking first at the official specification?

          The "soft-delete" behaviour is the actual spec conformant mechanism for deletion in ActivityPub.

          What @julian describes as "hard-delete" in this FEP exists in the spec only as a side-effect of Undo-ing the original Create activity.

          pfefferle@mastodon.socialP 1 Reply Last reply
          0
          • mariusor@metalhead.clubM mariusor@metalhead.club

            @pfefferle is there a reason why you aren't looking first at the official specification?

            The "soft-delete" behaviour is the actual spec conformant mechanism for deletion in ActivityPub.

            What @julian describes as "hard-delete" in this FEP exists in the spec only as a side-effect of Undo-ing the original Create activity.

            pfefferle@mastodon.socialP This user is from outside of this forum
            pfefferle@mastodon.socialP This user is from outside of this forum
            pfefferle@mastodon.social
            wrote sidst redigeret af
            #5

            @mariusor @julian https://mastodon.social/@pfefferle/115943312457638690

            1 Reply Last reply
            0
            • pfefferle@mastodon.socialP pfefferle@mastodon.social

              @julian is there a way to `Undo` a soft delete?

              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 sidst redigeret af
              #6

              @pfefferle@mastodon.social sure, because 4f05 assumes that deletion activity is a request to refresh the cache, a simple Update would suffice to bring the object back from Tombstone status.

              That said if you issued an Undo(Delete) that’d probably work too, and would do the same thing.

              1 Reply Last reply
              0
              Svar
              • Svar som emne
              Login for at svare
              • Ældste til nyeste
              • Nyeste til ældste
              • Most Votes


              • Log ind

              • Har du ikke en konto? Tilmeld

              • Login or register to search.
              Powered by NodeBB Contributors
              Graciously hosted by data.coop
              • First post
                Last post
              0
              • Hjem
              • Seneste
              • Etiketter
              • Populære
              • Verden
              • Bruger
              • Grupper