summaryrefslogtreecommitdiff
path: root/service/pixelated/resources/login_resource.py
AgeCommit message (Collapse)Author
2016-08-31Reading interstitial on class initBruno Wagner
The interstitial was being read at every login request, that was a blocking read on the main loop for every user. That file was also being opened and not closed at every request, that would aggravate the 'too many open files' problem
2016-06-23refactoring: renaming services factory methods to relate them to user ↵NavaL
services sessions
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-04-13Issue #431: ReviewFelix Hammerl
* Remove GenericDeferredErrorHandler class * Convert static method generic_error_handling to function instead
2016-04-08Issue #431: extractes the generic handling for error callbacks in init and ↵Zara Gebru
handles login, logout, mail and tags resources
2016-02-25Backend and frontend protection against csrf attacks:NavaL
- root resources changes the csrf token cookie everytime it is loaded, in particular during the intestitial load during login - it will also add that cookie on single user mode - initialize will still load all resources - but they you cant access them if the csrf token do not match - all ajax calls needs to add the token to the header - non ajax get requests do not need xsrf token validation - non ajax post will have to send the token in as a form input or in the content Issue #612
2016-02-22Removes stacktrace errors from appearing on the login page.NavaL
For the case of wrong file path or file not existing Issue #214
2016-02-22Removes stacktrace errors from appearing on the login page.NavaL
Instead shows a generic: "invalid xml format" message Issue #214
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-03checks to load leap sessions and services or notNavaL
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-25multi user unit testNavaL
Issue #576
2016-01-22Show sensible error message for failed loginFolker Bernitt
- Issue #576 - Use of twisted templating
2016-01-22re-introduced logout functionality for multi-userNavaL
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