Thursday, July 09, 2009

A commit explained

Ok, first the good news, I implemented selecting date range to view the conversation history and moved the export code to an extension, that means that anyone can implement and extension, register and select it and emesene 2 will use that extension to save the conversation history. Thanks Orfeo C for the idea.
The posibilities are endless, the most simple ones are export to different formats, more complex ones are extensions to migrate to other databases, publish the history to blogs or things like that :)

Now the experimental part of this blog.

Since I'm using git on github to code since a week I started checking some features, this time I decided to comment the changes on the commit I made today so people can read the commit diff an read comments about why I made those changes.

To read the commit explanation go to http://github.com/marianoguerra/emesene/commit/fdd8bbd35d3f8ba46eb4ebb0b9393b6e4fd4b75f and scroll down a little.
You will find labels with a "1" or a number on them if you click them you will see a comment explaining why I made that change.

I hope this is useful for some of you that want to read the code and don't know where to start.

and as on any post, something graphical to show the commit advance:

12 comments:

Nicolaide said...

Nice Mariano! This is really great... One little request, made a line/separation to separate the days if we see a conversation of a couple of days

Cheers

Adrián Solamente said...

te esta quedando buenísimo !

Cyanotic said...

As soon as i'll test your release...i'll give you a feedback! (i have still to read the code :'( )

DragaO~ said...

great! :D

but, i can read the logs only if i logged in on emesene?
ok, i can export logs one-by-one, but, the log is saved somewhere, like the current plugin "html logs" which save in "~/.config/emesene1/EMAIL/html_logs" ?

i like, for example, the plus for WLM (i used until version 8.1), which saves a folder with the month and year (something like "2009-07") and, inside, have the logs (in html format), one file for contact

i just think this because i like to have logs separeted from the client :D

ExAzor said...

The "diff comment" is really great, I think it can be really useful.
As for the "log viewer" I really appreciate its UI, but I'd like to be able to quickly "hide" the "filter by date" part (the two calendars on the left). They are useful but after I've clicked on them they're just wasting space.

Anonymous said...

FEATURE REQUEST:
Mariano, i forgot to remember you a really cool feature that emesene always lacked: Privacy Settings.
With this feature you can see which contacts are blocked, which are simply removed from your list and who removed you from his/her contact list.
If you can take a look at WLM Privacy Settings or aMSN Privacy settings: it's self-explaining.
I think that using the aMSN nick highlighting on this list is really useful (but it lacks of infos about of what colours means :P).
So my feature request is:
1) Implement Privacy Settings
2) Integrate IN THE SAME WINDOW some little coloured squares that helps you to know what the color means.

i.e.
[Widget 4 nicklist]
contact1@hotmail.com (black bg)
contact2@msn.com (normal bg)
contact3@live.it (red bg)
...
[/widged 4 nicklist]
[little border]
[Black Square] The contact removed you from his/her contact list
[Red Square] You blocked this contact
[Yellow Square] This contact is not in your list but it's allowed to contact you (it's not blocked). etc...
[/little border]

(i know a screenshot would be a little bit self-explaining)

Unknown said...

no se puede porbar el emesene2?

Ernesto said...

muy bueno con estas actualizaciones esta quedando muy bien todavia hay problemas con la webcam de emesene a WLM pero todo excelencte.

Unknown said...

Hello Mariano, First, thanks for all. Now... I would like to see a search field to search in the logs (conversations, nicks, etc) with support for basic regular expresions. Nice?. Thanks again.

Unknown said...

EXCELLENT!!!
I have some problems with the webcam with WLM 14, but except that, everything is awesome! nice work

Max said...

Hey, I just started using emesene... I wanted to step by and tell you thanks for making this software! It's great and it will become even much better (I've seen the list of features to 1.5...) Keep up the good work!! See ya!

Sweetth said...

How to get the git version of emesene 2? I suppose the svn version isn't update anymore? an how to will be great as I am sure I won't be the only one looking forward to test those version.. ;)

Many thanks