Feature/delete expired#69
Conversation
|
Ok, I'll look it up tomorrow. Le lun. 07 juil. 2014 02:05:47 CEST, jcsaaddupuy a écrit :
|
|
Ok, It's a very clean PR, thank you ! I'll make minor adjustments and merge it as soon as I can. Probably in Le 07/07/2014 02:05, jcsaaddupuy a écrit :
|
|
Hi! I just fixed a bug on my own code - non burn after reading paste where never deleted :( (jcsaaddupuy@1c6b923) |
|
Noted. Still waiting for some time to merge that. I haven't forget. Le lun. 14 juil. 2014 17:25:43 CEST, jcsaaddupuy a écrit :
|
|
Is this PR dead? Was this functionality implemented in another PR in the meantime? If no, did the code diverge so much that this PR is too hard to merge today? |
|
Same questions as @zertrin (but almost one year later 😉 ) |
This adds a purge option to zerobin (#48) by adding two class method to the Paste class (see paste.py#L296 and paste.py#L315)
I add to move some logic from the route to the Paste class (see paste.py#L268)
I also added a is_burn_notice property (only for aestheticism)
With this patch, zerobin can be called this way:
It could also be done in a route like /purge if needed.
(and it seems that I haven't broken anything :) )