summaryrefslogtreecommitdiff
path: root/service/test/support
AgeCommit message (Collapse)Author
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
2016-01-18root resource now depends on the services factory -- and mail service, for ↵NavaL
now -- 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 contact resources to use the services factoryNavaL
Issue #576
2016-01-18migrating AttachmentsResources to use the service factoryNavaL
Issue #576
2016-01-18Refactory KeyResource to get services from sessionFolker Bernitt
- Issue #576 - Only first step (other services not changed yet) - Faked session access for now
2016-01-18Move user folder logic up to ServicesFolker Bernitt
- Issue #576
2016-01-15Removes InputMail.FROM_EMAIL_ADDRESS constant #578Giovane
- Created the replier component to generate the reply dict for the email. This was needed to decouple the InputMail from the need to know who is the logged user.
2016-01-12Issue #577 - Added namespace to search index pathBruno Wagner
2015-12-18extracted a leap attachment store, handling all attachment responsibilities, ↵mnandri
including saving attachments. Issue #548
2015-12-18WIP: rename me latermnandri
2015-11-10refactor unit testsw00
don't use initialize method of root_resource in test
2015-10-13Add tests for welcome mail.Giovane
2015-09-25Changed date format to conform to mail RFC #438Bruno Wagner
2015-09-21#442 Creates feedback service that create tickets on leap web.Giovane
2015-09-10Removed PixelatedMail class leftoversBruno Wagner
We removed Pixelated mail tests and adapted the remaining tests to use Leap mail instead of it. Completely removed that now
2015-09-09Remove soledad querier and last usagesFolker Bernitt
- Issue #432
2015-09-08Some progress on the issue #441Jefferson Stachelski
I added some comments and TODOs in some parts of the code where I think should be changed
2015-09-08Remove Soledad from AppTestClientkaeff
2015-09-04Remove SoledadQuerier from Serviceskaeff
- Issues: #449, #432