summaryrefslogtreecommitdiff
path: root/service/test/unit
AgeCommit message (Collapse)Author
2016-11-24remove another unnecessary patchRoald de Vries
2016-11-24remove an unnecessary patchRoald de Vries
2016-11-23mock out event registration for failing test in SnapCIRoald de Vries
2016-11-23remove another unnecessary patchRoald de Vries
2016-11-23remove an unnecessary patchRoald de Vries
2016-11-23skip the test that is failing in snap only in snapRoald de Vries
2016-11-23skip the test that is failing in snap but not locallyRoald de Vries
To find out if there are more failing tests.
2016-11-23replace stdlib's unittest with trials's unittest for all unittestRoald de Vries
2016-11-23fix mails resource unit testRoald de Vries
2016-11-23readabilityRoald de Vries
2016-11-23fix archive resource unit testRoald de Vries
2016-11-23replace stdlib's unittest with trials's unittest for all unittestRoald de Vries
2016-11-23fix mails resource unit testRoald de Vries
2016-11-23readabilityRoald de Vries
2016-11-23fix archive resource unit testRoald de Vries
2016-11-22add test for logged-in resourceRoald de Vries
2016-11-22fix first test for auth session wrapperRoald de Vries
2016-11-21add test stub for PixelatedAuthSessionWrapperRoald de Vries
2016-11-04[#795] fixed missing yield on authenticate in leap initialize for activist modeNavaL
2016-11-03 [#792] refactor pixelated-register and removed leap.auth dependencyNavaL
2016-11-03 [#792] fix pixelated-registerNavaL
2016-10-28adding custom messages per types of auth errors #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-26extracting username before doing bonafide auth #795NavaL
2016-10-26Adds real authenticationDenis Costa
We also did some refactoring in order to have things working. #795
2016-10-26Fixes tests.Denis Costa
I also split Athenticaton class into two. So I keep the same API for old code and have different things in two different classes. #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-26moving pixelated-maintenance register to use bonafide instead of leap.auth #792NavaL
2016-10-21[#797] reinstating use of the provided email body charstet encodingNavaL
2016-10-19Adapted test now that leap.mail has a default charsetBruno Wagner
2016-10-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-18Adapted imports to reflect new bitmask-dev dependencyBruno Wagner
2016-10-11[#792] Move leap.bonafide to leap.bitmask.bonafideTulio Casagrande
2016-10-07use test client in test case through composition instead of inheritanceRoald de Vries
2016-09-28actually 404-ing valid requests but non-existing resourceNavaL
Issue #684
2016-09-27Adds more tests for welcome mail.Denis Costa
2016-09-26rearranged leap session creation to not sync nor setup account/fetcher, when ↵NavaL
using the cache Issue #773
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-23Adds translation to welcome mail.Denis Costa
2016-09-21add manhole as an option to config mockRoald de Vries
2016-09-13[#778] Handling case of failed key uploadTulio Casagrande
If we get any problem with the upload of the user's public key, we are deleting the key pair from the local database and denying login. That way, a new login will have a chance to regenerate the key and upload it properly.
2016-09-13[#778] Isolated and fixed keymanager testsTulio Casagrande
We covered a lot of missing cases on the keymanager tests. We also isolated these tests, that caused some other tests to break, so we fixed them.
2016-09-13[#778] Renaming get_key to be consistent with keymanagerTulio Casagrande
2016-09-08Fixed test to correctly mock the mail_fetcherBruno Wagner
2016-09-08[#778][Test] Don't send an existing public keyTulio Casagrande
I added a new test to check that an existing public key is not being sent to leap on every login
2016-08-30[#765] Move combined certificates to the leap folderTulio Casagrande
Since we are creating the combined certificates at the beginning of the UA and using it for multiple users, it makes more sense to create it in the leap folder instead of on a temporary file This bundle will be updated on every UA start
2016-08-29[#765] Move combined_ca_bundle to UA initializationTulio Casagrande
With this change we don't have to create the combined_ca_bundle for every user at every login. To support this change, we started migrating away from the LeapCertificate class that was making the LeapProvider setup more brittle
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-08-19Normalizing single and multi user bootstrap #759Bruno Wagner
Consolidated authentication to always be done is a defer to thread and changed the authenticate_user method name to conform with what it actually does