Drafts plugin v0.1.1
Added by Jean-Baptiste Barth over 1 year 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.
screenshot_plugin_drafts.png (11.3 kB)
Replies (11)
RE: Drafts plugin v0.1.1 - Added by Vladimir Dzalbo over 1 year ago
Love it!
Thanks a lot for your effort!
RE: Drafts plugin v0.1.1 - Added by Rodrigo Catto over 1 year 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 1 year ago
any Way to have IT for Large Wikis too ?
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth over 1 year 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 over 1 year ago
Cool!!!
Thanks for your effort...
and I attached Korean translation
ko.yml (322 Bytes)
RE: Drafts plugin v0.1.1 - Added by Radosław Koppel over 1 year ago
Really nice plug-in.
I attached Polish translation below.
Regards!
pl.yml - Drafts plugin Polish translation (264 Bytes)
RE: Drafts plugin v0.1.1 - Added by Haru Iida over 1 year ago
I love this plugin. Thanks.
I attached Japanese translation.
Regards.
ja.yml - Drafts plugin Japanese translation (308 Bytes)
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth over 1 year 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 over 1 year 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 over 1 year ago
Very nice feature. In attachment, brazilian portuguese version.
Thanks!
pt-BR.yml - Brazilian Portuguese translation (296 Bytes)
(1-11/11)