Age | Commit message (Collapse) | Author |
|
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
|
|
Authentication is now consistently done before
creating the leap session, so I removed the
auth attempt from inside the leap session
factory
|
|
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
|
|
It is already done earlier in the bootstrap and
is not user specific, so shouldn't be done on
user bootstrap
|
|
|
|
|
|
|
|
The previous behaviour only checked xsrf-token in headers, but it can be
informed in a token as well.
|
|
|
|
services sessions
|
|
|
|
Previously some attachments were being showed as UNNAMED. This change fix it and
creates propers tests for attachments.
See: #608
|
|
See: #608
|
|
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
|
|
This is needed as we need to provide empty FEEDBACK_URL, just to remind that it can be set if desired
Issue #710
|
|
Some keymanager api was updated, so we needed to update some calls.
|
|
Return 503 code while RootResource is in MODE_STARTUP
|
|
generation"
This reverts commit 6b528c26a05f1c3f969a9896328be408bcfd6064.
|
|
|
|
|
|
Issue 695: Show all recipients in mail sent folder
|
|
In single user-mode, the InvalidAuthTokenError may occur during
initialization
|
|
|
|
|
|
- now username and user_id are mapped when the user logs in
- Issue #686
|
|
register sends it too.
Issue #686
|
|
|
|
|
|
the reactor if single-user mode
Issue #689
|
|
|
|
|
|
The previous description were mentioning dispatcher use, but since we
don't use it anymore, they were changed to refer to server-mode.
|
|
|
|
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.
|
|
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.
|
|
* Remove GenericDeferredErrorHandler class
* Convert static method generic_error_handling to function instead
|
|
Removed the time logging, it can be put adhoc when
we want to test a specific case
|
|
|
|
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
|
|
handles login, logout, mail and tags resources
|
|
|
|
|
|
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
|
|
cryptography is now a hard dependency, so we are removing the use of
pycryptopp.
|
|
Add CORS headers to sandbox resource
Add OpenSans in normal font weight (400) to the sandbox CSS
|
|
|
|
|
|
- Deferred was not handled as required
- Test did not assert call to expire
|
|
fixing build
|
|
- The main identifier of a key now is the fingerprint, not the id
anymore
- The address is not required anymore when creating the json
|