summaryrefslogtreecommitdiff
path: root/service/test/support
AgeCommit message (Collapse)Author
2016-12-06remove some TODO'sRoald de Vries
2016-12-06fix parameter for root resourceZara Gebru
2016-12-05remove templates folder from root resource parametersRoald de Vries
2016-12-02[refactor] move app dir into public dirZara Gebru
2016-12-01fix csrf in tags testsRoald de Vries
2016-12-01fix csrf in retrieve attachment testRoald de Vries
2016-12-01fix csrf in mark as read/unread testsRoald de Vries
2016-12-01fix csrf in drafts testsRoald de Vries
2016-12-01fix csrf for some integration testsRoald de Vries
2016-12-01WIP: add csrf token to every requestRoald de Vries
2016-11-29construct full path from fragmentsRoald de Vries
2016-11-29fix request mock for app test clientRoald de Vries
See https://github.com/twisted/twisted/blob/160ecab6505e6634a8ea5c33fa209f90ffd5e52d/src/twisted/web/server.py#L182
2016-10-28removing obsolete Leap_password_checker #795NavaL
2016-10-28Fixing Authentication imports #795NavaL
2016-10-28authentication now returns AuthenticationNavaL
leap session creation is only done post-interstitial and that logic is also extracted into its own class #795
2016-10-26Adds real authenticationDenis Costa
We also did some refactoring in order to have things working. #795
2016-10-26Moving authentication out of login_resourceBruno Wagner
This is ongoing work to be able to accept and validate user domain on login (so the user can use <username> or <username@domain.com>) We are extracting the authentication logic from login_resource to be able to test and cover the cases we need
2016-10-18Adapted imports to reflect new bitmask-dev dependencyBruno Wagner
2016-10-07use test client in test case through composition instead of inheritanceRoald de Vries
2016-10-06Removed tornado and dispacher referencesTulio Casagrande
2016-09-26[#668] Moved user folder under pixelated subfolderTulio Casagrande
2016-09-23[#668] Put search index under pixelated subfolderTulio Casagrande
2016-09-23Replace SRPSession usages with bonafideTulio Casagrande
In order to replace leap_auth with bonafide, we created a class to hold the user credentials
2016-09-12[#698] Add default user to the integration test clientTulio Casagrande
The functional tests depend on a pre-existing default user. As it uses the integration test client, we added this default user to the client setup.
2016-09-12multi_user_client now accounts for the login processBruno Wagner
The login resource was being totally mocked out of the integration tests, I adapted the test client to touch the actual login code and fixed the multi_user_client to use the same checker the single user one was using. With that change we now have tests that cover the change of authenticating with bonafide
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-07-04Issue #738: Bypass cookie validation for sandboxFelix Hammerl
2016-06-24 added dummy user attribute to SRPsession as the constructor changed -- ↵NavaL
fixing build -- Issue #694
2016-06-24Issue #694 add an admin restricted resource for user statsNavaL
2016-06-23refactoring: moved Service factories to the service config fileNavaL
2016-05-19issue #685 remove duplicated email recipientsmfrankie
2016-05-19remove duplicated mails, wipmfrankie
2016-05-13Issue #691: Refactor to Twisted 16.1.1Felix Hammerl
2016-04-13Issue #674: Update Account usage to pass user_idCaio Carrara
There is an update on leap_mail where an user id became required to create an Account. So, this change update the Account usage on user agent to pass this parameter.
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-25serving the client directly, as the current dependency on proxy strips out ↵NavaL
xsrf cookies -fixing functional test 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-10Fix Issue #596: Provide correct content-typeFelix Hammerl
Provide the proper content-type Quote filename due to Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=221028
2016-02-05closing the services closes leap session, which stops background tasks, ↵NavaL
close soldedad and remove it from cache Issue #586
2016-02-03checks to load leap sessions and services or notNavaL
Issue #590
2016-01-28added ft stepNavaL
Issue #583
2016-01-28making async setup user services after authNavaL
Issue #583
2016-01-28removed unnecessary imports, and wrong yieldsNavaL
Issue #576
2016-01-27Add a login multi user functional testFolker Bernitt
- Issue #576 - Extended AppTestClient with multi user support
2016-01-26Refactor test account account creation into own classFolker Bernitt
- Issue #576 - Step towards functional tests for multi user
2016-01-26minor refactoringsNavaL
Issue #576
2016-01-25added integration testNavaL
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-19Make RootResource read account email from mail serviceFolker Bernitt
- Issue #576