← Back to team overview

gtg-gsoc team mailing list archive

Re: dbus server

 

You are sooo getting free drinks at guadec :)

On Tue, May 25, 2010 at 1:48 AM, Luca Invernizzi <invernizzi.l@xxxxxxxxx>wrote:

> Done :)
> Every backend now has a default parameter about which user owns it.
> It is ignored in the desktop version.
> "user" is a parameter like any other, so you can access it like:
> backend.get_parameters()["user"] = "Obama"
>
>
>
> On Tue, May 25, 2010 at 1:04 AM, Karlo Jež <karlo.jez@xxxxxxxxx> wrote:
> > Great!
> > I don't think there will be problems with diverging because the only part
> of
> > gtg I'm changing for now is the dbus wrapper.
> > You can do it whenever you have time, it's not urgent; but the sooner the
> > better ;)
> >
> > On Mon, May 24, 2010 at 4:59 PM, Luca Invernizzi <invernizzi.l@xxxxxxxxx
> >
> > wrote:
> >>
> >> On Mon, May 24, 2010 at 4:45 PM, Karlo Jež <karlo.jez@xxxxxxxxx> wrote:
> >> [..]
> >> >
> >> > Well, now onto multiple users. :)
> >> > The most painless way I think it could be handled is to change the
> dbus
> >> > api
> >> > to require a 'username' parameter.
> >> > Desktop GTG is started by the same user that uses it, so the interface
> >> > would
> >> > send a real username (or leave it blank, I guess), and that would
> return
> >> > all
> >> > the backends.
> >> > GTG online is started by one user, but others will use it. Web
> interface
> >> > would send a logged in user's name and the dbus server would return
> only
> >> > the
> >> > backends pertaining to that user.
> >> >
> >> > What do you think?
> >> From the backends side, that would be easy to do. Tell me when you're
> >> going to venture in that part, because we might want to keep our
> >> branches not to diverge too much.
> >>
> >> Ciao!
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~gtg-gsoc<https://launchpad.net/%7Egtg-gsoc>
> >> > Post to     : gtg-gsoc@xxxxxxxxxxxxxxxxxxx
> >> > Unsubscribe : https://launchpad.net/~gtg-gsoc<https://launchpad.net/%7Egtg-gsoc>
> >> > More help   : https://help.launchpad.net/ListHelp
> >> >
> >> >
> >
> >
>

References