summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-11[style] pep8!Kali Kaneko
2016-03-09[bug] specify openssl backend explicitelyKali Kaneko
for some reason, available_backends does not work inside a frozen PyInstaller binary. - Resolves: #7952
2016-02-29[feat] use fingerprint instead of key_id to address keysRuben Pollan
2016-02-28[bug] Use the right succeed function for passthrough encrypted emailRuben Pollan
- Resolves #7861
2016-02-11[feat] Use cryptography instead of pycryptopp to reduce dependencies.Ruben Pollan
* Resolves: #7889
2016-02-11[feat] Remove debug from walkRuben Pollan
2016-02-09[style] fix pep8Ruben Pollan
2016-02-09[tests] fix missing pycryptopp dependency and mock async callsFolker Bernitt
- leap_mail still uses pycryptopp and therefore still needs the dependency - Keymanager calls to async HTTPClient had not been mocked, causing a test to fail - fixed a pep8 warning
2016-02-08[feat] Validate signature with attachmentsGiovane
- Create a new Generator that doesn't trim the headers - Extract detached signature from message - Convert message to the body an attachments level - Add coment to the generator workaround and shows which python version has the patch
2016-01-21[feat] Verify plain text signed emailGiovane
- Extract message serialization to a method - Add new condition to verify signature on plain text mail - Return InvalidSignature if cannot verify
2015-12-21[tests] make tests use dummy authenticationKali Kaneko
2015-12-18[feat] cred authentication for SMTP serviceKali Kaneko
2015-12-15[style] pep8Kali Kaneko
2015-12-15[fix] dummy credentials for testsKali Kaneko
imap tests must be adapted, using a dummy credential checker.
2015-12-15[feat] credentials handling: use twisted.credKali Kaneko
2015-12-10Fixed the get_body logicBruno Wagner
It won't break anymore if the body is None, but will return an empty body in that case
2015-11-30[feat] make events multi-user awareKali Kaneko
- Resolves: #7656 - Releases: 0.4.1
2015-10-01[bug] fix slow appendsKali Kaneko
we were adding listeners for each mailbox instance, which was making appends particularly slow, since the method that gets current count and recent count is expensive and was being called way too many times.
2015-09-28[bug] fail gracefully if fetch failsKali Kaneko
Related: #7495
2015-09-24[bug] signal expired auth token to the GUIRuben Pollan
In case of InvalidAuthTokeError from soledad sync we need signal the GUI, so it will request her to log in again. - Resolves: #7430
2015-09-23[feat] disable local-only bind on docker containerIvan Alejandro
- Related: #7471
2015-09-23[docs] update interfaces documentationKali Kaneko
2015-09-23[refactor] avoid circular import due to rfc3156Kali Kaneko
2015-09-23[bug] Make _collection_mapping a instance variableFolker Bernitt
As a class variable multiple account instances share mailboxes which is bad if its different users or tests
2015-09-22[style] fix pep8 warningsFolker Bernitt
2015-09-22[refactor] log the added key explicitelyKali Kaneko
2015-09-22[bug] don't extract openpgp header if valid attached keyRuben Pollan
The key extract should check first for attached keys and if this fails then should try the OpenPGP header. - Resolves: #7480
2015-09-21[bug] filter out Nones in the sequence of messagesKali Kaneko
2015-09-21[doc] document return valuesKali Kaneko
2015-09-16[style] clean up incoming/service.pyRuben Pollan
2015-09-16[bug] don't fail importing mismatched attached keyRuben Pollan
We can't import attached keys with different email address than the sender. Now we don't fail in this case, just log it. - Resolves: #7454
2015-09-16[feat] use async events apiKali Kaneko
in this way, we're using twisted reactor instead of having another thread with zmq's own copy of tornado ioloop. Resolves: #7274
2015-09-10Merge pixelated's X-Leap-Encryption into developRuben Pollan
2015-09-08[feature] improve getmail utilityKali Kaneko
So now it: - Accepts credentials in a file pointed by environment variable. - Allows to specify the mailbox to select as a command line flag. - Allows to select a given message by subject. For example: BITMASK_CREDENTIALS=/tmp/bm.secrets ./getmail --mailbox INBOX --subject 'test mail The two flags are case-insensitive. This is intended to be used as a helper in end-to-end tests. Getting a message by subject it's suboptimal, but I think it's good enough for our testing purposes right now. Related: #7427
2015-09-02[style] fixing pep8 warningsDuda Dornelles
2015-09-02[feat] adding encryption header to msg before savingDuda Dornelles
This way we can tell if a message was originally encrypted, so that we can show that information to the end user.
2015-08-21[tests] properly skip not implemented tests, do not raiseKali Kaneko
2015-08-11[docs] add folker to authors + pep8Kali Kaneko
2015-08-11[bug] Fix missing _normailize_dict in DocumentWrapper constructor.Folker Bernitt
In the constructor values already is normalized (i.e. with underscores), while kwargs contains items that are not normalized (i.e. with dashes). Joining the dicts resulted in two entries that only differed by dash or underscores. The setattr then set the value that occurred later in items, thereby sometimes overriding the correct value with the default one.
2015-08-11[bug] Fix typo in content-transfer-encoding in walk.py.Folker Bernitt
The get_raw_docs method accesses header field content-transfer-encoding using the string 'content-transfer-type' so the raw doc dict always ends up with that value set to empty string.