Commit Graph

45 Commits

Author SHA1 Message Date
clerie 2d8a1897f0 Add method for changing PP user num 2022-05-02 18:54:49 +02:00
clerie e3f9fbf36b Allow modification of PPUser 2022-05-02 18:33:21 +02:00
clerie 36187c18b3 Fix message name quoting 2022-05-02 18:08:31 +02:00
clerie 2eb04e0428 Remove weird side effects that insert the values from previuos call 2022-05-02 18:07:15 +02:00
clerie 0a442e4ab5 Add child typing to all other existing message types 2022-05-02 00:41:46 +02:00
clerie bb8dd03299 Implement EnumType 2022-05-02 00:14:24 +02:00
clerie 80eec844bf Update readme 2022-05-01 23:57:37 +02:00
clerie bd68cbd7d8 Bootstrap child type casting 2022-05-01 23:55:18 +02:00
clerie 0e19927610 Restructuring api documentation 2022-05-01 22:43:52 +02:00
clerie 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
clerie 1752a9151d Add support for PP user 2022-05-01 13:27:56 +02:00
clerie 5365b942ce Add function to get all devices 2022-05-01 13:13:31 +02:00
clerie 7064d6f615 Rename get_pp_dev to get_device to match python-mitel feature naming 2022-05-01 12:53:46 +02:00
clerie 50d9b79ad0 Fix documentation 2022-05-01 12:50:59 +02:00
clerie 49a4ecc07f Remove DictRequest type 2022-04-02 21:23:43 +02:00
clerie 7076eb1543 Expose connection object directly instead of proxying the request method 2022-04-02 21:10:05 +02:00
clerie 8f4a7b1f6d Introduce the different classes a bit more. 2022-01-17 14:00:47 +01:00
clerie f05a985c5e Adding some documentation 2022-01-17 13:52:56 +01:00
clerie e6f93150a0 Update API documentation 2022-01-17 12:29:14 +01:00
clerie 8d2e94f5f3 Move last components of session layer to client and remove session completely 2022-01-17 12:20:54 +01:00
clerie 80fb8cd7cc Replace send and recv in connection with a concurrent synchronous implementation of request 2022-01-17 00:09:16 +01:00
clerie 8501aab7c3 Handle message parsing in connection 2022-01-16 22:29:18 +01:00
clerie 1365226c00 Use thread for receiving data 2022-01-16 22:17:28 +01:00
clerie a8d9afe3d1 Add ommsync mode 2022-01-16 13:58:38 +01:00
clerie f1c340fb3d Add GetPPDev message 2022-01-16 13:52:08 +01:00
clerie 1b0a5caa1b Pass childs to childs attribute 2022-01-16 13:47:06 +01:00
clerie c63ecf7781 Fix GetAccountResp data parsing 2022-01-06 23:58:59 +01:00
clerie 5d8affbb5f Actually pass response to exception object 2022-01-06 23:56:35 +01:00
clerie 9e1e7c3377 Fix data read loop from connection 2022-01-06 23:55:36 +01:00
clerie a87893199c Use right var name 2022-01-06 23:55:01 +01:00
clerie 5c565bc62c Use request wrapper for session login 2022-01-06 23:54:40 +01:00
clerie d14fb10ddb Import Open messages 2022-01-06 23:53:52 +01:00
clerie 3617494917 Default to unencrypted connection because the required old ssl protocols aren't supported anymore 2022-01-06 23:52:24 +01:00
clerie f62579ce90 Add GetAccount 2022-01-06 18:13:48 +01:00
clerie 496b915c9d Stop on failed login 2022-01-06 17:59:12 +01:00
clerie 9f9df79ab8 Introduce exception handling 2022-01-06 17:28:19 +01:00
clerie 72f148f7b9 Add license and attribution 2022-01-06 16:20:46 +01:00
clerie e5938a0cc6 Give some quickstart documentation 2022-01-06 16:13:05 +01:00
clerie 80357a49d1 Add gitignore 2022-01-06 16:12:27 +01:00
clerie aec4a2157f Add api documentation 2022-01-06 16:12:13 +01:00
clerie d821b57f7c Introduce high level OMMClient2 interface 2022-01-06 16:11:21 +01:00
clerie f7dce4bfcd Bootstrap some basic session handling 2022-01-06 16:10:30 +01:00
clerie 7c028834b9 Add message handling 2022-01-06 16:09:55 +01:00
clerie 9e0f5fe5c9 Add connection classes 2022-01-06 16:09:07 +01:00
clerie b3962c1c50 Init repository 2022-01-06 12:35:28 +01:00