diff options
author | drebs <drebs@leap.se> | 2017-03-16 22:38:32 +0100 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-04 18:27:34 +0200 |
commit | ed245f3fcc1d92596c321d27c3bb924a819f6c3f (patch) | |
tree | 3d9ccd20d418c75037ce9c09e5582d45035bfe6b | |
parent | 4909a366ed6b81d16af6898167ac342c6b65916f (diff) |
[doc] remove excessive signal doc from client api
-rw-r--r-- | client/src/leap/soledad/client/api.py | 22 | ||||
-rw-r--r-- | server/src/leap/soledad/server/_blobs.py | 2 |
2 files changed, 2 insertions, 22 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py index 36423e39..18fb35d7 100644 --- a/client/src/leap/soledad/client/api.py +++ b/client/src/leap/soledad/client/api.py @@ -59,6 +59,7 @@ from leap.soledad.client._recovery_code import RecoveryCode from leap.soledad.client._secrets import Secrets from leap.soledad.client._crypto import SoledadCrypto + logger = getLogger(__name__) @@ -92,27 +93,6 @@ class Soledad(object): This class is also responsible for bootstrapping users' account by creating cryptographic secrets and/or storing/fetching them on Soledad server. - - Soledad uses ``leap.common.events`` to signal events. The possible events - to be signaled are: - - SOLEDAD_CREATING_KEYS: emitted during bootstrap sequence when key - generation starts. - SOLEDAD_DONE_CREATING_KEYS: emitted during bootstrap sequence when key - generation finishes. - SOLEDAD_UPLOADING_KEYS: emitted during bootstrap sequence when soledad - starts sending keys to server. - SOLEDAD_DONE_UPLOADING_KEYS: emitted during bootstrap sequence when - soledad finishes sending keys to server. - SOLEDAD_DOWNLOADING_KEYS: emitted during bootstrap sequence when - soledad starts to retrieve keys from server. - SOLEDAD_DONE_DOWNLOADING_KEYS: emitted during bootstrap sequence when - soledad finishes downloading keys from server. - SOLEDAD_DONE_DATA_SYNC: emitted inside C{sync()} method when it has - finished synchronizing with remote replica. - SOLEDAD_NEW_DATA_TO_SYNC: emitted upon call to C{need_sync()} when - there's indeed new data to be synchronized between local database - replica and server's replica. --- not used right now. """ local_db_file_name = 'soledad.u1db' diff --git a/server/src/leap/soledad/server/_blobs.py b/server/src/leap/soledad/server/_blobs.py index 729f213d..534a5c18 100644 --- a/server/src/leap/soledad/server/_blobs.py +++ b/server/src/leap/soledad/server/_blobs.py @@ -50,7 +50,7 @@ logger = Logger() # for the future: # [ ] isolate user avatar in a safer way # [ ] catch timeout in the server (and delete incomplete upload) -# p [ chunking (should we do it on the client or on the server?) +# [ ] chunking (should we do it on the client or on the server?) class BlobAlreadyExists(Exception): |