Drafts plugin v0.1.1
Added by Jean-Baptiste Barth over 14 years ago
As an answer to #2910, I needed something quickly for one of my redmine instances at $WORK. People using Redmine there are posting quite long issues and they often lose everything if they close their browser or click on a bad button/link.
I tried to implement something to save drafts regularly. It uses a dedicated table, saving drafts as yamlized dumps of the object, so 1) it can be extended to other models, 2) it's not intrusive at all, and it doesn't require to change 50 lines of code in the core (which may have been the case if we just added a "draft" boolean column in the Issue table).
The plugin is called "redmine_drafts", and it's available on github : http://github.com/jbbarth/redmine_drafts. Don't know if it's an artwork, but it works for me and my colleagues for a couple of months now.
Here's a screenshot :
Any question or feedback would be welcome.
Replies (13)
RE: Drafts plugin v0.1.1 - Added by Vladimir Dzalbo over 14 years ago
Love it!
Thanks a lot for your effort!
RE: Drafts plugin v0.1.1 - Added by Rodrigo Catto over 14 years ago
Great! Remember that in some installations of Redmine, rake must run as:
rake db:migrate_plugins RAILS_ENV=production
...like in Redmine on apt-get for Ubuntu 10.04 LTS.
http://www.redmine.org/wiki/redmine/Plugins
RE: Drafts plugin v0.1.1 - Added by Holger Winkelmann over 14 years ago
any Way to have IT for Large Wikis too ?
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth over 14 years ago
I didn't have much time recently to work on that, but you can fork me on github, work on a patch, and send me a pull request. If it's tested and seems ok, I'll push it on the main repository.
Korean translation - Added by Ki Won Kim about 14 years ago
Cool!!!
Thanks for your effort...
and I attached Korean translation
RE: Drafts plugin v0.1.1 - Added by Radosław Koppel about 14 years ago
Really nice plug-in.
I attached Polish translation below.
Regards!
RE: Drafts plugin v0.1.1 - Added by Haruyuki Iida about 14 years ago
I love this plugin. Thanks.
I attached Japanese translation.
Regards.
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth about 14 years ago
Thanks all for your interest in this plugin. I added your translations and fixed the README.
RE: Drafts plugin v0.1.1 - Added by Jeremy Davis about 14 years ago
Hi!
I tried using this plugin (which sounds very useful!), but I get the following errors:
1) Can't find "autosave_drafts_path" (_issue_form.html.erb)
2) Can't find "restore_draft_path" (_pending.html.erb)
and probably others of the same kind.
I'm using an old version of redmine (0.8.4), on which my predecessors in the company have built a huge quantity of plugins and mods... so updating redmine is not an option.
I'm guessing it's a redmine-version compatibility issue.
Any ideas?
Thanks a lot!
RE: Drafts plugin v0.1.1 - Added by Rafael Trestini about 14 years ago
Very nice feature. In attachment, brazilian portuguese version.
Thanks!
RE: Drafts plugin v0.1.1 - Added by Pavel Potcheptsov over 10 years ago
For my redmine's versions (2.4.x and 2.5.x) I have still this plugin installed.
Should I stop using it or covered issue still exist in redmine?