* Minimal Shared Folders support
* Bugfixes in share.py and README updates
* Added tests for shares
* Formatted with black
* Added myself as a contributor.
* Support for extended attributes for shares.
* Tidied up some comments.
* Reformatted with Black
* Fixed tests
* Fixed tests, maybe
* addressing initial feedback on pull request \#61
* Working on tests, can't repro failure locally.
* Updated test per comment on #61 and added a generic to shares.
* Fixed pylint complaint
* Tried to fix the test again, didn\'t
* Ran Black
* Implemented feedback on pull request.
* Updated tests to reflect the move of shares to UUID
* Fix CI
* Rename to SynoCoreShare
* Remove useless _execute_request() special treatment
Co-authored-by: Quentin POLLET <polletquentin74@me.com>
* Add SurveillanceStation
* Fix error in error handling
* Fix Python 2.7 pylint
* Capitalize Camera_API.List
Co-authored-by: Xiaonan Shen <s@sxn.dev>
* Capitalize Camera_API.GetSnapshot + id instead of cameraId
Co-authored-by: Xiaonan Shen <s@sxn.dev>
* Join idList
Co-authored-by: Xiaonan Shen <s@sxn.dev>
* black
* pylint
* methods are case sensitive
* Backward compat with Camera.GetSnapshot cameraId
* raw live view data
* Add Info.GetInfo
* Use Camera.GetInfo
* Fix TakeSnapshot blSave
* Fix content type
* Add SurveillanceStation api data
* Add unit test, miss SYNO.SurveillanceStation.Camera GetInfo
* Do not use Camera.LetInfo but .List with max_version 7
* Fix Switch on param
Co-authored-by: Xiaonan Shen <s@sxn.dev>
* Update camera list api data
* Add more API data
* Take care of new test data
* Add RTSP test + previous library code owners
Co-authored-by: Joe Lu <snjoetw@gmail.com>
Co-authored-by: David <dconnor@gmail.com>
Co-authored-by: Aleksander Lyse <aleksander.lyse@gmail.com>
Co-authored-by: Loïc Gerbaud <info@loicg.net>
* Fix Py27 pipe
* Fix : get_all_cameras() test
* Update README for SurveillanceStation
* Fix README
* API discovery (SYNO.API.Info) + use Exceptions
- remove dsm_version
- use SynologyDSMRequestException for failed requests
* _discover_apis any time
* simplify requests
- Add api.request(api, method, params=None)
* Add connection failed tests
* Finalized ?
* Fix SynologyDSMRequestException not beeing SynologyDSMException
* Fix SynologyDSMAPINotExistsException not beeing SynologyDSMException
* Add Virtual Machine Manager API documentation
* Can get and post request
- Add error handling by API code
* Pylint
* Add get + post tests + SynologyDSMAPIErrorException
* Add tests + some fixes
Fixes:
- [utilization] cpu_total_load returns `None` if one load is 0
- [storage] volume_disk_temp_avg + volume_disk_temp_max were global, not volume related
Add:
- [storage] env
- [storage] storage_pools
Changes:
- api.password is now private
- api.storage_url is now private
- use API_KEY on each of APIs/services
* Fix encoding
* Use future division
* Add test_disk + test_volume to check error handling cases