summaryrefslogtreecommitdiff
path: root/service/test/unit/resources
AgeCommit message (Collapse)Author
2016-11-29make login resource part of the public root resourceRoald de Vries
2016-11-29assert login url is delegated correctlyRoald de Vries
2016-11-29add inbox resourceRoald de Vries
2016-11-29return resource instead of username/avatarId as avatarRoald de Vries
2016-11-28split inbox resource out of root resourceRoald de Vries
2016-11-25don't mock the root resource in auth wrapper testRoald de Vries
2016-11-25pass url *fragment* as path argument to getChildWithDefaultRoald de Vries
2016-11-25make credentialsFactories parameter to auth session wrapper optionalRoald de Vries
2016-11-24add login resource as child of public root resourceRoald de Vries
2016-11-24add public root resource to serve static filesRoald de Vries
2016-11-24add test for unauthorized resourceRoald de Vries
2016-11-23replace stdlib's unittest with trials's unittest for all unittestRoald de Vries
2016-11-23fix mails resource unit testRoald de Vries
2016-11-23readabilityRoald de Vries
2016-11-23fix archive resource unit testRoald de Vries
2016-11-23replace stdlib's unittest with trials's unittest for all unittestRoald de Vries
2016-11-23fix mails resource unit testRoald de Vries
2016-11-23readabilityRoald de Vries
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