redmine_persist_wfmt is a plugin for Redmine that enables to select and save wiki format of various documents. (issue, document, wiki ...)
- Write document as Textile
- Change wiki formatting setting to Markdown
- Write document as Markdown
- Users can view new documents as translated into Markdown
- Users also can view old documents as translated into Textile
Execute follow commands at your Redmine directory.
-
Clone to your Redmine's plugins directory
$ git clone https://github.com/pinzolo/redmine_persist_wfmt.git plugins/redmine_persist_wfmt
-
Install dependency gems
If you are already using Redmine, you probably only call
bundle
.$ bundle install --without test development
-
Execute migration
$ bundle exec rake redmine:plugins:migrate NAME=redmine_persist_wfmt RAILS_ENV=production
-
Execute
persist_all
taskThis task saves all wiki formats that already exist.
# FORMAT is required and must be 'textile' or 'markdown' $ bundle exec rake pwfmt:persist_all FORMAT=textile RAILS_ENV=production
-
Restart your Redmine
This plugin contains docker-compose.yml
, so you can try this by docker-compose up
.
- Ruby: 2.3.x, 2.4.x, 2.5.x, 2.6.x
- Redmine: 4.0.x
If you want to use this plugin with Redmine2 or 3, use ver1 branch.
To check tests and rubocop, you need to merge Gemfile.local
in this plugin to Gemfile.local
of your Redmine.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Check pass all tests (
RAILS_ENV=test bundle exec rake redmine:plugins:test:ui
) - Check pass rubocop (
bundle exec rubocop plugins/redmine_persist_wfmt
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- 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
- v2.0.0 (2019-05-04 JST): Compatible with Redmine4
- v2.0.1 (2019-05-28 JST): Safely toolbar scripts update