Provides a central location to view all your project's assets.
This will enable the Assets
tab in your project. The assets tab groups assets by your different asset types.
The asset types currently supported are Issues
, Messages
, Documents
, Versions
(from the Files module), and WikiPages
.
Only the types that have uploaded files in the current project will be displayed. Drilling down into an asset type
will show an alphabetical list of assets, grouped by category if applicable.
plugins/
dirgit clone git://github.com/bshaffer/redmine-assets-plugin.git redmine_assets_plugin
(You must name your directory with underscores as shown here, or the plugin will throw a fatal error)rake redmine:plugins:migrate
NOTE: the plugin directory has to be "redmine_assets_plugin"
To activate in your project:
You can configure additional asset types via the config/mappings.yml
file. Mappings to the
content type's project_ids and categories are found here. Contact me or submit a pull request for additional asset types.
mappings.yml
will disable categorization. As a bare minimum, the mappings.yml file requires the name of the asset type, followed by an empty hash:
NewAssetType: {}
This will display the assets for class NewAssetType with a project_id field and no categories.
When you click the Assets Tab in your project, you will see all the content types in your project that have assets uploaded to them:
If anyone has attached any files to the Document content type, they will be listed here, organized by Document Category
All files attached to Issues will be listed here, organized by Issue Category