Patch #1717

Show diff for issue description change

Added by Artem Vasiliev about 2 years ago. Updated over 1 year ago.

Status:New Start:2008-07-30
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

This patch closes both #328 (put the fact of description change to issue history) and #746 (visualize description change).
It goes rather simple path and relies on availability of 'diff' utility (not a problem in many cases).

I just upgraded JournalDetails' values to :text field type (from :string of 256 symbols); better approach might be introducing Issue versioning with acts_as_versioned and making JournalDetails refer to previous and next versions of issue; but I thought this would be too heavy for this patch and better would be another improvement (if needed).

Contributed by Texuna Technologies.

issue_description_diff.patch (8.3 KB) Artem Vasiliev, 2008-07-30 16:47

issue_description_diff.png - screenshot (57.4 KB) Artem Vasiliev, 2008-07-30 19:50

issue_description_diff_svn_head.patch - Two quick fixes to make the patch work with SVN HEAD (6.7 KB) Markus Knittig, 2008-08-10 09:20


Related issues

related to Feature #2503: History of Ticket-Description Closed 2009-01-13
related to Feature #746: Versioned Descriptions Reopened 2008-02-27

History

Updated by Artem Vasiliev over 1 year ago

Made the link to description diff work in email notifications: http://github.com/artemv/redmine_tt/commit/a34088241412b13f80dfd501c9c92524f4fdf4f9

Updated by Reach Everywhere over 1 year ago

+1

Updated by Reach Everywhere over 1 year ago

This patch is awesome.

Updated by Jens Goldhammer over 1 year ago

+1

Also available in: Atom PDF