summaryrefslogtreecommitdiff
path: root/service
AgeCommit message (Collapse)Author
2016-10-05Setup twisted logger and formatterTulio Casagrande
2016-10-05Move the application.py to twisted loggerTulio Casagrande
2016-10-05Changed to new twisted logging systemTulio Casagrande
This was storing loglines and references of the objects until a beginLoginTo was called. We moved to the new logger and added the beginLoginTo line.
2016-10-05remove `set_portal`, it's not neededRoald de Vries
2016-10-05remove pixelated realm's init parametersRoald de Vries
They weren't used. Currently, the PixelatedAuthSessionWrapper determines the resource to use for a user. It would be more idiomatic to have the realm determine that. Actually, it should return the avatar as an IResource. See http://twistedmatrix.com/documents/current/web/howto/web-in-60/http-auth.html
2016-10-05Revert "remove pixelated realm's init parameters"Roald de Vries
This reverts commit 8fa81ff3b2cf0422098395ec9918d5b547fbbca5.
2016-10-05remove pixelated realm's init parametersRoald de Vries
They weren't used. Currently, the PixelatedAuthSessionWrapper determines the resource to use for a user. It would be more idiomatic to have the realm determine that. Actually, it should return the avatar as an IResource. See http://twistedmatrix.com/documents/current/web/howto/web-in-60/http-auth.html
2016-09-30[#348] Aesthetical changes to the welcome emailsTulio Casagrande
2016-09-30Adds new welcome mail text in english.Denis Costa
2016-09-30Adds new welcome mail text in portuguese.Denis Costa
2016-09-29adapt the EN welcome mailRoald de Vries
2016-09-28remove private key from [gnupg] logs the right wayRoald de Vries
2016-09-28Adds fallback to previous way to get body message.Denis Costa
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-27Fixes charset on welcome mail in portuguese.Denis Costa
2016-09-26[#668] Moved user folder under pixelated subfolderTulio Casagrande
2016-09-26Ensuring 503 is thrown whenever the root_resource is not yet initialized, ↵NavaL
for all cases, not just when it is csrf valid. Issue #684
2016-09-26rearranged leap session creation to not sync nor setup account/fetcher, when ↵NavaL
using the cache Issue #773
2016-09-26cleaning pyc files before running testsNavaL
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-23Fixes typo.Denis Costa
2016-09-23Adds translation to welcome mail.Denis Costa
2016-09-22Moved all manhole start to manhole initBruno Wagner
The start_plugins part of the manhole initialization was being initialized, logging lines and creating a file whenever the user agent was started, as opposed to only when the manhole option is active
2016-09-22move loglinegenerator to the support packageRoald de Vries
2016-09-21add manhole as an option to config mockRoald de Vries
2016-09-21open telnet/ssh port only on localhostRoald de Vries
2016-09-21add a first pluginRoald de Vries
2016-09-21use absolute path to manhole configRoald de Vries
2016-09-21allow both telnet and sshRoald de Vries
2016-09-21allow ssh for manholeRoald de Vries
2016-09-21add manhole option to user agentRoald de Vries
2016-09-16Moved to the correct placeTulio Casagrande
2016-09-16Add script to send mail to multiple users for testingTulio Casagrande
2016-09-16Add fileutils to requirements and removed pryTulio Casagrande
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-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-09-12Implements bonafide to replace leap.authBruno Wagner
This still uses the SRPSession object to hold the credentials so we don't have to adapt the rest of the user agent code
2016-09-12Added a small sleep before each login checkBruno Wagner
To ensure we don't overload the server with requests, we'll sleep a little bit before each request to check if the inbox is already loaded
2016-09-09Adapted the concurrent_logins.rb to measure the loading pageBruno Wagner
It now requests using the same session that it logs in until the user arrives at the inbox (denoted by the compose-trigger showing up on the html in this case)
2016-09-08concurrent_logins script now measure HTTP request timeBruno Wagner
2016-09-08Logging out a logged out user was breaking the UABruno Wagner
In case a user was being logged out and there's a soledad invalid auth token error, there might be an inconsistent state where the user session doesn't exist when this second logout is tried. This was breaking the login for that user until the next UA restart, I adapted the code to make logging out an user idempotent to prevent this corner case
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-09-08Update mock library to 2.0.0Tulio Casagrande
We were using an old version of the python's mock library, which lacks new features such as assert_called() and assert_not_called() that I found handy to test #778
2016-09-08Only send public key if a new key was generatedBruno Wagner
We were always sending the public key to nicknym, even if it was already there. The send_key method purpose is to update the public key in case a new pair is created and shouldn't be done at every login