[Bug 32979] New: Add extensions to allow accounts to be hidden from the main AccountManager interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 10 20:50:10 CET 2011


           Summary: Add extensions to allow accounts to be hidden from the
                    main AccountManager interface
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: mission-control
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org

I have been working on an extension for Mission Control to allow certain
accounts to be hidden from the main AccountManager interface. The use-case is
building services on top of IM protocols, using accounts which are not actually
intended for human consumption. Rather than requiring every UI to do special
work to avoid showing the account to the user, we simply do not list the
account in AM.ValidAccounts, shunting it off to
AM.Interface.Hidden.ValidHiddenAccounts. In all other respects the account
behaves normally. See
for the proposed D-Bus API. (I haven't polished these very far, hence my not
proposing them for merge to the Telepathy spec just yet.

Anyway! I have an implementation of this in Mission Control. The branch is
actually rather big, so I've split it into four and a half distinct chunks, all
built atop one another.

does some preliminary cleanup on the test suite and a couple of debug messages.

implements the above interfaces, with no special handling in the storage
backends. So they'll work fine for accounts backed by a keyfile, but they don't
work for accounts-glib-backed accounts.

does some preliminary refactoring of the accounts-glib backend, fixes a couple
of bugs and does a little clean-up.

adds a subclass of the standard accounts-glib backend which looks for accounts
of the 'HiddenIM' service type and marks them as hidden.

I am somewhat sceptical of the merits of including the latter in stock MC.
Currently it has to be in-tree due to bug 32914, which I have begun to fix
(hence the half-branch I mentioned above).

 24 files changed, 1033 insertions(+), 374 deletions(-)

I'm in danger of losing all the good karma I earned by deleting
MinimumPresence. :'(

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the telepathy-bugs mailing list