summaryrefslogtreecommitdiff
path: root/service/pixelated/application.py
AgeCommit message (Collapse)Author
2016-12-08Revert "[#801] Merge branch 'signup'"Roald de Vries
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
2016-12-06clean up parameters of authsessionwrapperZara Gebru
2016-12-06remove some TODO'sRoald de Vries
2016-12-05remove templates folder from root resource parametersRoald de Vries
2016-12-05get templates from pkg_resourcesRoald de Vries
2016-12-02[refactor] move app dir into public dirZara Gebru
2016-11-30remove PublicRootResource and use a flag on RootResource insteadRoald de Vries
2016-11-30use PublicRootResource for root url instead of LoginResourceRoald de Vries
2016-11-29pass resources to pixelated realmRoald de Vries
2016-11-25make credentialsFactories parameter to auth session wrapper optionalRoald de Vries
2016-11-04[#795] injecting provider on activist mode user-agent initialization ↵NavaL
--fixing startup bug
2016-11-03Users won't see the traceback on errors anymore #373Bruno Wagner
2016-10-28removing obsolete Leap_password_checker #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-19Removed plugins bootstrap from the manhole optionBruno Wagner
2016-10-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-05Fix pep8Tulio Casagrande
2016-10-05Move the application.py to twisted loggerTulio Casagrande
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-28remove private key from [gnupg] logs the right wayRoald de Vries
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-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-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-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-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-30Handle errors on started processTulio Casagrande
In single user-mode, the InvalidAuthTokenError may occur during initialization
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-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-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-19Fixed arity of two event callbacksFolker Bernitt
2016-02-11adds argument to supply custom disclaimer/banner on login screenNavaL
Issue #598
2016-02-05closing the services closes leap session, which stops background tasks, ↵NavaL
close soldedad and remove it from cache Issue #586
2016-02-03reverting unnecessary steps to not re-load leap-sessions on re-login, as ↵NavaL
they are already cached from leap side - fixing build Issue #590
2016-02-03move leap session creation to be done after interstitial is loadedNavaL
Issue #590
2016-01-28making async setup user services after authNavaL
Issue #583
2016-01-27Add a login multi user functional testFolker Bernitt
- Issue #576 - Extended AppTestClient with multi user support
2016-01-26minor refactoringsNavaL
Issue #576