Git Product home page Git Product logo

redmine-google-chat's People

Contributors

coisnepe avatar earzur avatar megheaiulian avatar mgi1982 avatar mmore avatar mvdnes avatar nasa9084 avatar nowiko avatar patope avatar rnaud avatar sciyoshi avatar shimizukawa avatar smithmf avatar stephenyeargin avatar takah avatar tamano avatar thanosk avatar ykws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redmine-google-chat's Issues

I see nothing from slack

With Debian 9 + RVM + Redmine 4.0.2 Stable

Depuis la configuration du plugin dans Redmine :

Hangouts Chat URL
Generate an "Incoming WebHook" URL from the apps configuration page on Hangouts Chat.
Aller sur Slack avec le lien suivant pour créer l'adresse URL du "Webhooks entrants" : https://slack.com/apps/build/custom-integration
OK ! I have the link.

Hangouts Chat Thread
The messages can be threaded a per-project basis by creating a project custom field named "Hangouts Chat Thread" (without quotes).
Le nom du salon cible : #my-chan

Hangouts Chat Icon
Configurer l'icône qui sera utilisée devant le message posté sur Slack.
I don't add.

Hangouts Chat Username
my-bot-redmine

Display Watchers?
Afficher les observateurs? Yes.

Post Issue Updates?
Checked

Post Wiki Updates?
NO
( If checked a bog was display from a wiki page when update and save )

Enregistrer la configuration de Redmine.
Save.

From Slack :

Depuis Slack :

Générer un "Webhooks entrants" depuis le lien https://slack.com/apps/build/custom-integration OK
-> #my-chan

Ajouter un descriptif : Nouveau message en provenance de Redmine.
Personnaliser le nom d’utilisateur : my-bot-redmine

Valider cette configuration.

Un message apparaît dans le salon #my-chan :
Utilisateur [22 h 00] a ajouté une intégration à cette chaîne : incoming-webhook
Utilisateur [22 h 10] a ajouté une intégration à cette chaîne : my-bot-redmine

Then, when i post a new issue, i see nothing to the channel #my-chan
The same ( with a bogue ) for a wiki page.

NoMethodError when updating issue

NoMethodError (undefined method `[]' for nil:NilClass):
  plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/listener.rb:370:in `detail_to_field'
  plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/listener.rb:89:in `block in redmine_hangouts_chat_issues_edit_after_save'
  plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/listener.rb:89:in `redmine_hangouts_chat_issues_edit_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'
  plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/issue_patch.rb:26:in `save_from_issue'
  app/models/issue.rb:212:in `create_or_update'
  app/controllers/issues_controller.rb:558:in `block in save_issue_with_child_records'
  app/controllers/issues_controller.rb:546:in `save_issue_with_child_records'
  app/controllers/issues_controller.rb:168:in `update'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Internal error when i try to save a wiki page

Note that if I refresh the page, by clicking on the wiki link, the page has been updated.
If I use the save button, I have the following error :

Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.If you are the Redmine administrator, check your log files for details about the error.Back

App 11590 output: plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/listener.rb:229:in speak' App 11590 output: plugins/redmine_hangouts_chat/lib/redmine_hangouts_chat/listener.rb:196:in controller_wiki_edit_after_save'
App 11590 output: lib/redmine/hook.rb:61:in block (2 levels) in call_hook' App 11590 output: lib/redmine/hook.rb:61:in each'
App 11590 output: lib/redmine/hook.rb:61:in block in call_hook' App 11590 output: lib/redmine/hook.rb:58:in tap'
App 11590 output: lib/redmine/hook.rb:58:in call_hook' App 11590 output: lib/redmine/hook.rb:91:in call_hook'
App 11590 output: app/controllers/wiki_controller.rb:179:in update' App 11590 output: lib/redmine/sudo_mode.rb:63:in sudo_mode'
App 11590 output: Started PUT "/projects/mise-en-place-d-une-coordination-interne/wiki/Wiki" for 127.0.0.1 at 2019-04-08 23:17:17 +0200
App 11590 output: Processing by WikiController#update as HTML
App 11590 output: Parameters: {"utf8"=>"✓", "authenticity_token"=>"jfAIOEbRwjkHxFIiJ91+PI3k5wbZspSEVD2tYlfbJsxmoPfhcR9fZ1F4R3pdUDQ4WK5X8jZKSq15H0GyT3dC5g==", "content"=>{"version"=>"1", "$
App 11590 output: Current user: Zer00CooL (id=1)
App 11590 output: Completed 500 Internal Server Error in 27ms (ActiveRecord: 12.0ms)

404 for the link "configurer"

I install Redmine with RVM :
https://wiki.visionduweb.fr/index.php?title=Installer_Redmine_sur_Debian_avec_RVM

Then :

cd /opt/redmine
su - redmine
Saisir le mot de passe (redmine)
cd redmine-4.0-stable/
cd plugins/
wget https://github.com/patope/redmine-hangouts-chat/archive/master.zip
unzip master.zip
rm master.zip
cd ..

source /opt/redmine/.rvm/scripts/rvm
rvm list gemsets
rvm use gemset [email protected]
bundle install --without development test
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Redémarrer Apache2 :
sudo service apache2 restart

Le plugin apparaît bien dans la liste des plugins, et, propose un lien de configuration.

Le lien de configuration affiche une erreur 404 :
( http://domaine.ext/settings/plugin/redmine_hangouts_chat )
404
La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée.

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.