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

Re: [Inf-IT DAVcl] globalSubscribedCalendars


> On 28 Dec 2014, at 20:53, Nic Warnez <nic.warnez@xxxxxxxxx> wrote:
> Hi,
> I’m running into the same problem. However, both server and calendar I want to subscribe to.
> The subscribed calendars don’t show up, when I check them in ‘active calendars’, it can’t save the setting.
> Console says:
> "Error: [netSaveSettings: 'PROPPATCH http://user.name@xxxxxxxxxxxxxxxxxxxx/cal.php/principals/user.name/'] code: '403' status: 'error'"

looks like Baikal problem (as I know Baikal doesn't allow to store "unknown" properties - only limited number of pre-defined properties are supported)

> I tested with the same setting as the previous poster:
> var globalSubscribedCalendars={hrefLabel: 'Subscribed', calendars: [{displayName: 'Subscribed Calendar', href: 'http://www.schulferien.org/iCal/Ferien/icals/Ferien_Bayern_2015.ics', userAuth: {userName: '', userPassword: ''}, ignoreAlarm: true, color: '#ff0000', typeList: ['vevent','vtodo']}]};
> I’m using BAIKAL non-cross-domain and my server settings are as follows:
> var globalNetworkCheckSettings={href: 'http://caldav.my-server.com/cal.php/principals/', hrefLabel: ‘Calendar', additionalResources: [], forceReadOnly: null, settingsAccount: true, checkContentType: true, timeOut: 30000, lockTimeOut: 10000, delegation: false, ignoreAlarms: false, backgroundCalendars: []}
> What am I doing wrong?

you can use Baikal as non cross-domain setup, but if you want to subscribe to external calendar (using the  globalSubscribedCalendars option) it IS cross-domain request, and if the remote server not returns proper CORS headers it will not work (it = the subscribed calendar feature).


> Thanks for your help.
> Cheers
> Nic

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

Re: [Inf-IT DAVcl] globalSubscribedCalendarsNic Warnez <nic.warnez@xxxxxxxxx>
Re: [Inf-IT DAVcl] globalSubscribedCalendarsNic Warnez <nic.warnez@xxxxxxxxx>