Skip to content

Commit

Permalink
Implement remaining fields. Fixes #203
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Oct 16, 2020
1 parent 0ff27eb commit a061a37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ HEAD
- Changed `Task.due_date` and `Tas.start_date` fields from datetime to date fields, since the time
was being truncated anyway by the server.
- Added support for `Task.recurrence` field.
- Added read-only support for `Contact.user_smime_certificate` and `Contact.ms_exchange_certificate`.
This means that all fields on all item types are now supported.


3.2.1
Expand Down
6 changes: 0 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1400,9 +1400,3 @@ python -m unittest -k test_folder.FolderTest.test_refresh
# Or, if you want extreme levels of debug output:
python -m unittest -k test_folder.FolderTest.test_refresh -v
```


## Notes

Almost all item fields are supported. The remaining ones are tracked in
<https://github.com/ecederstrand/exchangelib/issues/203>.
6 changes: 4 additions & 2 deletions exchangelib/items/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ class Contact(Item):
# adds photos as FileAttachments on the contact item (with 'is_contact_photo=True'), which automatically flips
# the 'has_picture' field.
Base64Field('photo', field_uri='contacts:Photo', is_read_only=True),
# Placeholder for UserSMIMECertificate
# Placeholder for MSExchangeCertificate
Base64Field('user_smime_certificate', field_uri='contacts:UserSMIMECertificate', is_read_only=True,
supported_from=EXCHANGE_2010_SP2),
Base64Field('ms_exchange_certificate', field_uri='contacts:MSExchangeCertificate', is_read_only=True,
supported_from=EXCHANGE_2010_SP2),
TextField('directory_id', field_uri='contacts:DirectoryId', supported_from=EXCHANGE_2013, is_read_only=True),
CharField('manager_mailbox', field_uri='contacts:ManagerMailbox', supported_from=EXCHANGE_2010_SP2,
is_read_only=True),
Expand Down

0 comments on commit a061a37

Please sign in to comment.