RejectedSoftware Forums

Sign up

Edit own post

Please add possibility to edit own posts.
I just made a reply to a very, very long post and forgot to strip the quote... Now my reply is equally enormous. :(

You can see it here.

Re: Edit own post

Am 03.12.2013 10:48, schrieb Dejan Lekic:

Please add possibility to edit own posts.
I just made a reply to a very, very long post and forgot to strip the quote... Now my reply is equally enormous. :(

You can see it here.

The problem is that as long as NNTP is going to be supported, messages
have to be immutable, as there is no notification mechanism for edited
messages and the update would never reach users of NNTP readers that
have already cached the old message.

One idea would be to instead delete the old post and create a new one,
but that can only work as long as there are no replies to that message,
yet, or it will break threading. Also, there is also no notification
mechanism for deleted messages and it introduces race-conditions with
other posters who might be replying to the original post, so this also
won't be pretty either.

Re: Edit own post

On Tue, 03 Dec 2013 11:49:14 +0100, Sönke Ludwig wrote:

One idea would be to instead delete the old post and create a new one,
but that can only work as long as there are no replies to that message,
yet, or it will break threading. Also, there is also no notification
mechanism for deleted messages and it introduces race-conditions with
other posters who might be replying to the original post, so this also
won't be pretty either.

Even that is better than nothing. :) Could we make it editable as long as there are no replies?

Re: Edit own post

Am 03.12.2013 12:14, schrieb Dejan Lekic:

On Tue, 03 Dec 2013 11:49:14 +0100, Sönke Ludwig wrote:

One idea would be to instead delete the old post and create a new one,
but that can only work as long as there are no replies to that message,
yet, or it will break threading. Also, there is also no notification
mechanism for deleted messages and it introduces race-conditions with
other posters who might be replying to the original post, so this also
won't be pretty either.

Even that is better than nothing. :) Could we make it editable as long as there are no replies?

Not really editable, because NNTP readers would never notice an edit,
only deleted posts once it is actually loaded. But I'll create a ticket
to allow deleting posts as long as nobody has replied (and probably also
as long as it happens within a certain time limit).

Re: Edit own post

Sönke Ludwig wrote:

Am 03.12.2013 12:14, schrieb Dejan Lekic:

On Tue, 03 Dec 2013 11:49:14 +0100, Sönke Ludwig wrote:

One idea would be to instead delete the old post and create a new one,
but that can only work as long as there are no replies to that message,
yet, or it will break threading. Also, there is also no notification
mechanism for deleted messages and it introduces race-conditions with
other posters who might be replying to the original post, so this also
won't be pretty either.

Even that is better than nothing. :) Could we make it editable as long as
there are no replies?

Not really editable, because NNTP readers would never notice an edit,
only deleted posts once it is actually loaded. But I'll create a ticket
to allow deleting posts as long as nobody has replied (and probably also
as long as it happens within a certain time limit).

Sönke, even that is helpful! So please implement it. :)

Dejan Lekic
dejan.lekic (a) gmail.com
http://dejan.lekic.org

Re: Edit own post

On Tue, 03 Dec 2013 12:59:39 +0100, Sönke Ludwig wrote:

Not really editable, because NNTP readers would never notice an edit,
only deleted posts once it is actually loaded. But I'll create a ticket
to allow deleting posts as long as nobody has replied (and probably also
as long as it happens within a certain time limit).

Shouldn't that be as long as nobody fetched the message instead?
It seems like you're using serial numbers for the post IDs, so maybe it works to just track the highest (latest) fetched post and disable deletion for anything that's older.
Alternatively you'd have to mark the post with a boolean flag.

Re: Edit own post

Am 09.01.2014 10:36, schrieb Martin Nowak:

On Tue, 03 Dec 2013 12:59:39 +0100, Sönke Ludwig wrote:

Not really editable, because NNTP readers would never notice an edit,
only deleted posts once it is actually loaded. But I'll create a ticket
to allow deleting posts as long as nobody has replied (and probably also
as long as it happens within a certain time limit).

Shouldn't that be as long as nobody fetched the message instead?

That would of course be ideal, but that would make the feature useless.
I'm already getting multiple NNTP update requests per minute, so there
wouldn't really be enough time to react.

It seems like you're using serial numbers for the post IDs, so maybe it works to just track the highest (latest) fetched post and disable deletion for anything that's older.
Alternatively you'd have to mark the post with a boolean flag.

The internal ID also has the time encoded, so that can also be used for
this.

Re: Edit own post

On Thu, 09 Jan 2014 12:04:05 +0100, Sönke Ludwig wrote:

That would of course be ideal, but that would make the feature useless.
I'm already getting multiple NNTP update requests per minute, so there
wouldn't really be enough time to react.

Well I think it's better to not mutaate messages then. There is a simple preview on the web interface and one can always post a followup.

Maybe it's possible to implement edit as posting a new reply with the edited content. Then at least the web interface could visually merge those.

Re: Edit own post

On Thu, 09 Jan 2014 11:29:02 GMT, Martin Nowak wrote:

On Thu, 09 Jan 2014 12:04:05 +0100, Sönke Ludwig wrote:

That would of course be ideal, but that would make the feature useless.
I'm already getting multiple NNTP update requests per minute, so there
wouldn't really be enough time to react.

Well I think it's better to not mutaate messages then. There is a simple preview on the web interface and one can always post a followup.

Maybe it's possible to implement edit as posting a new reply with the edited content. Then at least the web interface could visually merge those.

That would be perhaps the best solution if the previous post gets deleted, otherwise the NTTP client will show both messages.