incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Gonzalez" <sten...@gmail.com>
Subject Re: Review Request: Work in progress of email<>wave bot
Date Wed, 19 Jun 2013 19:04:34 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11978/
-----------------------------------------------------------

(Updated June 19, 2013, 7:04 p.m.)


Review request for wave.


Changes
-------

Squashed all patches into a single patch using: git diff apache/trunk HEAD --binary


Description
-------

First version of maillist-bot agent. It allows to send any blip via email to the address specified
in the hardcoded configuration.
An external library (javamail) is added along with its LICENSE file in patch 0002.
Bot usage is described in the source code for now, since the code is aimed at testing and
development purposes only, and is therefore not friendly for casual WiaB installations.

The commits have been generated and attached following the instructions of https://git-wip-us.apache.org/docs/workflow.html
The "diff" embedded in this review request is redundant, only the patches uploaded as "file
attachments" are really necessary.


Diffs (updated)
-----

  .classpath 9e942a6 
  src/org/waveprotocol/box/server/ServerMain.java b50454d 
  src/org/waveprotocol/box/server/robots/agent/AbstractStkRobotAgent.java PRE-CREATION 
  src/org/waveprotocol/box/server/robots/agent/maillist/MaillistRobot.java PRE-CREATION 
  third_party/runtime/javamail/LICENSE PRE-CREATION 
  third_party/runtime/javamail/README PRE-CREATION 
  third_party/runtime/javamail/javax.mail.jar PRE-CREATION 

Diff: https://reviews.apache.org/r/11978/diff/


Testing
-------

Updated the hardcoded configuration in src/org/waveprotocol/box/server/robots/agent/AbstractStkRobotAgent.java
with working parameters.
Compile WiaB to account for the new configuration.
Run the server.
Open any wave.
Add "maillist-bot" to the participants list.
Write "bot:send\n" in any blip you want to send via email.
After a few seconds, the email should have been sent, and the blip should have been modified
to reflect the metadata necessary for keeping track of email threads.


Thanks,

Bruno Gonzalez


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message