Am 12.02.2013 23:16, schrieb Ján Máté:
Hi,
Thanks for the answers!
Access-Control-Allow-Origin: http://calendar.hannover.anduras.office, http://calendar, http://addressbook.hannover.anduras.office, http://addressbook
Do you see anything wrong here?
Yes - it is wrong. You cannot use Access-Control-Allow-Origin with multiple origins separated by comma ... if you really need to allow multiple origins, you need to define them separately:
.... Header always set Access-Control-Allow-Origin http://calendar.hannover.anduras.office Header always set Access-Control-Allow-Origin http://calendar Header always set Access-Control-Allow-Origin http://addressbook.hannover.anduras.office Header always set Access-Control-Allow-Origin http://addressbook ....
Ok, I tried:
Header always add Access-Control-Allow-Origin http:/... ^^^ I used add here, not set!
But I does not seem to work. The "W3C Candidate Recommendation" says, it should be possible to use a list separated by spaces, but the "add" command makes a list with commas. Maybe here is the problem. Now it works, thanks!
- Autocomplete for already used categories or display select list/box.
this feature is already present ... if you start to write the category name you will see a listbox for categories with similar names ... you can also press the "down" button on your keyboard to see all currently present categories
Ok, I missed that. But I found a bug here. You can remove categories, even, if you are not in the edit mode.
I have a problem adding static .ics calendars.
I configured:
var thisyear = new Date().getFullYear(); var globalSubscribedCalendars={hrefLabel: 'Externe', showHeader: true, calendars: [{displayName: 'Feiertage', href: 'http://www.mozilla.org/projects/calendar/caldata/GermanHolidays.ics', userAuth: {userName: '', userPassword: ''}, ignoreAlarm: true, color: '#AACCAA'}, {displayName: 'Ferien '+thisyear, href: 'http://www.schulferien.org/iCal/Ferien/icals/Ferien_Niedersachsen_%27+thisye...', userAuth: {userName: '', userPassword: ''}, ignoreAlarm: true, color: '#AAAACC'} ]};
The calendar is queried:
OPTIONS /iCal/Ferien/icals/Ferien_Niedersachsen_2013.ics?_=1360831644748 HTTP/1.1 Host: www.schulferien.org [...]
But the answer is empty:
HTTP/1.1 200 OK Date: Thu, 14 Feb 2013 08:47:24 GMT Server: Apache Allow: GET,HEAD,POST,OPTIONS Content-Length: 0 Keep-Alive: timeout=2, max=200 Connection: Keep-Alive Content-Type: text/calendar
The problems seems to be, that the public server only delivers the calendars, if queried with the GET method. I did not found a configuration option to force this... Maybe we should add an option or handle .ics calendars different.
And it would be nice to have an "sync" button. I try with three clients at the same time (Thunderbird, Android and CalDavZap/CardDavMate) and at least in CardDavMate I had problems, because the displayed entries were too old. A login/logout did not help.
Regards Sven