Re: [Evolution-hackers] Backend requesting arbitrary user input from frontend

2011-03-30 Thread Christian Hilberg
Hi Milan,

On Wed 30 March 2011 Milan Crha wrote:
> On Wed, 2011-03-23 at 19:04 +0100, Christian Hilberg wrote:
> > Of course, this is going to be fun - how to tell which of the possibly
> > multiple EDS-frontends should receive the request? Ideally, the backends
> > should be unaware of EDS-frontends... trouble galore! :)
> 
>   Hi,
> Matt suggested in his Account management that the server will ask for
> credentials with an information for which "source" this request is made,
> so the "auth_required" signal may contain this information. I'll add a
> strv parameter to that, just for being ready even for more expansion.
> 
> What kind of information will be known in this parameter depends on the
> receiver for the signal. Let's have it opened for now, but I believe
> this may cover your issue too.

As long as there is *any* sensible way to pass some data (a PIN string in our 
case) to the backend if the backend so requests, that will help us much. 
Thanks in advance for taking this into account.

(Bye)^2,
Christian

-- 
kernel concepts GbRTel: +49-271-771091-14
Sieghuetter Hauptweg 48
D-57072 Siegen
http://www.kernelconcepts.de/


signature.asc
Description: This is a digitally signed message part.
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Backend requesting arbitrary user input from frontend

2011-03-29 Thread Milan Crha
On Wed, 2011-03-23 at 19:04 +0100, Christian Hilberg wrote:
> Of course, this is going to be fun - how to tell which of the possibly 
> multiple EDS-frontends should receive the request? Ideally, the backends 
> should be unaware of EDS-frontends... trouble galore! :)

Hi,
Matt suggested in his Account management that the server will ask for
credentials with an information for which "source" this request is made,
so the "auth_required" signal may contain this information. I'll add a
strv parameter to that, just for being ready even for more expansion.

What kind of information will be known in this parameter depends on the
receiver for the signal. Let's have it opened for now, but I believe
this may cover your issue too.
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Backend requesting arbitrary user input from frontend

2011-03-23 Thread Christian Hilberg
Hi again,

Am Mittwoch 23 März 2011, um 18:03:32 schrieb Christian Hilberg:
> Hi all.
> [...]
> Maybe this is a more general thing than just having a backend requesting a
> user PIN. I can imagine other scenarios where a backend might need to
> request any user interaction, input, whatsoever, which is specific to this
> backend and cannot be taken care of in the existing general EDS API (which
> is limited to the typical things all backends need to do).
> [...]

Of course, this is going to be fun - how to tell which of the possibly 
multiple EDS-frontends should receive the request? Ideally, the backends 
should be unaware of EDS-frontends... trouble galore! :)

(Bye)^2,
Christian

-- 
kernel concepts GbRTel: +49-271-771091-14
Sieghuetter Hauptweg 48
D-57072 Siegen
http://www.kernelconcepts.de/


signature.asc
Description: This is a digitally signed message part.
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers