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

Re: [Inf-IT DAVcl] caldavzap gives me a white page


the globalAccountSettings option is NOT for subscription - it expects real CalDAV responses from the remote server. There is another option called globalSubscribedCalendars which downloads the ics file from the given URL and then process it (however I'm not sure if it will work without a real CalDAV account in globalAccountSettings - I never tested that kind of setup).

Also the globalSubscribedCalendars work ONLY if the server response contains proper CORS headers (built-in browser security).



> On 16 Apr 2018, at 10:26, Jean-Luc Mounier <Jean-Luc.Mounier@xxxxxxx> wrote:
> Hi,
> I have created a php script which produces .ics files from Volley match teams.
> These calendars are read only calendars and access is free (no login/password).
> I can subscribe theses calendars in many different applications but CalDavZAP 0.13.1 gives me a white page.
> I have manually add OPTIONS and PROPFIND http answers but I'n not really sure that it is correct.
> I think I don't understand the meaning these elements and what are the minimum answer.
> FireFox tells me that there is an XML error but I don't know where ?
> Here a part of the config.js file
> var globalAccountSettings=[
> 	{href: 'https://calendrier.charentonvolley.fr:443/smn1', hrefLabel: 'N1', forceReadOnly: true, settingsAccount: false, checkContentType: true, userAuth: {userName: '', userPassword: ''}, timeOut: 90000, lockTimeOut: 10000, delegation: false, ignoreAlarms: true, backgroundCalendars: []},
> ];
> Jean-Luc

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Re: [Inf-IT DAVcl] caldavzap gives me a white pageJean-Luc Mounier <Jean-Luc.Mounier@xxxxxxx>
[Inf-IT DAVcl] caldavzap gives me a white pageJean-Luc Mounier <Jean-Luc.Mounier@xxxxxxx>