aMSN Forums
May 25, 2013, 03:03:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4] 5 6
  Print  
Author Topic: email client gmail  (Read 43475 times)
Kazuo
Newbie

Offline Offline

Posts: 30


View Profile
« Reply #45 on: December 21, 2006, 01:43:05 am »

Quote from: "billiob"
Quote from: "kakaroto"
^all : Appears in "All mail"
 ^i : Appears in "Inbox"
 ^u : Unread
 ^t : Starred item
 ^f : unknown
 ^seti : unknown
 ^tsX : unknown (where X is a number...)

About your patch, i'm too tired to think about it.


Sorry I'm back one more time...
Huhuhu now i understand you Kakaroto this is funny.
billiob some more tags to the wiki

chats logs (from gtalk) have ^b and ^bc I cannot separate the meaning of
this two tags because for all my logs (I have ~300 logs) I got both tags. But
this is certainly related to chat because I only got they in my chat logs.

Bye
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #46 on: December 21, 2006, 06:32:07 am »

Hi,
sorry Kazuo, too tired to think, I'll try to answer briefly, sorry if I'm rude :
1 - good thing you found one more key signification!! Smiley
2 - can you update the wiki with the new info you found ?
3 - I absolutely don't mind if you implement the colors thing! don't be afraid from 'jumping in', it's open source, it's a community's work, so I appreciate contributions Smiley
4 - you said : "now I understand you kakaroto this is funny".. what ? I didn't understand what was funny :|
5 - I'll review your diff and commit it later when I have time, probably during the WE. you can send new diffs in the meantime
6 - pil should be initialized to -1
7 - I don't understand the reason for the if { $first }
8 - is it necessary to show that information ?
9 - maybe the diff between ^b and ^bc is about who started the chat, no ?

EDIT : I just noticed gmail shows "(X lines)" for chat logs, did you see that information reported somewhere ? I'll do my tests and tell you...

EDIT2 : didn't see anything additional being sent for chat logs, and ^b and ^bc both appear... about pil, 1 means "sent to more than one user" (or in cc) and 2 means "private message".. or something.. not sure though, but you're probably on the right track.
Logged

KaKaRoTo
Kazuo
Newbie

Offline Offline

Posts: 30


View Profile
« Reply #47 on: December 21, 2006, 12:52:15 pm »

Hi,
Quote from: "kakaroto"
Hi,
1 - good thing you found one more key signification!! Smiley
2 - can you update the wiki with the new info you found ?

Done. And I found one more tag ^vm for voice mail (that is easy).
Quote

3 - I absolutely don't mind if you implement the colors thing! don't be afraid from 'jumping in', it's open source, it's a community's work, so I appreciate contributions Smiley

Thanks, gonna work on it now that my exams is over.
Quote

4 - you said : "now I understand you kakaroto this is funny".. what ? I didn't understand what was funny :|

The fun in trying to discover what tags/key means. I 'lost' a day marking mails read/unread trying to find something
Quote

5 - I'll review your diff and commit it later when I have time, probably during the WE. you can send new diffs in the meantime
6 - pil should be initialized to -1

Ok, thanks Kakaroto
Quote

7 - I don't understand the reason for the if { $first }
8 - is it necessary to show that information ?

The reason is that without it the >  and >> show in front of every author. But I implemented it wrong
better if put before the foreach and without the if, sorry.
This is show in the official gmail notifier (I see a screenshot of it and this is show.) And is show in gmail
frontpage (if set on),

Quote

EDIT2 : didn't see anything additional being sent for chat logs, and ^b and ^bc both appear... about pil, 1 means "sent to more than one user" (or in cc) and 2 means "private message".. or something.. not sure though, but you're probably on the right track.

Uhu yes it is. You are right. I copied the desc. of levels from gmail help (the desc of 1 is little misleading).

I gonna work in the colors and try to search something more. About my patch if you gonna commit it plz change the pli desc for what you say they are(this is a better desc of what they mean) and put the $t pli before the foreach (I already tested it)

Bye and thanks kakaroto for your time.

EDIT: Some colors/style to tell me win (I'm working in it, what you think?)
http://socrates.if.usp.br/~kazuo/amsn_tellme_win.png
http://socrates.if.usp.br/~kazuo/gnotify.patch
Logged
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #48 on: December 27, 2006, 11:50:56 pm »

First of all, thanks KKRT for all your work !!!

I've a new Gmail account, so I decided to try your plug-in Tongue

But I must confess I can't make it work Sad
Perhaps do I do something wrong ?
 
I got a "Error Retrieving Gmail Account Information (myemail@gmail.com)" message, after a short time of "Not Checked Yet".
I retyped many times my password, no mistake there.
My Options are set to:
   Minutes: 5
   Number of accounts: 1
   Settings for account number: 1
   Username: myemail@gmail.com
   Password: my eight-letters-long-password (without any special character)
   Show Box: Enabled

I did have a look in the tcl file => it seems not to be a password error (otherwise I would have had another error message), my account is not blocked of course, so I can't guess wtf is going wrong...
When I simply click on the message, it opens Gmail log-in page, not the Inbox. It seems that gnotify can't connect to my adress, but I don't know why...
I thought it could perhaps be because the address was not verified, but now it is and still not working.

I hope you'll be better than me to find out what I did wrong Cheesy
Logged

Voyager 11.10
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #49 on: December 29, 2006, 01:07:59 am »

@snipe.. in that case.. Alt-P to get the plugins log, and do a "check now", then paste the info from gnotify ...  (watch out not to paste your password..we never know...)
about the clicking on the line, it will always just open the gmail log in page, I never did it so that it would open directly the inbox...

@Kazuo : thanx for the patch and for the help. I already patched my local version but I can't remember if I committed or not, I think i didn't because I didn't test it enough yet... do you have a new patch for me ? or should I just commit what you already did once I get the time ?

thx
Logged

KaKaRoTo
Kazuo
Newbie

Offline Offline

Posts: 30


View Profile
« Reply #50 on: December 29, 2006, 02:16:26 am »

Quote from: "kakaroto"
@Kazuo : thanx for the patch and for the help. I already patched my local version but I can't remember if I committed or not, I think i didn't because I didn't test it enough yet... do you have a new patch for me ? or should I just commit what you already did once I get the time ?


Hi, if you talk about the patch only with the new key is all done (with the things I noted in my previous post).

About the patch with color styles (gnotify.patch) I updated it now with a change in color of date line (changed it to darkblue and remove the "Date : ", I think this is not needed now) and add a tag to attach. (made it red for now but need to be improved, thinking about adding a pixmap for the filetype, and if is possible to add a directly link to download the attach).

I think you can commit it (the version that is now in my server, this diff is versus the current svn so it can be directly applied to it) once you get time. Need more works but in the form is now is better then the text win w/o colors.

I like to have some suggestions about the colors, I tried to follow some ss of Gmail notify I see on about.com (I don't have a win machine) adding some colors and style to differentiate something but not much colorful, now with only text.

I need to learn how to add pixmaps and others things so I can make it look good and easy the see the info (now is only easy the read).
And plz test it enough this is my first tcl/tk code in all life... I'm using this code daily with my amsn and don't see nothing strange...

Uhh I gonna be away from comp for 4 days but when back I gonna look more at this.
Bye and happy new year (I gonna say happy xmas but I'm late for it)!
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #51 on: December 29, 2006, 02:31:51 am »

Quote from: "kakaroto"
(watch out not to paste your password..we never know...)

lol, who did you write that for?  :oops:  :oops:
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #52 on: December 29, 2006, 02:32:51 pm »

Quote from: "Kazuo"
Quote from: "kakaroto"
@Kazuo : thanx for the patch and for the help. I already patched my local version but I can't remember if I committed or not, I think i didn't because I didn't test it enough yet... do you have a new patch for me ? or should I just commit what you already did once I get the time ?


Hi, if you talk about the patch only with the new key is all done (with the things I noted in my previous post).

About the patch with color styles (gnotify.patch) I updated it now with a change in color of date line (changed it to darkblue and remove the "Date : ", I think this is not needed now) and add a tag to attach. (made it red for now but need to be improved, thinking about adding a pixmap for the filetype, and if is possible to add a directly link to download the attach).

ok cool, I'll look at it when I wake up tomorrow, and I'll merge your patch with mine.
about the colors, I think dark blue for the attachments is what gmail uses, also, it has a little symbol next to it, but I think we should instead use a paperclip next to each filename : http://mail.google.com/mail/images/paperclip.gif
about the direct link, there's no way, we don't get that information from gmail, if we received it, I would have said so :p

Quote

I think you can commit it (the version that is now in my server, this diff is versus the current svn so it can be directly applied to it) once you get time. Need more works but in the form is now is better then the text win w/o colors.

I like to have some suggestions about the colors, I tried to follow some ss of Gmail notify I see on about.com (I don't have a win machine) adding some colors and style to differentiate something but not much colorful, now with only text.

I need to learn how to add pixmaps and others things so I can make it look good and easy the see the info (now is only easy the read).
And plz test it enough this is my first tcl/tk code in all life... I'm using this code daily with my amsn and don't see nothing strange...

cool, don't worry, I'll test it and let you know, and I'm also looking at the code before committing (I'm merging manually, not using patch) so no need to worry. About the pixmaps, yes, we should add pixmaps, especially for attachments, and the 'star' icon for starred mails. to insert a pixmap, it's easy.. read the doc :p
http://www.tcl.tk/man/tcl8.4/TkCmd/text.htm#M100
http://www.tcl.tk/man/tcl8.4/TkCmd/text.htm#M64
it's really easy... you only need to take into account that the image should first be created using it's path and that it needs to be skinnable. see how it's done for the gnotify_new.png and gnotify_empty.png.
about the colors and fonts, maybe we should skin that, I'll take care of it if needed.

Quote

Uhh I gonna be away from comp for 4 days but when back I gonna look more at this.
Bye and happy new year (I gonna say happy xmas but I'm late for it)!

np, happy xmas and happy new year, have fun!


@vivia: lol
Logged

KaKaRoTo
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #53 on: December 29, 2006, 08:26:24 pm »

Quote from: "kakaroto"
(watch out not to paste your password..we never know...)


Cheesy

Quote from: "kakaroto"
about the clicking on the line, it will always just open the gmail log in page, I never did it so that it would open directly the inbox...


Okay, didn't know that (too used to hotmail ^^)

Code:
20:20:08] core: Return 0 from event handler ::deplus::parse_nick__strip_colors
[20:20:08] core: Calling event OnConnect with variable evPar
[20:20:08] core: Executing ::gnotify::start
[20:20:08] core: Calling event ContactListColourBarDrawn with variable evpar
[20:20:08] core: Executing ::gnotify::draw
[20:20:08] core: Return  from event handler ::gnotify::draw
[20:20:08] core: Calling event ContactListDrawn with variable evpar
[20:20:08] core: Return  from event handler ::gnotify::start
[20:20:08] core: Calling event ContactListColourBarDrawn with variable evpar
[20:20:08] core: Executing ::gnotify::draw
[20:20:08] core: Return  from event handler ::gnotify::draw
[20:20:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:20:13] core: Executing ::gnotify::draw
[20:20:13] core: Return  from event handler ::gnotify::draw
[20:20:13] gnotify: Error checking account 0 : invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< .mine"
    (procedure "authenticate_gmail" line 9)
    invoked from within
"authenticate_gmail $username $password $acnt [list ::gnotify::check_gmail $username $password $acnt]"
    (procedure "::gnotify::check_gmail" line 17)
    invoked from within
"::gnotify::check_gmail $::gnotify::config(user_$acnt) [::gnotify::decrypt $::gnotify::config(passe_$acnt)] $acnt "
[20:20:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:20:13] core: Executing ::gnotify::draw
[20:20:16] core: Calling event parse_nick with variable evPar
[20:20:16] core: Executing ::deplus::parse_nick__strip_colors


Code:
[20:20:17] core: sayit_file
[20:20:17] core: Calling event NickArray with variable evpar
[20:20:18] core: Calling event ContactListColourBarDrawn with variable evpar
[20:20:18] core: Executing ::gnotify::draw
[20:20:18] core: Return  from event handler ::gnotify::draw
[20:20:35] core: Calling event NickArray with variable evpar
[20:21:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:21:13] core: Executing ::gnotify::draw
[20:21:13] core: Return  from event handler ::gnotify::draw
[20:21:13] gnotify: Error checking account 0 : invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< .mine"
    (procedure "authenticate_gmail" line 9)
    invoked from within
"authenticate_gmail $username $password $acnt [list ::gnotify::check_gmail $username $password $acnt]"
    (procedure "::gnotify::check_gmail" line 17)
    invoked from within
"::gnotify::check_gmail $::gnotify::config(user_$acnt) [::gnotify::decrypt $::gnotify::config(passe_$acnt)] $acnt "
[20:21:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:21:13] core: Executing ::gnotify::draw
[20:21:13] core: Return  from event handler ::gnotify::draw
[20:22:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:22:13] core: Executing ::gnotify::draw
[20:22:13] core: Return  from event handler ::gnotify::draw
[20:22:13] gnotify: Error checking account 0 : invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< .mine"
    (procedure "authenticate_gmail" line 9)
    invoked from within
"authenticate_gmail $username $password $acnt [list ::gnotify::check_gmail $username $password $acnt]"
    (procedure "::gnotify::check_gmail" line 17)
    invoked from within
"::gnotify::check_gmail $::gnotify::config(user_$acnt) [::gnotify::decrypt $::gnotify::config(passe_$acnt)] $acnt "
[20:22:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:22:13] core: Executing ::gnotify::draw
[20:22:13] core: Return  from event handler ::gnotify::draw
[20:23:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:23:13] core: Executing ::gnotify::draw
[20:23:13] core: Return  from event handler ::gnotify::draw
[20:23:13] gnotify: Error checking account 0 : invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< .mine"
    (procedure "authenticate_gmail" line 9)
    invoked from within
"authenticate_gmail $username $password $acnt [list ::gnotify::check_gmail $username $password $acnt]"
    (procedure "::gnotify::check_gmail" line 17)
    invoked from within
"::gnotify::check_gmail $::gnotify::config(user_$acnt) [::gnotify::decrypt $::gnotify::config(passe_$acnt)] $acnt "
[20:23:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:23:13] core: Executing ::gnotify::draw
[20:23:13] core: Return  from event handler ::gnotify::draw
[20:24:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:24:13] core: Executing ::gnotify::draw
[20:24:13] core: Return  from event handler ::gnotify::draw
[20:24:13] gnotify: Error checking account 0 : invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< .mine"
    (procedure "authenticate_gmail" line 9)
    invoked from within
"authenticate_gmail $username $password $acnt [list ::gnotify::check_gmail $username $password $acnt]"
    (procedure "::gnotify::check_gmail" line 17)
    invoked from within
"::gnotify::check_gmail $::gnotify::config(user_$acnt) [::gnotify::decrypt $::gnotify::config(passe_$acnt)] $acnt "
[20:24:13] core: Calling event ContactListColourBarDrawn with variable evpar
[20:24:13] core: Executing ::gnotify::draw
[20:24:13] core: Return  from event handler ::gnotify::draw
Logged

Voyager 11.10
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #54 on: December 29, 2006, 11:26:08 pm »

Be careful when updating SVN... The <<<<<<< .mine part means that there was a conflict updating but you didn't notice!!

Being a super power user, I thought you'd be used to taking a look at the bug reports instead of just pasting them :p
Logged
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #55 on: December 29, 2006, 11:32:56 pm »

Lol I did so, but I never heard about "<<<<<<<<" being a conflict in SVN !
And there was no conflict when I updated Tongue
Actually, I searched in .tcl and .mine if I couldn't find any "<<<<<<" string,...

I'll try to update again, hope this'll work Tongue
Logged

Voyager 11.10
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #56 on: December 30, 2006, 01:08:55 am »

snipe : just updating won't help, you'll need to resolve the conflict OR delete the file, then update...
a conflict looks like this :
<<<<<< .mine
    your modified code
--------
    my modified code
>>>>> r79..

so you look at the diff between your and my modifications and decide which one to keep...  you also get three files created, your original modified file, the one from the latest revision, and the one from the revision you last updated to before you had the conflict (so a diff between these files will get you only what you modified, only the modifications done on svn, etc...)

If you did some modifications, please tell me about it, you may have fixed a bug and forgot to tell me about it. if it's nothing, then just delete the gnotify.* files and update again.
Logged

KaKaRoTo
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #57 on: December 30, 2006, 09:08:59 pm »

Okayyy Cheesy
Understood !!
Thanks for the explanations.
No, I didn't change anything to your files, they're working well now.
It's a problem due to the way I updated - I understand it now.

Now, I've made a "langfr" file, but I got two problems:
1) Encoding problem : all my accents ( é à ç è î ...) appeared ugly ( Ã (c) ...) --> UTF-8 problem I imagine, but could you test it and tell me if you also encounter this problem? So that I'll know if it's due to my settings or is something general.
2) My "check_minutes" does not appear in the Options box, I see "check_minutes" Sad
Is it because the french sentence is too long?

Here's the file:
Code:
amsn_lang_version 2

check_minutes Vérifier vos e-mails toutes les ? minutes

num_accounts De combien de comptes disposez-vous ? :

account_settings Paramètres pour le compte numéro :

username Nom d'utilisateur :

password Mot de passe :

show_notify Afficher la boîte de notification :

open_browser Ouvrir le navigateur par un clic gauche

click_to_check Cliquez ici pour vérifier vos e-mails :

not_checked Votre boîte n'a pas encore été vérifiée

checking Vérification en cours

error_checking Erreur lors de la récupération des informations sur votre compte Gmail

wrong_pass Nom d'utilisateur et/ou Mot de passe erroné

account_locked Accès refusé à votre compte Gmail

view_inbox Aller à ma boîte de réception Gmail ($1)

check_now Vérifier maintenant

tell_me Informations sur vos e-mails

options Options

receivedmail E-mail reçu de : $1

mail_info Informations sur les e-mails du compte : $1

gotmail Vous avez $1 nouveau(x) e-mail(s)


EDIT:

Using gnotify, I disabled the line at hte top of the CL with the hotmail inbox, using Preferences - Advanced.
But I noticed I wasn't able to disable the Right-click on Tray Icon - Go to my Inbox, or to configure it to use gmail.
Do you think it's possible that gnotify, once enabled, disabled this line in the menu, or use it to go to Gmail, and not Hotmail ?
I'm afraid it won't be possible, as this menu should be independant of the account used...
Logged

Voyager 11.10
coldsteel
Newbie

Offline Offline

Posts: 1


View Profile WWW
« Reply #58 on: January 09, 2007, 03:11:39 am »

Hi I just noticed this thread and thought I'd give it a go, and it so far has worked perfectly. I'll keep testing it and tell you how it goes
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #59 on: January 19, 2007, 10:08:34 pm »

Kazuo, your patch has been committed to SVN, thanks!
I also added images for starred mails and for attachments.
Anyways, we can almost say that gnotify now is stable/final/etc...
Logged

KaKaRoTo
Pages: 1 2 3 [4] 5 6
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!