query: tag:acts_as_notifiable

Redmineを使っていて、Issueの追加/変更通知がGTalkで来たらうれしいかもと思って作りました:acts_as_notifiable。

NOTE:

http://agilewebdevelopment.com/plugins/acts_as_notifiable

###Repository
http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/

###Redmineに組み込む
0. XMPP4Rをインストール: http://xmpp4r.rubyforge.org/
shell>>
$sudo gem install xmpp4r
<<--

  1. プラグインをインストール
  2. 設定ファイルを作成: #{RAILS_ROOT}/config/acts_as_notifiable.yml
    rails>>

#{RAILS_ROOT}/config/acts_as_notifiable.yml
to:
recipients: you@gmail.com me@gmail.com
from:
id: your_notify_account@gmail.com
password: pass
connect: talk.google.com
<<--
3. モデルにacts_as_notifiableを追加
rails>>
class Issue
acts_as_notifiable :message => Proc.new {|o| "[#{o.project.name}:#{o.class.name}##{o.id}]#{o.status.name}:#{o.subject}\n #{o.journals.last.notes unless o.journals.blank?}"}
<<--
4. サーバ再起動

NOTE: 通知を受け取るIM側でyour_notify_account@gmail.comを追加するの忘れないように!

posted by satoko satoko on Thu 6 Mar 2008 at 05:29 with 0 comments

In my company, we're using a Redmine. And I thought it would be more useful if I could receive some activities(Like creating/updating Issue) via GTalk. Thus I created acts_as_notifiable.

NOTE:

  • I added this plugin to directory:

http://agilewebdevelopment.com/plugins/acts_as_notifiable

###Repository
http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/

###To work with Redmine
0. Install XMPP4R: http://xmpp4r.rubyforge.org/
shell>>
$sudo gem install xmpp4r
<<--

  1. Install plugin
  2. Create file: #{RAILS_ROOT}/config/acts_as_notifiable.yml
    rails>>

#{RAILS_ROOT}/config/acts_as_notifiable.yml
to:
recipients: you@gmail.com me@gmail.com
from:
id: your_notify_account@gmail.com
password: pass
connect: talk.google.com
<<--
3. Add acts_as_notifiable to the Model class
rails>>
class Issue
acts_as_notifiable :message => Proc.new {|o| "[#{o.project.name}:#{o.class.name}##{o.id}]#{o.status.name}:#{o.subject}\n #{o.journals.last.notes unless o.journals.blank?}"}
<<--
4. restart server

NOTE: Don't forget to add your_notify_account@gmail.com to your IM client!

posted by hibi hibi on Wed 5 Mar 2008 at 16:58 with 0 comments
Contents rssrss
Leading Smart TV App Development Companies | USA | 4 Way Technologies
Apple TV Developer | TVOS Development | USA | 4 Way Technologies
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Value Transformer
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Tags
acts_as_notifiable
Comments rssrss
https://meneercasino.com/slot-reviews/wolf-gold https://meneercasino.com/slot-reviews/wolf-gold: Смотрите видео для взрослых на безопасных и наде... 05/30 22:36
http://82.165.16.39/index.php?title=User:MadelineWysocki http://82.165.16.39/index.php?title=User:MadelineWysocki: пинап играть 05/30 22:28
http://series60.ru/go.php?url=https://www.518fans.com/ http://series60.ru/go.php?url=https://www.518fans.com/: Article writing is also a fun, if you be familiar ... 05/30 20:49
https://www.1337games.org/online-casinos/betaalmogelijkheden/ideal/ https://www.1337games.org/online-casinos/betaalmogelijkheden/ideal/: 优质xxx平台 提供高质量的成人娱乐内容。选择 有保障的平台 以获得安全且愉快的观看体验。 05/30 20:44
https://scapaflow.org https://scapaflow.org: Thank you for the good writeup. It in fact was a a... 05/30 19:28
https://selebostore.com/forums/users/raymonlavigne/edit/?updated=true/users/raymonlavigne/ https://selebostore.com/forums/users/raymonlavigne/edit/?updated=true/users/raymonlavigne/: Ꭺs Singapore’ѕ premier furniture store and compr... 05/30 19:12
https://artmeetsjewellery.com/rooli-promotions-boost-your-business-growth-now/ https://artmeetsjewellery.com/rooli-promotions-boost-your-business-growth-now/: Excellent breakdown of the topic. 05/30 18:57
https://www.1337games.org/de-de/online-casino/neue/ https://www.1337games.org/de-de/online-casino/neue/: Взрослый доступен через гарантированные веб-сайты.... 05/30 16:51