Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
|
|
|
|
* Add an integration test to test that the login process for users
registered locally to genenetwork2 works as expected.
|
|
* 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.
|
|
* Rename the file to make it an importable module
* Refactor the test to move common code out to a super class.
|
|
* Add integration test to check the registration process.
|
|
|
|
|
|
|
|
PYTHONPATH needed as
it is now in the Guix build.
|
|
|
|
|
|
* Update functions to make them more testable.
* Update code using updated functions.
|
|
for every page we
work on. It will help bug tracking.
Probably fixes #279
|
|
Gn production
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
* Add some extra checks to ensure that elasticsearch is running before
presenting the UI to the user.
|
|
* 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.
|
|
* Refactor code that can be used in more than one place to a more
generic method/function that's called by other methods
|
|
* Update the code so that it sends out emails for the "forgot password"
feature.
|
|
* Add configuration variables to enable the system connect to the
configured SMTP server to send out emails.
|
|
* PYTHONPATH may be composed of multiple locations in the filesystem,
thus the need to test that each location exists and is a directory.
|
|
|
|
Added cli swith and set timeout to 3 minutes for gunicorn-dev mode
|
|
|
|
|
|
Add gunicorn support
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Added more info to trait details for phenotype traits
Changed order of mapping methods
Fixed layout of mapping loading screen to hopefully be centered on different screen sizes
Improved layout of some elements in mapping results page
|
|
* Register local accounts onto elasticsearch rather than mysql.
* Login from the accounts on elasticsearch
* Harmonise local and oauth2 logins to use the same code.
|
|
* Add code to handle the login via ORCID
|
|
* Have the authorisation URLs build up from the client id and client
secret values.
|
|
* Add some code to handle the login if the user chooses to login via
GitHub or ORCID.
|
|
* Elasticsearch need a short delay after adding document for it to index
the document for subsequent access.
|