Monday, 29 June 2009

Changing status for multiple accounts

We now supports multiple accounts. Each account can have its own status and description. We need a way to allow user to change these easily. Our usability team created two modes for kadu: advanced and simple one. In advanced mode each account will have its own status button and status menu, each identity will have own button and menu (accounts can be joined in identities like Work and Private).

Development team has to put these ideas into code. In Kadu 0.6.5 each status change goes through StatusChangerManager singleton, that stores current user-set status and computes real status (modules can change what user set). StatusButton and StatusMenu uses this singleton.

The new code will be a little more complicated. StatusContainer interface (empty class) is introduced. It contains methods to set status, get current status and signal statusChanged. This interface will be implemented by two classes: Account (already done) and Identity (this class does not exists yet). Singleton StatusContainerManager will be created, as well as StatusContainerAwareObject class. Each StatusMenu object will get an StatusContainer object as contructor parameter, the samy apply for StatusButton. New widget, StatusButtons, is an StatusContainerAwareObject so it can adjust itself to new accounts/identities. It is just a horizontal box that contains multiple StatusButton widgets.

I thinks that this architecture will cover all needed functionality. Any other ideas?

Tuesday, 23 June 2009

Status updates

Kadu is now slowly progressing to 0.6.6:
  • I'm moving files and classes around, so as few files as possible will remaing in kadu-core directory;
  • after this is done, I'll finish Your accounts window and start to enhance ContactsListWidget to support visualizing of metacontacts
  • our Season of Usability mentor and student connected (at least) with us, so we will have more GUI mockups to code;
  • I've switched locally to git (with git-svn as gateway to our official repository). I hope we will be able to move official repo to git after team members' exams, so everyone would be able to work on own branch(es), and I hope that this will also speed up our development a bit.

Wednesday, 10 June 2009

Password protection

I did not have much time to work on Kadu last time (thesis work), but I would like to present a small feature I've just implemented. Now you can use "Your accounts" window to uncheck "Remember password" field. When you'll try to login to this account a nice window will appear to get the password from you:

You don't need to worry again about someone stealing your identity ;)