1、邮件触发,(前提已经做好Postfix的配置了)
修改配置文件/var/www/redmine/config/configuration.yml
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: 192.168.**.**
port: 25
authentication: :none
enable_starttls_auto: false
openssl_verify_mode: 'none'
登录管理---邮件通知
2、配置让附件的图片可预览显示
路径:/var/www/redmine/app/views/attachments/_links.html.erb
<% images = attachments.select { |a| a.image? } %>
<% unless images.empty? %>
<% images.each do |attachment| %>
<%= link_to image_tag(url_for({:controller => 'attachments', :action => 'show', :id => attachment, :filename => attachment.filen
ame })),
{:controller => 'attachments', :action => 'show', :id => attachment, :filename => attachment.filename }, :class => 'lightbox', :
rel => 'attachments', :title => "#{attachment.filename}#{ ('-' + attachment.description) unless attachment.description.blank? }"
%>
<% end -%>
<% end -%>
3、删除Redmine插件
4、定期给项目组成员发送任务list:
修改配置文件/var/www/redmine/config/configuration.yml
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: 192.168.**.**
port: 25
authentication: :none
enable_starttls_auto: false
openssl_verify_mode: 'none'
登录管理---邮件通知
![](http://img.blog.itpub.net/blog/attachment/201708/10/20659905_15023468380b80.jpg?x-oss-process=style/bb)
2、配置让附件的图片可预览显示
路径:/var/www/redmine/app/views/attachments/_links.html.erb
<% images = attachments.select { |a| a.image? } %>
<% unless images.empty? %>
<% images.each do |attachment| %>
<%= link_to image_tag(url_for({:controller => 'attachments', :action => 'show', :id => attachment, :filename => attachment.filen
ame })),
{:controller => 'attachments', :action => 'show', :id => attachment, :filename => attachment.filename }, :class => 'lightbox', :
rel => 'attachments', :title => "#{attachment.filename}#{ ('-' + attachment.description) unless attachment.description.blank? }"
%>
<% end -%>
<% end -%>
3、删除Redmine插件
rake redmine:plugins:migrate NAME=redmine_todos VERSION=0 RAILS_ENV=production
移除插件的文件
移除插件的文件
mv plugins/redmine_todos/ /opt/
service redmine stop
service redmine start
4、定期给项目组成员发送任务list:
![](http://img.blog.itpub.net/blog/attachment/201708/11/20659905_1502437634Nz8N.png?x-oss-process=style/bb)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20659905/viewspace-2143405/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/20659905/viewspace-2143405/