summaryrefslogtreecommitdiff
path: root/service/test/unit
AgeCommit message (Collapse)Author
2016-05-11Remove dispatcher references from serviceCaio Carrara
Since we're not using dispatcher anymore, it doesn't make sense to keep dispatcher references and program flows that depend on it. For example, it doesn't make sense keep the flag --organization-mode, so it was removed as well.
2016-04-08Issue #431: extractes the generic handling for error callbacks in init and ↵Zara Gebru
handles login, logout, mail and tags resources
2016-04-08Issue #431: add errback on logoutZara Gebru
2016-04-06Issue #292: add fingerprint to user settings resourceZara Gebru
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-03-09Issue #617: Serve content from Sandbox resourceFelix Hammerl
2016-03-04Fix: Logout calls session expireFolker Bernitt
- Deferred was not handled as required - Test did not assert call to expire
2016-03-01Fix tests after change on OpenPGPKey.get_json APIGiovane
- The main identifier of a key now is the fingerprint, not the id anymore - The address is not required anymore when creating the json
2016-03-01Fix test: Add missing date fieldFelix Hammerl
2016-02-25only adding feature resource in root_resource test -- fixing buildNavaL
Issue #612
2016-02-25changed logout to postNavaL
Issue #612
2016-02-25Backend and frontend protection against csrf attacks:NavaL
- root resources changes the csrf token cookie everytime it is loaded, in particular during the intestitial load during login - it will also add that cookie on single user mode - initialize will still load all resources - but they you cant access them if the csrf token do not match - all ajax calls needs to add the token to the header - non ajax get requests do not need xsrf token validation - non ajax post will have to send the token in as a form input or in the content Issue #612
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-22Removes stacktrace errors from appearing on the login page.NavaL
For the case of wrong file path or file not existing Issue #214
2016-02-22Removes stacktrace errors from appearing on the login page.NavaL
Instead shows a generic: "invalid xml format" message Issue #214
2016-02-20Add recommended security headers from #618Paulo Schneider
2016-02-12attachments are only un-linked from emails but not deleted in soledadJefferson Stachelski
- removed backend delete of attachments - JS unit tests - Functional test Issue #549
2016-02-12Revert "Revert "Issue #549 - Implemented remove attachment""NavaL
This reverts commit 3c6b905d7e5b78e521b2e7692e5e32b7b0c226bc.
2016-02-12mocking all paths to existsNavaL
Issue #604
2016-02-11adds argument to supply custom disclaimer/banner on login screenNavaL
Issue #598
2016-02-11Redownload SMTP certficates if necessaryFolker Bernitt
- Issue #591 - using leaps should_redownload for check
2016-02-10Download SMTP client certificate, not VPN oneFolker Bernitt
- Issue #591
2016-02-09Close account on session closeFolker Bernitt
- Issue #586
2016-02-09Small fix to wrap entire KeyManager in test_nicknym.pyFolker Bernitt
2016-02-08Revert "Issue #549 - Implemented remove attachment"Felix Hammerl
This reverts commit 9442be5c230e286073244451189ffc05ae6c8083.
2016-02-08mocking register/unregister key generation event, on closeNavaL
- fixing build Issue #586
2016-02-05suppressing Error logs being spit out in testsNavaL
2016-02-05closing the services closes leap session, which stops background tasks, ↵NavaL
close soldedad and remove it from cache Issue #586
2016-02-04Issue #549 - Implemented remove attachmentJefferson Stachelski
2016-02-03reverting unnecessary steps to not re-load leap-sessions on re-login, as ↵NavaL
they are already cached from leap side - fixing build Issue #590
2016-02-03checks to load leap sessions and services or notNavaL
Issue #590
2016-02-03move leap session creation to be done after interstitial is loadedNavaL
Issue #590
2016-02-02Don't load attachments when just listing mailsFolker Bernitt
2016-02-01Fix unit testsGiovane
2016-01-29Fix: Only act on generated keys for current userFolker Bernitt
- Issue #587
2016-01-28Add Strict-Transport-Security header to user agentFolker Bernitt
- Issue #584
2016-01-28making async setup user services after authNavaL
Issue #583
2016-01-27Add a login multi user functional testFolker Bernitt
- Issue #576 - Extended AppTestClient with multi user support
2016-01-26tests only input names on the login formNavaL
Issue #576
2016-01-25added integration testNavaL
Issue #576
2016-01-25multi user unit testNavaL
Issue #576
2016-01-25Fix: Ignore missing mail data error when creating search indexFolker Bernitt
- Should fix accounts that can currently not log in because of mails where part of the docs are missing - Does only fix the symptoms
2016-01-22re-introduced logout functionality for multi-userNavaL
Issue #576
2016-01-22Add mutli-user mode to user-agentFolker Bernitt
- Issue #576 - To start in multi user, run with --multi-user --provider provider-name.tld
2016-01-19fixing buildNavaL
Issue #576
2016-01-19Make RootResource read account email from mail serviceFolker Bernitt
- Issue #576
2016-01-18migrating feedback resources to use services factoryNavaL
Issue #576
2016-01-18migrating mails resources to use services factoryNavaL
Issue #576
2016-01-18migrating AttachmentsResources to use the service factoryNavaL
Issue #576