emesene forum
July 31, 2010, 01:27:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: CACHE KEY ERRORS? NICK NOT SAVED? UPGRADE TO 1.6.2 FIRST!

REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: GMailLogger  (Read 1556 times)
RockMan
Jr. Member
**

l33tness: 0
Offline Offline

Posts: 6


View Profile Email
« on: April 01, 2009, 01:13:00 AM »

Hi, i just developed a new plugin to send your conversation logs through gmail.
A large part of the codebase is inspired by LogConversations plugin.
I'm new to python, so forgive me for any troubles.

Known issues:
* all messages are currently stored in ram.. i didn't noticed big problems for that, but i think this will need to be changed in the future.
* messages are NOT saved when conversations are closed by application->quit (close-conversation-ui is not sent, i saw on google it's a known issue for other emesene plugins)

The plugin requires threading and libgmail

Feedback?

(edit: changed a bit indentation)
(edit v2: fixed offline messages receiving)
« Last Edit: April 01, 2009, 04:12:22 AM by RockMan » Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #1 on: March 09, 2010, 07:28:27 PM »

I've made a new version of this plugin (meant to be an upgrade to LogConversation, but i'll explain this better), attached here.

Basically, I added the LogConversation plugin a function to send the conversations to an email address, check configure button on plugin page. Also, it doesn't require libgmail to run, just standard python's smtplib.

I didn't put this on svn because is not as stable as an improved LogConversation plugin. The new feature was only tested using gMail and it doesn't inform about errors in a friendly way (check terminal). Also, it's not too secure, password is saved locally as plain text for now. And it may have some bugs too Tongue.

Use it at your own risk, i'll try to improve this a little and maybe sometime it can be on svn (I love this feature Tongue), but not for now...
Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #2 on: March 10, 2010, 08:14:33 AM »

this can be used for something like this??? http://forum.emesene.org/index.php/topic,2976.0.html
Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #3 on: March 10, 2010, 09:07:08 AM »

mmmm, no, it just sends the actual conversation to an email address as html, only new conversations will be sent...

it can replace that feature, use the same email address on every computer and all logs will be on the same email account instead of separated computers
« Last Edit: March 10, 2010, 09:10:44 AM by arielj » Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #4 on: March 10, 2010, 10:48:31 AM »

Don't work on windows, another day I will prove on ubuntu.
Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #5 on: March 10, 2010, 12:28:01 PM »

I developed this on Windows XP, it should work on any windows or linux, it uses python libraries that comes by default since... python 2.2 I think...

Did you used a gmail account for "sender"? if not, you have to change the smtp server to an smtp server for the sender domain (I think that hotmail doesn't have a smtp server, i used the same gmail account for sender and receiver...)

I can't fix your problem without information, just "don't work" doesn't help...
Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #6 on: March 11, 2010, 07:44:51 AM »

No es eso, me da error al cargar los plugings.
Exception importing LogConversationMail.
No sera que en el instalador no esta incluido ""smtplib"".
Tengo este http://forum.emesene.org/index.php/topic,2435.0.html
« Last Edit: March 11, 2010, 07:46:29 AM by yomismo » Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #7 on: March 11, 2010, 07:55:34 AM »

En ubuntu netbook remix con la version ppa funciona lo he usado para enviar desde gmail a hotmail en gmail esta en enviados pero ahotmail parece que aun no ha llegado... quizas es que simplemente de retraso.
Los nombres de lo huecos del formulario no cuadran con su formulario.
Lo que me parece un fallo gordo es que parezca la contraseña con letras y no con puntos o asteriscos o algo para ocultarla
« Last Edit: March 11, 2010, 08:04:44 AM by yomismo » Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #8 on: March 11, 2010, 10:26:44 AM »

La versión precompilada para windows no trae todas las librerías estándar de python por eso falta, tal vez instalando python se te solucione eso en windows. Yo lo hice en Windows el plugin, pero uso la versión svn y python por separado.

La verdad que no probé enviar a hotmail, sólo a gmail, no sabría decirte, aún ni está probado eso, pero el retraso no debería ser de más de... 10 segundos, si no llegó es porque algo raro hay, pero aún no tengo tiempo de probarlo.

Lo de las etiquetas en la configuración que no están alineadas y lo de ocultar los caracteres son 2 líneas de código, no lo hice antes porque todavía no es un plugin para que use todo el mundo, lo puse porque me parece interesante, pero la parte de la contraseña está aclarado, no es un plugin "seguro" (el único problema sería que entre un hacker a tu pc y te lea justo el archivo de configuración de ese plugin o alguien se pare atrás tuyo mientras la escribís...).
Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #9 on: March 12, 2010, 03:59:52 AM »

Si funciona mandando de gmail a hotmail, tenia puesto dos veces .com en la dirección de hotmail. Lo que he estado provando es a enviar emoticonos, y los que vienen con el emesene en hotmail se ve un cuadrado vacio pero los personalizados se ve la palabra que los hacia salir, en cambio en gmail en enviados solo sale la palara que los hace salir aunque sean los que vienen con el emesene. Si se te ocurre algo que quieras provar avisa.
« Last Edit: March 12, 2010, 04:03:00 AM by yomismo » Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #10 on: March 12, 2010, 07:45:16 AM »

Encontré la forma de enviar los emoticones, pero me saca el formato del texto y tampoco es bueno, tengo que seguir probando, más adelante pongo alguna versión nueva, pero ahora tiene incluso más errores que esa primer versión que subí de tantas cosas que estuve probando Tongue
Logged
yomismo
Full Member
***

l33tness: 0
Offline Offline

Posts: 31


View Profile Email
« Reply #11 on: March 27, 2010, 09:39:49 AM »

nada nuevo??
Logged
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #12 on: March 28, 2010, 04:55:04 PM »

No, no tuve tiempo y es bastante difícil hacer andar bien el tema de los emoticones, creo que cuando tenga tiempo sólo voy a agregar correcciones visuales en la pantalla de configuración y capaz algún tema de arreglar bugs, pero los emoticones son muy complicados por lo menos con mis conocimientos actuales Tongue
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!