aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-26Add more configuration variables.Muriithi Frederick Muriuki
* Add configurations for elasticsearch and github.
2018-03-26Add save_user() functionMuriithi Frederick Muriuki
* On successful login via OAuth2, save the details of the user in elasticsearch store, to avoid hitting the external provider for the basic details.
2018-03-26Add elasticsearch module to the pathMuriithi Frederick Muriuki
* Add some code to set up the path for the python-elasticsearch module.
2018-03-26Add functions to help handle github loginMuriithi Frederick Muriuki
* Add functions to help with the github OAuth2 login process
2018-03-26Add elasticsearch_tools moduleMuriithi Frederick Muriuki
* Collect variables and functions for using the elasticsearch system in a separate module.
2018-03-26Add client_id and client_secret configurationsMuriithi Frederick Muriuki
* Provide the OAuth2 client_id and client_secret values in configuration variables.
2018-03-26Add template elements for OAuth loginMuriithi Frederick Muriuki
* Add html elements that will be used to prompt users to login with either GitHub or ORCID.
2018-03-26Add configuration variables for external servicesMuriithi Frederick Muriuki
* Add configuration variables for GitHub and ORCID which will be used by the system to allow users to login.
2018-03-22Change raise statementMuriithi Frederick Muriuki
* Change the raise statement to use an Exception object rather than using a string for compatibility with Python3.
2018-03-22Fix 'def' statementMuriithi Frederick Muriuki
* End the 'def' statement with a colon (:) * Add an empty line between lines at different indentation levels for clarity.
2018-03-21Use logger.info instead of logger.debug, fixes ↵Pjotr Prins
https://github.com/genenetwork/genenetwork2/issues/296
2018-03-21Skip automatic use of EXPLAIN_TEMPLATE_LOADING.Pjotr Prins
2018-03-21Deactivate navigation testsMuriithi Frederick Muriuki
* Navigation depends on Javascript to render the elements being tested. That would require selenium and its ilk to run such tests, meaning such packages would need to be defined for Guix first.
2018-03-20Refactor startup config for gunicorn and werkzeugPjotr Prins
2018-03-20FixPjotr Prins
2018-03-20Authentication: some mods around defaultsPjotr Prins
2018-03-19Initialise navigation tests.Muriithi Frederick Muriuki
* Start working on navigation tests.
2018-03-19* Add mapping tests. Fix link-checker tests.Muriithi Frederick Muriuki
* Add tests for the R/qtl and CIM mapping tools. * Fix tests for in-page links.
2018-03-19RELEASENOTESPjotr Prins
2018-03-19- Disabled PYTHONPATH injection - fix Guix instead, see ↵Pjotr Prins
https://github.com/pjotrp/genenetwork2/commit/63a5c8a42ad02e9126bb207465ff5eca98f6515d - Renamed WQFLASK_SETTINGS to GN2_SETTINGS
2018-03-19Merge pull request #5 from fredmanglis/testingPjotr Prins
Testing
2018-03-18Initialise mapping testsMuriithi Frederick Muriuki
* Add mapping tests, and build the first of the tests.
2018-03-18Move import to the top of the page.Muriithi Frederick Muriuki
* Mainly to tell the dependencies easily.
2018-03-18Check 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-16Just undoing tabulator changes so I can push other changeszsloan
2018-03-15Changed appearance of mapping and correlation options on trait pagezsloan
Fixed issue where changed sample values were not passed to qtlreaper mapping ("Interval Mapping") Loading factors and their plot are hidden in situations where there's some error with calculating principal components Added GEMMA description and changed order of descriptions for mapping options on trait page
2018-03-14Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-12Add tests to check links.Muriithi Frederick Muriuki
2018-03-09Add link_checker moduleMuriithi Frederick Muriuki
* Add the module that will hold the code to test the links on the system.
2018-03-09Use 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-05rename draw_corr_scatterplot-2.js to draw_corr_scatterplot.jsLei Yan
2018-03-05update Correlation ScatterplotLei Yan
2018-03-02Added option to display selected covariates for GEMMA mappingzsloan
Changed layout/appearance of mapping options Partially fixed issue with deleting collections Changes to correlation table still in progress; having trouble getting tabulator to load JSON
2018-02-26Merge /home/lei/gene into testingzsloan
2018-02-26Committing some in-progress changes related to loading correlation page from ↵zsloan
JSON
2018-02-23Add 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-02-23Provide connections to elasticsearchMuriithi Frederick Muriuki
* Provide connections to elasticsearch at various points in the code. These oversight was caught while running tests.
2018-02-23Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-02-23Add new test for github loginsMuriithi Frederick Muriuki
2018-02-23Remove failing codeMuriithi Frederick Muriuki
* With the parameterized module, the testcase cannot be run independently at this time.
2018-02-23update corr scatterplot interfaceLei Yan
2018-02-21Simplify 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-02-21Fix 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-02-19Add more login tests.Muriithi Frederick Muriuki
2018-02-19Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-02-19Add 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-02-19Create 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-02-19Rename 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-02-16Add registration testMuriithi Frederick Muriuki
* Add integration test to check the registration process.
2018-02-16Merge branch 'pjotrp-gn-testing-es' into testingMuriithi Frederick Muriuki