a first lasto-server reset password implementation, with almost complete test coverage
(I think I will change it)
Merge branch 'master' into password-reset
first lato-client reset password implementation, no tests
Merge branch 'master' into password-reset
renaming refactoring: all names related to password recovery
renamed to contain 'recoverpass' string and be more consistent.
e.g. 'changepass' -> 'recoverpass', 'reset_code' -> 'recoverpass_code', etc.
added extra-task TODOs for memo
ops, restored commented-out raise_for_status
Introduce protocol in connection_manager and client_cmdmanager for register and activation users method.
I will use this for daemon activation.
Changed daemon config structure, now the socket configuration are inside the relative method and there is a new key activate.
Activate will be used to indicate if the user is active.
'recoverpass' command restructured and improved;
an email address validation added.
NB: still must be splitted in another command to insert the recoverpass code sent by email
rename: reset_code -> recoverpass_code
Added command 'do_changepass' (in command manager) wich actually changes the password using the code received by email
so the request of recoverpass code is independent from its utilization.
cmdmanager recoverpass handle no-argument case explicitely, telling to user the correct usage
command manager bool returns related to the task are completed
command manager tests for password recovery added
print removed
4 reset password test cases for command manager added
added docstrings to UsersReset class
UsersReset class renamed to UsersRecoverPassword
Fixed bug in load_cfg method into client_daemon.
When we load the config form file we lose the order because we use a Dictionary instead of Ordered Dictionary.