1. 13 Jul, 2012 1 commit
  2. 12 Jul, 2012 1 commit
  3. 05 Jul, 2012 1 commit
    • Sriram Karra's avatar
      First element of email list in BBDB will be treated as the primary address · d055a49d
      Sriram Karra authored
      Gmail has a flag to identify the primary email address. In Emacs,
      bbdb sets the first email address for tab completion and for completing
      using the mail-alias field etc. So preserving this semantics is good.
      This is what we acheive with this commit - ensure that the first
      email is treated as the primary address - while reading as well as
      when writing out to the BBDB database.
      d055a49d
  4. 24 May, 2012 1 commit
  5. 16 May, 2012 2 commits
    • Sriram Karra's avatar
      Bugfix: Mobile and Work Emails multiply on repeated sync · 7a76f2f1
      Sriram Karra authored
      Silly handling of a reference to a 'live' object, in this instance
      the home phone number was getting munged with other data, and if
      further sync operations happend with that object, it lead to
      multiplying mobile and work numbers. The way the problem really
      appeared totally put me off track... Very intersted.
      7a76f2f1
    • Sriram Karra's avatar
      Support for BBDB file format ver 6 · 1a5cf854
      Sriram Karra authored
      With this fix, one should be able to use ASynK with BBDB v2
      provided it is patched a bit. Details of this will be
      inserted into the documentation.
      
      This is not the cleanest solution. But we have anidea of
      what to do in case the format changes again in BBDBv3.
      
      Basically all the snarfing and tostring methods in contact_bb.py
      need to reside in the message store class which is aware of
      versions, etc.
      1a5cf854
  6. 15 May, 2012 2 commits
  7. 14 May, 2012 3 commits
  8. 13 May, 2012 2 commits
  9. 12 May, 2012 1 commit
  10. 11 May, 2012 1 commit
    • Sriram Karra's avatar
      postal_map support for gc and bb for address labels · f430a2ff
      Sriram Karra authored
      - support for the postal_map configuration in db_config
      - ensure that the primary address is treated properly in
        both ol and gc
      - ensure all addresses are handled and written to gc,
        not just the first one like earlier
      f430a2ff
  11. 10 May, 2012 2 commits
  12. 09 May, 2012 1 commit
  13. 04 May, 2012 2 commits
  14. 01 May, 2012 1 commit
  15. 29 Apr, 2012 2 commits
    • Sriram Karra's avatar
      895df580
    • Sriram Karra's avatar
      "Folder" support for BBDB · 99d4df80
      Sriram Karra authored
      BBDB does not support a built in folder system. It is all one flat
      collection of contacts in the .bbdb. Here we try to logically
      arrange the contacts collection into folders based on a notes field.
      
      By default this notes field should have key named 'folder'. The value
      of this field is taken as the name of the folder. The key name can
      be changed by editing config.json in the appropriate place.
      
      Note that the point of logically grouping the contacts into Folders
      is to enable sync of only a subset of your BBDB contacts with an
      external source. This is particularly helpful if you have a very large
      collection of contacts, but are interested in only synching those with
      phone numbers or from yoru company, or any other criterion you can think
      of. Just add the folder note to those contacts, and use that folder name
      in a new sync profile.
      99d4df80
  16. 27 Apr, 2012 4 commits
    • Sriram Karra's avatar
      Various minor field sync issues with bbdb and gc · 2f2bab37
      Sriram Karra authored
      - 'non-standard custom fields' were getting lost from BB
        due to incorrect handling of custom properties after the
        format of custom field in the props was changed
      
      - Remove the sync tag from the custom dictionary on cntact_gc
      
      - minor formatting fixes.
      2f2bab37
    • Sriram Karra's avatar
      Implement a dirty() flag for items · 9c73ca11
      Sriram Karra authored
      This is readily usable for BBDB - where we have to manually set the
      updated timestamp only for entries that are updated. Google and
      Outlook servers take care of this so nothing to be done there.
      9c73ca11
    • Sriram Karra's avatar
      Set created() field for Google entries if not available · 342cdfea
      Sriram Karra authored
      The created value is stored as a custom value. We do not get this
      as a property from Google. A lack of a field here affects entries
      synched to BBDB and Outlook. We settle for a compromise where we
      just set the current time as the creation time - it will have the
      effect that any contact copied to BBDB, say, will have a logial
      and correct time as creation time. Since it is writte back to
      Google as a custom property, nothing gets affected
      342cdfea
    • Sriram Karra's avatar
  17. 26 Apr, 2012 1 commit
  18. 25 Apr, 2012 1 commit
  19. 24 Apr, 2012 3 commits
  20. 23 Apr, 2012 1 commit
  21. 20 Apr, 2012 2 commits
  22. 18 Apr, 2012 1 commit
    • Sriram Karra's avatar
      Part 2/2 of split - implement a fully profile driven system · c4c190ad
      Sriram Karra authored
      Biggish change that includes the following changes:
      
      - login to Google or read outlook only after all cmd line checks
        are completed
      
      - Sync Profile concept extended throughout the code:
      
        - support for reading and writing to the state file
        - --op=create-profile and --op=list-profiles implemented
        - SyncLists class now takes a profile name to track state
        - sync labels will now contain the profile name, and will look
          like follows: asynk:profile:gc
        - Outlook sync label gid for custom properties will be
          unique for each sync profile. gc sync gids will be in a
          separate namepsace from bb sync gids. They will
          autoincrement at the time of new profile creation
        - the last successful sync will maek that profile the default
          profile and will be used on subsequent runs if a
          profile name is not explicitly stated
      
      - Rename all the op handlers to start with op_
      
      - implement op_del_folder handler
      
      - Move sync label creation and parsing to state.py from utils.py
      c4c190ad
  23. 10 Apr, 2012 2 commits
  24. 09 Apr, 2012 2 commits