Re: [Evolution] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-18 Thread Milan Crha via evolution-list
On Fri, 2021-06-18 at 11:23 +0200, Matthias Kuntze wrote:
> May I ask you to file the bug. 

Hi,
sure thing. I noticed I gave you a wrong URL, it was supposed to
reference evolution-ews, not gnome-software. I'm sorry about that
overlook on my side. In any case, I opened the following bug:
https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/155

Thanks and 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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-18 Thread Matthias Kuntze
Dear Milan,

I've checked your suspicion with 2 contacts near 1970-01-01 and you are
right. All dates (Birthday/Anniversary) later than 1970 will be shown,
all dates before 1970 will not be shown in evolution. 
Gratulation!!

I never filed a bug and tried to understand your process with the
result that I'm a little bit overwhelmed. 
May I ask you to file the bug. 
That would be very nice from you. As far as I'm able, I try to support
you with this task (e.g. giving anonymized data) if necessary.

Many Thanks,
Matthias


 Weitergeleitete Nachricht 
Von: Milan Crha via evolution-list 
Antwort an: Milan Crha 
An: evolution-list@gnome.org
Betreff: Re: [Evolution] evolution :: contacts :: personal information
:: no Birthday data from ews account
Datum: Fri, 18 Jun 2021 09:40:10 +0200

On Thu, 2021-06-17 at 17:36 +0200, Matthias Kuntze wrote:
> 1949-05-23T11:59:00Z
> and
> 1969-04-07T22:00:00Z

Hi,
I see it, those days are before the Epoch (1970-01-01 UTC), thus they
are presented as negative numbers, which are ignored by
the evolution-ews.

Would you mind to file a bug [1] for that, please? It's better for
history and follow up issues tracking, if any arise. If you cannot do
that, then it's okay, just let me know.
Thanks and bye,
Milan

[1] 
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/new


___
evolution-list mailing list
evolution-list@gnome.org

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




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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-18 Thread Milan Crha via evolution-list
On Thu, 2021-06-17 at 17:36 +0200, Matthias Kuntze wrote:
> 1949-05-23T11:59:00Z
> and
> 1969-04-07T22:00:00Z

Hi,
I see it, those days are before the Epoch (1970-01-01 UTC), thus they
are presented as negative numbers, which are ignored by
the evolution-ews.

Would you mind to file a bug [1] for that, please? It's better for
history and follow up issues tracking, if any arise. If you cannot do
that, then it's okay, just let me know.
Thanks and bye,
Milan

[1] https://gitlab.gnome.org/GNOME/gnome-software/-/issues/new

___
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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-17 Thread Matthias Kuntze
Dear Milan,

thanks for your support. I did, what you outlined and got a big (some
dozend) MB logfile that I analyzed (thats the reason for the late
reply). But I'm sorry to say that I could't find clarification. There
are a lot of more "mysthic" behavior found like sent Anniversariy entries are 
not displayed in evolution althoug they are sent (seems to be same or similar 
behavior like Birthday field).

All contacts with a filled Birthday and Anniversary field in Outlook
could be found in the soup output of the logfile e.g.
1949-05-23T11:59:00Z
and
1969-04-07T22:00:00Z
but they are not shown in evolution (neither "evolution 3.40.0-1" nor
"evolution 3.36.5-0ubuntu1").

The capture date of the contact does not seem to be relevant, as older
entries show the Birthday and newer not. The above entries have been
entered/modified not very long ago
2021-04-08T20:27:31Z

The only difference to the new entered testusers that show Birthday
entries in evolution is the length of the 
...
block. The testusers are significant smaller.

It is not clear for me, that nearly the same Birthday/Anniversery
entries are shown in evolution and some not although the entries are
identical from a format view, only their values differ.

As a result I can say that the values are all sent from the exchange
server as expectet. The rules for presentation within evolution are
unclear.

Rgds, Matthias

 Weitergeleitete Nachricht 
Von: Milan Crha via evolution-list 
Antwort an: Milan Crha 
An: evolution-list@gnome.org
Betreff: Re: [Evolution] evolution :: contacts :: personal information
:: no Birthday data from ews account
Datum: Wed, 16 Jun 2021 18:04:47 +0200

On Wed, 2021-06-16 at 15:20 +0200, Matthias Kuntze wrote:
> FYI: The anniversary entry changed name from "X-MS-
> ANNIVERSARY;VALUE=DATE:" to "X-EVOLUTION-ANNIVERSARY:"
> 
> How can this problem be solved? Do I have to export the >1000
> contacts in Outlook and re-import it in evolution as a new contact
> folder or is there a switch telling evolution to use the right
> exchange data?

Hi,
the evolution-ews doesn't use the vCard format during the exchange of
the data with the server, it uses the EWS protocol instead, thus the
above "X-" attributes do not matter.

The Birthday and Anniversary read/write/update had been fixed long ago,
within [1], which your 3.36.5 has. I suspect the server doesn't return
the Birthday element or it is set to some odd value.

Could you close evolution, then remove the addressbook cache for the
EWS addressbook (it's at ~/.cache/evolution/addressbook//; if
there are more, you can delete all of them, as they will be re-
populated the next time they are opened (the only downside is the
bandwidth use this repopulate means). Then run the addressbook factory
as this:

   $ EWS_DEBUG=2 /usr/libexec/evolution-addressbook-factory -w
&>log.txt

(the actual path can differ in your system) which will debug all the
communication between the server and the evolution-ews for every EWS
address book configured in the Evolution. I do not want that log, it
contains private information, both encoded and  in a plain text mode.
Do not share it anywhere, please.

Once the update will be done and the contacts will not have their
birthday filled, close evolution, soft-kill the factory process:

   $ kill -TERM `pidof evolution-addressbook-factory`

Then open the log.txt file and search for "Birthday" (quotes for
clarity only). That contains the date. Either the format is wrong or
it's not in the file for some/all contacts, or or some other problem
with that date is, that it cannot be read/deciphered by the evolution-
ews. You can see also the contact names, emails and such around this
Birthday, if it's there, which can give you an idea which contact it
references and what value is expected (the one shown in Outlook).

Could you share what failed according to the log, please?

Thanks and bye,
Milan

[1] 
https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/57



___
evolution-list mailing list
evolution-list@gnome.org

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




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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-16 Thread Milan Crha via evolution-list
On Wed, 2021-06-16 at 15:20 +0200, Matthias Kuntze wrote:
> FYI: The anniversary entry changed name from "X-MS-
> ANNIVERSARY;VALUE=DATE:" to "X-EVOLUTION-ANNIVERSARY:"
> 
> How can this problem be solved? Do I have to export the >1000
> contacts in Outlook and re-import it in evolution as a new contact
> folder or is there a switch telling evolution to use the right
> exchange data?

Hi,
the evolution-ews doesn't use the vCard format during the exchange of
the data with the server, it uses the EWS protocol instead, thus the
above "X-" attributes do not matter.

The Birthday and Anniversary read/write/update had been fixed long ago,
within [1], which your 3.36.5 has. I suspect the server doesn't return
the Birthday element or it is set to some odd value.

Could you close evolution, then remove the addressbook cache for the
EWS addressbook (it's at ~/.cache/evolution/addressbook//; if
there are more, you can delete all of them, as they will be re-
populated the next time they are opened (the only downside is the
bandwidth use this repopulate means). Then run the addressbook factory
as this:

   $ EWS_DEBUG=2 /usr/libexec/evolution-addressbook-factory -w
&>log.txt

(the actual path can differ in your system) which will debug all the
communication between the server and the evolution-ews for every EWS
address book configured in the Evolution. I do not want that log, it
contains private information, both encoded and  in a plain text mode.
Do not share it anywhere, please.

Once the update will be done and the contacts will not have their
birthday filled, close evolution, soft-kill the factory process:

   $ kill -TERM `pidof evolution-addressbook-factory`

Then open the log.txt file and search for "Birthday" (quotes for
clarity only). That contains the date. Either the format is wrong or
it's not in the file for some/all contacts, or or some other problem
with that date is, that it cannot be read/deciphered by the evolution-
ews. You can see also the contact names, emails and such around this
Birthday, if it's there, which can give you an idea which contact it
references and what value is expected (the one shown in Outlook).

Could you share what failed according to the log, please?

Thanks and bye,
Milan

[1] https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/57


___
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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-16 Thread Matthias Kuntze
Sorry to be not precise enough. So I try to explain it step by step:
1. I look with Outlook: The Birthday date is set.
2. I look with evolution: The Birthday field shows string "None/Keine".
3. I enter a date with evolution and send the data.
4. I loook with Outlook: The new (entered) date can be seen.
5. I look with evolution: The Birthday field shows "None".
Normaly definition is "LANG=de_DE.UTF-8". Than I enter e.g. 16.06.2000.
If I switch to "export LANG=en_EN-UTF-8", I enter "06/16/2000". Both
methods show the same behavior like described in the steps 1..5.
The date value of field "Jahrestag/Anniversary" is always shown correct
like in Outlook (depending on language selection).

If I enter a new contact with evolution, the contact is shown right in
evolution and Outlook.
If I enter a new contact with Outlook, the contact ist shown right in
evolution and Outlook.I extract an "old" contact and a new created as vCard 
from evolution
and compared the .vcf files. The old contact does not have a "BDAY:"
entry like the new one (seems to be reason for the "None" text).
I extract an "old" and "new" contract using Outlook and compared both
.vcf files with the following results:
Both Outlook vcf files have a "BDAY;VALUE=DATE:" showing the correct
Birthday.
The Outlook contact export offers 2 topics, you have to select the 2nd
one (Kontakt weiterleiten -> Als Outlook-Kontakt, NOT as "Als
Visitenkarte" (sorry I don't know the english menue text)). The first
menue item produces NO "BDAY" entry for the old and the new contact.
FYI: The anniversary entry changed name from "X-MS-
ANNIVERSARY;VALUE=DATE:" to "X-EVOLUTION-ANNIVERSARY:"

How can this problem be solved? Do I have to export the >1000 contacts
in Outlook and re-import it in evolution as a new contact folder or is
there a switch telling evolution to use the right exchange data?

Rgds, Matthias


---- Weitergeleitete Nachricht ----
Von: Milan Crha via evolution-list 
Antwort an: Milan Crha 
An: evolution-list@gnome.org
Betreff: Re: [Evolution] evolution :: contacts :: personal information
:: no Birthday data from ews account
Datum: Wed, 16 Jun 2021 12:13:48 +0200

On Wed, 2021-06-16 at 11:25 +0200, Matthias Kuntze wrote:
> I use the versions "evolution 3.40.0-1" and "evolution 3.36.5-
> 0ubuntu1".
> Both do not show the Birthday information of persons in a contacts
> folder of an ews account.

Hi,
as far as I can tell, the evolution-ews does support both Birthday and
Anniversary fields.

> When I look to this field with Outlook, the modification should be
> stored in exchange as it is shown as entered with evolution.

I'm not sure what you mean with "should be". Is it stored for you or
not?

I tried it here, with an Exchange2019 server, and the Birthday is
properly stored on the server, even the changes I make in Evolution are
properly reflected in the OWA (Outlook Web Access) interface. The
Microsoft documentation says the Birthday is supported since Exchange
2007 in the EWS, thus pretty much for any Exchange server.
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




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] evolution :: contacts :: personal information :: no Birthday data from ews account

2021-06-16 Thread Milan Crha via evolution-list
On Wed, 2021-06-16 at 11:25 +0200, Matthias Kuntze wrote:
> I use the versions "evolution 3.40.0-1" and "evolution 3.36.5-
> 0ubuntu1".
> Both do not show the Birthday information of persons in a contacts
> folder of an ews account.

Hi,
as far as I can tell, the evolution-ews does support both Birthday and
Anniversary fields.

> When I look to this field with Outlook, the modification should be
> stored in exchange as it is shown as entered with evolution.

I'm not sure what you mean with "should be". Is it stored for you or
not?

I tried it here, with an Exchange2019 server, and the Birthday is
properly stored on the server, even the changes I make in Evolution are
properly reflected in the OWA (Outlook Web Access) interface. The
Microsoft documentation says the Birthday is supported since Exchange
2007 in the EWS, thus pretty much for any Exchange server.
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