summaryrefslogtreecommitdiff
path: root/service/pixelated
AgeCommit message (Collapse)Author
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-23Fixed leap home default home to use expand_pathBruno Wagner
In some cases, the default home was not expanding the user part of the path and was causing errors, now we make sure the path is expanded when setting the default value
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-23fix pep8Christoph Kluenter
2016-08-22Added clock support functionThais Siqueira
Now we can clock how long a piece of code takes to execute without being constrained by whole method like we were with the decorator
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-19Removed auth from leap session #759Bruno Wagner
Authentication is now consistently done before creating the leap session, so I removed the auth attempt from inside the leap session factory
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-08-19Removed cert download from session creation #759Bruno Wagner
It is already done earlier in the bootstrap and is not user specific, so shouldn't be done on user bootstrap
2016-07-04Issue #738: Bypass cookie validation for sandboxFelix Hammerl
2016-06-28Normalize i18n keysTulio Casagrande
2016-06-27Csrf not being enforced on GETCaio Carrara
2016-06-27Fix xsrf-token verification in async callsCaio Carrara
The previous behaviour only checked xsrf-token in headers, but it can be informed in a token as well.
2016-06-24Issue #694 add an admin restricted resource for user statsNavaL
2016-06-23refactoring: renaming services factory methods to relate them to user ↵NavaL
services sessions
2016-06-23refactoring: moved Service factories to the service config fileNavaL
2016-06-16Fix UNNAMED attachment bugTulio Casagrande
Previously some attachments were being showed as UNNAMED. This change fix it and creates propers tests for attachments. See: #608
2016-06-16Stops filtering application/pgp-keys attachmentsTulio Casagrande
See: #608
2016-06-14starting the server when the reactor is running and adding proper error ↵NavaL
handling during multi-user boostrap - reactor.stop will not work if the reactor is not running. This will make sure it will be stopped on bootstrap errors now. - added a wrapper that returns a defer.fail for exceptions thrown during the multi-user boostrap - Issue #535
2016-06-14Empty FEEDBACK_URL env variable should also disable feedbackNavaL
This is needed as we need to provide empty FEEDBACK_URL, just to remind that it can be set if desired Issue #710
2016-06-07Update keymanager calls due api updateCaio Carrara
Some keymanager api was updated, so we needed to update some calls.
2016-06-02RootResource should return 503 during startup (#699)Blake Williams
Return 503 code while RootResource is in MODE_STARTUP
2016-06-02Revert "added custom c extension to set mutex locking for openssl rand ↵NavaL
generation" This reverts commit 6b528c26a05f1c3f969a9896328be408bcfd6064.
2016-06-01added custom c extension to set mutex locking for openssl rand generationNavaL
2016-05-31Remove unused session_idTulio Casagrande
2016-05-31Merge pull request #701 from shabbyrobe/fix-issue-695Christoph
Issue 695: Show all recipients in mail sent folder
2016-05-30Handle errors on started processTulio Casagrande
In single user-mode, the InvalidAuthTokenError may occur during initialization
2016-05-27Issue #695: Show all recipients in mail sent foldershabbyrobe
2016-05-26Updated calls to addRawHeader to use setRawHeadersshabbyrobe
2016-05-22accomodates the case where the email address is the data sent with the eventNavaL
- now username and user_id are mapped when the user logs in - Issue #686
2016-05-20adding event as first argument on invalid soledad register callback. ↵NavaL
register sends it too. Issue #686
2016-05-19issue #685 remove duplicated email recipientsmfrankie
2016-05-19remove duplicated mails, wipmfrankie
2016-05-19when invalid soledad auth token, it logs user out if multi-user and stops ↵NavaL
the reactor if single-user mode Issue #689
2016-05-18Issue #692 re-added logout back in the feature toggleNavaL
2016-05-13Issue #691: Refactor to Twisted 16.1.1Felix Hammerl
2016-05-12Update ssl arguments descriptionCaio Carrara
The previous description were mentioning dispatcher use, but since we don't use it anymore, they were changed to refer to server-mode.
2016-05-12 we still need the ssl arguments, even in no-dispatcher-modeChristoph Kluenter
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-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-13Issue #431: ReviewFelix Hammerl
* Remove GenericDeferredErrorHandler class * Convert static method generic_error_handling to function instead
2016-04-12Removed time logging from mails_resourceBruno Wagner
Removed the time logging, it can be put adhoc when we want to test a specific case
2016-04-11Fixed pep8 warningBruno Wagner
2016-04-11Removed general timings from methodsBruno Wagner
I kept the logging functions so we can log times for tests and to investigate issues, but I removed all usages of them until someone needs them
2016-04-08Issue #431: extractes the generic handling for error callbacks in init and ↵Zara Gebru
handles login, logout, mail and tags resources
2016-04-08Issue #431: add errback on logoutZara Gebru
2016-04-06Issue #292: add fingerprint to user settings resourceZara Gebru
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