Giter Club home page Giter Club logo

redmine-assets-plugin's Introduction

Assets plugin for redmine

Provides a central location to view all your project's assets.

Overview

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.

Requirements

  • Rails 3

Installation

  1. Follow the Redmine plugin installation steps at: http://www.redmine.org/wiki/redmine/Plugins
  2. Cd to your redmine plugins/ dir
  3. Git-clone the plugin from this repo into a folder in there: git 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)
  4. Run the plugin migrations rake redmine:plugins:migrate
  5. Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
  6. Login to your Redmine install as an Administrator
  7. Setup the permissions for the assets module for your roles
  8. Enable the module on a per-project basis as needed.

NOTE: the plugin directory has to be "redmine_assets_plugin"

Activation

To activate in your project:

  • Navigate to your project's "Settings" page
  • Under the "Modules" tab, check the box next to "Assets list" and save

Config

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.

  • Leaving out the "category" key in mappings.yml will disable categorization.
  • Leaving out the "project_id" key will default to project_id.

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.

Screenshots

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: Asset Landing Page

If anyone has attached any files to the Document content type, they will be listed here, organized by Document Category Document Assets

All files attached to Issues will be listed here, organized by Issue Category Issue Assets

redmine-assets-plugin's People

Contributors

bshaffer avatar zdravko avatar xsoldier avatar simon143 avatar cforce avatar

Watchers

Hassan Ajan avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.