summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/mail_services.py
AgeCommit message (Collapse)Author
2018-01-09[bug] do not depend on function if not in scopeKali Kaneko
2017-12-22[refactor] Use sender interface in outgoing serviceRuben Pollan
2017-12-22[bug] fetch the incoming service only if is onRuben Pollan
If you try to fetch the incoming service while it's still starting it throws a KeyError. - Resolves: #9174
2017-12-20[feat] Add msg_status call to the mail APIRuben Pollan
To get the status of a single message providing it's mailbox and message-id. For now it only returns encryption/signature status. - Resolves: #6914
2017-12-20[refactor] rename API add_msg to msg_addRuben Pollan
To have consistency with all API calls related to messages and start all of them with msg_*
2017-10-26[feat] add fetch key by fingerprint to keymanagerRuben Pollan
- Resolves: #9023
2017-10-26[bug] make nicknym return key dataRuben Pollan
There was a mismatch on the return values of Nicknym class and the expectations. As most of the code was expecting an OpenPGPKey, but it was returning the json as it came from the nickserver. Now is just returning the key data.
2017-10-06[feat] use bonafide Provider object as a singletonRuben Pollan
There was common situations where two provider instances where running in parallel. And was creating weird errors (like getting wrong api_uri) because the bootstrap deferreds were global but the Provider objects not. I don't like much singletons, but I think now is simpler than before. - Resolves: #9073
2017-08-30[refactor] change status to "failed"Kali Kaneko
2017-08-30[bug] fail gracefully if cannot import soledadKali Kaneko
- Resolves: #9025
2017-08-24[feat] hardcode some providers to mock that they provide mixnetsRuben Pollan
2017-08-24[feat] add mail.add_msg API callRuben Pollan
- Resolves: #8973
2017-08-24[feat] remove active user from get_tokenRuben Pollan
We need to update the UI to use the new API. - Resolves: #8974
2017-08-24[feat] add a mock mixnet_status call to the APIRuben Pollan
For now we say it will be mixed on every request if the mixnet is enabled. We might want a better mock in the future. - Resolves: #8972
2017-08-10[refactor] fail gracefully if some modules not presentKali Kaneko
this allows for better modularization in, for instance, the debian package. we should be able to install just the submodules for the vpn service, or the mail service. a better modularization needs the mail_services under core to be moved to bitmask.mail, and do the switch in the main service module for bitmask daemon.
2017-07-28[bug] change status only when key is generatedKali Kaneko
- Resolves: #8986
2017-06-15[feat] Add a 'fetch' flag to key exportRuben Pollan
If is set keyamanger will try to discover and download the key. - Resolves: #8821
2017-06-15[bug] fix unread count on mail statusRuben Pollan
- Resolves: #8931
2017-06-12[feat] push private key updates into nicknymRuben Pollan
Deal as well with sending key if key is outdated in the providers nicknym. - Resolves: #8819, #8832
2017-05-16[bug] use correct api uriKali Kaneko (leap communications)
Allows to upload a key to providers that use a different api uri than api.provider.net - Resolves: #8868
2017-05-16[bug] fix notification for incoming mail with several listeners registeredKali Kaneko (leap communications)
When setting the listeners in the IMAP Folder, we avoid setting more than one listener for the same imap mailbox (because in some situations we were registering way too many listeners). this was making the pixelated inbox registering the notification and therefore the imap mailbox not being registered. this MR also refactors the way pixelated is initialized, so that it avoid creating a second Account instance. In this way, we make sure that the pixelated mua and the imap server share the same collections for a given mailbox, and therefore any of the two is able to get a notification whenever the other adds a message to the mailbox. - Resolves: #8846, #8798
2017-05-07[refactor] rename pixelated moduleKali Kaneko (leap communications)
2017-04-27[style] pep8 fixesKali Kaneko (leap communications)
2017-04-27[bug] unify logging style using class attrKali Kaneko (leap communications)
I changed most of the logger statements to use a class attribute, in this way it's easier to identify which class it's logging them. in some cases I leave a module-level logger, when we're either using functions or when the module it's too small. at the same time I did a general review and cleanup of the logging statements.
2017-03-17[feat] report the real status of the VPNRuben Pollan
2017-03-15[bug] don't check the number of unread mails if incoming service hasn't startedRuben Pollan
2017-03-13[feat] emit MAIL_STATUS_CHANGED eventRuben Pollan
2017-03-13[feat] report the status of keymanager in the mail statusRuben Pollan
2017-03-12[bug] remove offline toggledrebs
The offline toggle added a race condition in which the client could end up offline forever. We decided to remove it for now and then decide if soledad client needs to know about network connectivity (check: https://0xacab.org/leap/soledad/issues/8789).
2017-03-05[feature] pixelated UA integrationKali Kaneko (leap communications)
a bit hacky and all, but this should launch the service and allow interacting from the default site (localhost:9090). this is the first example of a pyqt-js bridge, it's an interesting mechanism that we can use more in the future. no efforts made so far in authenticating the app.
2017-03-03[feat] mail status will only work for a valid useridRuben Pollan
We used to return the system status if no userid is provided. We don't do it anymore, now is only userid based. - Resolves: #8785
2017-02-27[refactor] access soledad client offline state directlydrebs
2017-02-27[refactor] use new soledad client parameterdrebs
- Resolves: #8721
2017-02-23[refactor] complete eip -> vpn rename in coreKali Kaneko (leap communications)
2017-02-09[feat] add account based keymanagement APIRuben Pollan
- Resolves: #8755
2017-02-09[feat] Get more detailed status report for emailRuben Pollan
- Resolves: #8754
2016-12-29[bug] fix the logout callKali Kaneko (leap communications)
if user attempts to logout before the incoming multiservice has an entry, there will be a KeyError raised on the MultiService.getServiceNamed() call, which is improperly reported as a confusing error message in the api return call. by catching the KeyError, we make sure that the logout call can terminate properly.
2016-11-18[refactor] defer_encryption is gone with latest soledadKali Kaneko (leap communications)
2016-11-11[bug] get user parameter in the key commandsKali Kaneko (leap communications)
This has been previously encapsulated in a dict, and the commands were not modified accordingly. I'm adding some very basic test for the KeymanagerService public api contract. - Resolves: #8577
2016-11-06[bug] properly format failure for logging on errbackdrebs
2016-10-19[style] pep8Kali Kaneko (leap communications)
2016-10-19[bug] Fix warning logging.Denis Costa
Following Twisted documentation, I found out that the warning method doesn't exist on logger class. That class has warn method instead. And I got a error because of that. https://twistedmatrix.com/documents/16.4.1/api/twisted.logger.Logger.html
2016-10-10[bug] fix error logging calls using twisted loggerdrebs
2016-10-07[bug] fail gracefully in mail service if instance not foundKali Kaneko (leap communications)
also, small refactor to make the function clearer.
2016-10-07[style] pep8Kali Kaneko (leap communications)
2016-10-07[refactor] migrate hooks to bitmask repoKali Kaneko (leap communications)
now we can deprecate service_hooks in leap.common repo
2016-10-07[refactor] use new logger infrastructureKali Kaneko (leap communications)
2016-10-03[refactor] standardize smtp and imap service modulesdrebs
2016-10-03[bug] stop syncing after logout (#8479)drebs
2016-09-30[refactor] turn mail services into twisted servicesdrebs