Code Monkey home page Code Monkey logo

redmine-slack's Introduction

Slack chat plugin for Redmine

This plugin posts updates to issues in your Redmine installation to a Slack channel. Improvements are welcome! Just send a pull request.

Screenshot

screenshot

Installation

From your Redmine plugins directory, clone this repository as redmine_slack (note the underscore!):

git clone https://github.com/sciyoshi/redmine-slack.git redmine_slack

You will also need the httpclient dependency, which can be installed by running

bundle install

from the plugin directory.

Restart Redmine, and you should see the plugin show up in the Plugins page. Under the configuration options, set the Slack API URL to the URL for an Incoming WebHook integration in your Slack account.

Customized Routing

You can also route messages to different channels on a per-project basis. To do this, create a project custom field (Administration > Custom fields > Project) named Slack Channel. If no custom channel is defined for a project, the parent project will be checked (or the default will be used). To prevent all notifications from being sent for a project, set the custom channel to -.

For more information, see http://www.redmine.org/projects/redmine/wiki/Plugins.

redmine-slack's People

Contributors

cat-in-136 avatar coisnepe avatar earzur avatar kazuph avatar megheaiulian avatar mgi1982 avatar mmore avatar mvdnes avatar nasa9084 avatar nowiko avatar rnaud avatar romainguerrero avatar sciyoshi avatar shimizukawa avatar smithmf avatar stephenyeargin avatar takah avatar tamano avatar thanosk avatar wate avatar ykws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine-slack's Issues

Nothing appears in slack channel

I installed and configured redmine_slack, and added a project custom field for the Slack Channel. Redmine updates never appear in my default slack channel (redmine) and they never appear in the project's channel (techops) either. I have successfully used the slackbot to post into the room, so the callback url works. Any thoughts on what might be going on here? I didn't notice any logging in this plugin, so I'm not sure what's going on.

$ envdir /etc/redmine.d/env/ bundle exec rake about
About your application's environment
Rails version             4.2.1
Ruby version              2.1.2-p95 (x86_64-linux)
RubyGems version          2.2.2
Rack version              1.6.4
Middleware                Rack::Sendfile, 
                                   ActionDispatch::Static, 
                                   Rack::Lock, 
                                   #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007f10d4b3aad8>, 
                                   Rack::Runtime, 
                                   Rack::MethodOverride, 
                                   ActionDispatch::RequestId, 
                                   Rails::Rack::Logger, 
                                   ActionDispatch::ShowExceptions, 
                                   ActionDispatch::DebugExceptions, 
                                   ActionDispatch::RemoteIp, 
                                   ActionDispatch::Callbacks, 
                                   ActiveRecord::ConnectionAdapters::ConnectionManagement, 
                                   ActiveRecord::QueryCache, 
                                   ActionDispatch::Cookies, 
                                   ActionDispatch::Session::CookieStore, 
                                   ActionDispatch::Flash, 
                                   ActionDispatch::ParamsParser, 
                                   ActionDispatch::XmlParamsParser, 
                                   Rack::Head, 
                                   Rack::ConditionalGet, 
                                   Rack::ETag, 
                                   RequestStore::Middleware, 
                                   OpenIdAuthentication
Application root          /apps/redmine/releases/11
Environment               production
Database adapter          postgresql
Database schema version   20150208105930

update installation instructions

I needed to run

rake redmine:plugins:migrate RAILS_ENV=production

on installation. Perhaps you should include this in the README

Do not show "attachment" text in updates

Our team complains (rightfully so) of too much noise in the Redmine updates to Slack. Perhaps if the attachment text were hidden or configurable (e.g. show/don't show/only show status and assignee) it'd be less noisy.

So instead of

[Project] Peter Hassett created Task #41965: Title of issue
Body of issue

Status

New

Priority

2 Normal

Assignee

Peter Hassett

It would just say

[Project] Peter Hassett created/closed/updated Task #41965: Title of issue

Change icon

Slack lets you change the icon it uses to present the notification from redmine. In the page where you setup incoming integrations it states:

Additionally, if you would like to override the icon configured for the integration, you can pass that in as an option, either with: 
"icon_url": "https://slack.com/img/icons/app-57.png" 
or 
"icon_emoji": ":ghost:"

I know it may seem like a small thing, but I assume the change in the code should be relatively simple. Seeing a redmine icon in slack would go a long way to making it seem on par with the other commercial offerings available on slack out of the box.

Thanks.

Plugin Not Showing Up In Redmine

I'm fairly sure I followed all the instructions correctly...

I used git to grab the repo in the plugins directory, ran bundle install (everything installed except RMagick), restarted Redmine, and nada.

I tried running this and restarting Redmine and still no go:
rake redmine:plugins:migrate RAILS_ENV=production

I'm on the admin/plugins page and I see nothing.

For reference, these are the versions of the software being used:

Environment:
Redmine version 2.3.0.stable
Ruby version 1.8.7 (i386-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

Where is version 0.2?

here i see, that actual version is 0.2 and this version supports redmine 3.0.x.
But when install this plugin from master the version is 0.1

And plugin not working for me.

SSL error because of disabling of SSLv3 at Slack

You get a 500 error when updating issues. In the log you find the following error:

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure):
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:153:in `call_hook'
app/controllers/issues_controller.rb:479:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:466:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:188:in `update'

See slack status (https://status.slack.com/2014-10/f9f0f6cad54649ee) for more details.

Plugin Not working redmine3.1.1

Hi,
I installed configured redmine slack plugin but not able get notifications for each issue update can any one help ,how to configure and how to use this this plugin

No slack posts being made

Slack webhook integration was tested outside of redmine using curl.

Installed redmine-slack using instructions in README. Plugin is configured, but no updates make it to slack. How do I go about troubleshooting this? I don't see any mention of the redmine_slack plugin in the redmine/log/production.log other than loading the configuration pages.

  Redmine version                2.5.3.stable
  Ruby version                   1.9.3-p484 (2013-11-22) [x86_64-linux]
  Rails version                  3.2.19
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.9.1
  Filesystem                     
Redmine plugins:
  redmine_slack                  0.1

send only title

What i need to comment so plugin send only title (and description)?
I don't want see status,proirity,etc in message.
Tried to comment in listener.rb:
< #}, {
< # :title => I18n.t("field_priority"),
< # :value => escape(issue.priority.to_s),
< # :short => true
< #}, {
< # :title => I18n.t("field_assigned_to"),
< # :value => escape(issue.assigned_to.to_s),
< # :short => true

< #when "tracker"
< # tracker = Tracker.find(detail.value) rescue nil
< # value = escape tracker.to_s
< #when "project"
< # project = Project.find(detail.value) rescue nil
< # value = escape project.to_s
< #when "status"
< # status = IssueStatus.find(detail.value) rescue nil
< # value = escape status.to_s
< #when "priority"
< # priority = IssuePriority.find(detail.value) rescue nil
< # value = escape priority.to_s
< #when "category"
< # category = IssueCategory.find(detail.value) rescue nil
< # value = escape category.to_s
< #when "assigned_to"
< # user = User.find(detail.value) rescue nil
< # value = escape user.to_s
< #when "fixed_version"
< # version = Version.find(detail.value) rescue nil
< # value = escape version.to_s
< #when "attachment"
< # attachment = Attachment.find(detail.prop_key) rescue nil
< # value = "<#{object_url attachment}|#{escape attachment.filename}>" if attachment
< #when "parent"
< # issue = Issue.find(detail.value) rescue nil
< # value = "<#{object_url issue}|#{escape issue}>" if issue

but it still send:
redmineBOT [09:44]
[project] name updated status #38190: [HSPG-20301] title. description.
status
priority

Issues integrating slack from redmine :(

[root@splunk redmine]# ll plugins/
total 12
-rw-rw-r-- 1 1000 1000 31 Feb 8 16:19 README
drwxr-xr-x 5 root root 4096 Feb 25 09:16 slack
drwxr-xr-x 3 root root 4096 Feb 28 22:33 temp

[root@splunk redmine]# rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
No such file to load -- httpclient
/var/www/redmine-2.4.3/plugins/slack/init.rb:3
/var/www/redmine-2.4.3/lib/redmine/plugin.rb:133:in load' /var/www/redmine-2.4.3/lib/redmine/plugin.rb:124:ineach'
/var/www/redmine-2.4.3/lib/redmine/plugin.rb:124:in `load'
/var/www/redmine-2.4.3/config/initializers/30-redmine.rb:19
/var/www/redmine-2.4.3/config/environment.rb:14
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

support for Redmine 3.x?

Redmine 3.0.0 just came out, and it would be awesome if the Slack integration would also work for the new/current Redmine 3.x series. I'm already missing it ... :-/

I'm completely at a loss with Ruby and Ruby-on-Rails, so unfortunately I can't help here. :-(

Not compatible with popular "redmine_helpdesk" plugin

Hey, I just installed your plugin and it worked on the first try. Thanks so much for this. I don't have the ability to troubleshoot this problem, but I thought you might want to know about it.

We use Redmine Helpdesk plugin (https://github.com/jfqd/redmine_helpdesk) and one of it's features it that you can email [email protected] and it will auto-create issues. Problem is, when the issue gets created, your Slack plugin does not notify my channel.

I am here to help in any way other than hands-on programming, just let me know what I can do. I can test, bridge the gap between you and the author of the Helpdesk plugin, etc.

Convert HTML tags in issues from rich text editor to Slack markdown

On Description or Note updates there are html tags in the message.

e.g.
ew <br
d<br /

<'img alt="" data-rich-file-id="135" src="/redmine/system/rich/rich_files/rich_files/000/000/135/thumb/screen-20shot-202015-01-21-20at-2014-34-53.png" />

the plugin would use an option to strip all the html tags for a clean text

Updates when bulk editing (with contextual menu)

You can right click on items in an issue list and update their properties in "bulk". There is a redmine hook for this, too.

There's a chance I'll work on this in the near future. How does one print to the redmine log from inside the plugin?

I could not run the plugin.

I could not run the plugin.
captura de pantalla 2014-11-25 a las 22 37 23

in the configuration of plugins I put the url of Slack:
Setup Instructions
Your slackbot URL is:
https://XXXXXXXXX.slack.com/services/hooks/slackbot?token=eiCjlEHekm5QujXRG2lXXXXXXX
in the field of slack channel I put #redmine (already created in Slack).
In the usuairo I put "redmine" but that user does not exist, that I put ??

I created the custom field in a project Channle Slack. reads it had to be a list.

When I add an issue returns error 505 and I do not have any details of the error, Slack I do not get any text.

Include instructions to install httpclient gem

Can you please update instructions to installing the plugin? It doesn't mention that you need the httpclient gem in order to run the plugin. I am not a ruby expert, so it took me a while to realize this.

I'm still trying to get it up and running.

Thanks.

Send messages async

Hey,

since I added redmine-slack all ticket creations and edits went super slow. Once I remove the plugin it is normal again. Would it be possible to implement it async. This also wouldn't break the service when slack is down/the connection to slack is failing.

Push of private tasks

It would be great to disable pushing of private tasks or to implement a setting to force pushing of private tasks.

error 404 when i try to open setting page

Hello,
i have error 404 when i try to open plugin settin.
My log is:

Started GET "/admin/plugins" for 78.* at 2015-08-17 22:17:58 +0300
Processing by AdminController#plugins as HTML
Current user: admin (id=1)
Rendered admin/plugins.html.erb within layouts/admin (2.6ms)
Rendered admin/_menu.html.erb (98.1ms)
Rendered layouts/base.html.erb (7.9ms)
Completed 200 OK in 118ms (Views: 112.5ms | ActiveRecord: 1.3ms)
Started GET "/settings/plugin/redmine_slack" for 78.1
** at 2015-08-17 22:18:01 +0300
Processing by SettingsController#plugin as HTML
Parameters: {"id"=>"redmine_slack"}
Current user: admin (id=1)
Rendered settings/plugin.html.erb within layouts/admin (2.4ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.1ms)
Completed 404 Not Found in 14ms (Views: 6.8ms | ActiveRecord: 1.2ms)

Make Slack API requests in a separate thread

Hi,
Thanks for the plugin, which is really helpful.
After the plugin integration, I noticed that the redmine is responding too slow while creating and updating the issue. Could you please help me on whether I need to tweak anything here to improve the performance? We have thousands of issue records in our database, would this be a problem here?
Our environment details are as below
Environment:
Redmine version 2.3.0.stable
Ruby version 1.8.7 (i686-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL

I can't configure in redmine

Hello, I deploy redmine 2.5-stable on heroku with this plugin. When I click configure ({my-host}/settings/plugin/redmine_slack) on plugin page, it shows The page you were trying to access doesn't exist or has been removed.. Could you give me advices to resolve this? Thanks.

NoMethodError (undefined method `application' for Rails:Module):

After I set up plugin and make new issue on Redmine, I got 500 Error. And logs are:

Processing IssuesController#create (for 10.0.0.116 at 2015-10-08 18:58:04) [POST]
  Parameters: {"action"=>"create", "authenticity_token"=>"j9St2sMIgIZfGCw7Ja3wIPJmffY08KYczCT519fEUTk=", "attachments"=>{"1"=>{"description"=>""}}, "issue"=>{"status_id"=>"1", "subject"=>"이슈 테스트 (slack 연동 관련)", "due_date"=>"", "fixed_version_id"=>"", "tracker_id"=>"9", "done_ratio"=>"0", "estimated_hours"=>"", "assigned_to_id"=>"", "description"=>"<p>이슈 테스트 (slack 연동 관련)</p>\r\n", "parent_issue_id"=>"", "priority_id"=>"4", "start_date"=>"2015-10-08"}, "controller"=>"issues", "commit"=>"만들기", "project_id"=>"nwbb"}
Sending email notification to: [email protected]

NoMethodError (undefined method `application' for Rails:Module):
  lib/redmine/hook.rb:63:in `send'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:63:in `each'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:60:in `tap'
  lib/redmine/hook.rb:60:in `call_hook'
  lib/redmine/hook.rb:141:in `call_hook'
  app/controllers/issues_controller.rb:139:in `create'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:1333:in `send'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:1333:in `perform_action_without_filters'
  /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:617:in `call_filters'
  /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:610:in `perform_action_without_benchmark'
  /usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/lib/ruby/vendor_ruby/action_controller/rescue.rb:160:in `perform_action_without_flash'
  /usr/lib/ruby/vendor_ruby/action_controller/flash.rb:151:in `perform_action'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:in `send'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:in `process_without_filters'
  /usr/lib/ruby/vendor_ruby/action_controller/filters.rb:606:in `process'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:391:in `process'
  /usr/lib/ruby/vendor_ruby/action_controller/base.rb:386:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/routing/route_set.rb:438:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:87:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:121:in `_call'
  /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:130:in `build_middleware_stack'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:9:in `cache'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:28:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/string_coercion.rb:25:in `call'
  /usr/lib/ruby/1.8/rack/head.rb:9:in `call'
  /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/params_parser.rb:15:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/session/cookie_store.rb:99:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/failsafe.rb:26:in `call'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
  /usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:106:in `call'
  /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 /usr/share/redmine/public/500.html (500 Internal Server Error)

Improve setup documentation

Overview

I sort of hate to say it, but the docs seem to need improvement. It took me a while to figure this out, and even now i'm not 100% sure why it works the way it does. (i.e. why is my username the one I had to enter into the plugin to enable this functionality?)

Here's the original message I'd written, for an idea of my thought process on this and why the docs need some clarification. (I'd submit a pull request, but I'm still not sure why I had to enter my username).

Original Message

It's hard to tell what's going on, but I haven't been able to make this integration work. The plugin is installed, I've got an incoming webhook API URL pasted (https://hooks.slack.com/services/XXXXXX) and have created a channel in Slack for this.

And no dice. Redmine 3.0.4.

So - what am I missing?

What exactly is the "Slack Username" field for? Do I need to create a special slack account for this plugin? Is it the name of my company? (If I have to create a username for Slack, is the username the email address of the account I created?) Is it the listed "incoming-webhook?"
2015-07-24-133542_923x255_scrot

Does the "Slack Channel" have to match the one I created the web hook for? Do I use the leading # or not?

Plugin options I've tried:

  • "Slack Username"
    • Company URL prefix
    • Redmine
    • incoming-webhook
  • Slack Channel
    • #RedmineGeneral
    • #redminegeneral
    • redminegeneral

MultiProject and few Slack app support

Hello. we have few projects in redmine, so we have different slack apps for every team.
How to use your great plugin for different slack apps and projects in one redmine?

Undefined method `delete' for nil:NilClass

Hi,
Looking forward to using this plugin but I'm getting a undefined method 'delete' for nil:NilClass when updating/creating an issue.

I'm on a somewhat dated platform..is that the problem ?
Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p385 (2013-02-06) [i386-mingw32]
Rails version 3.2.13

Help most appreciated

Cheers
Charlie

Can't find integration

Hi there !! I've installed the redmine-slack plugin. I can access to the plugin configuration and I've set the "Slack API URL" as the one I've generated in "Incoming webhook", there is a token included.

However, the integration does not work :(

When I tried to find the Integration for Redmine (form "Configure integration" in slack), I can't find it in the list of Service integration :(
It is normal ???

Thanks in advanced

Problem with proxy configuration

in the company where I work and I have installed redmine a proxy authentication is used to surf the internet. I discovered that the problem in the slack plugin is that it fails to send the information via the proxy. search the internet and found that ruby ​​does not use proxy variables but requires use Net :: HTTP directly in the code. so there will see this suggestion to use the plugins? Thank you

Plugin doesn't send anything

We've installed and configured redmine-slack but the plugin doesn't send anything.
Incoming Web Hook is enabled. I've tried the curl code from Slack doc and it's working.

Could you please help me? Any suggestions? Thanks.

Redmine 2.2.2.stable

redmine fails to load because of missing httpclient even though httpclient is installed

Hi, I have a redmine (bitnami) installation (redmine 2.4) - I went to my /opt/bitnami/apps/redmine/htdocs/plugin folder and did "bundle install", I also created a Gemfile and referenced httpclient (as given in one of your issues) and did bundle install.
When I list gem list, it shows me httpclient (2.6.0.1)

But, when I run redmine and try to access it, it gives an error (see below). And since my redmine itself doesn't run I have to remove the plugin so that the production is not affected. Let me know if I am doing something wrong.

App 6120 stdout:
App 6120 stdout:
[ 2015-06-10 13:13:37.8584 5387/7f6fb7d25700 Pool2/Implementation.cpp:287 ]: Could not spawn process for application /opt/bitnami/apps/redmine/htdocs/: An error occured while starting up the preloader.
Error ID: fcff345e
Error details saved to: /tmp/passenger-error.hnNhYl
Message from application: No such file to load -- httpclient (LoadError)
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in require' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:inblock in require'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:inrequire'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_slack/lib/redmine_slack/listener.rb:1:in <top (required)>' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:inrequire'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in block in require' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:inload_dependency'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in require' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:360:inrequire_or_load'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:317:in depend_on' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:233:inrequire_dependency'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_slack/init.rb:3:in <top (required)>' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:inrequire'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in block in require' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:inload_dependency'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in require' /opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:155:inblock in load'
/opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in each' /opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:146:inload'
/opt/bitnami/apps/redmine/htdocs/config/initializers/30-redmine.rb:21:in <top (required)>' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:inload'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in block in load' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:inload_dependency'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in load' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:652:inblock in load_config_initializer'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in instrument' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:651:inload_config_initializer'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:616:in block (2 levels) in <class:Engine>' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:615:ineach'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in block in <class:Engine>' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:ininstance_exec'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in run' /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:inblock in run_initializers'
/opt/bitnami/ruby/lib/ruby/2.0.0/tsort.rb:150:in block in tsort_each' /opt/bitnami/ruby/lib/ruby/2.0.0/tsort.rb:183:inblock (2 levels) in each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.0.0/tsort.rb:210:in block (2 levels) in each_strongly_connected_component_from' /opt/bitnami/ruby/lib/ruby/2.0.0/tsort.rb:219:ineach_strongly_connected_component_from'
/opt/bitnami/ruby/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'

asynchronous

If redmine-slack using asynchronous method, it would be more smoothly.

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.