Drafts plugin v0.1.1
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)
RE: Drafts plugin v0.1.1 - Added by Vladimir Dzalbo over 7 years ago
Thanks a lot for your effort!
RE: Drafts plugin v0.1.1 - Added by Rodrigo Catto over 7 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.
RE: Drafts plugin v0.1.1 - Added by Holger Winkelmann over 7 years ago
any Way to have IT for Large Wikis too ?
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth over 7 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 over 7 years ago
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 7 years ago
Really nice plug-in.
I attached Polish translation below.
pl.yml - Drafts plugin Polish translation (264 Bytes)
RE: Drafts plugin v0.1.1 - Added by Haruyuki Iida over 7 years ago
I love this plugin. Thanks.
I attached Japanese translation.
ja.yml - Drafts plugin Japanese translation (308 Bytes)
RE: Drafts plugin v0.1.1 - Added by Jean-Baptiste Barth about 7 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 7 years ago
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.
Thanks a lot!
RE: Drafts plugin v0.1.1 - Added by Rafael Trestini about 7 years ago
Very nice feature. In attachment, brazilian portuguese version.
pt-BR.yml - Brazilian Portuguese translation (296 Bytes)
RE: Drafts plugin v0.1.1 - Added by Ki Won Kim over 3 years ago
Add Korean language file.
ko.yml (349 Bytes)
RE: Drafts plugin v0.1.1 - Added by Pavel Potcheptsov over 3 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?