Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-06-02 Thread Patrick O'Callaghan
On 31 May 2013 08:17, David Woodhouse dw...@infradead.org wrote:

 On Fri, 2013-05-31 at 06:47 -0430, Patrick O'Callaghan wrote:
  On Fri, 2013-05-31 at 10:10 +0100, David Woodhouse wrote:
let's call it UTC, not GMT, to have same terminology as in RFC.
  
   I sometimes like to use 'GMT' just to reinforce the GMT does *not*
   mean UK time message. :)
 
  pedantry
  It's certainly true that GMT is not the same as UK time, but even GMT is
  not really a standard timezone (though it's still used in some
  countries). UTC is the correct term AFAIK.
  /pedantry


I'm not quite sure what you mean when you say that GMT isn't a standard
 timezone. What type of standard do you mean? It is used as the legal
 time (or the basis for it) in a number of countries, and is thus in the
 timezone database. What more does a timezone need, to be a standard
 timezone?

 Strictly speaking, GMT and UTC are *different* things. They can differ
 by up to a second. But that isn't really important. For most practical
 purposes, they are interchangeable.


I meant a timezone officially recognized by ISO. I don't question that GMT
is a legal designation in several countries. See
http://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators.

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-06-02 Thread Vidar Evenrud Seeberg


Den 05/31/2013 05:13 PM, skrev Milan Crha:


Oops, thinking of it, I believe any 3.8.x, not only 3.8.3 on which I
tested this, has this fixed, thus you can pick whichever 3.8.x you've
available.
Bye,
Milan

Hello Milan (and all of you who helped me).
I can confirm that Evolution 3.8.2 works as it should. Events entered on 
my phone displays correctly in Evolution.


However, I am running Linux Mint Debian with Cinnamon desktop. I have 
not been able to compile Evolution 3.8 on that (too many dependencies 
which I cannot resolve - and my time is a little sparse at the moment 
due to heavy work load, so I have put it on hold (if, none of you, guys 
have some good advice...)). The way I was able to check it, was to 
download the most recent Mint 15 Cinnamon, install it in a Virtualbox 
guest, add gnome 3 with  *sudo add-apt-repository 
ppa:gnome3-team/gnome3. and install Evolution from there. Worked like a 
charm. I am probably, when work gets a bit calmer, installing Mint 15 
Cinnamon, with Evolution 3.8 on top.


Thank you!

Best regards
Vidar
*
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Vidar Evenrud Seeberg


Den 05/30/2013 11:49 PM, skrev David Woodhouse:
Hope I am posting correctly now...

The EWS_DEBUG part worked, but searching for the event entered on the
phone gave no results. Here is the event, entered for 20:00 on the
phone, but drifted two hours to 18:00:
BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY;LANGUAGE=en-US:Test20
DTSTART:20130602T18
DTEND:20130602T19
Hm, that's odd. Shouldn't those end with a 'Z' to indicate that they are
in GMT? Then they'd be correct, right? The meeting was actually at 18:00
GMT?

No. The meeting was at 20:00 (look at summary: Test20)

I'd like to see what we actually got back from the Exchange server for
this event — can you show the XML you see in the calendar-factory
output? From t:CalendarItem to /t:CalendarItem.
Actually, the output seems encoded in some way, so I do not know which 
calendar item is the correct. However, some CalendarItems have timezone 
and some have not. I guess the items entered on my phone are the ones 
without timezone. This is an example without timezone:

t:CalendarItem
  t:MimeContent 
CharacterSet=UTF-8QkVHSU46VkNBTEVOREFSDQpNRVRIT0Q6UFVCTElTSA0KUFJPRElEOk1pY3Jvc29mdCBFeGNoYW5nZSBTZXJ2ZXIgMjAxMA0KVkVSU0lPTjoyLjANCkJFR0lOOlZUSU1FWk9ORQ0KVFpJRDpXLiBFdXJvcGUgU3RhbmRhcmQgVGltZQ0KQkVHSU46U1RBTkRBUkQNCkRUU1RBUlQ6MTYwMTAxMDFUMDMwMDAwDQpUWk9GRlNFVEZST006KzAyMDANClRaT0ZGU0VUVE86KzAxMDANClJSVUxFOkZSRVE9WUVBUkxZO0lOVEVSVkFMPTE7QllEQVk9LTFTVTtCWU1PTlRIPTEwDQpFTkQ6U1RBTkRBUkQNCkJFR0lOOkRBWUxJR0hUDQpEVFNUQVJUOjE2MDEwMTAxVDAyMDAwMA0KVFpPRkZTRVRGUk9NOiswMTAwDQpUWk9GRlNFVFRPOiswMjAwDQpSUlVMRTpGUkVRPVlFQVJMWTtJTlRFUlZBTD0xO0JZREFZPS0xU1U7QllNT05USD0zDQpFTkQ6REFZTElHSFQNCkVORDpWVElNRVpPTkUNCkJFR0lOOlZFVkVOVA0KT1JHQU5JWkVSO0NOPVZpZGFyIFNlZWJlcmc6TUFJTFRPOnZpZGFyLnNlZWJlcmdAbm9yc3Zpbi5ubw0KU1VNTUFSWTtMQU5HVUFHRT1lbi1VUzpUZXN0IGVudGVyZWQgZm9yIDIwLTIxDQpEVFNUQVJUO1RaSUQ9Vy4gRXVyb3BlIFN0YW5kYXJkIFRpbWU6MjAxMzA2MDJUMjAwMDAwDQpEVEVORDtUWklEPVcuIEV1cm9wZSBTdGFuZGFyZCBUaW1lOjIwMTMwNjAyVDIxMDAwMA0KVUlEOjFmZTA1NmZkMzY3ODQ5NDc4ZWJiMzI0YmQyZmIwMjYwDQpDTEFTUzpQVUJMSUMNClBSSU9SSVRZOjUNCkRUU1RBTVA6MjAxMzA1MzFUMDY0MDQyWg0KVFJBTlNQOk9QQVFVRQ0KU1RBVFVTOkNPTkZJUk1FRA0KU0VRVUVOQ0U6MA0KWC1NSUNST1NPRlQtQ0RPLUFQUFQtU0VRVUVOQ0U6MA0KWC1NSUNST1NPRlQtQ0RPLU9XTkVSQVBQVElEOjIxMTExNzYwNzENClgtTUlDUk9TT0ZULUNETy1CVVNZU1RBVFVTOkJVU1kNClgtTUlDUk9TT0ZULUNETy1JTlRFTkRFRFNUQVRVUzpCVVNZDQpYLU1JQ1JPU09GVC1DRE8tQUxMREFZRVZFTlQ6RkFMU0UNClgtTUlDUk9TT0ZULUNETy1JTVBPUlRBTkNFOjENClgtTUlDUk9TT0ZULUNETy1JTlNUVFlQRTowDQpYLU1JQ1JPU09GVC1ESVNBTExPVy1DT1VOVEVSOkZBTFNFDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFSDQo=/t:MimeContent
  t:ItemId 
Id=AAMkADFmODk4OWM3LThkZTYtNDNiNy04MDI3LWE2MDFiNjEwMTVlZQBGAABfPsKLxmAeTqGBhPnLcSToBwDpmmDdm/HZQbnuhOn4fMvuAAABV6JlAADZpHxTQYzrRJ5/zjxxNiNuKCiFAAA= 
ChangeKey=DwAAABYAAADZpHxTQYzrRJ5/zjxxNiNuKvG3/

  t:HasAttachmentsfalse/t:HasAttachments
t:UID1fe056fd367849478ebb324bd2fb0260/t:UID
  t:TimeZoneUTC/t:TimeZone
/t:CalendarItem

And this is an example with timezone:
t:CalendarItem
  t:MimeContent 
CharacterSet=UTF-8QkVHSU46VkNBTEVOREFSDQpNRVRIT0Q6UFVCTElTSA0KUFJPRElEOk1pY3Jvc29mdCBFeGNoYW5nZSBTZXJ2ZXIgMjAxMA0KVkVSU0lPTjoyLjANCkJFR0lOOlZUSU1FWk9ORQ0KVFpJRDpSb21hbmNlIFN0YW5kYXJkIFRpbWUNCkJFR0lOOlNUQU5EQVJEDQpEVFNUQVJUOjE2MDEwMTAxVDAzMDAwMA0KVFpPRkZTRVRGUk9NOiswMjAwDQpUWk9GRlNFVFRPOiswMTAwDQpSUlVMRTpGUkVRPVlFQVJMWTtJTlRFUlZBTD0xO0JZREFZPS0xU1U7QllNT05USD0xMA0KRU5EOlNUQU5EQVJEDQpCRUdJTjpEQVlMSUdIVA0KRFRTVEFSVDoxNjAxMDEwMVQwMjAwMDANClRaT0ZGU0VURlJPTTorMDEwMA0KVFpPRkZTRVRUTzorMDIwMA0KUlJVTEU6RlJFUT1ZRUFSTFk7SU5URVJWQUw9MTtCWURBWT0tMVNVO0JZTU9OVEg9Mw0KRU5EOkRBWUxJR0hUDQpFTkQ6VlRJTUVaT05FDQpCRUdJTjpWRVZFTlQNCk9SR0FOSVpFUjtDTj1WaWRhciBTZWViZXJnOk1BSUxUTzp2aWRhci5zZWViZXJnQG5vcnN2aW4ubm8NCkRFU0NSSVBUSU9OO0xBTkdVQUdFPW5iLU5POlxuDQpTVU1NQVJZO0xBTkdVQUdFPW5iLU5POlRlc3QgZW50ZXJlZCBmb3IgMjEgaW4gT1dBDQpEVFNUQVJUO1RaSUQ9Um9tYW5jZSBTdGFuZGFyZCBUaW1lOjIwMTMwNjAxVDIxMDAwMA0KRFRFTkQ7VFpJRD1Sb21hbmNlIFN0YW5kYXJkIFRpbWU6MjAxMzA2MDFUMjIwMDAwDQpVSUQ6MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMEI0QTUxNjMxQ0M1RENFMDEwMDAwMDAwMDAwMDAwMDANCiAwMTAwMDAwMDBEN0VBRDI0NUVGMDg0MzQ1QjQ5MkUwOUZENUExNUI4Rg0KQ0xBU1M6UFVCTElDDQpQUklPUklUWTo1DQpEVFNUQU1QOjIwMTMwNTMxVDA2NTgwMVoNClRSQU5TUDpPUEFRVUUNClNUQVRVUzpDT05GSVJNRUQNClNFUVVFTkNFOjANCkxPQ0FUSU9OO0xBTkdVQUdFPW5iLU5POg0KWC1NSUNST1NPRlQtQ0RPLUFQUFQtU0VRVUVOQ0U6MA0KWC1NSUNST1NPRlQtQ0RPLU9XTkVSQVBQVElEOjIxMTExNzUzNDgNClgtTUlDUk9TT0ZULUNETy1CVVNZU1RBVFVTOkJVU1kNClgtTUlDUk9TT0ZULUNETy1JTlRFTkRFRFNUQVRVUzpCVVNZDQpYLU1JQ1JPU09GVC1DRE8tQUxMREFZRVZFTlQ6RkFMU0UNClgtTUlDUk9TT0ZULUNETy1JTVBPUlRBTkNFOjENClgtTUlDUk9TT0ZULUNETy1JTlNUVFlQRTowDQpYLU1JQ1JPU09GVC1ESVNBTExPVy1DT1VOVEVSOkZBTFNFDQpCRUdJTjpWQUxBUk0NCkFDVElPTjpESVNQTEFZDQpERVNDUklQVElPTjpSRU1JTkRFUg0KVFJJR0dFUjtSRUxBVEVEPVNUQVJUOi1QVDE1TQ0KRU5EOlZBTEFSTQ0KRU5EOlZFVkVOVA0KRU5EOlZDQUxFTkRBUg0K/t:MimeContent
  t:ItemId 

Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Milan Crha
On Thu, 2013-05-30 at 22:49 +0100, David Woodhouse wrote:
  DTSTART:20130602T18
  DTEND:20130602T19
 
 Hm, that's odd. Shouldn't those end with a 'Z' to indicate that they are
 in GMT? Then they'd be correct, right? The meeting was actually at 18:00
 GMT?

Hi,
let's call it UTC, not GMT, to have same terminology as in RFC. 

Date/time stored this way, without timezone, is called floating [1],
which means that it's in your case between 18 - 19 in whatever timezone
you see the event. If you read the section at [1] carefully, then you'll
notice that it's not good to use floating times, thus I'd say that the
phone software is a bit lazy (though it depends on actual data received
from the Exchange server).

A bug on evolution's side might be that it doesn't convert the time to
your Europe/Oslo timezone, but rather to UTC, and then convert it to
Europe/Oslo, but I imported your event into my calendar and it behaves
correctly according to [1], it sticks at 6PM to 7PM on Sunday June 2nd
either I look on it in EST or CET timezone (this is with git master,
development 3.9.2 version, but it might be quite the same as stable
3.8.2).

On Thu, 2013-05-30 at 21:06 +0200, Vidar Evenrud Seeberg wrote: 
 I hope this post comes to the right place. I had to reply based on the 
 digest since I did not have your single post. I have now disabled 
 digesting and hopefully I am on the right track now

Do not worry, it was only a hint from my side. By the way, in a digest,
you might be able to reply to an individual message by clicking the
button above each respective message, then you get a context menu, where
is an item to reply to that particular email.
Bye,
Milan

[1] http://tools.ietf.org/html/rfc5545#section-3.3.5

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Milan Crha
On Fri, 2013-05-31 at 09:09 +0200, Vidar Evenrud Seeberg wrote:
  t:TimeZoneUTC/t:TimeZone

Heh, so evolution-ews doesn't recognize UTC...

  t:TimeZone(UTC+01.00) Brussel, København, Madrid, Paris/t:TimeZone

...while it knows about the other time zones. Nice, in that case discard
my note about lazy phone software, and make this an evolution-ews bug.
Thanks for all the investigation here.

 By the way: I did not find a command like e-calendar-factory.
 The closest was evolution-calendar-factory, so I run the command
 EWS_DEBUG=2 /usr/lib/evolution/evolution-calendar-factory -w. Is that
 correct?

Yes, it's correct. Though it seems like you do not use 3.4.4, where it
was named e-calendar-factory (if I'm not mistaken).
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Vidar Evenrud Seeberg


Den 05/31/2013 09:34 AM, skrev Milan Crha:


...while it knows about the other time zones. Nice, in that case discard
my note about lazy phone software, and make this an evolution-ews bug.
Thanks for all the investigation here.
No problem. I am the one to thank you, guys. I have learn't a lot about 
mailinglists and Evolution. I will try to file a bug (havn't done that 
before, either). Is it enough to say that evolution-ews doesn't 
recognize UTC and describe how I enter events in phone, sync to Exchange 
and starts Evolution?



By the way: I did not find a command like e-calendar-factory.
The closest was evolution-calendar-factory, so I run the command
EWS_DEBUG=2 /usr/lib/evolution/evolution-calendar-factory -w. Is that
correct?

Yes, it's correct. Though it seems like you do not use 3.4.4, where it
was named e-calendar-factory (if I'm not mistaken).
Bye,
Milan
Hmm, strange, Evolution about dialog says 3.4.4. Synaptic says 3.4.4-1 
both for Evolution and Evolution-EWS

Thank you
Vidar

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list



___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Milan Crha
On Fri, 2013-05-31 at 09:51 +0200, Vidar Evenrud Seeberg wrote:
 Is it enough to say that evolution-ews doesn't 
 recognize UTC and describe how I enter events in phone, sync to Exchange 
 and starts Evolution?

Hi,
I just tested this with to-be 3.8.3 and it works fine there, thus I
guess it got fixed unintentionally, between your 3.4.4 and the 3.8.x.
Once you get to 3.8.x evolution(-ews), and purge your local cache of
events, then they'll be redownloaded and then shown on the right place.

 Hmm, strange, Evolution about dialog says 3.4.4. Synaptic says 3.4.4-1 
 both for Evolution and Evolution-EWS

You are right, that's my memory which is faulty here.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread David Woodhouse
On Fri, 2013-05-31 at 09:09 +0200, Vidar Evenrud Seeberg wrote:
 Den 05/30/2013 11:49 PM, skrev David Woodhouse:
  DTSTART:20130602T18
  DTEND:20130602T19
  Hm, that's odd. Shouldn't those end with a 'Z' to indicate that they are
  in GMT? Then they'd be correct, right? The meeting was actually at 18:00
  GMT?
 No. The meeting was at 20:00 (look at summary: Test20)

Remember, times are meaningless without timezones. You should *always*
specify the timezone unless it's completely obvious.

The meeting was at 20:00 in *what* time zone? I thought it was at 20:00
in your local time zone, GMT+2. Which makes it 18:00 GMT?

  I'd like to see what we actually got back from the Exchange server for
  this event — can you show the XML you see in the calendar-factory
  output? From t:CalendarItem to /t:CalendarItem.
 Actually, the output seems encoded in some way, so I do not know which 
 calendar item is the correct. 

They're base64-encoded. Here's the first one, which I think is the
interesting one:

BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:W. Europe Standard Time
BEGIN:STANDARD
DTSTART:16010101T03
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=Vidar Seeberg:MAILTO:vidar.seeb...@norsvin.no
SUMMARY;LANGUAGE=en-US:Test entered for 20-21
DTSTART;TZID=W. Europe Standard Time:20130602T20
DTEND;TZID=W. Europe Standard Time:20130602T21
UID:1fe056fd367849478ebb324bd2fb0260
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20130531T064042Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:276071
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
END:VEVENT
END:VCALENDAR

 However, some CalendarItems have timezone and some have not. 

Right. As I explained, you don't *need* to preserve the timezone for a
non-recurring meeting. As long as the time is correct, it doesn't
matter. It's quite normal to discard the original timezone and just
remember the actual time of the meeting in UTC.

 This is another ics for a test for a meeting at 20:00 to 21:00 entered 
 on the phone (exported from Evolution):
 BEGIN:VCALENDAR
 PRODID:-//Ximian//NONSGML Evolution Calendar//EN
 VERSION:2.0
 METHOD:PUBLISH
 BEGIN:VEVENT
 SUMMARY;LANGUAGE=en-US:Test entered for 20-21
 DTSTART:20130602T18
 DTEND:20130602T19
 UID:1fe056fd367849478ebb324bd2fb0260
 CLASS:PUBLIC
 PRIORITY:5
 DTSTAMP:20130531T064042Z
 TRANSP:OPAQUE
 STATUS:CONFIRMED
 SEQUENCE:0
 X-MICROSOFT-CDO-APPT-SEQUENCE:0
 X-MICROSOFT-CDO-OWNERAPPTID:276071
 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
 X-MICROSOFT-CDO-IMPORTANCE:1
 X-MICROSOFT-CDO-INSTTYPE:0
 X-MICROSOFT-DISALLOW-COUNTER:FALSE
 X-EVOLUTION-ITEMID:
   AAMkADFmODk4OWM3LThkZTYtNDNiNy04MDI3LWE2MDFiNjEwMTVlZQBGAABfPsKLxmAeTq
   GBhPnLcSToBwDpmmDdm/HZQbnuhOn4fMvuAAABV6JlAADZpHxTQYzrRJ5/zjxxNiNuKCiF
   AAA=
 X-EVOLUTION-CHANGEKEY:DwAAABYAAADZpHxTQYzrRJ5/zjxxNiNuKvG3
 END:VEVENT
 END:VCALENDAR

OK, so we can compare this with what Exchange actually gave us, which I
showed above. Exchange *did* give us a full timezone definition for W.
Europe Standard Time, and then defined the meeting as 20:00-21:00 in
that time zone. It looks like Evolution converted to UTC (18:00-19:00)
but failed to correctly represent that. It's stored it as a floating
time, as Milan said. Floating times (where the timezone isn't fixed,
and it's 18:00 in whatever time zone the viewer happens to be in at the
moment), are fairly much useless for any event other than hey, the sun
is overhead.

This might have happened because we don't usually expect Exchange to
give us non-recurring meetings in any timezone *other* than UTC, so this
code path isn't well-tested?

 This is an ics for an event entered in OWA for a meeting at 21:00 
 (exported from Evolution) :

 BEGIN:VTIMEZONE
 TZID:Romance Standard Time
 ...
 END:VTIMEZONE
 BEGIN:VEVENT
 SUMMARY;LANGUAGE=nb-NO:Test entered for 21 in OWA
 DTSTART;TZID=Romance Standard Time:20130601T21
 DTEND;TZID=Romance Standard Time:20130601T22

This one defines a time zone, then gives the meeting start/end in terms
of that timezone. It looks fine.

 This is an ics of an event entered in Outlook as exported by Evolution:
 BEGIN:VCALENDAR
 PRODID:-//Ximian//NONSGML Evolution Calendar//EN
 VERSION:2.0
 METHOD:PUBLISH
 BEGIN:VTIMEZONE
 TZID:(GMT+01:00) Amsterdam\, Berlin\, Bern\, Rome\, Stockholm\, Vienna
 ...
 END:VTIMEZONE
 BEGIN:VEVENT
 SUMMARY;LANGUAGE=nb-NO:Test 2100 entered in Outlook
 DTSTART;TZID=(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
   

Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Patryk Benderz
[cut]
 Trying to do it right this time... :)
[cut]
Well, it didn't work out. Like Pete Biggs wrote - you should delete all
irrelevant citations/quotations. This one which you are reading now, is
an example how it should look like.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread David Woodhouse
On Fri, 2013-05-31 at 09:27 +0200, Milan Crha wrote:
 On Thu, 2013-05-30 at 22:49 +0100, David Woodhouse wrote:
   DTSTART:20130602T18
   DTEND:20130602T19
  
  Hm, that's odd. Shouldn't those end with a 'Z' to indicate that they are
  in GMT? Then they'd be correct, right? The meeting was actually at 18:00
  GMT?
 
   Hi,
 let's call it UTC, not GMT, to have same terminology as in RFC. 

I sometimes like to use 'GMT' just to reinforce the GMT does *not* mean
UK time message. :)

 Date/time stored this way, without timezone, is called floating [1],
 which means that it's in your case between 18 - 19 in whatever timezone
 you see the event. If you read the section at [1] carefully, then you'll
 notice that it's not good to use floating times, thus I'd say that the
 phone software is a bit lazy (though it depends on actual data received
 from the Exchange server).
 
 A bug on evolution's side might be that it doesn't convert the time to
 your Europe/Oslo timezone, but rather to UTC, 

It's allowed to convert it to UTC. And as I said, I'd usually expect
*Exchange* do to that for a non-recurring meeting anyway.

 and then convert it to Europe/Oslo, 

When you display a meeting, it's always converted to the local timezone,
whatever that happens to be at the time.

-- 
dwmw2



smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Vidar Evenrud Seeberg


Den 05/31/2013 10:56 AM, skrev David Woodhouse:

Remember, times are meaningless without timezones. You should *always*
specify the timezone unless it's completely obvious.

The meeting was at 20:00 in *what* time zone? I thought it was at 20:00
in your local time zone, GMT+2. Which makes it 18:00 GMT?

Sorry about that! The meeting was at 20:00 GMT+2
  
They're base64-encoded. Here's the first one, which I think is the

interesting one:

Correct: this was entered on my phone as a meeting at 20:00 GMT+2

BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:W. Europe Standard Time
BEGIN:STANDARD
DTSTART:16010101T03
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=Vidar Seeberg:MAILTO:vidar.seeb...@norsvin.no
SUMMARY;LANGUAGE=en-US:Test entered for 20-21
DTSTART;TZID=W. Europe Standard Time:20130602T20
DTEND;TZID=W. Europe Standard Time:20130602T21
UID:1fe056fd367849478ebb324bd2fb0260
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20130531T064042Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:276071
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
END:VEVENT
END:VCALENDAR

Milan reports the issue being fixed accidently in the up and coming 
3.8.3. I will try that as soon I get hold of it


Thank you for good explanations and help. I will report back as soon as 
I have tested 3.8.3


Regards
Vidar
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Vidar Evenrud Seeberg


Den 05/31/2013 10:46 AM, skrev Milan Crha:
Hi, I just tested this with to-be 3.8.3 and it works fine there, thus 
I guess it got fixed unintentionally, between your 3.4.4 and the 
3.8.x. Once you get to 3.8.x evolution(-ews), and purge your local 
cache of events, then they'll be redownloaded and then shown on the 
right place. 

Is it possible to get hold of 3.8.3 currently?


You are right, that's my memory which is faulty here.
Bye,
Milan


No problem!

Thank you
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Patrick O'Callaghan
On Fri, 2013-05-31 at 10:10 +0100, David Woodhouse wrote:
  let's call it UTC, not GMT, to have same terminology as in RFC. 
 
 I sometimes like to use 'GMT' just to reinforce the GMT does *not*
 mean UK time message. :)

pedantry
It's certainly true that GMT is not the same as UK time, but even GMT is
not really a standard timezone (though it's still used in some
countries). UTC is the correct term AFAIK.
/pedantry

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread David Woodhouse
On Fri, 2013-05-31 at 06:47 -0430, Patrick O'Callaghan wrote:
 On Fri, 2013-05-31 at 10:10 +0100, David Woodhouse wrote:
   let's call it UTC, not GMT, to have same terminology as in RFC. 
  
  I sometimes like to use 'GMT' just to reinforce the GMT does *not*
  mean UK time message. :)
 
 pedantry
 It's certainly true that GMT is not the same as UK time, but even GMT is
 not really a standard timezone (though it's still used in some
 countries). UTC is the correct term AFAIK.
 /pedantry

I'm not quite sure what you mean when you say that GMT isn't a standard
timezone. What type of standard do you mean? It is used as the legal
time (or the basis for it) in a number of countries, and is thus in the
timezone database. What more does a timezone need, to be a standard
timezone?

Strictly speaking, GMT and UTC are *different* things. They can differ
by up to a second. But that isn't really important. For most practical
purposes, they are interchangeable.

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Milan Crha
On Fri, 2013-05-31 at 11:15 +0200, Vidar Evenrud Seeberg wrote:
 Is it possible to get hold of 3.8.3 currently?

The release is planned on June 10th (or around it, if anything urgent
will rise). I would rather wait, than try to compile from git.
Bye,
Milan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-31 Thread Milan Crha
On Fri, 2013-05-31 at 16:50 +0200, Milan Crha wrote:
 On Fri, 2013-05-31 at 11:15 +0200, Vidar Evenrud Seeberg wrote:
  Is it possible to get hold of 3.8.3 currently?
 
 The release is planned on June 10th (or around it, if anything urgent
 will rise). I would rather wait, than try to compile from git.

Oops, thinking of it, I believe any 3.8.x, not only 3.8.3 on which I
tested this, has this fixed, thus you can pick whichever 3.8.x you've
available.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread Vidar Evenrud Seeberg
On Thu, 2013-05-30 at 06:51 +, evolution-list-requ...@gnome.org
wrote:

 Message: 4
 Date: Wed, 29 May 2013 16:10:06 +0200
 From: Milan Crha mc...@redhat.com
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID: 1369836606.3346.9.camel@zyxPad2
 Content-Type: text/plain; charset=UTF-8
 
 On Wed, 2013-05-29 at 12:35 +0200, Vidar Evenrud Seeberg wrote:
  Thank you. Comforting to see that it is not just me Our Exchange
  server is 2010 and the timezone for the server is UTC+1 +
 summertime,
  which altogether should be summarized to my computers and my phone's
 +2
  timezone. I will ask the IT management department if there is a
 possible
  upgrade up front.
 
 Hi,
 it might be better to start with evolution itself, not with your
 admins.
 I suggest to debug what the server returns to you. One UI way is to
 open
 the event editor and turn on View-Time zone, then you'll see what
 time
 zone is the event at.
 
 More core debugging looks like:
 a) close evolution and all its related processes, namely
e-calendar-factory process
 b) open a terminal and run there the factory with debugging on:
$ EWS_DEBUG=2 /usr/libexec/e-calendar-factory -w
notes: 1) path on your system can be different; 2) if -2 doesn't
 work
in 3.4, then run it without it).
 c) enter a new appointment on your phone
 d) run evolution on another terminal
you should see printed new lines on the factory console. I guess
if you entered some recognizable summary of the event, then you'll
see where it starts. The raw data is important for debugging.
 e) when the event shows in evolution, right-click it and choose
Save..., pick some nice name for it. Open it in a text editor and
delete from there anything you'll feel like being personal and/or
sensitive data (or just replace it with ).
 
 Attach the saved event here, and if you can then also the part from
 the
 factory log where the event was received (I'm not sure if it'll be
 visible at all, if not, then never mind on this).
 
 Bye,
 Milan
 
 P.S.: it seems to me that you use message digests on this list, it'll
 be
 better to turn that off (follow URL at the very bottom of this and
 every
 email on this list), then you can reply to individual messages without
 breaking threading (and making the message hard to follow, because I
 was
 about to discard your whole message after reaching the first
 reply-part in it). Thanks.

Thank you, Milan
Starting to get the grip on mailing lists... sorry for slow learning. I
have turned off digesting. This is my last post doing it the wrong
way. If I have understood correctly I will receive a mail for each
reply to my posts and I will reply to them again. Correct me if I am
wrong... (until now I have only received the digest and replied to that)
Since I am at the office now, I will look into your suggestions this
evening. Thank you for those. I hope the debugging gives some useful
results. Posting back this evening
Best regards
Vidar
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread Vidar Evenrud Seeberg
On Thu, 2013-05-30 at 06:51 +, evolution-list-requ...@gnome.org
wrote:

 Message: 6
 Date: Wed, 29 May 2013 20:01:44 +0100 (BST)
 From: Tom Davies tomdavie...@yahoo.co.uk
 To: evolution-list@gnome.org evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID:
 1369854104.78273.yahoomail...@web28905.mail.ir2.yahoo.com
 Content-Type: text/plain; charset=iso-8859-1
 
 Hi :)
 I had a problem with all the Windows machines on the company network
 being 10 minutes off.? Only booting machines into Ubuntu gave the
 correct time.? 
 
 
 I think it turned out to be something to do with the Windows Server
 authentication (Kerberos?) whereas all the Ubuntu machines only have
 local logins on each desktop machine.? 
 
 
 I'm not sure if that's helpful at all!? I hope so tho!? 
 Regards from 
 Tom :)? 

Thank you, Tom
I will follow the directions given by Milan. Hopefully some useful
debugging information will give us some hints.
Milan also gave me some good advice on using mailing lists. I hope I
have understood correctly (me - slow learner) and my posts (after this
one) will be made more correctly
Best regards
Vidar
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread Tom Davies
Hi :)
Yes, Milan's advice is much better.  I hadn't seen it before i posted :(  


Wrt mailing lists this one is quite strict and if you get used to this one it 
stands you in good stead with all the other projects.  Annoyingly some email 
clients and all handheld devices make it impossible to bottom post so i usually 
either avoid posting or delete out all the previous stuff so that no-one has 
any context.  LibreOffice and Ubuntu mailing lists are reasonably ok with 
top-posting so i mostly stay over at LibreOffice.  Also i only joined this list 
to learn through lurking.  It's kinda working.  


Regards from 

Tom :)  
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread Patrick O'Callaghan
On Thu, 2013-05-30 at 09:17 +0100, Tom Davies wrote:
 Hi :)
 Yes, Milan's advice is much better.  I hadn't seen it before i posted :(  
 
 
 Wrt mailing lists this one is quite strict and if you get used to this one it 
 stands you in good stead with all the other projects.  Annoyingly some email 
 clients and all handheld devices make it impossible to bottom post so i 
 usually either avoid posting or delete out all the previous stuff so that 
 no-one has any context.  LibreOffice and Ubuntu mailing lists are reasonably 
 ok with top-posting so i mostly stay over at LibreOffice.  Also i only joined 
 this list to learn through lurking.  It's kinda working.  

All handheld devices is overreaching. It's true that it's difficult to
bottom post on a Blackberry (it can be done with cutting and pasting but
it's a real pain), but on my Android phone the Gmail app even has a
button for respond inline, which is exactly what is needed (oddly
enough the Gmail web client doesn't have this).

Some mailing lists have guidelines on posting styles. The Evo list is
not one of them so in that sense it's not at all strict as you say.
That said, most people here are comfortable with widely-accepted
practice on Internet lists, i.e. no HTML, no replies to digests, don't
hijack threads, and trim the quoted material to what's relevant when
replying (don't just delete it all), with your contributions inserted
after the part you're commenting on, i.e. inline posting.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread David Woodhouse
On Thu, 2013-05-30 at 09:17 +0100, Tom Davies wrote:
 Annoyingly some email clients and all handheld devices make it
 impossible to bottom post so i usually either avoid posting or delete
 out all the previous stuff so that no-one has any context. 

We have plenty of context. The In-Reply-To: and/or References: headers
in your own message serve to explicitly identify the message to which
you replied, and we can read that quite easily.

Unfortunately, that message itself is very hard to read. Quite why Vidar
thought it would be helpful to repeat part of an older email which reads
Message: 6 Date: Wed, 29 May 2013... and a bunch of other irrelevant
stuff, I have no idea. Don't people *read* what's in front of them
before hitting 'send', these days?

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread Vidar Evenrud Seeberg


Den 05/30/2013 08:51 AM, skrev evolution-list-requ...@gnome.org:


Hi,
it might be better to start with evolution itself, not with your admins.
I suggest to debug what the server returns to you. One UI way is to open
the event editor and turn on View-Time zone, then you'll see what time
zone is the event at.
Now, we're getting somewhere... When opening an event created on my 
phone, no time zone appears, just an active Select... box from which I 
can choose time zone. Opening an event created in Outlook, the time zone 
says GMT+1. Opening an event created in OWA, the time zone says Romance 
Standard Time. Creating an event in Evolution and opening it again 
afterwards it says Europe/Oslo, which is the system's time. The main 
thing is that events created on the phone does not appear with time zone 
set in Evolution. I also tried to view the time zone in Outlook, and all 
are viewed as GMT+1, although events created in Evolution or on the 
phone says Belgrade... and events created in OWA says Brussels...

More core debugging looks like:
a) close evolution and all its related processes, namely
e-calendar-factory process
b) open a terminal and run there the factory with debugging on:
$ EWS_DEBUG=2 /usr/libexec/e-calendar-factory -w
notes: 1) path on your system can be different; 2) if -2 doesn't work
in 3.4, then run it without it).
c) enter a new appointment on your phone
d) run evolution on another terminal
you should see printed new lines on the factory console. I guess
if you entered some recognizable summary of the event, then you'll
see where it starts. The raw data is important for debugging.
e) when the event shows in evolution, right-click it and choose
Save..., pick some nice name for it. Open it in a text editor and
delete from there anything you'll feel like being personal and/or
sensitive data (or just replace it with ).

Attach the saved event here, and if you can then also the part from the
factory log where the event was received (I'm not sure if it'll be
visible at all, if not, then never mind on this).

Bye,
Milan
The EWS_DEBUG part worked, but searching for the event entered on the 
phone gave no results. Here is the event, entered for 20:00 on the 
phone, but drifted two hours to 18:00:

BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY;LANGUAGE=en-US:Test20
DTSTART:20130602T18
DTEND:20130602T19
UID:1028db8dcfc0465e936a87d8027ade0d
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20130530T185125Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:273895
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-EVOLUTION-ITEMID:
 AAMkADFmODk4OWM3LThkZTYtNDNiNy04MDI3LWE2MDFiNjEwMTVlZQBGAABfPsKLxmAeTq
 GBhPnLcSToBwDpmmDdm/HZQbnuhOn4fMvuAAABV6JlAADZpHxTQYzrRJ5/zjxxNiNuKCiD
 AAA=
X-EVOLUTION-CHANGEKEY:DwAAABYAAADZpHxTQYzrRJ5/zjxxNiNuKuxn
END:VEVENT
END:VCALENDAR

P.S.: it seems to me that you use message digests on this list, it'll be
better to turn that off (follow URL at the very bottom of this and every
email on this list), then you can reply to individual messages without
breaking threading (and making the message hard to follow, because I was
about to discard your whole message after reaching the first
reply-part in it). Thanks.
I hope this post comes to the right place. I had to reply based on the 
digest since I did not have your single post. I have now disabled 
digesting and hopefully I am on the right track now

Best regards
Vidar
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-30 Thread David Woodhouse
On Thu, 2013-05-30 at 21:06 +0200, Vidar Evenrud Seeberg wrote:
 Den 05/30/2013 08:51 AM, skrev evolution-list-requ...@gnome.org:
 
  Hi,
  it might be better to start with evolution itself, not with your admins.
  I suggest to debug what the server returns to you. One UI way is to open
  the event editor and turn on View-Time zone, then you'll see what time
  zone is the event at.
 Now, we're getting somewhere... When opening an event created on my 
 phone, no time zone appears, just an active Select... box from which I 
 can choose time zone. Opening an event created in Outlook, the time zone 
 says GMT+1.

Careful; Outlook (and most things Microsoft) are very broken here. They
say GMT to refer to UK time, which is only actually GMT during the
winter, and GMT+1 during the summer. During the summer months they have
a similar off-by-one error in all time zones. I assume there is similar
brokenness in the southern hemisphere but I don't know exactly how it
manifests itself.

So it's actually expected that you'll see Central European Time (which
is currently GMT+2) described as GMT+1 at least in cosmetic textual
things from Microsoft.

In a typical display of their quality engineering, they at one point
attempted to fix this bug by adding a disclaimer to outbound calendar
invitations, warning the user that the GMT offset may be wrong :)

However, that's mostly just cosmetic, in the text of the description
etc. In the ical invite itself, things should usually be correct.

  Opening an event created in OWA, the time zone says Romance 
 Standard Time. Creating an event in Evolution and opening it again 
 afterwards it says Europe/Oslo, which is the system's time.

In Exchange, a non-recurring event is generally expressed in GMT. (And
thankfully I mean real GMT this time; the stupidity described above is
mostly only cosmetic). Think about it: there's no *point* in preserving
the original time zone in a non-recurring event. If it's 12:00 GMT or
13:00 UK time or 14:00 Brussels time, that's all the *same*. The only
time the original timezone ever matters is for *recurring* events, when
the daylight savings rules need to be applied on the right day of the
year.

 The EWS_DEBUG part worked, but searching for the event entered on the 
 phone gave no results. Here is the event, entered for 20:00 on the 
 phone, but drifted two hours to 18:00:
 BEGIN:VCALENDAR
 PRODID:-//Ximian//NONSGML Evolution Calendar//EN
 VERSION:2.0
 METHOD:PUBLISH
 BEGIN:VEVENT
 SUMMARY;LANGUAGE=en-US:Test20
 DTSTART:20130602T18
 DTEND:20130602T19

Hm, that's odd. Shouldn't those end with a 'Z' to indicate that they are
in GMT? Then they'd be correct, right? The meeting was actually at 18:00
GMT?

I'd like to see what we actually got back from the Exchange server for
this event — can you show the XML you see in the calendar-factory
output? From t:CalendarItem to /t:CalendarItem.

-- 
dwmw2



smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Vidar Evenrud Seeberg


Den 05/29/2013 04:05 AM, skrev evolution-list-requ...@gnome.org:

Date: Tue, 28 May 2013 18:32:01 -0430
From: Patrick O'Callaghan p...@usb.ve
To: evolution-list@gnome.org
Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
Evolution
Message-ID: 1369782121.5616.9.ca...@bree.homelinux.com
Content-Type: text/plain; charset=UTF-8

Thank you for replying, Patric

On Tue, 2013-05-28 at 22:15 +0200, Vidar Evenrud Seeberg wrote:

When entering appointments/events on my phone (using either SPlanner
or Touchdown) the appointments drift with two hours when picked up by
Evolution. If entering an appointment from 10:00 to 11:00 on the
phone, it shows up in Evolution from 8:00 to 9:00.

When you say it drifts do you mean it's exactly 2 hours off, or that
it varies by up to 2 hours?

It is always off by two hours (which is the offset from timezone 0.)


Do all the various components agree on the timezone and the current
time? I.e. if the Windows machine says it's 10am, does the Linux machine
also say it's 10am? How about the phone?

poc

The timezone and the time is set equally on both PCs and phone

vidar

Original post (not sure if I should attach this, but doing it for 
including all relevant information):


Hello again!

I have posted this question before. However I was not used to
communicating using mailing lists, so I screwd up the whole issue. Now,
trying again!

My Linux computer:
Linux Mint DE, Update Pack 6 (latest)
TimeZone Europe/Oslo, which currently means +2, summer time
Time synchronized using NTP
Evolution 3.4.4 configured to use system time zone
EWS plugin version 3.4.4-1 to Evolution for syncing with office Exchange
2010 server

I am also occasionally using Outlook 2010 installed on a Windows 7 pc or
in a Virtualbox Windows XP guest on a Linux host.

I am also frequently using Outlook Web Access (OWA) since Evolution
picks up events entered using my Samsung S3 Android phone wrong.

My phone:
Samsung S3 Android version 4.1.2
Timezone and time configured to automatically being fetched from the
network (which probably means from the nearest cell)
Events and appointments entered using both stock SPlanner calendar
application and Touchdown for Exchange app. The same sync-problems occur
no matter which of these two calendar applications I use for entering
appointments.

My problem:
When entering appointments/events on my phone (using either SPlanner or
Touchdown) the appointments drift with two hours when picked up by
Evolution. If entering an appointment from 10:00 to 11:00 on the phone,
it shows up in Evolution from 8:00 to 9:00. This is how I do it (for
reproduction):
1. Enter appointment on phone in Touchdown or SPlanner
2. Initiate sync on phone with office Exchange server (automatic sync
causes same problem)
3. Start Evolution on pc
4. Appointment entered on phone shows two hours earlier in Evolution
calendar.
5. For checking I have also opened OWA and Outlook, and the appointment
shows correctly there

I have also checked:
- As noted: appointments entered on phone shows correctly in OWA and Outlook
- Appointments entered in Evolution syncs correctly to OWA, Outlook and
phone
- Appointments entered in OWA and Outlook syncs correctly to both phone
and Evolution.

I have also tried:
- Setting timezone to ±0 on the phone. This made all appointments
synced from Exchange server showing two hours earlier than correct. Not
good...
- Setting timezone to ±0 on the PC and/or in Evolution causing
Evolution showing all appointments synced from Exchange server two hours
earlier than correct. Not good either...

Conclusion:
- All syncing between Exchange and Evolution work as expected in both
directions as long as appointments are entered in OWA, Outlook or Evolution
- Appointments entered in OWA, Outlook and Evolution sync as expected TO
phone
- Appointments entered on phone sync correctly to OWA and Outlook
- Appointments entered on phone sync NOT correctly to Evolution (of
course with Exchange 2010 server inbetween)
- And: I also hava a Samsung Galaxy Tab with Android 4.0.4 in which also
appointments sync correctly to OWA and Outlook, but NOT correctly to
Evolution

First:
- Can anybody reproduce this behavior?
Second:
- Do anybody have some suggestions for solving this issue?

I really like Evolution a lot. However, this behavior prevents me from
using it since I enter appointments on the phone as often as in
Evolution. For now I am forced to use OWA, which I do not like very much...

Best regards
Vidar Evenrud Seeberg


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Patryk Benderz
[cut]
  Now, trying again!
[cut]
Post looks great. Check differences between OS and BIOS time set on
each machine, including phone, however last one may not be trivial.
I do not know Evolution code handles setting appointment incoming from
different sources, but I imagine some parts of code may check OS time,
wile others can check BIOS time. This would explain time difference from
UTC.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Pete Biggs

  When you say it drifts do you mean it's exactly 2 hours off, or that
  it varies by up to 2 hours?
 It is always off by two hours (which is the offset from timezone 0.)
 
  Do all the various components agree on the timezone and the current
  time? I.e. if the Windows machine says it's 10am, does the Linux machine
  also say it's 10am? How about the phone?
 
  poc
 The timezone and the time is set equally on both PCs and phone

What about the exchange server?  Do you have any access to that to see
what timezone it is set to?

 
 Original post (not sure if I should attach this, but doing it for 
 including all relevant information):

No, don't include the original - if you reply to a message to the list,
use Ctrl-L (to reply to the list), that will set all the threading
parameters properly so your message will appear in context with all the
others so there is no need to include the original message.  In fact
good list / email etiquette is to remove any parts of the message that
aren't necessary to the answers you are giving.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Pete Biggs

   Post looks great. Check differences between OS and BIOS time set on
 each machine, including phone, however last one may not be trivial.
   I do not know Evolution code handles setting appointment incoming from
 different sources, but I imagine some parts of code may check OS time,
 wile others can check BIOS time. This would explain time difference from
 UTC.

It's unlikely that Evolution (or anything else in user land) will look
at the BIOS time - the standard time is the system time and that is
(very) easily accessed through standard system calls.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Pete Biggs

 
 When entering appointments/events on my phone (using either SPlanner
 or Touchdown) the appointments drift with two hours when picked up by
 Evolution. If entering an appointment from 10:00 to 11:00 on the
 phone, it shows up in Evolution from 8:00 to 9:00. This is how I do it
 (for reproduction):

I was just going to say that I too see the issues - but having just
looked at my Exchange/EWS calendar (I don't use it very often) and put
some new items in it, everything looks to be OK.  I've certainly seen
things that were and hour off (even all day appointments that went
from 1am to 1am), but they seem to have resolved themselves.  I wonder
if an update to Exchange fixed it ('cos I know our Exchange server was
updated recently).

P.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Vidar Evenrud Seeberg
On Wed, 2013-05-29 at 09:48 +, evolution-list-requ...@gnome.org
wrote:

 
 
 
 
 
 
 
 
 
 
 
 Date: Wed, 29 May 2013 09:06:06 +0200
 From: Patryk Benderz patryk.bend...@esp.pl
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID: 1369811166.10214.8.camel@esp-patben-lin.espdx1.local
 Content-Type: text/plain; charset=UTF-8
 
 [cut]
   Now, trying again!
 [cut]
 Post looks great. Check differences between OS and BIOS time
 set on
 each machine, including phone, however last one may not be trivial.
 I do not know Evolution code handles setting appointment
 incoming from
 different sources, but I imagine some parts of code may check OS time,
 wile others can check BIOS time. This would explain time difference
 from
 UTC.

I will check this evening. However, one post says Evolution uses System
time and not BIOS time. Don't know how to find BIOS time for the phone,
but I will google a bit for it

 
 -- 
 Patryk LeadMan Benderz
 Linux Registered User #377521
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments
 
 
 
 --
 
 Message: 6
 Date: Wed, 29 May 2013 10:15:47 +0100
 From: Pete Biggs p...@biggs.org.uk
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID: 1369818947.27815.4.ca...@snoopy.chem.ox.ac.uk
 Content-Type: text/plain; charset=UTF-7
 
 
   When you say it drifts do you mean it's exactly 2 hours off, or
 that
   it varies by up to 2 hours?
  It is always off by two hours (which is the offset from timezone
 0.)
  
   Do all the various components agree on the timezone and the
 current
   time? I.e. if the Windows machine says it's 10am, does the Linux
 machine
   also say it's 10am? How about the phone?
  
   poc
  The timezone and the time is set equally on both PCs and phone
 
 What about the exchange server?  Do you have any access to that to see
 what timezone it is set to?

Our Exchange server is 2010 and the timezone for the server is UTC+1 +
summertime, which altogether should be summarized to my computers' and
my phone's +2 timezone

 
  
  Original post (not sure if I should attach this, but doing it for 
  including all relevant information):
 
 No, don't include the original - if you reply to a message to the
 list,
 use Ctrl-L (to reply to the list), that will set all the threading
 parameters properly so your message will appear in context with all
 the
 others so there is no need to include the original message.  In fact
 good list ? email etiquette is to remove any parts of the message that
 aren't necessary to the answers you are giving.
 
 P.
 

Trying to do it right this time... :)

 
 
 --
 
 Message: 7
 Date: Wed, 29 May 2013 10:21:45 +0100
 From: Pete Biggs p...@biggs.org.uk
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID: 1369819305.27815.8.ca...@snoopy.chem.ox.ac.uk
 Content-Type: text/plain; charset=UTF-7
 
 
Post looks great. Check differences between OS and BIOS time
 set on
  each machine, including phone, however last one may not be trivial.
I do not know Evolution code handles setting appointment
 incoming from
  different sources, but I imagine some parts of code may check OS
 time,
  wile others can check BIOS time. This would explain time difference
 from
  UTC.
 
 It's unlikely that Evolution (or anything else in user land) will look
 at the BIOS time - the standard time is the system time and that is
 (very) easily accessed through standard system calls.
 
 P.

Could there be Evolution looking at other time information than phone,
OWA and Outlook looks at? (Not sure what I am asking about, but could it
be more than one time/date field living in Exchange 2010 server, where
OWA, Outlook and phone looks at one field while Evolution looks at
another)?

 
 
 
 --
 
 Message: 8
 Date: Wed, 29 May 2013 10:47:58 +0100
 From: Pete Biggs p...@biggs.org.uk
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
 Evolution
 Message-ID: 1369820878.27815.19.ca...@snoopy.chem.ox.ac.uk
 Content-Type: text/plain; charset=UTF-7
 
 
  
  When entering appointments?events on my phone (using either SPlanner
  or Touchdown) the appointments drift with two hours when picked up
 by
  Evolution. If entering an appointment from 10:00 to 11:00 on the
  phone, it shows up in Evolution from 8:00 to 9:00. This is how I do
 it
  (for reproduction):
 
 I was just going to say that I too see the issues - but having just
 looked at my Exchange?EWS calendar (I don't use it very often) and put
 some new items in it, everything looks to be OK.  I've certainly seen
 things that were and hour off (even all day appointments that went
 from

Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Milan Crha
On Wed, 2013-05-29 at 12:35 +0200, Vidar Evenrud Seeberg wrote:
 Thank you. Comforting to see that it is not just me Our Exchange
 server is 2010 and the timezone for the server is UTC+1 + summertime,
 which altogether should be summarized to my computers and my phone's +2
 timezone. I will ask the IT management department if there is a possible
 upgrade up front.

Hi,
it might be better to start with evolution itself, not with your admins.
I suggest to debug what the server returns to you. One UI way is to open
the event editor and turn on View-Time zone, then you'll see what time
zone is the event at.

More core debugging looks like:
a) close evolution and all its related processes, namely
   e-calendar-factory process
b) open a terminal and run there the factory with debugging on:
   $ EWS_DEBUG=2 /usr/libexec/e-calendar-factory -w
   notes: 1) path on your system can be different; 2) if -2 doesn't work
   in 3.4, then run it without it).
c) enter a new appointment on your phone
d) run evolution on another terminal
   you should see printed new lines on the factory console. I guess
   if you entered some recognizable summary of the event, then you'll
   see where it starts. The raw data is important for debugging.
e) when the event shows in evolution, right-click it and choose
   Save..., pick some nice name for it. Open it in a text editor and
   delete from there anything you'll feel like being personal and/or
   sensitive data (or just replace it with ).

Attach the saved event here, and if you can then also the part from the
factory log where the event was received (I'm not sure if it'll be
visible at all, if not, then never mind on this).

Bye,
Milan

P.S.: it seems to me that you use message digests on this list, it'll be
better to turn that off (follow URL at the very bottom of this and every
email on this list), then you can reply to individual messages without
breaking threading (and making the message hard to follow, because I was
about to discard your whole message after reaching the first
reply-part in it). Thanks.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Patrick O'Callaghan
On Wed, 2013-05-29 at 08:55 +0200, Vidar Evenrud Seeberg wrote:
 Den 05/29/2013 04:05 AM, skrev evolution-list-requ...@gnome.org:
  Date: Tue, 28 May 2013 18:32:01 -0430
  From: Patrick O'Callaghan p...@usb.ve
  To: evolution-list@gnome.org
  Subject: Re: [Evolution] Time drifting using Android - Exchange 2010 -
  Evolution
  Message-ID: 1369782121.5616.9.ca...@bree.homelinux.com
  Content-Type: text/plain; charset=UTF-8
 Thank you for replying, Patric
  On Tue, 2013-05-28 at 22:15 +0200, Vidar Evenrud Seeberg wrote:
  When entering appointments/events on my phone (using either SPlanner
  or Touchdown) the appointments drift with two hours when picked up by
  Evolution. If entering an appointment from 10:00 to 11:00 on the
  phone, it shows up in Evolution from 8:00 to 9:00.
  When you say it drifts do you mean it's exactly 2 hours off, or that
  it varies by up to 2 hours?
 It is always off by two hours (which is the offset from timezone 0.)

OK

 Original post (not sure if I should attach this, but doing it for 
 including all relevant information):

Definitely not. That's what threading is for.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-29 Thread Tom Davies
Hi :)
I had a problem with all the Windows machines on the company network being 10 
minutes off.  Only booting machines into Ubuntu gave the correct time.  


I think it turned out to be something to do with the Windows Server 
authentication (Kerberos?) whereas all the Ubuntu machines only have local 
logins on each desktop machine.  


I'm not sure if that's helpful at all!  I hope so tho!  
Regards from 
Tom :)  
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-28 Thread Vidar Evenrud Seeberg

Hello again!

I have posted this question before. However I was not used to 
communicating using mailing lists, so I screwd up the whole issue. Now, 
trying again!


My Linux computer:
Linux Mint DE, Update Pack 6 (latest)
TimeZone Europe/Oslo, which currently means +2, summer time
Time synchronized using NTP
Evolution 3.4.4 configured to use system time zone
EWS plugin version 3.4.4-1 to Evolution for syncing with office Exchange 
2010 server


I am also occasionally using Outlook 2010 installed on a Windows 7 pc or 
in a Virtualbox Windows XP guest on a Linux host.


I am also frequently using Outlook Web Access (OWA) since Evolution 
picks up events entered using my Samsung S3 Android phone wrong.


My phone:
Samsung S3 Android version 4.1.2
Timezone and time configured to automatically being fetched from the 
network (which probably means from the nearest cell)
Events and appointments entered using both stock SPlanner calendar 
application and Touchdown for Exchange app. The same sync-problems occur 
no matter which of these two calendar applications I use for entering 
appointments.


My problem:
When entering appointments/events on my phone (using either SPlanner or 
Touchdown) the appointments drift with two hours when picked up by 
Evolution. If entering an appointment from 10:00 to 11:00 on the phone, 
it shows up in Evolution from 8:00 to 9:00. This is how I do it (for 
reproduction):

1. Enter appointment on phone in Touchdown or SPlanner
2. Initiate sync on phone with office Exchange server (automatic sync 
causes same problem)

3. Start Evolution on pc
4. Appointment entered on phone shows two hours earlier in Evolution 
calendar.
5. For checking I have also opened OWA and Outlook, and the appointment 
shows correctly there


I have also checked:
- As noted: appointments entered on phone shows correctly in OWA and Outlook
- Appointments entered in Evolution syncs correctly to OWA, Outlook and 
phone
- Appointments entered in OWA and Outlook syncs correctly to both phone 
and Evolution.


I have also tried:
- Setting timezone to +/-0 on the phone. This made all appointments 
synced from Exchange server showing two hours earlier than correct. Not 
good...
- Setting timezone to +/-0 on the PC and/or in Evolution causing 
Evolution showing all appointments synced from Exchange server two hours 
earlier than correct. Not good either...


Conclusion:
- All syncing between Exchange and Evolution work as expected in both 
directions as long as appointments are entered in OWA, Outlook or Evolution
- Appointments entered in OWA, Outlook and Evolution sync as expected TO 
phone

- Appointments entered on phone sync correctly to OWA and Outlook
- Appointments entered on phone sync NOT correctly to Evolution (of 
course with Exchange 2010 server inbetween)
- And: I also hava a Samsung Galaxy Tab with Android 4.0.4 in which also 
appointments sync correctly to OWA and Outlook, but NOT correctly to 
Evolution


First:
- Can anybody reproduce this behavior?
Second:
- Do anybody have some suggestions for solving this issue?

I really like Evolution a lot. However, this behavior prevents me from 
using it since I enter appointments on the phone as often as in 
Evolution. For now I am forced to use OWA, which I do not like very much...


Best regards
Vidar Evenrud Seeberg
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Time drifting using Android - Exchange 2010 - Evolution

2013-05-28 Thread Patrick O'Callaghan
On Tue, 2013-05-28 at 22:15 +0200, Vidar Evenrud Seeberg wrote:
 When entering appointments/events on my phone (using either SPlanner
 or Touchdown) the appointments drift with two hours when picked up by 
 Evolution. If entering an appointment from 10:00 to 11:00 on the
 phone, it shows up in Evolution from 8:00 to 9:00. 

When you say it drifts do you mean it's exactly 2 hours off, or that
it varies by up to 2 hours?

Do all the various components agree on the timezone and the current
time? I.e. if the Windows machine says it's 10am, does the Linux machine
also say it's 10am? How about the phone?

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list