Giter Site home page Giter Site logo

redmine_watcher_groups's People

Contributors

kamenf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

redmine_watcher_groups's Issues

Plugin is mySQL only. Not working at our university (postgress)

Unfortunately the plugin is for mySQL only. But, we have Postgress installed.

See the errsor-message:
ActiveRecord::StatementInvalid (PG::SyntaxError: FEHLER: Syntaxfehler bei »« LINE 1: INSERT INTOwatchers(user_id,watchable_id,watchabl...
^
: INSERT INTO watchers (user_id, watchable_id, watchable_type) VALUES (564, 3385, 'Issue')):
activerecord (3.2.16) lib/active_record/connection_adapters/postgresql_adapter.rb:650:in exec' activerecord (3.2.16) lib/active_record/connection_adapters/postgresql_adapter.rb:650:inblock in execute'
activerecord (3.2.16) lib/active_record/connection_adapters/abstract_adapter.rb:280:in block in log' activesupport (3.2.16) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activerecord (3.2.16) lib/active_record/connection_adapters/abstract_adapter.rb:275:in log' activerecord (3.2.16) lib/active_record/connection_adapters/postgresql_adapter.rb:649:inexecute'
plugins/redmine_watcher_groups/app/controllers/watcher_groups_controller.rb:18:in block in create' plugins/redmine_watcher_groups/app/controllers/watcher_groups_controller.rb:13:ineach'
plugins/redmine_watcher_groups/app/controllers/watcher_groups_controller.rb:13:in create' actionpack (3.2.16) lib/action_controller/metal/implicit_render.rb:4:insend_action'

Any suggestions to fix this :-) ?

Issue details not showing after watcher_groups install

Hi,
I have this configuration:
Redmine version: 3.1.0 stable
Ruby version: 2.0.0-p645 [x86_64-linux]
Rails version: 4.2.3
Database: MySql
Git 1.7.10.4
Redmine_contacts 4.0.4
Redmine_contacts_helpdesk 3.0.1
Redmine_email_fecther 0.3.1
Debian GNU/Linux 7.8 (wheezy)

I installed redmine_watcher_groups 0.0.1, I followed these instructions:
$ ./use_redmine
$ cd apps/redmine/htdocs
$ bundle install --without development test
$ ruby bin/rake redmine:plugins RAILS_ENV=production

And now when I try to open an issue I get:
404
'The page you were trying to access doesn't exist or has been removed'

I've seen compatibility with redmine 3.2 and 3.3 has been confirmed, I thought that would cover 3.1, please let me know what can I do.

Thanks in advance for your support

Watcher groups during creating a new issue

It will be nice that "Watcher groups" option exists during creating a new issue (for example below "Watchers"). Because it's not so comfortable to create issue and then to add some watcher groups to this issue. Also in this case groups skip the first notification (about issue creation).

Not compatible with Redmine 4.1.1

The following exception is shown on 4.1.1 installation

RAILS_ENV=production bundle exec rake db:migrate
(in /srv/services/redmine.medelexis.ch)
rake aborted!
NoMethodError: undefined method `alias_method_chain' for #<Class:0x000055b1581752f0>
Did you mean?  alias_method
/var/lib/gems/2.5.0/gems/activerecord-5.2.4.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/srv/services/redmine.medelexis.ch/plugins/redmine_watcher_groups/lib/watcher_groups_helper_patch.rb:10:in `block in included'
/srv/services/redmine.medelexis.ch/plugins/redmine_watcher_groups/lib/watcher_groups_helper_patch.rb:7:in `class_eval'
/srv/services/redmine.medelexis.ch/plugins/redmine_watcher_groups/lib/watcher_groups_helper_patch.rb:7:in `included'
/srv/services/redmine.medelexis.ch/plugins/redmine_watcher_groups/init.rb:13:in `include'
/srv/services/redmine.medelexis.ch/plugins/redmine_watcher_groups/init.rb:13:in `block in <top (required)>'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `instance_exec'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:605:in `catch'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:605:in `block in default_terminator'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:199:in `block in halting'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `each'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `invoke_before'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:131:in `run_callbacks'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/reloader.rb:89:in `prepare!'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `run'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/application.rb:361:in `initialize!'
/srv/services/redmine.medelexis.ch/config/environment.rb:16:in `<top (required)>'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/application.rb:337:in `require_environment!'
/var/lib/gems/2.5.0/gems/railties-5.2.4.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/var/lib/gems/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)

Tickets can no longer be opened after installation

Hello and thanks for providing the plugin. I may not have configured the plugin correctly, so bear with me.

In Redmine Plugins I see this description:
Redmine Watcher Groups plugin This is a plugin for Redmine to add wathcer groups functionality http://
Should there be a URL set? If so, what should it be?

When trying to open a ticket after installing the plugin I get a 404. Could this be related to the missing URL above?

Thanks,

Thomas

Redmine issue details “page not found” after update

I upgraded my Redmine installation from 2.6.0-2 to 3.0.2-0. Everything seems to be in place. All users, issues, wiki pages are there. But if I want to see the details of an already existing issue, I get:
Page not found

The page you were trying to access doesn't exist or has been removed.

In the following a snippet from the production.log

Started GET "/redmine/issues/1161" for 46.244.87.237 at 2015-04-28 21:49:07 +0300
Processing by IssuesController#show as HTML
Parameters: {"id"=>"1161"}
Current user: alex (id=1)
Rendered issues/_action_menu.html.erb (13.0ms)
Rendered issue_relations/_form.html.erb (4.0ms)
Rendered issues/_relations.html.erb (25.0ms)
Rendered issues/_action_menu.html.erb (4.0ms)
Rendered issues/_form_custom_fields.html.erb (2.0ms)
Rendered issues/_attributes.html.erb (71.0ms)
Rendered issues/_form.html.erb (185.0ms)
Rendered attachments/_form.html.erb (12.0ms)
Rendered issues/_edit.html.erb (240.0ms)
Rendered plugins/redmine_watcher_groups/app/views/watcher_groups/_watcher_groups.html.erb (8.0ms)
Rendered plugins/redmine_watcher_groups/app/views/watcher_groups/_watcher_groups_sidebar.html.erb (83.0ms)
Rendered issues/_sidebar.html.erb (93.0ms)
Rendered issues/show.html.erb within layouts/base (546.1ms)
Completed 500 Internal Server Error in 1578ms (ActiveRecord: 139.4ms)

ActiveRecord::RecordNotFound (Couldn't find all Watchers with 'id': (all, {:conditions=>"watchable_type='Issue' and watchable_id = 1161"}) (found 0 results, but was looking for 2)):
lib/redmine/hook.rb:61:in block (2 levels) in call_hook'
lib/redmine/hook.rb:61:ineach'
lib/redmine/hook.rb:61:in block in call_hook'
lib/redmine/hook.rb:58:intap'
lib/redmine/hook.rb:58:in call_hook'
lib/redmine/hook.rb:167:incall_hook'
app/views/issues/_sidebar.html.erb:21:in _app_views_issues__sidebar_html_erb__1047423174_68682276'
app/views/issues/show.html.erb:146:inblock in appviews_issues_show_html_erb___242619375_44094252'
app/views/issues/show.html.erb:145:in _app_views_issues_show_html_erb___242619375_44094252'
app/controllers/issues_controller.rb:118:inblock (2 levels) in show'
app/controllers/issues_controller.rb:115:in `show'

It seems to me that the issue detail page is not working because of the plugin. I unistalled the plugin and then the detail pages are working again.
What can I do?
Thank you for your help!

not support redmine 3.2.1 & 3.3.0

I used branch
https://github.com/roma-sk3/redmine_watcher_groups

error messages

Started GET "/watcher_groups/new?object_id=17&object_type=issue" for 192.168.60.239 at 2016-04-25 13:55:34 +0800
Processing by WatcherGroupsController#new as JS
Parameters: {"object_id"=>"17", "object_type"=>"issue"}
Current user: hui.wang (id=8)
Rendered plugins/redmine_watcher_groups/app/views/watcher_groups/_new.html.erb (55.5ms)
Rendered plugins/redmine_watcher_groups/app/views/watcher_groups/new.js.erb (56.1ms)
Completed 500 Internal Server Error in 66ms (ActiveRecord: 2.6ms)

ActionView::Template::Error (wrong number of arguments (1 for 0)):
17:


18: <%= principals_check_box_tags 'watcher_group[group_ids][]', (
19: # watched ? watched.addable_watcher_groups :
20: Group.active.all(:limit => 100)) %>
21:

22:
23:


plugins/redmine_watcher_groups/app/views/watcher_groups/_new.html.erb:20:in block in _384dd777a6d7f5c6364a52d7f592dc8d' plugins/redmine_watcher_groups/app/views/watcher_groups/_new.html.erb:3:in_384dd777a6d7f5c6364a52d7f592dc8d'
plugins/redmine_workflow_enhancements/lib/workflow_enhancements/patches/action_view_rendering.rb:53:in render_with_workflow_enhancements' plugins/redmine_watcher_groups/app/views/watcher_groups/new.js.erb:1:in_58bf33e9e32764143e2204a1f2bb3969'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Please tell me the license

Please tell me the license of this plug-in.

If there is no license, please tell me the following information:

  1. Is this plug-in free?
  2. Can I use this plug-in for commercial?

Watcher groups not working on redmine 2.3.1 due to threading issue passenger

Hello,

The watch_group feature is not working properly on my redmine 2.3.1 installation. I installed redmine from git as described on the redmine website. The system is a Ubuntu 12.04 VM where passenger was installed form external source - not over APT. Every thing looks good apart of the watch_group feature. Dose someone have any suggestions on this issue as shown by the log message below.

ActionController::RoutingError (No route matches [GET] "/watcher_groups/index.cgi"):
  actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/application.rb:223:in `call'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `send'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
  passenger (4.0.5) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  passenger (4.0.5) lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  passenger (4.0.5) lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:441:in `start_threads'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:435:in `initialize'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:435:in `new'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:435:in `start_threads'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:434:in `times'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:434:in `start_threads'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:433:in `synchronize'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:433:in `start_threads'
  passenger (4.0.5) lib/phusion_passenger/request_handler.rb:200:in `main_loop'
  passenger (4.0.5) helper-scripts/rack-preloader.rb:130

The entire redmine is working and I performed a bundle install as well. Is the watch_group not compatible with passenger 4.0.5? I appreciate any hint on this problem.
Cheers

Global groups in the list

Hello.

In the list of the groups for adding to watcher groups there are all groups of the platform
(instead of the groups that should be related to this project only).

Thanks in advance.

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.