Niccolò Zapponi
8e55d638f1
Added retry for error codes 421 and 500
2020-11-10 19:42:46 +00:00
Niccolò Zapponi
6f0aa0360a
Added support to force auth refresh
2020-11-09 09:11:14 +00:00
Niccolò Zapponi
8f1bd9473a
Updated logging levels
2020-11-05 08:33:12 +00:00
Niccolò Zapponi
fc833555ac
Added new trust token support for old 2SA method
2020-11-05 08:02:05 +00:00
Niccolò Zapponi
c6fecebde6
Removed repetitive code
2020-10-29 17:06:39 +00:00
Niccolò Zapponi
4adbfb32ec
Added tests
2020-10-29 16:51:08 +00:00
Niccolò Zapponi
b3aee79dcb
Added support for 2FA
2020-10-29 09:26:12 +00:00
Richie B2B
0efc4f4f5d
Fix api.drive[].date_modified example ( #304 )
2020-10-07 13:56:17 +02:00
jfburdet
e45b6ddf1b
Fix albumNameEnc can be null in Photos ( #300 )
...
* Fix proposal for #285
* Update pyicloud/services/photos.py
Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-25 14:00:55 +02:00
RobotSe7en
29bb3678c1
Fix Drive mtime and btime ( #299 )
...
* Update drive.py
fix timestamp about api.drive.upload()
* Update pyicloud/services/drive.py
Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-25 13:58:39 +02:00
Andreas Thienemann
4075c41ecc
Add debugging example to CODE_SAMPLES.md ( #295 )
...
Add an example invocation to CODE_SAMPLES that would allow for
MITM interception as well as debug prints to the console.
Drive-By: blacken the code samples.
Drive-By: Make code samples compliant with python3 (print->print())
Fixes : #270
2020-08-13 13:46:55 +02:00
Andreas Thienemann
0401299dbb
Allow zero-sized files on Drive ( #294 )
...
The webinterface to drive claims, that zero sized files are not supported on Drive.
Uploading one seems to work however with the only caveat that no receipt is returned. Handle this case by only adding receipt if available to the `_update_contentws()` call.
Drive-By: Add a `get_app_data()` call to the Drive module. This seems to be a replacement for ubiquity.
2020-08-11 16:07:57 +02:00
Andreas Thienemann
d87ab69a4a
Add new file operations mkdir, rename, delete and upload to drive service. ( #291 )
...
* Add new file operations mkdir, rename, upload and delete to drive service.
The drive service only supports the bare minimum right now, improve
this situation.
Also support upload of new files to the iCloud Drive.
* Apply suggestions from code review
Co-authored-by: Quentame <polletquentin74@me.com>
* Minor fix, return the right json part when calling mkdir and rename
* Remove more %s indirections...
* Run Black. Again...
Co-authored-by: Quentame <polletquentin74@me.com>
2020-08-10 19:09:48 +02:00
Mohamed Akram
852151ef5f
Fix Drive KeyError: 'extension' ( #283 )
2020-06-17 23:56:33 +02:00
Quentame
f0322355eb
Merge pull request #280 from Quentame/release
...
Release 0.9.7
2020-05-04 00:04:56 +02:00
Quentame
a119ccd5d9
Fix 450 RecursionError ( #279 )
2020-05-03 23:59:51 +02:00
Quentin POLLET
9ee3f70c8b
Release 0.9.7
2020-05-03 23:57:48 +02:00
Quentin POLLET
0ec37de466
Fix 450 RecursionError
2020-05-03 23:49:38 +02:00
Quentame
e6429b9ada
Add iCloud Drive support ( #278 )
...
* Initial version of the iCloud drive client
* Pylint & black
* Add tests + some fixes
* Fix pipe
Co-authored-by: Herve Saint-Amand <herve@brainnwave.com>
2020-05-03 04:54:11 +02:00
Quentame
696db8cf20
Rework Python 2-3 compat ( #268 )
2020-04-08 00:19:42 +02:00
Quentame
e3bdcea15a
Add account family + storage services ( #250 )
2020-04-04 00:48:32 +02:00
Quentame
91ac1d956e
Test rework + add account & fmi device test ( #266 )
...
* Rework tests
* Add account test
* Add Find My iPhone devices test
* Remove logger
* Working with Python 3.4
* Make test working in more setups
@patch("keyring.get_password", return_value=None)
* Fix Python 2.7 ASCII
* Pylint
* Self reviewed
2020-04-03 18:50:12 +02:00
Quentame
d510b14570
CI & setup updates ( #264 )
2020-04-02 19:45:17 +02:00
Max Koon
057ede8dde
Allow accessories to be retrieved from the FindMyiPhone service ( #263 )
...
* Allow for accessories to be retrived for the FindMyIPhone service
* added coma to fix black formatting
2020-04-02 19:11:21 +02:00
Quentame
12b345d574
Add download badge ( #260 )
2020-03-24 15:21:30 +01:00
Quentame
ababe3cdf3
Back is black ( #259 )
...
* Back is black
* Format with black
2020-03-24 14:54:43 +01:00
Quentame
9588c0d448
Add cmdline/CLI tests ( #258 )
2020-03-24 12:08:27 +01:00
Quentame
1090393774
Replace PEP8 by pylint ( #257 )
2020-03-23 19:31:56 +01:00
Quentame
a6358630e3
Tests upgrade + tiny lib bump ( #256 )
2020-03-23 19:23:05 +01:00
Quentame
a668da1a1b
Add clean + publish scripts ( #255 )
2020-03-22 20:07:29 +01:00
Quentame
bf31e8dcd2
Release 0.9.6.1
2020-03-22 19:48:53 +01:00
Quentame
dcd355b162
Fix missing 'services' package ( #254 )
2020-03-22 19:45:17 +01:00
Quentin POLLET
23018530aa
Release 0.9.6
2020-03-22 18:32:48 +01:00
Quentame
47fa2db55e
Include only the right package to setup ( #252 )
2020-03-21 15:27:02 +01:00
Quentame
1e8a5eb54d
Add code samples ( #251 )
...
* Add "Documentation or code sample" in PR template "Type of change"
2020-03-21 14:49:32 +01:00
Chad Johnson
6e25f8ce39
Additional key checking for photo version build-up ( #163 )
2020-03-21 00:38:02 +01:00
Quentame
0fefc5cff1
Fix Contact limit to 500 ( #249 )
...
* update contacts to fetch more than 500 contacts
* Make it work
Co-authored-by: Joshua Meier <joshim5@gmail.com>
2020-03-20 23:00:42 +01:00
Quentame
0757bc6ff2
Fix Calendar KeyError: 'Event' ( #248 )
2020-03-20 19:46:08 +01:00
Quentame
aa24871e53
Fix Reminder KeyError: 'description' ( #247 )
2020-03-20 19:14:43 +01:00
s.m
f69833637c
Added working delete function for photos ( #159 )
...
Co-authored-by: sebastian messier <sebastian.messier@flexreceipts.com>
2020-03-20 18:48:24 +01:00
Quentame
0382bddbec
Add badges to README ( #246 )
2020-03-20 14:06:22 +01:00
Quentame
ed10da6bf5
Upgrade Python tests version ( #245 )
2020-03-20 12:36:07 +01:00
Quentame
f516de537f
Fix issue templates (again) ( #244 )
2020-03-20 12:01:19 +01:00
Quentame
2ff3e5478f
Fix issue templates ( #243 )
2020-03-20 11:55:09 +01:00
Quentame
f05c8e6285
Add GitHub PR + issue templates ( #242 )
2020-03-20 11:50:20 +01:00
Quentin POLLET
bd71ebf916
Release 0.9.5
2020-03-17 16:20:55 +01:00
Bob Carroll
1eb8ca26da
Fix AppleDevice.play_sound() : AttributeError on 'with_family' ( #240 )
2020-03-17 16:19:33 +01:00
Quentin POLLET
627fd3dc6f
Release 0.9.4
2020-03-10 00:14:46 +01:00
Quentame
ffadb4cf3a
Choose to fetch family devices ( #235 )
2020-03-10 00:10:22 +01:00
Quentin POLLET
ef4eba7cdd
Fix comment
2020-03-09 23:56:58 +01:00