summaryrefslogtreecommitdiff
path: root/service/pixelated/config/leap.py
AgeCommit message (Collapse)Author
2017-01-21Re-raise the same exception to keep contextTulio Casagrande
2017-01-20Rebase previous PR on current master - see PR #915 for detailsOla Bini
2017-01-19Add copyright statements to all Python files that doesn't have itOla Bini
2016-11-04[#795] fixed missing yield on authenticate in leap initialize for activist modeNavaL
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-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-11[#792] Move leap.bonafide to leap.bitmask.bonafideTulio Casagrande
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-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-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-26[Denis/Tulio][#769] Fix activist mode initializationTulio Casagrande
2016-08-24[#762] Remove smtp-service download from session creationTulio Casagrande
SMTP json is a blocking HTTP request that was taking ~1 sec of the session creation. We moved it to the UA initialization
2016-08-23Changes soledad json download orderBruno Wagner
Soledad json must only be downloaded after we fetch the api provider certificate, we can't make the request for it before having this cert
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
2016-05-11Remove dispatcher references from serviceCaio Carrara
Since we're not using dispatcher anymore, it doesn't make sense to keep dispatcher references and program flows that depend on it. For example, it doesn't make sense keep the flag --organization-mode, so it was removed as well.
2016-02-24Recreate session on soledad problemsFolker Bernitt
- Issue #615 - invalid token raised by soledad after timeout, if we see this, recreate the session on next login
2016-01-28making async setup user services after authNavaL
Issue #583
2016-01-25Add integrity-check maintenance commandFolker Bernitt
2016-01-22Download certficate on multi user startupFolker Bernitt
- 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
2015-10-27Moves welcome mail logic inside LeapSessionGiovane
2015-10-20Refactored the welcome mail logic and add a testJefferson Stachelski
2015-10-20Revert "Add missing import for logging"kaeff
This reverts commit e3bdf2411dda9e25d87d7fb96da05a6ecfc624ee. Issue fixed in the meantime, sorry.
2015-10-20Add missing import for loggingkaeff
pixelated-maintenance failed, presumably due to 0bf81341f33ac415d48c0b012fb66c8f7df45f57.
2015-10-19Moved set gnupg loggin level to right placeJefferson Stachelski
2015-10-19Fix the pep8Jefferson Stachelski
2015-10-19Added a missing importJefferson Stachelski
2015-10-16project-issues#130 Change gnupg logging levelGiovane Liberato
Changed logging level to WARN in order to prevent logging gpg keys.
2015-10-14issue #484 - Add welcome mail for new accountsJefferson Stachelski
Make a logic to add the welcome mail in INBOX when the user log into account at the first time
2015-09-25Add repair to pixelated maintenanceFolker Bernitt
- Issue #468 - Call with: pixelated-maintenance repair
2015-09-16Moved account to after sync function #458Bruno Wagner
Imap account creation was firing post sync hooks and that was trying to use the mailboxes that were not synced yet. Just moved that for the after sync together with the incoming mail fetcher
2015-08-11pep8Victor Shyba
2015-08-11Enable initial sync and background jobs.Folker Bernitt
2015-08-11trying out a new migrationVictor Shyba
2015-06-10checking keys is a session responsabilityVictor Shyba
2015-06-08Heavy rework on certs, removed most of it, simplified the logicBruno Wagner
2015-06-08Moved initialization, fingerprint and cert inside LeapCertificate classBruno Wagner
2015-06-08move leap certs initialization to the certs modulerafael lisboa
2015-06-07events server can also run on random portVictor Shyba
With this last change, it is now possible to run more than one user agent on same pc without docker. With a fixed one it would raise port already in use and it is not configurable, making it impossible to run multiple activist UA.
2015-06-05Moved initialization of leap background jobs to leap initBruno Wagner
2015-06-05Added creation of input mail from python messageBruno Wagner
That way we don't need extra logic for the welcome mail, we just have to read the file and send the contents to the input mail parser and that's it. Also moved the logic of adding a welcome mail to the mailboxes because it has knowledge of mailbox methods anyways.