Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-31 Thread Bruno Lingner (Hugo)

hi Martin

I think we narrowed it down to this one rule (thanks to Thomas Paduch ;):
RequestHeader unset Accept-Encoding

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute 
's|RRULE:([^;]*;?[^;]*);?FREQ=([^;]*);?(.*)$|RRULE:FREQ=$2;$1$3|'


this one puts the FREQ= attribute first, as iCal seems to expect it there.
we are still running tests, but it looks good. we have to test all the 
recurring events too as well as the daylight and standard times.


greetings
hugo.-

On 03/30/2012 04:20 PM, Martin Seener wrote:

Hi,

i added these 4 lines to my vhosts for 8008 and 8443 (ssl and non ssl)
and it seems to work pretty fine between sogo, thunderbird, ical and
iphone calendar
BUT it seems not to work for old entries - is there any solution?

Martin

Am 3/30/12 12:13 PM, schrieb Christian Mack:

Hi Martin Seener


On 2012-03-30 09:22, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.


See this email thread from 2012-03-28:
http://www.mail-archive.com/users@sogo.nu/msg09894.html


Kind regards,
Christian Mack


--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Martin Seener

Hi,

after the last daytime change here in germany from winter to summertime 
the calendar entries of one of our users is 1h different - but just for 
his sogo entires not for his iCloud stuff.


sogo config is set to europe/berlin - as well as his iCal Calendar - 
does anybody have a clue whats going on here ?

also in his own sogo config its set to correct timezone.

Martin
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Bruno Lingner (Hugo)

hi Martin

see this thread and those bugs:
https://inverse.ca/sogo/lists/arc/users/2012-03/msg00527.html
we managed to get the events right with two apache rewrites:

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10|n'
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3|n'


greets
hugo.-

On 03/30/2012 09:22 AM, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Martin Seener

Hi Hugo,

thanks a lot! will insert it into our caldav vhost now - do i need 
additional apache2 mods?
and is a apache2+memcached restart enough or do i need to restart sogo 
as well?


Martin

Am 3/30/12 10:04 AM, schrieb Bruno Lingner (Hugo):

hi Martin

see this thread and those bugs:
https://inverse.ca/sogo/lists/arc/users/2012-03/msg00527.html
we managed to get the events right with two apache rewrites:

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10|n'
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3|n'


greets
hugo.-

On 03/30/2012 09:22 AM, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Martin Seener

ok added substitute module.

can u tell me where i need to put this code at wich place in the vhost? 
in the Proxy directive or somehwere in the vhost itself?


Am 3/30/12 10:04 AM, schrieb Bruno Lingner (Hugo):

hi Martin

see this thread and those bugs:
https://inverse.ca/sogo/lists/arc/users/2012-03/msg00527.html
we managed to get the events right with two apache rewrites:

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10|n'
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3|n'


greets
hugo.-

On 03/30/2012 09:22 AM, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Bruno Lingner (Hugo)

it's inside the
Virtualhost 12.34.56.78:8443
...
RequestHeader unset Accept-Encoding

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10|n'
Substitute 
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3|n'



RewriteEngine Off
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On

ProxyPass /principals  http://127.0.0.1:2/SOGo/dav/ interpolate
ProxyPass /SOGohttp://127.0.0.1:2/SOGo  interpolate
ProxyPass /http://127.0.0.1:2/SOGo/dav/ interpolate

Location /
Order allow,deny
Allow from all
/Location

Proxy http://127.0.0.1:2
RequestHeader set x-webobjects-server-port 8443
RequestHeader set x-webobjects-server-name sogo.kochan.de:8443
RequestHeader set x-webobjects-server-url 
http://sogo.kochan.de:8443;

RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host 127.0.0.1
AddDefaultCharset UTF-8
/Proxy
/VirtualHost

if tou use iCal 5 on lion, you also need the
RequestHeader unset Accept-Encoding
or else the stream is compressed (deflated) and a text substitute won't 
catch anything.

tou have to restart the apache only.

greets
hugo.-


On 03/30/2012 10:12 AM, Martin Seener wrote:

ok added substitute module.

can u tell me where i need to put this code at wich place in the vhost?
in the Proxy directive or somehwere in the vhost itself?

Am 3/30/12 10:04 AM, schrieb Bruno Lingner (Hugo):

hi Martin

see this thread and those bugs:
https://inverse.ca/sogo/lists/arc/users/2012-03/msg00527.html
we managed to get the events right with two apache rewrites:

AddOutputFilterByType SUBSTITUTE text/calendar text/xml
Substitute
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10|n'

Substitute
's|RRULE:BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3|RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3|n'


greets
hugo.-

On 03/30/2012 09:22 AM, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Christian Mack
Hi Martin Seener


On 2012-03-30 09:22, Martin Seener wrote:
 Hi,
 
 after the last daytime change here in germany from winter to summertime
 the calendar entries of one of our users is 1h different - but just for
 his sogo entires not for his iCloud stuff.
 
 sogo config is set to europe/berlin - as well as his iCal Calendar -
 does anybody have a clue whats going on here ?
 also in his own sogo config its set to correct timezone.
 

See this email thread from 2012-03-28:
http://www.mail-archive.com/users@sogo.nu/msg09894.html


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Calendar Entries Times 1 hour difference after summer daytime change

2012-03-30 Thread Martin Seener

Hi,

i added these 4 lines to my vhosts for 8008 and 8443 (ssl and non ssl)
and it seems to work pretty fine between sogo, thunderbird, ical and 
iphone calendar

BUT it seems not to work for old entries - is there any solution?

Martin

Am 3/30/12 12:13 PM, schrieb Christian Mack:

Hi Martin Seener


On 2012-03-30 09:22, Martin Seener wrote:

Hi,

after the last daytime change here in germany from winter to summertime
the calendar entries of one of our users is 1h different - but just for
his sogo entires not for his iCloud stuff.

sogo config is set to europe/berlin - as well as his iCal Calendar -
does anybody have a clue whats going on here ?
also in his own sogo config its set to correct timezone.


See this email thread from 2012-03-28:
http://www.mail-archive.com/users@sogo.nu/msg09894.html


Kind regards,
Christian Mack


--
users@sogo.nu
https://inverse.ca/sogo/lists