aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-02User manager no longer uses SQLPjotr Prins
2018-04-02user_session add outputPjotr Prins
2018-03-30Collections: use logging instead of print (@zsloan)Pjotr Prins
2018-03-30Fixes related to E-mail forgotten passwordPjotr Prins
2018-03-30Fixes related to E-mail forgotten passwordPjotr Prins
2018-03-30Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingPjotr Prins
2018-03-30Testing: removed test assertion (oops)Pjotr Prins
2018-03-30Fixes forgotten password error, see #257Pjotr Prins
2018-03-30Add --fail argument to test runnerPjotr Prins
2018-03-30Tests: all tests runPjotr Prins
2018-03-29Merge pull request #297 from pjotrp/testingzsloan
Testing
2018-03-29Fixed gsearch blowout https://github.com/genenetwork/genenetwork2/issues/295Pjotr Prins
2018-03-29Type checking in its own filePjotr Prins
2018-03-29Search: improved regex and some debug infoPjotr Prins
2018-03-29Disable caching of search errorsPjotr Prins
2018-03-29Checking search error terms with regexPjotr Prins
2018-03-29Illegal search term corrected treatment and no longer shows as error in logsPjotr Prins
2018-03-26Remove flask_security module - not usedPjotr Prins
2018-03-26Fix conflictPjotr Prins
2018-03-26Use logger.info instead of logger.debug, fixes ↵Pjotr Prins
https://github.com/genenetwork/genenetwork2/issues/296
2018-03-26Skip automatic use of EXPLAIN_TEMPLATE_LOADING.Pjotr Prins
2018-03-26Refactor startup config for gunicorn and werkzeugPjotr Prins
2018-03-26FixPjotr Prins
2018-03-26Authentication: some mods around defaultsPjotr Prins
2018-03-26RELEASENOTESPjotr Prins
2018-03-26- Disabled PYTHONPATH injection - fix Guix instead, see ↵Pjotr Prins
https://github.com/pjotrp/genenetwork2/commit/63a5c8a42ad02e9126bb207465ff5eca98f6515d - Renamed WQFLASK_SETTINGS to GN2_SETTINGS
2018-03-26Initialise mapping testsMuriithi Frederick Muriuki
* Add mapping tests, and build the first of the tests.
2018-03-26Move import to the top of the page.Muriithi Frederick Muriuki
* Mainly to tell the dependencies easily.
2018-03-26Check that key exists before using itMuriithi Frederick Muriuki
* Ensure the key exists in the json object/dictionary, before trying to use it to retrieve a value.
2018-03-26Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-26Add tests to check links.Muriithi Frederick Muriuki
2018-03-26Add link_checker moduleMuriithi Frederick Muriuki
* Add the module that will hold the code to test the links on the system.
2018-03-26Use argparse to handle argumentsMuriithi Frederick Muriuki
* Use argparse to handle commandline arguments. * Create initial layout of how the code might end up - lots of the code is currently commented out.
2018-03-26Add tests to check that the UI is setup correctlyMuriithi Frederick Muriuki
* Check that the links for OAuth2 logins via ORCID and GitHub are setup correctly.
2018-03-26Provide connections to elasticsearchMuriithi Frederick Muriuki
* Provide connections to elasticsearch at various points in the code. These oversight was caught while running tests.
2018-03-26Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-03-26Add new test for github loginsMuriithi Frederick Muriuki
2018-03-26Remove failing codeMuriithi Frederick Muriuki
* With the parameterized module, the testcase cannot be run independently at this time.
2018-03-26Simplify test. Check for content, rather than urlMuriithi Frederick Muriuki
* The test functions were very similar, so this commit refactors out the common test code to a single method, and passes in the data to the test using the parameterized package. * Check that the page content after a login attempt is the expected content, rather than checking the url.
2018-03-26Fix assumption of existing collectionMuriithi Frederick Muriuki
* When logging in, if a user selects "Import existing collections", the system would throw an exception, since Redis would return a NoneType, which would then be accessed by json.loads(), which doesn't seem to know how to process that. This fixes that, by providing a string representing an empty json array ("[]"), in place of the NoneType.
2018-03-26Add more login tests.Muriithi Frederick Muriuki
2018-03-26Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-03-26Add test for local loginMuriithi Frederick Muriuki
* Add an integration test to test that the login process for users registered locally to genenetwork2 works as expected.
2018-03-26Create parametrized superclass for testsMuriithi Frederick Muriuki
* Since the tests require that some parameters be provided while running the tests, create a class that helps abstract away the details of retrieving and setting the expected parameters.
2018-03-26Rename file and move common codeMuriithi Frederick Muriuki
* Rename the file to make it an importable module * Refactor the test to move common code out to a super class.
2018-03-26Add registration testMuriithi Frederick Muriuki
* Add integration test to check the registration process.
2018-03-26Requests addedPjotr Prins
2018-03-26Added unittest examplePjotr Prins
2018-03-26Fixing authentication stuff so it uses parameters properly. Also no ↵Pjotr Prins
PYTHONPATH needed as it is now in the Guix build.
2018-03-26Add tests for Registration process.Muriithi Frederick Muriuki