annotate vendor/plugins/redmine_latest_downloads/init.rb @ 599:251b380117ce feature_227

Introduce a new latest_downloads plugin to manage active and shortcut for attachments. Add a table for attachment active/shortcut data. Move existing active-handler code into the new plugin (but still using the "old" active column in the attachments table). Note the files_controller stuff doesn't actually work here.
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 16 Aug 2011 17:01:19 +0100
parents
children
rev   line source
chris@599 1 require 'redmine'
chris@599 2
chris@599 3 Redmine::Plugin.register :redmine_latest_downloads do
chris@599 4 name 'Redmine Latest Downloads plugin'
chris@599 5 author 'Author name'
chris@599 6 description 'This is a plugin for Redmine'
chris@599 7 version '0.0.1'
chris@599 8 url 'http://example.com/path/to/plugin'
chris@599 9 author_url 'http://example.com/about'
chris@599 10 end