summaryrefslogtreecommitdiff
path: root/service/test/unit/resources
AgeCommit message (Collapse)Author
2016-11-23fix archive resource unit testRoald de Vries
2016-11-22add test for logged-in resourceRoald de Vries
2016-11-22fix first test for auth session wrapperRoald de Vries
2016-11-21add test stub for PixelatedAuthSessionWrapperRoald de Vries
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-26moving pixelated-maintenance register to use bonafide instead of leap.auth #792NavaL
2016-10-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-18Adapted imports to reflect new bitmask-dev dependencyBruno Wagner
2016-10-11[#792] Move leap.bonafide to leap.bitmask.bonafideTulio Casagrande
2016-10-07use test client in test case through composition instead of inheritanceRoald de Vries
2016-09-28actually 404-ing valid requests but non-existing resourceNavaL
Issue #684
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-23Adds translation to welcome mail.Denis Costa
2016-09-13[#778] Renaming get_key to be consistent with keymanagerTulio Casagrande
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-27Explicitly use POST to test csrfCaio Carrara
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-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-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-13Issue #691: Refactor to Twisted 16.1.1Felix Hammerl
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-03-09Issue #617: Serve content from Sandbox resourceFelix Hammerl
2016-03-04Fix: Logout calls session expireFolker Bernitt
- Deferred was not handled as required - Test did not assert call to expire
2016-03-01Fix tests after change on OpenPGPKey.get_json APIGiovane
- The main identifier of a key now is the fingerprint, not the id anymore - The address is not required anymore when creating the json
2016-02-25only adding feature resource in root_resource test -- fixing buildNavaL
Issue #612
2016-02-25changed logout to postNavaL
Issue #612
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-05suppressing Error logs being spit out in testsNavaL
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-26tests only input names on the login formNavaL
Issue #576
2016-01-25added integration testNavaL
Issue #576
2016-01-25multi user unit testNavaL
Issue #576
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
2016-01-19fixing buildNavaL
Issue #576
2016-01-19Make RootResource read account email from mail serviceFolker Bernitt
- Issue #576