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: |
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.