Plugins Directory » Redmine Versioned File CF Plugin
|
|
Author: | Yasu Saku |
|---|---|---|
| Website: | https://github.com/sk-ys/redmine_versioned_file_cf | |
| Code repository: | https://github.com/sk-ys/redmine_versioned_file_cf.git | |
| Registered on: | 2026-04-19 (2 months ago) | |
| Current version: | 0.3.0 | |
| Compatible with: | Redmine 7.0.x, 6.1.x, 6.0.x | |
| User ratings: |
This plugin adds a new custom field format named File (revision-managed) to Redmine, allowing uploaded files to be managed with revision history.
Features¶
- Supports inserting the
File (revision-managed)custom field for the following objects:Issue,Project,TimeEntry,Version,Document,User,Group
- Supports file uploads in the same way as the existing file custom field
- Supports showing, deleting, restoring, and diffing file revision history
- Supports adding and editing description for files
- Supports the following permissions:
- View revisions
- Edit file description
- Delete revision
- Restore revision
- Lets you switch between
FileandFile (revision-managed)using dedicated conversion buttons in the UI - Provides rake tasks for orphan attachment cleanup and custom field format conversion
Notes¶
- This plugin assumes uploaded files are text files
- If Git is not available on the server, the standard Redmine file diff feature is used; if Git is available, the result of
git diff --no-indexis displayed. - Git is required on the server to download diff files.
Installation notes
1. Download¶
Using Git
cd your_redmine/plugins
git clone https://github.com/sk-ys/redmine_versioned_file_cf.git
Without Git
- Download from one of the following links:
- Extract it into the
plugins folder with the folder name redmine_versioned_file_cf
plugins folder with the folder name redmine_versioned_file_cf2. Migration¶
Run the following from your Redmine root directory:
bundle exec rake redmine:plugins:migrate NAME=redmine_versioned_file_cf RAILS_ENV=production
3. Restart Redmine¶
Restart Redmine.
Changelog
0.3.0 (2026-06-03)
Compatible with Redmine 7.0.x, 6.1.x, 6.0.x.
What's Changed¶
Fixes¶
- Fix is-text column label in history table
Enhancement¶
- Support for non-text file uploads
- Remove restriction on migrating non-text attachments
- Add support for adding/editing attachment descriptions
- Add permissions for viewing history
- Simplify link rendering and download button design
- Refactor history table to add download button in filename column
- Move versioned_file_cf CSS injection from global head hook to edit_tag with per-request deduplication
- Implement revision deletion functionality and add tests
- Show history link if no attachment is available
- Refactor history page styles
- Add revision restore flow with permission gating and shared-attachment safe deletion
- Add custom fields support for versioned files across multiple entities
Details : https://github.com/sk-ys/redmine_versioned_file_cf/releases/tag/v0.3.0
Note¶
- This update requires a migration.
- e.g.
bundle exec rake redmine:plugins:migrate NAME=redmine_versioned_file_cf
- e.g.
0.2.0 (2026-04-18)
Compatible with Redmine 6.1.x.