Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for #242 - Initial framework for HID Cerberus integration #244

Open
wants to merge 71 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
754cc62
Added Pycodestyle config
Tahvohck Sep 17, 2019
62bb68c
basic class interface defined
Tahvohck Sep 17, 2019
b371c8c
Added remove_process code
Tahvohck Sep 17, 2019
dc4265d
Added add_process code
Tahvohck Sep 17, 2019
c5eaa3e
Added PID purge
Tahvohck Sep 17, 2019
3dc5e9d
simplify API call generation, pull port out to int
Tahvohck Sep 18, 2019
0ccba89
Added code for _get_gremlin_process_ids
Tahvohck Sep 18, 2019
4e1129b
Added code for get_device_list
Tahvohck Sep 18, 2019
55fd652
pycodestyle cleanup
Tahvohck Sep 18, 2019
ff4bfaf
Moved pycodestyle out of project tracking
Tahvohck Sep 18, 2019
10048be
Added code for generating HID-strings
Tahvohck Sep 18, 2019
1f0199a
updated documentation
Tahvohck Sep 18, 2019
8b46fc1
typo fix
Tahvohck Sep 18, 2019
d44f179
Fixed bug in HID string generation, made uppercase
Tahvohck Sep 18, 2019
f62f23f
Removed un-needed raw
Tahvohck Sep 18, 2019
39de471
Made URLError easier to type
Tahvohck Sep 18, 2019
ed914be
Brought error message inline with HIDC error message format
Tahvohck Sep 18, 2019
2fb8ed6
added POST function
Tahvohck Sep 18, 2019
28dc557
moved web calls into HIDCerberus class
Tahvohck Sep 18, 2019
45b0e11
Added code for device management
Tahvohck Sep 18, 2019
99a3a12
Added basic __init__ code
Tahvohck Sep 18, 2019
0420700
Moved internal functions out of HIDCerberus class for easier addressing
Tahvohck Sep 18, 2019
9b7a92a
fixup of urllib import
Tahvohck Sep 18, 2019
2084dae
abstracted error display for testing
Tahvohck Sep 18, 2019
3c9b9be
bugfix: not using self
Tahvohck Sep 18, 2019
3383776
Improved urllib usage
Tahvohck Sep 18, 2019
da7194f
Broke out API call generation (repeated code)
Tahvohck Sep 19, 2019
7e0238b
bugfix: generate_API_call not supplying port correctly
Tahvohck Sep 19, 2019
ac105c4
Most basic way to load HIDCerberus, only whitelists itself
Tahvohck Sep 19, 2019
2e94846
added cleanup (PID removal) as well
Tahvohck Sep 19, 2019
0ee45ec
Begin import into single file using provider classes
Tahvohck Sep 26, 2019
68906a4
Added provider classes (stubs)
Tahvohck Sep 26, 2019
165eeb6
Added HIDG_Provider_Cerberus class variables
Tahvohck Sep 26, 2019
0e33f00
Added general functions to Cerberus provider
Tahvohck Sep 26, 2019
de63a4c
Added regions, process whitelisting control to Cerberus provider
Tahvohck Sep 26, 2019
fa25153
Added stubs for Cerberus Provider device control
Tahvohck Sep 26, 2019
bb61af3
Added device addition and removal to Cerberus provider
Tahvohck Sep 26, 2019
eaa4345
Changed Cerberus provider internal names to be more consistent
Tahvohck Sep 26, 2019
1ae18a8
Added device purge to Cerberus provider
Tahvohck Sep 26, 2019
b96932f
Abstracted the provider available function name
Tahvohck Sep 26, 2019
c132fc0
BUGFIX: correct urllib submodule imported
Tahvohck Sep 26, 2019
1df8c87
BUGFIX: Error codes from HID Cerberus will be numbers, not strings
Tahvohck Sep 26, 2019
f8f2b97
Added device list retrieval code
Tahvohck Sep 26, 2019
80984f1
pycodestyle fixup
Tahvohck Sep 26, 2019
9b105cd
Documentation cleanup (reduced)
Tahvohck Sep 26, 2019
6bba014
Added Registry provider stubs
Tahvohck Sep 26, 2019
9d04d52
Removed unneeded blank lines
Tahvohck Sep 26, 2019
ae185a9
Added mapper decorator for the guardian class because I am lazy.
Tahvohck Sep 29, 2019
03bc0a3
Cheeky shim API class that just handles redirecting to the underlying…
Tahvohck Sep 29, 2019
396a4f2
TODOs done
Tahvohck Sep 29, 2019
975ae24
Reverted proof-of concept HIDC hooks
Tahvohck Sep 30, 2019
21e1be7
Pulled all HIDG interface abstraction code into a separate file
Tahvohck Sep 30, 2019
ebc2d7f
Documentation
Tahvohck Sep 30, 2019
74a997c
API change, better syntax flow
Tahvohck Sep 30, 2019
730a913
Remove ready state if no provider, don't talk to providers while not …
Tahvohck Sep 30, 2019
2be052c
Added backing data for device and PID lists
Tahvohck Sep 30, 2019
6ad011d
Improved decorator operation
Tahvohck Oct 1, 2019
7c71902
Whitespace
Tahvohck Oct 1, 2019
5c04e92
Remove unneeded file
Tahvohck Oct 1, 2019
90acf0f
Added setup step to provider interface
Tahvohck Oct 1, 2019
5ffa5e3
Whitespace
Tahvohck Oct 1, 2019
c0a93ce
BUGFIX: wraps(), Cerberus provider
Tahvohck Oct 1, 2019
af9f6ea
BUGFIX: Cerberus was purging devices instead of listing
Tahvohck Oct 1, 2019
bbe5fd5
Added support for interface ID generation
Tahvohck Oct 1, 2019
f7a5f5c
BUGFIX: was not adding a tuple to the list
Tahvohck Oct 1, 2019
de2f709
Added backing internal methods for Registry provider
Tahvohck Oct 1, 2019
6e5c54a
Actually return available state
Tahvohck Oct 1, 2019
20392db
Documentation/comment segmentation of file
Tahvohck Oct 1, 2019
efa5174
Actual setup code for Registry provider
Tahvohck Oct 1, 2019
18db3af
Documentation
Tahvohck Oct 1, 2019
0a4a57f
Add_device for Registry provider
Tahvohck Oct 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading