summaryrefslogtreecommitdiff
path: root/service/test/unit/resources/test_root_resource.py
AgeCommit message (Collapse)Author
2017-01-19Add copyright statements to all Python files that doesn't have itOla Bini
2016-12-14[#869] Move from stdlib to twisted trial unittestDenis Costa
2016-12-08Revert "[#801] Merge branch 'signup'"Roald de Vries
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
2016-12-06remove some TODO'sRoald de Vries
2016-12-05remove templates folder from root resource parametersRoald de Vries
2016-12-02[refactor] use static url instead of assets urlZara Gebru
2016-12-02[refactor] move app dir into public dirZara Gebru
2016-12-01fix root resource tests when zmq is not availableRoald de Vries
2016-12-01WIP: add csrf token to every requestRoald de Vries
2016-11-30remove PublicRootResource and use a flag on RootResource insteadRoald de Vries
2016-11-30redirect to login from root url when not logged inRoald de Vries
2016-11-30mock out usage of ZMQ in the right placeRoald de Vries
2016-11-29mock out usage or ZMQRoald de Vries
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-28split inbox resource out of root resourceRoald 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-22fix first test for auth session wrapperRoald de Vries
2016-09-28actually 404-ing valid requests but non-existing resourceNavaL
Issue #684
2016-06-27Explicitly use POST to test csrfCaio Carrara
2016-06-02RootResource should return 503 during startup (#699)Blake Williams
Return 503 code while RootResource is in MODE_STARTUP
2016-05-13Issue #691: Refactor to Twisted 16.1.1Felix Hammerl
2016-02-25only adding feature resource in root_resource test -- fixing buildNavaL
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-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
2015-11-10refactor unit testsw00
don't use initialize method of root_resource in test
2015-11-09use mail_service to inject account_email into root_resourcesw00
instead of using leap_session, mail_service can be used to get the account email.
2015-11-09template user's email address into titlesw00
this should solve https://github.com/pixelated/pixelated-user-agent/issues/246 needed to inject leap_session into root resource to access user email on request.