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. Uncategorized
  3. Hey @julian I am working on implementing a Soft Delete.

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

Scheduled Pinned Locked Moved Uncategorized
6 Posts 3 Posters 0 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.
  • 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 last edited by
    #1

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

    Cookie monster!

    favicon

    (codeberg.org)

    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?

      Cookie monster!

      favicon

      (codeberg.org)

      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 last edited by
      #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 last edited by
        #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?

          Cookie monster!

          favicon

          (codeberg.org)

          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 last edited by
          #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 last edited by
            #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 last edited by
              #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
              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