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

Re: [Inf-IT DAVcl] globalSubscribedCalendars


Hi Jan

Thanks for your reply. If Baikal doesn't allow to store unknown properties, bad luck.
Is there a way to make the subscribed calendars checked (active) by default?

I'm assuming if I want to subscribe to a couple of Google Calendars, that Google sends the correct CORS headers.
Do you mean with your answer I have to setup caldavzap using cross-domain-request that it works?

Thanks for any hints

Nic





> —
> Nic Warnez


> On 30.12.2014, at 00:24, Ján Máté <jan.mate@xxxxxxxxxx> wrote:
> 
> Hi,
> 
>> 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).
> 
> 
> JM
> 
>> Thanks for your help.
>> 
>> Cheers
>> Nic
> 

References:
Re: [Inf-IT DAVcl] globalSubscribedCalendarsNic Warnez <nic.warnez@xxxxxxxxx>
Re: [Inf-IT DAVcl] globalSubscribedCalendarsJán Máté <jan.mate@xxxxxxxxxx>