Paulus Schoutsen
332cc9fa76
Create release-drafter.yml
2022-02-17 08:55:05 -08:00
Paulus Schoutsen
4923e609fd
Create release-drafter.yml
2022-02-17 08:54:32 -08:00
Paulus Schoutsen
dd255d361b
1.0.0
2022-02-17 08:53:38 -08:00
Martin Hjelmare
09fb9ba991
Migrate from pytz ( #377 )
2022-02-17 08:12:01 -08:00
Gary Cobb
cc631cdce7
Fix for 450 reauthentication failure bug ( #372 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-16 14:51:28 -08:00
Richie B2B
42331c3e37
Keyerror data token ( #316 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-16 14:45:11 -08:00
Martin Hjelmare
a14a57743d
Clean up tests ( #374 )
2022-02-16 12:16:10 -08:00
Martin Hjelmare
c0e4ecfed2
Clean and pin test requirements ( #376 )
2022-02-16 12:15:38 -08:00
Martin Hjelmare
c92be2f025
Remove support for Python 3.6 ( #375 )
2022-02-16 12:14:45 -08:00
Hugo
f96b0d8c24
Polish readme ( #373 )
2022-02-16 11:19:10 -08:00
Paulus Schoutsen
8c7ba2afb4
Fix docstrings
2022-02-16 11:18:24 -08:00
Hugo
592ff464c5
Support Python 3.6 to 3.10 ( #371 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Quentin POLLET <polletquentin74@me.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-16 11:00:29 -08:00
Martin Hjelmare
b6356a00bc
Add github action to publish to PyPI ( #370 )
2022-02-15 10:49:53 -08:00
Mark Chonofsky
0f0f3e0df4
Update click version to reduce potential for dependency conflict ( #360 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-14 15:10:11 -08:00
Martin Hjelmare
e0e9bc270f
Add github actions ( #369 )
2022-02-14 14:41:53 -08:00
Niccolo Zapponi
bab549a593
Release v0.10.2 ( #321 )
2021-02-02 06:57:12 +00:00
Richie B2B
8671cc6e2c
Create safe cookiejar directory per user ( #320 )
2021-02-01 07:16:19 +00:00
Niccolo Zapponi
68566dc3a5
Merge pull request #310 from nzapponi/2fa-support
...
Add support for 2FA and new Trust token logic
2021-01-28 08:12:32 +00:00
Niccolò Zapponi
94f8ef8aaa
Fixed bug
2020-12-11 09:41:35 +00:00
Niccolò Zapponi
e0f11158e1
Added support for reauth if FMIP requires it
2020-12-11 09:36:48 +00:00
Niccolò Zapponi
cb302d58f5
Removed a lot of logging
2020-12-09 08:14:40 +00:00
Niccolò Zapponi
9190c62a80
Added service specific log in
2020-12-09 08:03:19 +00:00
Niccolò Zapponi
285a114a64
Fixed %s formatting
2020-11-24 07:20:49 +00:00
Niccolò Zapponi
6fa52c6337
Restored python2.7 compatibility
2020-11-23 06:47:09 +00:00
Niccolò Zapponi
e14d22908d
Set remember me to true to avoid Apple emails
2020-11-17 08:36:08 +00:00
Niccolò Zapponi
1675a8dc11
Improved support for 421s
2020-11-12 08:37:29 +00:00
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
Mohamed Akram
09652b0d27
Fix downloading zero-byte files ( #301 )
2020-10-15 16:36:36 +02: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