Re: [evolution-patches] Patch for integrating exchange x-c-s with mailer.



Hi Michael,

I think I can not do that from page validate 
function. Right now I am using page check
plugin and also listen on page next
signals to do this. But getting the 
required values from connector is the problem.

I discussed the issue with JP on IRC and 
he suggested to move the plugin into connector.
Also to commit that API temporarily, and then 
remove it once the plugin is moved out.
As, moving the plugin into exchange connector
needs some header files to be public.

Yes, we can discuss about it once you see the 
code, if I can handle it using validate page
function.

Thanks,
Sushma.

>>> Not Zed <notzed novell com> 01/10/05 20:31 PM >>>

Hi Sushma,

Can you just use the validate page function to do this?  It will get
called whenever a value changes.  If you have an incomplete uri or if
the user hasn't pressed some button to activate it, then this will cause
the 'next' button to be greyed out.  There shouldn't be any need to add
any other special api to be able to listen to this from the plugin?

(i only just saw your message on irc, and haven't checked the code yet,
so take above with a grain of salt - i'll have a proper look in the
morning).

Regards,
 Michael

On Mon, 2005-01-10 at 06:49 -0500, Sushma Rai wrote:

> Hi,
> 
> I am now handling owa url reading from the plugin.
> 
> I need to authenticate user and get host and
> global catalog server names once he enters
> owa url value, as done in ximian-connector-setup.
> 
> I am using a camel API to do this.
> Can you please review the attached patch.
> 
> Thanks,
> Sushma.
> 
> >>> Not Zed <notzed ximian com> 01/10/05 08:28 AM >>>
> 
> In a word, absolutely not.
> 
> 1. do not add what appears to be a hack to camel-url to extract some
> embedded url out of the url.  i dont actually know what you're doing
> here, & is used for cgi argument separation only.  This only appears
to
> have been done so you can hack into em-account-editor, but that is
> unacceptable too.
> 2. e-config shouldn't need changing.  why exactly are you changing it?
> 3. you can't add owa specific hacks to mail-config either - thats the
> entire point of the plugin system.
> 
> 
> On Sun, 2005-01-09 at 09:42 -0700, Sushma Rai wrote:
> 
> > Hi,
> > 
> > Attched are the patch files for achieving
> > ximian-connector-setupfunctionality mail configuration. 
> > 
> > X-C-S reads owa URL, user name and password and detects rest of the
> > settings after authenticating the user.
> > 
> > I have added an entry to read OWA URL to the glade file
> > and handled it in CamelProviderConfEntry structure. 
> > (As hostname,user name and path are currently handled).
> > 
> > Asking for the password is done by the page check 
> > plugin "exchange-account-setup". The plugin code is 
> > available in CVS.Authenticating user is done using 
> > camel API, which would authenticatethe user if the 
> > provider supports. (similar to auto_detect)
> > 
> > Now, since the source and transport URLs need to 
> > contain OWA url also,I am handling this in decoding of 
> > camel url, using "&" as the delimiter for owa url, and 
> > I hope it is ok to use it.
> > 
> > I was getting error while overwriting the labels in
> > receive page andhiding the sections (like SSL). 
> > I have made some modifications related to them also. 
> > 
> > Thanks,
> > Sushma.
> > 
> > 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]