* get update detail info
* missing new line at the end
* black compliant
* flake8 compliant
* fix pre-commit
* Update tests/api_data/dsm_6/core/const_6_core_upgrade.py
* Update tests/api_data/dsm_6/core/const_6_core_upgrade.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Restore standard ignore list for flake8
In previous version we add some checks to ignore list.
* Fix all B950 flake8 errors (line too long)
Fix the code and add 2 per-file-ignore paterns for readability reasons.
* Fix F401 flake8 errors (import not used)
* Fix E302 flake8 errors
* Fix E266 flake8 errors
* Fix D107 flake8 errors
* Fix Dxxx Flake8 errors
* Add explanation on flake8 ignored rules
* Remove pyling inline ignore rules
pylint is no more used and replaced by flake8.
* Remove D102 flake8 errors.
* Apply suggestions from code review
Co-authored-by: Quentame <polletquentin74@me.com>
Co-authored-by: Quentame <polletquentin74@me.com>
* Replace setup files with pyproject.toml
Now we can use poetry to manage the package.
poetry install to install the package in a venv
poetry run ... to launch pylint, pytest or black
* Add CI with GitHub Action
Add a tests and release workflow
Add release drafter
Add dependabot
* Remove old CI based on travis and pylint
* Add linting configuration files
Linting mainly based on flake8 and plugins.
Add specific files for darglint and mypy.
* Update .gitignore
* Add test suite with nox and pre-commit
Test suite inculde pre-commit, safety, mypy, tests, typguard and documentation
checks.
* Add .gitattributes
* Update code coverage target to 80%
* Code style update by Black
* Update poetry lock file
* Deactivate temporarly some linting tests
* Add a contributing guide
* Remove Python 3.6 in GitHub Action
* Patch noxfile.py to be able to test mypy session
* Rebase version to 1.0.0
* add parameter ssl_validation
* add parameter ssl_validation
* rename to verify_ssl
* rename to verify_ssl
* object property use_https not needed
* black
* VALID_SSL_VERIFICATION --> VALID_SSL_VERIFY
* disable_warnings on urllib only if not verify_ssl
* VALID_SSL_VERIFY --> VALID_VERIFY_SSL
* VALID_SSL --> VALID_HTTPS
* Add test
* black again
* Add test
Co-authored-by: Quentin POLLET <polletquentin74@me.com>
* add syno system data and actions
* add system usage examples
* add upgrade information
* Fix default login Exception (#73)
* Migrate to Python 3.6+ (#70)
* Migrate to Python 3.6+
Drop support of Python < 3.6
- remove six + future deps + usage
- update deps
- remove encoding
- remove (object)
* Fix pylint
- pip3 super() style
- remove simplejson dep + usage
* Black format
* lint setup
* Travix CI py version
* Use f string
* Basic Typing
* Revert setup version bump
* correct alphabetically order
* add SynoCoreUpgrade instance
* simplify update_available()
* correct defaults of .get()
* harmonize use of API_KEY
* update docs
* add test data
* due to #70
* update docs
* solve conflict
* add syno system data and actions
* add system usage examples
* add upgrade information
* correct alphabetically order
* add SynoCoreUpgrade instance
* simplify update_available()
* correct defaults of .get()
* harmonize use of API_KEY
* update docs
* add test data
* due to #70
* update docs
* Apply suggestions from code review: function return type
* Don't save previous update data
Co-authored-by: Quentame <polletquentin74@me.com>
* Migrate to Python 3.6+
Drop support of Python < 3.6
- remove six + future deps + usage
- update deps
- remove encoding
- remove (object)
* Fix pylint
- pip3 super() style
- remove simplejson dep + usage
* Black format
* lint setup
* Travix CI py version
* Use f string
* Basic Typing
* Revert setup version bump
* 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