Project

General

Profile

Plugins Directory » Comment edit history

Author: Jonas Liubinas
Website: https://github.com/jonasliu95/comment_edit_history
Code repository: https://github.com/jonasliu95/comment_edit_history
Registered on: 2025-10-28 (about 1 year ago)
Current version: 0.3.0
Compatible with: Redmine 7.1.x
User ratings:   (3)

Captures every change made to the notes of an issue journal entry.
Stores the full text of each revision alongside the editor and timestamp.
Adds a toggleable panel under each updated comment so all users can review the prior versions.

Tested with Redmine 6.1 bookworm, 6.0.5

Installation notes

clone to plugins folder and perform:

1) Migration:
bundle exec rake redmine:plugins:migrate NAME=comment_edit_history RAILS_ENV=production

2) Assets precompile:
bundle exec rake assets:precompile NAME=comment_edit_history RAILS_ENV=production

3) Restart redmine

Changelog

0.3.0 (2026-11-01)

Compatible with Redmine 7.1.x.

Fixes

  • Users who edited a comment can now be deleted (previously blocked by a database constraint); their revisions are reassigned to Anonymous, like core Redmine does.
  • Each revision is now attributed to the user who actually wrote it, and the "Current" entry no longer changes when only a comment's privacy is toggled.
  • The "Edited (n)" indicator is placed in the comment header (also on Redmine 6.0).
  • The history updates immediately after an inline comment edit, without a page reload.
  • A failed history save no longer breaks the surrounding database transaction (PostgreSQL).
  • Old revisions render with the comment's context (attachments, links).

New

  • Permission "View comment edit history". Existing roles that can view issues receive it automatically on migrate, so nothing changes by default. Private-note history is only shown to users who can see private notes.
  • Added automated tests.

Upgrade

Run rake redmine:plugins:migrate NAME=comment_edit_history (two new migrations) and restart. Run assets:precompile in production.

Compatibility

Redmine 6.0, 6.1 and 7.0 (requires Redmine 6.0.0 or higher).

0.2.0 (2025-10-29)

Compatible with Redmine 6.1.x, 6.0.x.

• Resolved an issue with long index names on certain databases.
• Corrected the last edit timestamp display.

User ratings

  by Florian Walchshofer 9 months ago

  by Damduck Yu 10 months ago

This is the feature I was looking for, and the history management works fine, but the editor indicators are displayed differently at each level. Is there a way to edit this?

  by zhiquan dong about 1 year ago

good plugin, and there is a small bug in 6.1.0

ArgumentError: Index name 'index_comment_edit_history_journal_note_versions_on_edited_by_id' on table 'comment_edit_history_journal_note_versions' is too long; the limit is 63 characters