simplethings / redmine-msteams Goto Github PK
View Code? Open in Web Editor NEWRedmine plugin to post updates on issues and wiki pages to Microsoft Teams
License: MIT License
Redmine plugin to post updates on issues and wiki pages to Microsoft Teams
License: MIT License
I get the following error in redmine log after creating/updating an issue:
cannot connect to
uninitialized constant RedmineMsteams::TeamsMessage::HTTPClient
HTTPCient have been installed with both bundle install and gem install "httpclient" and verified that it's installed, redmine restarted.
Redmine verision 3.4.1
Testing the webhook with a simple Hello World works in MS Teams.
What am I missing? Ruby is not my cup of tea.
/Kenneth
Hi,
I'm just testing this plugin, and looks like working fine. I have only one problem: when an issue appears in Teams, there is an URL for the task, but it started with "http://localhost", not the url of my site. Where can I modify this?
Thank you very much!
Completed 500 Internal Server Error
HELP ME!
Processing by RedmineWysiwygController#wysiwygtohtmltotextile as JSON
Parameters: {"html"=>"test"}
Current user: [email protected] (id=45)
Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 4.0ms)
Started POST "/projects/inniworld/issues" for 192.168.11.77 at 2018-04-18 15:26:27 +0900
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"??, "authenticity_token"=>"A7F4coK/gB9tjQzY49vKnEhUlpFdct+3aov0zbkE2pHCnkSM82pMd6BniSa4RVOgyJ/SlMQg1odH1czKqj5URA==", "form_update_triggered_by"=>"", "issue"=>{"is_private"=>"0", "tracker_id"=>"1", "subject"=>"test", "description"=>"test", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2018-04-18", "due_date"=>"", "estimated_hours"=>"", "watcher_user_ids"=>[""]}, "was_default_status"=>"1", "commit"=>"留뚮뱾湲?, "project_id"=>"inniworld"}
Current user: [email protected] (id=45)
Rendered mailer/_issue.text.erb (5.7ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (8.4ms)
Rendered mailer/_issue.html.erb (4.3ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (6.8ms)
Completed 500 Internal Server Error in 3372ms (ActiveRecord: 48.3ms)
NoMethodError (undefined method starts_with?' for nil:NilClass): plugins/redmine_msteams/lib/redmine_msteams/listener.rb:160:in
url_for_project'
plugins/redmine_msteams/lib/redmine_msteams/listener.rb:7:in controller_issues_new_after_save' 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:91:in call_hook' app/controllers/issues_controller.rb:130:in
create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
-------------my spec
Environment:
Redmine version 3.4.4.stable
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.8.3.1
Filesystem
Redmine plugins:
easy_gantt 1.11
redmine_dashboard 2.5.0
redmine_monitoring_controlling 0.1.1
redmine_wysiwyg 1.0.0
In the plugin configuration, if the Field "Microsoft Teams Webhook URL" is empty, Internal Error 500 appears and Email hook won't work.
The Description of the field "Microsoft Team Webhook URL" doesn't contain anything about placing "-" instead of an empty value which is only in this documentation found.
It seems that notice for Teams doesn't work on redmine 4.2.2.
It works on 4.2.1.
My emvironment: sameersbn/redmine:4.2.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.