Age | Commit message (Expand) | Author |
2018-03-26 | Add tests to check that the UI is setup correctly...* Check that the links for OAuth2 logins via ORCID and GitHub are setup
correctly.
| Muriithi Frederick Muriuki |
2018-03-26 | Provide connections to elasticsearch...* Provide connections to elasticsearch at various points in the code.
These oversight was caught while running tests.
| Muriithi Frederick Muriuki |
2018-03-26 | Add new tests for orcid logins | Muriithi Frederick Muriuki |
2018-03-26 | Add new test for github logins | Muriithi Frederick Muriuki |
2018-03-26 | Remove failing code...* With the parameterized module, the testcase cannot be run
independently at this time.
| Muriithi Frederick Muriuki |
2018-03-26 | Simplify test. Check for content, rather than url...* 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.
| Muriithi Frederick Muriuki |
2018-03-26 | Fix assumption of existing collection...* 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.
| Muriithi Frederick Muriuki |
2018-03-26 | Add more login tests. | Muriithi Frederick Muriuki |
2018-03-26 | Add a runner for all integration tests. | Muriithi Frederick Muriuki |
2018-03-26 | Add test for local login...* Add an integration test to test that the login process for users
registered locally to genenetwork2 works as expected.
| Muriithi Frederick Muriuki |
2018-03-26 | Create parametrized superclass for tests...* 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.
| Muriithi Frederick Muriuki |
2018-03-26 | Rename file and move common code...* Rename the file to make it an importable module
* Refactor the test to move common code out to a super class.
| Muriithi Frederick Muriuki |
2018-03-26 | Add registration test...* Add integration test to check the registration process.
| Muriithi Frederick Muriuki |
2018-03-26 | Requests added | Pjotr Prins |
2018-03-26 | Added unittest example | Pjotr Prins |
2018-03-26 | Fixing authentication stuff so it uses parameters properly. Also no PYTHONPAT......it is now in the Guix build.
| Pjotr Prins |
2018-03-26 | Add tests for Registration process. | Muriithi Frederick Muriuki |
2018-03-26 | Update module to make it more testable...* Update functions to make them more testable.
* Update code using updated functions.
| Muriithi Frederick Muriuki |
2018-03-26 | Check elasticsearch at point of use...* Instead of checking for the state of elasticsearch at startup, check
the state at the moment the user requests a feature that depends on
elasticsearch.
This reduces the chances that the user is dropped onto an exception
page when elasticsearch server goes down.
| Muriithi Frederick Muriuki |
2018-03-26 | Add check for elasticsearch...* Add some extra checks to ensure that elasticsearch is running before
presenting the UI to the user.
| Muriithi Frederick Muriuki |
2018-03-26 | Add code to allow user to change password...* After the email is sent to the user, there is need to provide a way
for the user to actually change their password, and have the results
saved.
| Muriithi Frederick Muriuki |
2018-03-26 | Refactor common items to more generic methods....* Refactor code that can be used in more than one place to a more
generic method/function that's called by other methods
| Muriithi Frederick Muriuki |
2018-03-26 | Send emails for forgotten passwords...* Update the code so that it sends out emails for the "forgot password"
feature.
| Muriithi Frederick Muriuki |
2018-03-26 | Add SMTP configuration variables...* Add configuration variables to enable the system connect to the
configured SMTP server to send out emails.
| Muriithi Frederick Muriuki |
2018-03-26 | Fix conflict | Pjotr Prins |
2018-03-26 | Fail safely if elasticsearch is down or unconfigured...* If elasticsearch server is down, or the configuration variables are
not provided at startup or in a configuration file, then do not allow
the system to simply crash, but instead, inform the user that they
cannot use the services that depend on elasticsearch to be running.
| Muriithi Frederick Muriuki |
2018-03-26 | Set to None if no value provided...* Add a method to set the configuration variables to None if the
configuration values are not provided at startup or in the
configuration files.
The system already checks for these values, and if they are absent, it
simply fails to display the OAuth service as available for use to
login.
| Muriithi Frederick Muriuki |
2018-03-26 | Use elasticsearch rather than mysql for local accounts...* Register local accounts onto elasticsearch rather than mysql.
* Login from the accounts on elasticsearch
* Harmonise local and oauth2 logins to use the same code.
| Muriithi Frederick Muriuki |
2018-03-26 | Add OAuth2 login code for ORCID...* Add code to handle the login via ORCID
| Muriithi Frederick Muriuki |
2018-03-26 | Update configurations...* Have the authorisation URLs build up from the client id and client
secret values.
| Muriithi Frederick Muriuki |
2018-03-26 | Add code to enable OAuth2 login...* Add some code to handle the login if the user chooses to login via
GitHub or ORCID.
| Muriithi Frederick Muriuki |
2018-03-26 | Delay after save for indexing...* Elasticsearch need a short delay after adding document for it to index
the document for subsequent access.
| Muriithi Frederick Muriuki |
2018-03-26 | Add more configuration variables....* Add configurations for elasticsearch and github.
| Muriithi Frederick Muriuki |
2018-03-26 | Add save_user() function...* On successful login via OAuth2, save the details of the user in
elasticsearch store, to avoid hitting the external provider for the
basic details.
| Muriithi Frederick Muriuki |
2018-03-26 | Add elasticsearch module to the path...* Add some code to set up the path for the python-elasticsearch module.
| Muriithi Frederick Muriuki |
2018-03-26 | Add functions to help handle github login...* Add functions to help with the github OAuth2 login process
| Muriithi Frederick Muriuki |
2018-03-26 | Add elasticsearch_tools module...* Collect variables and functions for using the elasticsearch system in
a separate module.
| Muriithi Frederick Muriuki |
2018-03-26 | Add client_id and client_secret configurations...* Provide the OAuth2 client_id and client_secret values in configuration
variables.
| Muriithi Frederick Muriuki |
2018-03-26 | Add template elements for OAuth login...* Add html elements that will be used to prompt users to login with
either GitHub or ORCID.
| Muriithi Frederick Muriuki |
2018-03-26 | Add configuration variables for external services...* Add configuration variables for GitHub and ORCID which will be used by
the system to allow users to login.
| Muriithi Frederick Muriuki |
2018-03-16 | Just undoing tabulator changes so I can push other changes | zsloan |
2018-03-15 | Changed appearance of mapping and correlation options on trait page...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
| zsloan |
2018-03-02 | Added option to display selected covariates for GEMMA mapping...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
| zsloan |
2018-02-26 | Merge /home/lei/gene into testing | zsloan |
2018-02-26 | Committing some in-progress changes related to loading correlation page from ... | zsloan |
2018-02-23 | update corr scatterplot interface | Lei Yan |
2018-02-14 | Added empty collection error page to git, since it wasn't on production | zsloan |
2018-02-13 | Resolved conflict | zsloan |
2018-02-13 | Just committing very minor change to correlation table so I can pull other ch... | zsloan |
2018-02-13 | Merge pull request #285 from pjotrp/testing...@zsloan: we should introduce full parameter checking and sensible defaults | zsloan |