Project

General

Profile

Redmine boards/wiki/issues watchers management plugin

Added by Vitaly Klimov over 14 years ago

Intro

  1. Plugin allows to add/remove watchers to the project' forums(boards) and their individual topics. Also it allows to assign watchers while creating a message and to assign groups as watchers (experimental)
  2. Plugin allows management of watchers for wiki pages
  3. Plugin adds watchers context menu for issues
  4. Plugin adds three levels to sticky message attribute for additional structure flexebility

Up to date plugin page

http://www.redmine.org/plugins/redmine_boards_watchers


Replies (75)

RE: Redmine boards/wiki/issues watchers management plugin - Added by Anonymous over 12 years ago

Yes! Seems to be working! I will report if I find any other problems. Thanks!

RE: Redmine boards/wiki/issues watchers management plugin - Added by Bruno Medeiros over 12 years ago

I'm still getting an error with 0.2.4b and redmine 1.4.4:

Rendering /opt/redmine/redmine-1.4/public/500.html (500 Internal Server Error)

Processing BoardsController#show (for 201.76.162.34 at 2012-06-20 01:05:13) [GET]
  Parameters: {"action"=>"show", "project_id"=>"nead", "id"=>"13", "controller"=>"boards"}
Rendering template within layouts/base
Rendering boards/show

ActionView::TemplateError (undefined method `project' for nil:NilClass) on line #10 of vendor/plugins/redmine_boards_watchers/app/views/messages/_form.html.erb:
7: <%= f.text_field :subject, :size => 120, :id => "message_subject" %>^M
8: ^M
9: <% unless replying %>^M
10:   <% if @message.safe_attribute? 'sticky' %>^M
11: <%# VVK Lines added by boards watchers plugin - start %>^M
12:     <% sticky_opt=[] %>^M
13:     <% 4.times { |i| sticky_opt << [l("label_bw_sticky_#{i}"), i] }  %>^M

    app/models/message.rb:94:in `project'
    app/models/message.rb:54
    lib/redmine/safe_attributes.rb:51:in `call'
    lib/redmine/safe_attributes.rb:51:in `safe_attribute_names'
    lib/redmine/safe_attributes.rb:50:in `collect'
    lib/redmine/safe_attributes.rb:50:in `safe_attribute_names'
    lib/redmine/safe_attributes.rb:62:in `safe_attribute?'
    vendor/plugins/redmine_boards_watchers/app/views/messages/_form.html.erb:10
    vendor/plugins/redmine_boards_watchers/app/views/boards/show.html.erb:15
    vendor/plugins/redmine_boards_watchers/app/views/boards/show.html.erb:14
    vendor/plugins/redmine_boards_watchers/inc/bw_boards_controller.rb:26:in `show'
    vendor/plugins/redmine_boards_watchers/inc/bw_boards_controller.rb:2:in `show'

If you need any info, please ask.

RE: Redmine boards/wiki/issues watchers management plugin - Added by # And over 12 years ago

Redmine 2.0.2, doesn't work.

Environment:
  Redmine version                          2.0.2.stable
  Ruby version                             1.9.2 (x86_64-linux)
  Rails version                            3.2.5
  Environment                              production
  Database adapter                         Mysql2

Empty new-issue-page, no additional icons on wiki. What additional information can I provide?

RE: Redmine boards/wiki/issues watchers management plugin - Added by Vitaly Klimov over 12 years ago

  1. And wrote:

Redmine 2.0.2, doesn't work.

Have you run rake redmine:plugins:process_version_change RAILS_ENV=production after plugin installation? Also please note that watchers management is available on Index by title page only.

RE: Redmine boards/wiki/issues watchers management plugin - Added by # And over 12 years ago

I've run it, but with no result:

user@host:/var/www/redmine/plugins# rake redmine:plugins:process_version_change RAILS_ENV=production
(in /var/www/redmine)
Redmine version: 2.0.3
Redmine revision: unknown
---------- Updating revisions.... ----------
-------- processing plugin redmine_inline_attach_screenshot
-------- processing plugin redmine_auto_watch
-------- processing plugin redmine_boards_watchers
    Using version 2.0.0 for file /app/views/boards_watchers/manage_wiki.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/issues_watchers_bulk.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/manage.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/manage_topic.html.erb
    Using revision 8940 for file /app/views/messages/_form.html.erb
    Using revision 8886 for file /app/views/issues/new.html.erb
    Removing obsolete file /app/views/issues/_form.html.erb
    Using version 1.3.1 for file /app/views/boards/index.html.erb
    Using version 2.0.0 for file /app/views/boards/show.html.erb
    Using version 1.4.0 for file /app/views/projects/settings/_boards.html.erb
-------- processing plugin redmine_checkout
-------- processing plugin redmine_default_columns
    Using version 2.0.0 for file /app/views/issues/index.html.erb
    Using version 1.3.0 for file /app/views/issues/index.api.rsb
-------- processing plugin redmine_extra_query_operators
    Using version 1.4.0 for file /app/views/queries/_filters.html.erb
-------- processing plugin redmine_favourite_projects
-------- processing plugin redmine_graph_activities
-------- processing plugin redmine_importer
-------- processing plugin redmine_lightbox
-------- processing plugin redmine_local_avatars
-------- processing plugin redmine_monitoring_controlling
-------- processing plugin redmine_open_links_in_new_window
-------- processing plugin redmine_plugin_views_revisions
-------- processing plugin redmine_reorder_links_arbitrary
-------- processing plugin redmine_spent_time
-------- processing plugin redmine_spent_time_column
-------- processing plugin redmine_tagging
-------- processing plugin redmine_theme_changer
-------- processing plugin redmine_wktime
Done

Also, wiki index page:

P.S. I've update redmine to 2.0.3 before this test and reply. Maybe it is a conflict of plugins?

RE: Redmine boards/wiki/issues watchers management plugin - Added by Christian Baus over 12 years ago

Hey!

Same problems with 2.0.3 without Plugin (only redmine_plugin_views_revisions).

New ticket form page is blank, no content there...

rake task from redmine_plugin_views_revisions runs fine!

RE: Redmine boards/wiki/issues watchers management plugin - Added by Stephanie King over 12 years ago

I'm running redmine 2.0.3 and also getting an error with the "new issue" page being blank.

The problem is that when running "rake redmine:plugins:process_version_change" it says "Using revision 8892 for file /app/views/issues/new.html.erb" when it should be using version 2.0.0. For a workaround I copied rev/app/views/issues/2.0.0-new.html.erb to 2.0.3-new.html.erb and re-ran process_version_change. Afterwards it seemed to recognize the right one and the new task page loaded correctly.

RE: Redmine boards/wiki/issues watchers management plugin - Added by # And about 12 years ago

Hmm. There is the trouble. Why? My redmine version - 2.0.3.

root@artvertep:/var/www/redmine/plugins# rake redmine:plugins:migrate
(in /var/www/redmine)
An error occurred while loading the routes definition of redmine_boards_watchers plugin (/var/www/redmine/plugins/redmine_boards_watchers/config/routes.rb): uninitialized constant ActionDispatch::Routing::Routes.

root@artvertep:/var/www/redmine/plugins# rake redmine:plugins:process_version_change RAILS_ENV=production
(in /var/www/redmine)
An error occurred while loading the routes definition of redmine_boards_watchers plugin (/var/www/redmine/plugins/redmine_boards_watchers/config/routes.rb): uninitialized constant ActionDispatch::Routing::Routes.

RE: Redmine boards/wiki/issues watchers management plugin - Added by Frank Enders about 12 years ago

Thats a great plugin, thanks!

Are there plans to make it compatible with Redmine 2.1.x? When installing it in a 2.1.x environment, I get

ActionView::Template::Error (undefined method `link_to_remote' for #<#<Class:0xb5994a0c>:0xb5990ec0>):
    14: <%= form_for @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
    15:   <%= render :partial => 'messages/form', :locals => {:f => f} %>
    16:   <p><%= submit_tag l(:button_create) %>
    17:   <%= link_to_remote l(:label_preview),
    18:                      { :url => { :controller => 'messages', :action => 'preview', :board_id => @board },
    19:                        :method => 'post',
    20:                        :update => 'preview',
  app/controllers/boards_controller.rb:32:in `index'

Thanks and all the best!
Frank

RE: Redmine boards/wiki/issues watchers management plugin - Added by Alexander Kulemin about 12 years ago

Frank Enders wrote:

Thats a great plugin, thanks!

Are there plans to make it compatible with Redmine 2.1.x? When installing it in a 2.1.x environment, I get

[...]

Change link_to_remote to link_to (..., :remote => true).

RE: Redmine boards/wiki/issues watchers management plugin - Added by Kim Pepper about 12 years ago

Is there a github repo for this project where we can send pull requests?

RE: Redmine boards/wiki/issues watchers management plugin - Added by Kim Pepper about 12 years ago

I have fixed the issue with redmine 2.1.0 and link_to_remote in the copy on https://github.com/previousnext/redmine_boards_watchers

I'm finding it very difficult keeping this plugin maintained without a repo to track changes.

Kim

RE: Redmine boards/wiki/issues watchers management plugin - Added by Mikołaj Milej about 12 years ago

Thanks for your repo. I found it very useful.

JS for this module is not suppose to work with redmine since version 2.1.0 -> #11445.

Here is my fix for this issue.

boards_watchers.js (2.29 KB) boards_watchers.js Boards watchers JS compatibile with JQuery

RE: Redmine boards/wiki/issues watchers management plugin - Added by Kim Pepper almost 12 years ago

Thanks for the patch Mikolaj. I have commited it to the git repo.

In future, please use Github pull requests to submit patches.

Thanks,

Kim

RE: Redmine boards/wiki/issues watchers management plugin - Added by Eric Ashman almost 12 years ago

I pulled the latest from the repo but I get the following error trying to run it. I'm running 2.1 stable:

usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `render_page_hierarchy' for module `ApplicationHelper' (NameError)
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb:46:in `block in included'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb:43:in `class_eval'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb:43:in `included'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb:115:in `include'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb:115:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
from /home/redmine/redmine-2.1/plugins/redmine_boards_watchers/init.rb:29:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:429:in `_run__4512510739624003316__prepare__1565826118527919631__callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/redmine/redmine/config/environment.rb:14:in `<top (required)>'
from /home/redmine/redmine/config.ru:3:in `require'
from /home/redmine/redmine/config.ru:3:in `block in <main>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /home/redmine/redmine/config.ru:1:in `new'
from /home/redmine/redmine/config.ru:1:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/rack/adapter/loader.rb:42:in `for'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/thin/controllers/controller.rb:169:in `load_adapter'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/thin/controllers/controller.rb:73:in `start'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/thin/runner.rb:187:in `run_command'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/lib/thin/runner.rb:152:in `run!'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/thin-1.5.0/bin/thin:6:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/thin:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/thin:19:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'

RE: Redmine boards/wiki/issues watchers management plugin - Added by Mike Kozhurin almost 12 years ago

There are subforums in Redmine from revision 10142:
http://www.redmine.org/projects/redmine/repository/revisions/10142

Thes awesome plugin is "musthave" thing, but it does not work with our subforums structure: all forums and subforums go in random order.

Is there any way to make it work with?

RE: Redmine boards/wiki/issues watchers management plugin - Added by Mikołaj Milej over 11 years ago

I've updated this plugin to work with redmine 2.3 - as far works for me.
Enjoy: https://github.com/travnick/redmine_boards_watchers

RE: Redmine boards/wiki/issues watchers management plugin - Added by M K about 11 years ago

I am using redmine-2.3.3.stable.

I installed redmine_plugin_views_revisions_v001.zip

I downloaded this plugin
from the master repository of https://github.com/travnick/redmine_boards_watchers

I followed the installation of README.textile in the page.

The settings of forum worked,
but when I click the forums tab, I got the below error.

Started GET "/redmine/projects/act-mqc/boards" for 192.168.1.39 at 2013-11-21 17:34:17 +0530
Processing by BoardsController#index as HTML
  Parameters: {"project_id"=>"act-mqc"}
  Current user: Kawai (id=3)
Completed 500 Internal Server Error in 23ms

NameError (uninitialized constant Paginator):
  app/controllers/boards_controller.rb:32:in `index'

Can anybody help me?
Unfortunately, I am a beginner of ruby, I do not know Rails.

RE: Redmine boards/wiki/issues watchers management plugin - Added by Emre Akkas over 10 years ago

I installed the one from https://github.com/hauptmech/redmine_boards_watchers but getting an error on 2.3.1 after I complete the migration and restart the service (more details at http://screencast.com/t/0ecoqmfE)

undefined method `render_page_hierarchy' for module `ApplicationHelper'

Any pointers as to how I can fix this will be greatly appreciated

RE: Redmine boards/wiki/issues watchers management plugin - Added by benny lutati over 10 years ago

Emre Akkas wrote:

I installed the one from https://github.com/hauptmech/redmine_boards_watchers but getting an error on 2.3.1 after I complete the migration and restart the service (more details at http://screencast.com/t/0ecoqmfE)

[...]

Any pointers as to how I can fix this will be greatly appreciated

Had the same problem,
i edited the file: plugins/redmine_boards_watchers/lib/boards_watchers_patches.rb

and replace the line

require_dependency 'application_helper' if ENV['RAILS_ENV'] == 'production'

with the line

require 'application_helper'

it fixed the problem for me..

RE: Redmine boards/wiki/issues watchers management plugin - Added by Emre Akkas about 10 years ago

That fixed it for me too, thanks @benny lutati

RE: Redmine boards/wiki/issues watchers management plugin - Added by Guillaume Bourque over 8 years ago

Hello Vitaly

would be able to look into upgrading this plugin to work under redmine-2.6.10 ?

After putting this into our redmine server I got:

 bundle exec rake redmine:plugins:process_version_change plugins=redmine_boards_watchers RAILS_
ENV=production

Redmine version: 2.6.10
Redmine revision: unknown
---------- Updating revisions.... ----------
-------- processing plugin redmine_boards_watchers
    Removing obsolete file /app/views/boards/show.html.erb
    Using revision 8940 for file /app/views/messages/_form.html.erb
    Using version 1.4.0 for file /app/views/projects/settings/_boards.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/manage.html.erb
    Using version 2.1.0 for file /app/views/boards_watchers/_watchers_list_remote.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/issues_watchers_bulk.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/manage_wiki.html.erb
    Using version 2.0.0 for file /app/views/boards_watchers/manage_topic.html.erb
    Using version 2.1.0 for file /app/views/issues/new.html.erb
    Removing obsolete file /app/views/issues/_form.html.erb
Done

An no where I see the plugin in our redmine site.

Thanks

RE: Redmine boards/wiki/issues watchers management plugin - Added by Phượng Phạm over 8 years ago

I am using redmine 3.2.3.stable.15500.
Which wiki watcher management can I install or do we have the similar plugin for redmine 3.?
Please check & help me,

Thanks a lot,

(51-75/75)