summaryrefslogtreecommitdiff
path: root/src/leap/mail/utils.py
AgeCommit message (Collapse)Author
2015-03-30[bug] fix early append notificationKali Kaneko
There's a workaround for "slow" APPENDS to an inbox, and it is that we have a flag to allow returning early when JUST the mdoc (the meta-document) has been written. However, this was givin a problem when doing a FETCH right after an APPEND (with notify_just_mdoc=True) has been done. This commit fixes it by making the FETCH command first check if there's an ongoing pending write, and queueing itself right after the write queue has been completed. This fixes the testFullAppend regression. Releases: 0.4.0
2015-02-11bug: fix empty definition; remove threading useKali Kaneko
this fixes a bug by which incoming service was not deleting the message from incoming after correclty saving all the message subparts into soledad.
2014-11-17Moving encrypt, sign and send logic from gateway (SMTP) to a MailServiceDuda Dornelles
2014-02-17catch typeerror too in empty definitionKali Kaneko
2014-02-17two versions of accumulator utilKali Kaneko
2014-02-17separate better dirty/new flags; add cdocsKali Kaneko
2014-02-02fix missing content after in-memory addKali Kaneko
because THE KEYS WILL BE STRINGS AFTER ADDED TO SOLEDAD Can I remember that? * Fix copy from local folders * Fix copy when we already have a copy of the message in the inbox, marked as deleted. * Fix also bad deferred.succeed in add_msg when it already exist.
2014-01-30docstring fixesKali Kaneko
Also some fixes for None comparisons.
2014-01-28handle last_uid property in memory storeKali Kaneko
2014-01-28flags use the memstoreKali Kaneko
* add new/dirty deferred dict to notify when written to disk * fix eventual duplication after copy * fix flag flickering on first retrieval.
2014-01-28move utilitiesKali Kaneko
2014-01-22Add find_charset helper and use where is needed.Ivan Alejandro
2014-01-17Add custom json.loads method.Ivan Alejandro
This allows us to support the use of an `str` parameter that won't be converted to unicode. So in the case of a string containing bytes with different encodings this won't break.
2014-01-08move utility to its ownKali Kaneko