Extension Update
Refactoring
Since the last update, I have finished refactoring all of my code except for the code that converts contacts from one format to the other to make it more object-oriented.
Bug 413260
I have applied the most recent patch in Bug 413260, which, among many other things, removes specific attributes from nsIAbCard and uses a hash table to store attributes. Since custom attributes can be added and retrieved easily and quickly, I have started synchronizing more information. From now on, the extension will depend on bug 413260, thus Thunderbird 3.0a2pre and above. There will be more changes in that bug, and I will adapt my extension to each new patch.
Synchronized Attributes
- Name
- The first four e-mail addresses (of any type). Only the first two are shown in Thunderbird, for now.
- The first mobile, home, work, pager, and both home and work fax number. Home fax number is not displayed in Thunderbird.
- The first screenname of each type (Google Talk, AIM, MSN, ICQ, Jabber, and Yahoo). Only AIM screennames are shown in Thunderbird.
- The first home, work, and other address. The other address is not displayed in TB.
- Job Title
- Organization
- Notes
Thunderbird
- Display Name
- Home: Address, Address Line 2, City, State, Zip, and Country
- Work: Address, Address Line 2, City, State, Zip, and Country
- AimScreenName (_AimScreenName)
- Work, Home, Pager, Cellular, and fax number (fax number is set as work fax when syncing)
- Primary and second/additional email
- Notes
Possible Future Additions
I may add my own instantiation of nsIAbDirectory, as suggested by my mentor. This would bring several advantages in the future.
I will probably add an overlay to the card view to show some attributes that gContactSync adds (such as additional e-mail addresses and screen name types).
Questions for potential users
- Would the ability to sync photos be useful?
- Approximately how many contacts would you sync?
- What else would you like synced?
- Are there any attributes you would like added to the Thunderbird Address Book?
- Do you use lists in Thunderbird? Groups in Gmail?
July 7, 2008 Posted by pi | GSOC | attributes, bug 413260, gcontactsync, nsiabdirectory, overlay, properties, refactor | Leave a comment
About
Hello, everybody
My name is Josh and my application to Google Summer of Code 2008 was accepted, so this summer I will be writing the extension (explained below) writing some basic unit tests for Thunderbird 3’s code for importing address books, and finding/repairing some simple bugs. I like to program, obviously, and my major is Computer Engineering, which is a mix of Computer Science (programming, among other things) and Electrical Engineering.
My homepage can be found here, although I am still not done moving content over from my old site.
My GSoC project involves syncing contacts between Google Contacts and Thunderbird’s Address Book. Right now I am writing it for Thunderbird 2 and 3. Right now it is able to do a pretty good job of syncing, but there are a few rough edges in the code that I would like to fix.
You can usually find me hanging out in Mozilla’s IRC in the #maildev channel as pi.
May 2024 S M T W T F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Recent Posts
- 0.1a2 0.1b1 address address book addresses attributes auth token birthday bug bug 401496 bug 413260 bug 437556 bug 439819 bug 448165 bugzilla contact conversion contacts conversion copy card delete address book download day email extendedProperty extension extra attributes extra properties fieldMap firefox gcontacts gcontactsync gcontactsync 2 gentoo gmail contacts google apps google contacts groups GSOC hosted accounts im import l10n lastmodifieddate ldif localization mailing list mailing lists mail lists missing or corrupt move card mozdev noscript nsiabdirectory offline support overlay pim postal address postal addresses preferences properties protocol refactor release notes saxparseexception screenname sync synchronize test thunderbird thunderbird 2 thunderbird 3 thunderbird address book unicode unit test winload.exe xmlhttprequest
Recent Comments
beto on \Windows\System32\winload.exe… Valeryan_24 on Duplicate contacts in Thunderb… pi on gContactSync Updates Alan on gContactSync Updates Ilaria on Duplicate contacts in Thunderb…
-
Archives
- May 2011 (1)
- June 2009 (1)
- May 2009 (3)
- April 2009 (3)
- March 2009 (4)
- February 2009 (3)
- January 2009 (3)
- November 2008 (1)
- October 2008 (2)
- September 2008 (1)
- August 2008 (14)
- July 2008 (14)
-
Categories
-
RSS
Entries RSS
Comments RSS