summaryrefslogtreecommitdiff
path: root/service/test/unit/bitmask_libraries/test_session.py
AgeCommit message (Collapse)Author
2016-08-19Started deferring leap session creation #759Bruno Wagner
Started adapting get_leap_session to deferreds Soledad and keymanager setup calls will now happen in deferreds and leap session creation itself is a deferred with callbacks This is a start in breaking the big blocking calls we were doing on the main thread, this was done without changing code inside the leap libraries yet so things can be further optimized This breaks the ~4 seconds get_leap_session piece into smaller 1 seconds one, that can be further optimized and deferred to even smaller calls There are requests calls happening on the main thread that should get this number even further down Also moved some pieces from bitmask libraries to our bootstrap, because they are not bitmask libraries anymore and that was causing confusion
2016-04-04Migrate ImapAccount to AccountTulio Casagrande
Migrate all usage of leap.ImapAccount to leap.Account We had to adapt some calls because of signature changes and, because we need the Account to be initialized before moving on, we are directly using the deferred initialization that the account has See: https://github.com/leapcode/leap_mail/pull/228
2016-02-24Recreate session on soledad problemsFolker Bernitt
- Issue #615 - invalid token raised by soledad after timeout, if we see this, recreate the session on next login
2016-02-23Only do initial sync on session creationFolker Bernitt
- Issue #615 - Fixed some long broken but not failing tests
2016-02-09Close account on session closeFolker Bernitt
- Issue #586
2016-02-08mocking register/unregister key generation event, on closeNavaL
- fixing build Issue #586
2016-02-05closing the services closes leap session, which stops background tasks, ↵NavaL
close soldedad and remove it from cache Issue #586
2016-02-01Fix unit testsGiovane
2016-01-29Fix: Only act on generated keys for current userFolker Bernitt
- Issue #587
2015-10-27Moves welcome mail logic inside LeapSessionGiovane
2015-09-16Moved account to after sync function #458Bruno Wagner
Imap account creation was firing post sync hooks and that was trying to use the mailboxes that were not synced yet. Just moved that for the after sync together with the incoming mail fetcher
2015-09-16Fixed duplicate document error on reruns #458Bruno Wagner
Setting up the incoming mail fetcher checked for an INBOX before the first sync, that created an INBOX on every new machine and when you removed the leap folder. We moved that right after the initial sync, along the generation of the OpenPGP keys and adapted the tests
2015-08-11Added mail_store to LeapSession.Folker Bernitt
- Issue #420
2015-08-11Added some calls to super for tests based on test_abstract_leap.py.Folker Bernitt
2015-08-11fix test_sessionVictor Shyba
2015-08-11trying out a new migrationVictor Shyba
2015-06-09Removed triplicated code to concatenate user mailVictor Shyba
2015-05-04update testsrafael lisboa
2015-02-18#294 - not failing service startup if smtp fails to startDuda Dornelles
2015-01-22 #224 moving to trial as test runnerPixpoa pairing
2015-01-22 #224 renaming tests so they get caught by trial runnerDuda Dornelles