Commit graph

242 commits

Author SHA1 Message Date
Quentin POLLET
01aeb8335a Sort Exceptions 2020-03-09 23:52:03 +01:00
Quentin POLLET
412cfd8c7e Errors are Exceptions
[breaking-change]
- PyiCloudAPIResponseError --> PyiCloudAPIResponseException
- PyiCloud2SARequiredError --> PyiCloud2SARequiredException
- NoStoredPasswordAvailable --> PyiCloudNoStoredPasswordAvailableException
- PyiCloudServiceNotActivatedErrror --> PyiCloudServiceNotActivatedException
2020-03-09 23:52:03 +01:00
Quentin POLLET
0e26d4e947 Remove duplicate PyiCloudNoDevicesException 2020-03-09 23:52:03 +01:00
Quentin POLLET
7ff594e2c8 Release 0.9.3 2020-03-04 00:24:38 +01:00
Quentame
5efcbc2d2b
Fix response is not defined (#233) 2020-03-04 00:03:14 +01:00
Quentame
5368081b6b
Fix 450 error (#230)
- while refreshing client after 20 min of non request
2020-02-12 13:45:35 +01:00
Quentame
623fb66b5d
Update .gitignore (#229) 2020-02-10 19:45:02 +01:00
Quentame
19a8079bc8
Use UTF-8 everywhere (#228) 2020-02-09 13:01:21 +01:00
Quentame
b20970098e Merge pull request #205 from ndbroadbent/patch-1
Fix PhotoAlbum#__str__ for UTF-8 album titles
2020-02-08 10:37:25 +01:00
Quentame
8ed9dfd15f
Merge pull request #226 from Quentame/feature/add-python37-test
Add python 3.7 to tests
2020-02-05 20:46:35 +01:00
Quentin POLLET
ae2dbcf5b2 Also in travis 2020-02-05 20:44:36 +01:00
Quentin POLLET
22e052c549 Add python 3.7 to tests 2020-02-05 20:40:28 +01:00
Quentame
ccc257540e
Merge pull request #225 from Quentame/fix/tests
Fix tests
2020-02-05 20:38:47 +01:00
Quentin POLLET
672a4ea2fe Fix tests 2020-02-05 20:37:14 +01:00
Quentame
ec201f8e1a
Merge pull request #218 from ezeagwulae/contacts_fix
fix Contacts services to return iphone contacts
2020-01-29 13:47:34 +01:00
Adam Coddington
7abcfa4b11 Release 0.9.2 2020-01-22 05:41:40 -08:00
Emmanuel Ezeagwula
fc9b8faff9 fix Contacts services to return iphone contacts 2019-10-20 00:30:26 -07:00
Nathan Broadbent
01c8664aa6
Fix PhotoAlbum#__str__ for UTF-8 album titles
The __str__ method was crashing when an album title contained UTF-8 characters, such as an umlaut: "Jörg"
2019-05-10 15:28:23 +07:00
Adam Coddington
9bb6d75066
Merge pull request #184 from ndbroadbent/year_is_out_of_range
Fix 'ValueError: year is out of range' when year is set to 0000
2018-12-12 19:08:01 -08:00
Adam Coddington
c63e63bd82
Merge pull request #187 from ndbroadbent/override_client_id
Allow client_id to be overridden in __init__ (for replayable HTTP requests in pyvcr tests)
2018-12-12 19:07:02 -08:00
Adam Coddington
cbcbf58aa8
Merge pull request #178 from maciejbuchert/patch-1
added new function to calendars
2018-12-12 19:05:11 -08:00
Nathan Broadbent
602ef0fbf5 Allow client_id to be overridden in __init__ (for replayable HTTP requests in pyvcr tests) 2018-07-31 01:16:56 +07:00
Nathan Broadbent
fa644415a4 Fix 'ValueError: year is out of range' when year is set to 0000. Just set the time to the earliest valid time (in 1970) 2018-07-22 03:34:35 +07:00
Maciej Buchert
b7401940c7
Update calendar.py 2018-05-20 17:27:38 +02:00
Maciej Buchert
3e912d8ccb
Update calendar.py 2018-05-20 17:22:50 +02:00
Maciej Buchert
bbee61f566
Update calendar.py 2018-05-16 06:10:06 +02:00
Maciej Buchert
abbe236812
Update calendar.py 2018-05-15 22:15:41 +02:00
Maciej Buchert
73dbbceb75
added new function
I added function that return calendars - names, guid, url and more
2018-05-15 21:37:12 +02:00
dillanmills
3899363167 Fixed a missed 2fa-2sa transition 2017-09-25 17:11:24 +02:00
Chad Johnson
4daf035689 Reimplement PhotosService to use the new ckdatabasews back-end (#137) 2017-09-24 15:22:17 +02:00
Ajay Gandhi
4ec58d7950 Add due date functionality for reminders (#105) 2017-09-24 14:58:59 +02:00
Tor Arne Vestbø
69af919ad5 Clarify that we support two-step, not two-factor, authentication
Two-step authentication is an older security method used for
accounts without an Apple device, or who are unable to upgrade
to iOS 9 or OS X El Capitan.

https://support.apple.com/en-us/HT204152

If the account has two-factor authentication enabled, we can still
fall back to the end-points for two-step authentication, as we do
not support 2FA yet.

Issue #102
2017-09-24 14:54:05 +02:00
Tor Arne Vestbø
be3d447c00 Handle HTTP errors before trying to parse JSON (#138) 2017-07-08 23:14:24 +02:00
Philip Lundrigan
bda08319fc photos: return time zone aware datetime object 2017-05-30 20:09:16 +02:00
Tor Arne Vestbø
f9a9818d03 Merge pull request #121 from chadj/issue_90_fix
Additional clientContext data for iphone play sound call.

Fixes picklepete/pyicloud#90
2017-02-11 15:54:49 +01:00
Chad Johnson
200e00b37c Additional clientContext data for iphone play sound call - picklepete/pyicloud#90 2017-02-10 16:51:36 -06:00
Tor Arne Vestbø
ced8e83a40 Detect 'errorReason' in error messages from iCloud API 2017-01-09 19:39:40 +01:00
Tor Arne Vestbø
7d57f06bb1 Change PhotosAlbum._parse_binary_feed() to freestanding function
It doesn't really depend on self, and will be used from
outside PhotoAlbum.
2016-10-09 23:48:48 +02:00
Tor Arne Vestbø
2d541a9681 photos: Implement more generic folder fetching
Preparation for photo service update/refresh functionality.
2016-10-09 23:46:10 +02:00
Tor Arne Vestbø
1e53077ab9 Add basic logging to PhotosService 2016-10-09 23:40:11 +02:00
Tor Arne Vestbø
3b57397795 Add title and description properties to PhotoAsset 2016-10-09 23:39:16 +02:00
Tor Arne Vestbø
801ee8f7f7 Fix Python 3 issues in Photos service 2016-10-09 23:38:03 +02:00
Tor Arne Vestbø
254e6a7b44 Merge pull request #95 from felciano/patch-1
Add missing import in 2FA documentation
2016-10-09 22:35:36 +02:00
Ramon Felciano
b231a5ce2b Fixed missing import
For 2FA code to wrk it needs access to the `click` library
2016-08-13 11:37:32 -07:00
Tor Arne Vestbø
5924fadd85 Add Python 3.5 to Travis CI testing 2016-07-11 22:50:07 +02:00
Adam Coddington
3818c43eff Release 0.9.1; fixes six version requirement. 2016-06-30 10:08:45 -07:00
Adam Coddington
5b0ca04751 Pinning six for @python_2_unicode_compatible. 2016-06-30 10:07:50 -07:00
Adam Coddington
b6297781fa Release 0.9; Add support for Account Service; fixes for Python 3.x. 2016-06-20 20:42:00 -07:00
Adam Coddington
1c80389305 Merge pull request #82 from satetsu888/master
fix reminder post function for python3
2016-06-20 20:40:36 -07:00
Adam Coddington
2d4ca14710 [#83] Adding support for icloud Account Service. Thanks @serii833! 2016-06-20 20:38:30 -07:00