1. 23 Jul, 2012 1 commit
  2. 19 Jul, 2012 1 commit
    • Philip Withnall's avatar
      telepathy: Allow for updated Tpf.Personas properties to update the cache · 36ecd01a
      Philip Withnall authored
      Currently, the cache is only written when going offline, which means that any
      properties of Tpf.Personas which are updated at runtime aren’t written to the
      cache unless the client explicitly goes offline before being closed. This
      doesn’t often happen, meaning the property updates are lost and the cache
      becomes stale.
      This commit keeps track of the clean/dirty state of the cache and writes it
      out when PersonaStore.flush() is called. It also adds a new method,
      IndividualAggregator.unprepare(), which ensures all the persona stores handled
      by the aggregator are flushed. Clients should call this method before closing
      their main loop.
      (Calling flush() in the finalise function of the PersonaStore doesn’t work
      because Tpf.PersonaStores are often never finalised due to the implementation
      of Tpf.PersonaStore.dup_for_account(). Furthermore, calling flush() in the
      finalise function of the IndividualAggregator doesn’t work because the client
      will typically quit the main loop immediately afterwards, which will cancel
      the asynchronous flush call.)
      New API:
       • IndividualAggregator.unprepare()
      Helps: https://bugzilla.gnome.org/show_bug.cgi?id=660128
  3. 18 Jul, 2012 1 commit
  4. 16 Jul, 2012 1 commit
  5. 13 Jul, 2012 1 commit
  6. 11 Jul, 2012 1 commit
  7. 07 Jul, 2012 1 commit
    • Philip Withnall's avatar
      core: Add core anti-linking support · 1441ae9d
      Philip Withnall authored
      This adds the core of the anti-linking support, based around a new
      AntiLinkable interface. This will be implemented by Persona subclasses which
      can store anti-linking information (in the form of a set of Persona UIDs
      which the given Persona should never be linked to).
      This approach allows anti-linking information to be stored with the personas
      (presumably in the primary persona store) and thus it should be network
      transparent. i.e. Using folks on two different computers with a Google
      Contacts address book as primary should cause the anti-linking data to be
      This also includes the necessary IndividualAggregator changes.
      Sadly, no unit tests are included.
      Closes: https://bugzilla.gnome.org/show_bug.cgi?id=629537
  8. 06 Jul, 2012 1 commit
  9. 03 Jul, 2012 1 commit
  10. 28 Jun, 2012 4 commits
  11. 27 Jun, 2012 1 commit
  12. 25 Jun, 2012 3 commits
  13. 18 Jun, 2012 1 commit
    • Philip Withnall's avatar
      Bug 677166 — Salut personas survive disconnection · c8fa98d3
      Philip Withnall authored
      Handle TpAccounts being disabled by listening for
      TpAccountManager::account-disabled rather than (erroneously) assuming that
      TpAccount:enabled will have been changed by the time the corresponding
      TpConnection is disconnected.
      This fixes a race condition when accounts are disabled, where the account’s
      personas would persist if TpAccount:enabled hadn’t changed by the time the
      connection was disconnected.
      This comes at the cost of potentially storing and re-loading the set of
      personas for that account to the cache, only to later delete the cache file
      when TpAccount:enabled changes. I can’t think of a simple fix for this.
      Closes: https://bugzilla.gnome.org/show_bug.cgi?id=677166
  14. 15 Jun, 2012 1 commit
  15. 14 Jun, 2012 3 commits
  16. 13 Jun, 2012 2 commits
  17. 12 Jun, 2012 3 commits
  18. 30 May, 2012 1 commit
  19. 24 May, 2012 1 commit
  20. 14 May, 2012 1 commit
  21. 04 May, 2012 1 commit
  22. 25 Apr, 2012 1 commit
  23. 23 Apr, 2012 2 commits
  24. 17 Apr, 2012 5 commits
  25. 16 Apr, 2012 1 commit