Giter Club home page Giter Club logo

redmine_email_watchers's Introduction

Redmine Email Watchers

Redmine plugin that will add email addresses as watchers to issues (and other objects).

Features

  • Allows adding email watchers to issues on the issue details page

  • Email watchers will receive issue updates via email

  • Email watchers can also reply to issue updates via email (see below)

Getting the plugin

A copy of the plugin can be downloaded from Little Stream Software or from GitHub

Installation and Setup

  1. Follow the Redmine plugin installation steps at: www.redmine.org/wiki/redmine/Plugins

  2. (optional) Patch your Redmine if you want to allow email watchers to reply to email (see below)

  3. Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)

Patching Redmine to allow email watchers to reply to issues via email

In order for email watcher to reply to issues (MailHandler), Redmine needs to be patched. These patches are available on my fork of redmine in the LSS-2708-mail-handler-find-user-refactoring branch.

Usage

  1. Setup permissions for viewing, adding, and deleting email watchers in Redmine’s Admin panel

  2. Browse to an issue page

  3. On the sidebar next to the standard Watchers there will be an Email Watchers section

  4. Click Add and enter an email address to add as an email watcher

The plugin will automatically add all email watchers to outgoing issue email notifications.

License

This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.

Project help

If you need help you can contact the maintainer at the Bug Tracker. The bug tracker is located at projects.littlestreamsoftware.com

redmine_email_watchers's People

Contributors

edavis10 avatar ynezz avatar

Stargazers

 avatar Chip Killian avatar  avatar Fabian Wallwitz avatar Boston Dell-Vandenberg avatar Anoop avatar Nick Peelman avatar  avatar  avatar Gabriel Mazetto avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

fengyibo babu3009

redmine_email_watchers's Issues

Redmine migration to 2.x (

After an update to redmine 2.x, i've got interal error on /issues url

My log return this. I don't know how to resolve this.
Delete plugin, or do a migrationdb with last zip don't change anything.

Thanks

Started GET "/issues?page=12&sort=project%3Adesc%2Ctracker%2Cpriority%3Adesc" for xy.wz.72.233 at Tue Sep 04 11:09:27 +0200 2012
Processing by IssuesController#index as */*
  Parameters: {"page"=>"12", "sort"=>"project:desc,tracker,priority:desc"}
Completed 500 Internal Server Error in 120ms

ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'EmailWatcherUser'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Principal.inheritance_column to use another column for that information.):
  app/models/query.rb:246:in `+'
  app/models/query.rb:246:in `available_filters'
  app/helpers/queries_helper.rb:124:in `build_query_from_params'
  app/helpers/queries_helper.rb:92:in `retrieve_query'
  app/controllers/issues_controller.rb:57:in `index'

ActionView::TemplateError (undefined method `email_watcher_user_path' for #<ActionView::Base:0x7f4fa84fc230>)

Hi,

I'm using this plugin, it works nice, but sometimes I've troubles to view list of users in the admin page. Sometimes it works and sometimes I get following error:

Processing UsersController#index (for 192.168.2.179 at 2011-12-02 10:49:06) [GET]
Parameters: {"action"=>"index", "controller"=>"users"}
Rendering template within layouts/admin
Rendering users/index

ActionView::TemplateError (undefined method `email_watcher_user_path' for #<ActionView::Base:0x7f4fa84fc230>) on line #49 of app/views/users/index.rhtml:
46:     <td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
47:     <td class="buttons">
48:             <%= change_status_link(user) %>
49:             <%= link_to(l(:button_delete), user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') unless User.current == user %>
50:     </td>
51:   </tr>
52: <% end -%>

    app/views/users/index.rhtml:49:in `_run_rhtml_app47views47users47index46rhtml'
    app/views/users/index.rhtml:38:in `each'
    app/views/users/index.rhtml:38:in `_run_rhtml_app47views47users47index46rhtml'
    app/controllers/users_controller.rb:64:in `index'
    app/controllers/users_controller.rb:61:in `index'
    /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /usr/lib/phusion_passenger/passenger-spawn-server:61

Rendering /var/redmine/redmine-1.2/public/500.html (500 Internal Server Error)
'''

I've looked into it and wanted to fix it myself, but I can't find the source of the error, since I don't know Ruby/Rails that much yet. So at least I report this error :-) I'm using almost stock Redmine 1.2 if it matters. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.