summaryrefslogtreecommitdiff
path: root/service/pixelated
AgeCommit message (Collapse)Author
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 login to ignore anything after @ charBruno Wagner
2016-10-19Removed plugins bootstrap from the manhole optionBruno Wagner
2016-10-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-18Removed extension that was unused for a long timeBruno 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-10 setting Leapsssion.is_closed only when all services/dependencies are closedNavaL
2016-10-05Fix pep8Tulio Casagrande
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-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-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-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-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] Renaming get_key to be consistent with keymanagerTulio Casagrande
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-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-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