summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-01Merge remote-tracking branch 'pixelated/7987_Invalid_JSON_data_from_key' ↵Ruben Pollan
into develop
2016-05-30[bug] fix invalid json warning when key fetch failsZara Gebru
Raise KeyNotFound error, when nicknym throws response 404, as it fails to find a key and add tests. - Resolves: #7987
2016-05-25[refactor] change the check to validate signature from Apple MailCaio Carrara
It changes the way that incoming service checks if a additional verification is needed to validate signature. The way before was checking by the type of signature object and calling the verify signature method if the type is different from OpenPGPKey. However it could be more readable if we check the type of decrypted message. If it's a multipart/signed message and not a plain/text we need to verify the signature because keymanager couldn't do it during the decryption process.
2016-05-25Merge remote-tracking branch 'pixelated/6200_add_support_for_binary_key' ↵Ruben Pollan
into develop - Resolves: #6200
2016-05-24[tests] add test to validate signature from apple mailCaio Carrara
This change adds test to validate signature of encrypted email created by apple mail. It's important to note that apple mail has a specific way to encrypt signed messages. First it sign the email and then encrypt the previous signed message. It was also added a message file with the expected data.
2016-05-24Issue #287: add tests for binary key and refactorZara Gebru
2016-05-19[feat] use netloc instead of an extra api_uri in DiscoveryRuben Pollan
2016-05-19[feat] use the api_uri and api_version from the provider.jsonRuben Pollan
2016-05-19[bug] raise exception on authentiation errorsRuben Pollan
To avoid using None as a valid (token, uuid) pair we need to raise an exception.
2016-05-19[feat] remove password from logoutRuben Pollan
Logout does not need password.
2016-05-18[feat] Adapt to the new KeyManager API without key types.Ruben Pollan
- Related: #8031
2016-05-18Add not called asserts to testDecryptEmailThais Siqueira
The functions decryption_error_not_called and add_decrypted_header_called were not being called on testDecryptEmail. So the asserts was not being called as well. This change adds the above functions as callbacks to be called after the fetch method.
2016-05-18[pkg] update to new versioneer json formatKali Kaneko
2016-05-18[pkg] update to new versioneer json formatKali Kaneko (leap communications)
2016-05-16[bug] verify signature of encrypted email from Apple MailThais Siqueira
Fix verify signature on encrypted email from Apple Mail, adding a step to verify signature after decrypt the email because the keymananger could not verify signature when decrypting it
2016-05-16[style] pep8Kali Kaneko
2016-05-13[pkg] bump changelog to 0.4.2Kali Kaneko
2016-05-12[bug] Allow pixelated integration not to interfere with thunderbirdKali Kaneko
One of the pixelated adaptors was trying to access a non-existing attribute in HashableMailbox, which for some reason was blocking the operation of the imap server (uncatched exception in listeners call maybe). adding an attribute skips this error and therefore allows seamless use of both pixelated and thunderbird user agents at the same time. Resolves: #8083
2016-05-04[pkg] update changelog to 0.5.1 releaseKali Kaneko (leap communications)
I left out the changelog bump on 0.5.1 tag by mistake
2016-05-04Merge tag '0.5.1' into developKali Kaneko (leap communications)
Tag keymanager version 0.5.1
2016-05-04Merge branch 'develop' into release/0.5.1Kali Kaneko (leap communications)
2016-04-27[pkg] do not import unused twisted ServiceKali Kaneko (leap communications)
2016-04-27[feat] creat an iterator to build dictsRuben Pollan
Need pizza!!!!!!
2016-04-26[pkg] fix changelog path in manifestKali Kaneko (leap communications)
2016-04-26[bug] cast the identity to bytesKali Kaneko
This fixes a bug in which the tls transport complains about receiving unicode. It was only made evident by running against twisted 16.
2016-04-26[bug] fix CHANGELOG.rst open in setup.pydrebs
2016-04-19[bug] encryption keys can now be serialized to json using key.get_dict()elijah
2016-04-18Merge tag '0.4.1' into developKali Kaneko
Tag version 0.4.1
2016-04-18[pkg] Update changelogKali Kaneko
2016-04-18[pkg] bump leap depsKali Kaneko
2016-04-18Merge tag '0.5.0' into developKali Kaneko (leap communications)
Tag leap.bitmask version 0.5.0
2016-04-18Merge tag '0.5.0' into release/0.5.xKali Kaneko (leap communications)
Tag leap.bitmask version 0.5.0
2016-04-18[pkg] Update changelogKali Kaneko (leap communications)
2016-04-15[refactor] change IMAPAccount signatureKali Kaneko
for consistency with the previous Account change.
2016-04-15[bug] Adds user_id to AccountCaio Carrara
Previously Account used user id from the store, but this attribute is optional and None by default. This caused the collection_mapping to be unable to distinct between multiple users message collections. This chance adds a non optional user_id attribute to Account and use it to index the collection_mapping. - Resolves: https://github.com/pixelated/pixelated-user-agent/issues/674 - Releases: 0.4.0
2016-04-11Remove leftover print statementCaio Carrara
The print statement only printed a number. Seeing the print you cannot know what was printed. Seems that this line was left during a debug process.
2016-04-11[feat] reduce log level for encrypt/decrypt errorsRuben Pollan
* Related: #8022
2016-04-11[bug] delete versioneer duplicated blockKali Kaneko (leap communications)
2016-04-11[style] Removed duplicated importBruno Wagner
There was a duplicate import for get_versions, that was not at the top of the file, that caused a pep warning and was fixed in this commit
2016-04-07[feature] use same token for imap/stmp authenticationKali Kaneko
This greatly simplifies the handling of the password in the thunderbird extension. Related: #6041
2016-04-01[pkg] update to versioneer 0.16Kali Kaneko
2016-04-01[pkg] update to versioneer 0.16Kali Kaneko
2016-03-30[feature] SMTP delivery bouncesKali Kaneko
We catch any error on SMTP delivery and format it as a bounce message delivered to the user Inbox. this doesn't comply with the bounce format, but it's a nice first start. leaving proper structuring of the delivery failure report for future iterations. - Resolves: #7263
2016-03-30[style] pep8Kali Kaneko
2016-03-24[bug] Fix unread mails notificationKali Kaneko
this one was missing after the events refactor. the bug is that client was discarding the first parameter, assuming it was the userid.
2016-03-24[bug] let the inbox used in IncomingMail notify any subscribed MailboxKali Kaneko
the mail service uses an Account object created from scratch, so it wasn't sharing the collections mapping with the other Account object that is created in the IMAP Service. I make it a class attribute to allow mailbox notifications. However, with the transition to a single service tree, this class attribute can again become a class instance. This is somehow related to a PR proposed recently by cz8s in pixelated team: https://github.com/leapcode/leap_mail/pull/228 However, I'm reluctant to re-use IMAPMailbox instances, since they represent concurrent views over the same collection. I believe that sharing the same underlying collection might be enough.
2016-03-24[bug] emit imap-login event againKali Kaneko
this was gone with the imap/cred refactor, but the client relies on it to hide the 'congratulations!' welcome display on the mail widget.
2016-03-24[bug] Decode attached keys so they are recognized by keymanagerRuben Pollan
- Resolves: #7977
2016-03-24[bug] Fix IMAP fetch headersRuben Pollan
- Resolves: #7898
2016-03-24Merge remote-tracking branch 'leapcode/pr/227' into developKali Kaneko