zanyou / redmine_persist_wfmt

redmine_persist_wfmt is a plugin for Redmine that persists wiki format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redmine_persist_wfmt

Build Status Coverage Status

redmine_persist_wfmt is a plugin for Redmine that keep and valid viewing wiki format of various documents. (issue, document, wiki ...)

Feature senario

  1. Write document as Textile
  2. Change wiki formatting setting to Markdown
  3. Write document as Markdown
  4. Users can view new documents as translated into Markdown
  5. Users also can view old documents as translated into Textile

Installation

Execute follow commands at your Redmine directory.

1. Clone to your Redmine's plugins directory:

$ git clone https://github.com/pinzolo/redmine_persist_wfmt.git plugins/redmine_persist_wfmt

2. Install dependency gems:

$ bundle install --without test development

3. Execute migration:

$ bundle exec rake redmine:plugins:migrate NAME=redmine_persist_wfmt RAILS_ENV=production

4. Execute persist_all task:

# FORMAT is required and must be 'textile' or 'markdown'
$ bundle exec rake pwfmt:persist_all FORMAT=textile RAILS_ENV=production

5. Restart your Redmine:

# In case of using passenger
$ touch tmp/restart.txt

Caution

Wiki toolbar is not changed by this plugin.

Supported versions

  • Ruby: 1.9.3, 2.0.0, 2.1.x
  • Redmine: 2.5.x, 2.6.0

Changelog

  • v0.5.0 (2014.05.13 JST): Pre release
  • v1.0.0 (2014.05.28 JST): First major release
  • v1.1.0 (2014.06.23 JST): Enable preview and refactoring

About

redmine_persist_wfmt is a plugin for Redmine that persists wiki format.

License:MIT License


Languages

Language:Ruby 97.4%Language:Shell 2.6%