Commit Graph

63 Commits

Author SHA1 Message Date
003b2ff367 Make ommcli part of the module 2022-07-06 12:49:57 +02:00
a7178b6f86 Add details to install 2022-07-06 01:46:32 +02:00
ee5bc790ea Add packaging information 2022-07-06 01:39:32 +02:00
f8c215d380 Make encryption part of the client library and make sipauth take plain text passwords 2022-06-19 16:21:29 +02:00
0df5286c0e Ignore if socket is blocking 2022-06-19 15:41:43 +02:00
000a00fec8 Add method to filter users 2022-06-19 15:40:28 +02:00
405f71f621 Add method to filter devices 2022-06-19 14:45:26 +02:00
82378e0bd7 Add user device realation changes 2022-06-17 00:08:40 +02:00
e85fa8ff29 Display type on cli 2022-06-16 23:45:01 +02:00
650dd842ce Use function docstring in cli usage 2022-06-16 23:39:56 +02:00
1d60043f37 Add method for detaching device and user 2022-06-16 23:13:54 +02:00
8849b8488c Introduce ability to attach users to devices 2022-06-16 23:01:04 +02:00
ac9ae74a0b Make the exception show you all unknown keys at once
In case a response type contains an unknown key, there are probably some 
more.
2022-06-16 23:00:22 +02:00
501be198c4 Allow ommsync mode to be used in cli 2022-06-16 22:40:01 +02:00
4796d1587b Improve exception message 2022-06-16 22:32:01 +02:00
deba76228b Add CreatePPUser message 2022-06-16 21:29:21 +02:00
428c4b8661 Add an interactive cli 2022-06-16 19:39:36 +02:00
93e0676147 Add infrastructure for dealing with encryption keys 2022-06-16 14:56:39 +02:00
2d8a1897f0 Add method for changing PP user num 2022-05-02 18:54:49 +02:00
e3f9fbf36b Allow modification of PPUser 2022-05-02 18:33:21 +02:00
36187c18b3 Fix message name quoting 2022-05-02 18:08:31 +02:00
2eb04e0428 Remove weird side effects that insert the values from previuos call 2022-05-02 18:07:15 +02:00
0a442e4ab5 Add child typing to all other existing message types 2022-05-02 00:41:46 +02:00
bb8dd03299 Implement EnumType 2022-05-02 00:14:24 +02:00
80eec844bf Update readme 2022-05-01 23:57:37 +02:00
bd68cbd7d8 Bootstrap child type casting 2022-05-01 23:55:18 +02:00
0e19927610 Restructuring api documentation 2022-05-01 22:43:52 +02:00
cf3c16c66a Refactor message classes
Message classes allow dynamic attribute access to message fields. Childs
get exposed through a dedicated class by attributes too. Message type
fields and childs have types that get enforces. None type is allowed
too while transitioning.
2022-05-01 22:32:08 +02:00
1752a9151d Add support for PP user 2022-05-01 13:27:56 +02:00
5365b942ce Add function to get all devices 2022-05-01 13:13:31 +02:00
7064d6f615 Rename get_pp_dev to get_device to match python-mitel feature naming 2022-05-01 12:53:46 +02:00
50d9b79ad0 Fix documentation 2022-05-01 12:50:59 +02:00
49a4ecc07f Remove DictRequest type 2022-04-02 21:23:43 +02:00
7076eb1543 Expose connection object directly instead of proxying the request method 2022-04-02 21:10:05 +02:00
8f4a7b1f6d Introduce the different classes a bit more. 2022-01-17 14:00:47 +01:00
f05a985c5e Adding some documentation 2022-01-17 13:52:56 +01:00
e6f93150a0 Update API documentation 2022-01-17 12:29:14 +01:00
8d2e94f5f3 Move last components of session layer to client and remove session completely 2022-01-17 12:20:54 +01:00
80fb8cd7cc Replace send and recv in connection with a concurrent synchronous implementation of request 2022-01-17 00:09:16 +01:00
8501aab7c3 Handle message parsing in connection 2022-01-16 22:29:18 +01:00
1365226c00 Use thread for receiving data 2022-01-16 22:17:28 +01:00
a8d9afe3d1 Add ommsync mode 2022-01-16 13:58:38 +01:00
f1c340fb3d Add GetPPDev message 2022-01-16 13:52:08 +01:00
1b0a5caa1b Pass childs to childs attribute 2022-01-16 13:47:06 +01:00
c63ecf7781 Fix GetAccountResp data parsing 2022-01-06 23:58:59 +01:00
5d8affbb5f Actually pass response to exception object 2022-01-06 23:56:35 +01:00
9e1e7c3377 Fix data read loop from connection 2022-01-06 23:55:36 +01:00
a87893199c Use right var name 2022-01-06 23:55:01 +01:00
5c565bc62c Use request wrapper for session login 2022-01-06 23:54:40 +01:00
d14fb10ddb Import Open messages 2022-01-06 23:53:52 +01:00