aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-15Requests addedPjotr Prins
2018-02-15Added unittest examplePjotr Prins
2018-02-15Fixing authentication stuff so it uses parameters properly. Also no ↵Pjotr Prins
PYTHONPATH needed as it is now in the Guix build.
2018-02-15Fix conflictPjotr Prins
2018-02-13Add tests for Registration process.Muriithi Frederick Muriuki
2018-02-13Update module to make it more testableMuriithi Frederick Muriuki
* Update functions to make them more testable. * Update code using updated functions.
2018-02-13@zsloan: we should introduce full parameter checking and sensible defaults ↵Pjotr Prins
for every page we work on. It will help bug tracking. Probably fixes #279
2018-02-12Merge pull request #277 from pjotrp/gn-productionzsloan
Gn production
2018-02-11Added gunicorn pid so we can not run twicePjotr Prins
2018-02-11Using eventlet workerszsloan
2018-02-10Fix env variable $GEMMA_WRAPPER_COMMANDPjotr Prins
2018-02-10Fixing GEMMA LOCOPjotr Prins
2018-02-10Fixed finding PATHs - one return statement!Pjotr Prins
2018-02-10Check for bimbam path and bail out if it is missingPjotr Prins
2018-02-09Check elasticsearch at point of useMuriithi Frederick Muriuki
* 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.
2018-02-09Add check for elasticsearchMuriithi Frederick Muriuki
* Add some extra checks to ensure that elasticsearch is running before presenting the UI to the user.
2018-02-05Add code to allow user to change passwordMuriithi Frederick Muriuki
* 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.
2018-02-05Refactor common items to more generic methods.Muriithi Frederick Muriuki
* Refactor code that can be used in more than one place to a more generic method/function that's called by other methods
2018-02-05Send emails for forgotten passwordsMuriithi Frederick Muriuki
* Update the code so that it sends out emails for the "forgot password" feature.
2018-02-05Add SMTP configuration variablesMuriithi Frederick Muriuki
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails.
2018-02-05Check each part of the PYTHONPATHMuriithi Frederick Muriuki
* PYTHONPATH may be composed of multiple locations in the filesystem, thus the need to test that each location exists and is a directory.
2018-02-05Merge remote-tracking branch 'origin/testing' into testingMuriithi Frederick Muriuki
2018-01-31Merge pull request #275 from pjotrp/pjotrzsloan
Added cli swith and set timeout to 3 minutes for gunicorn-dev mode
2018-01-31Startup: longer timeout for gunicorn-dev modePjotr Prins
2018-01-31Startup: added -cli optionPjotr Prins
2018-01-30Merge pull request #274 from pjotrp/pjotrzsloan
Add gunicorn support
2018-01-30gunicorn dev and prod modes addedPjotr Prins
2018-01-30Fail safely if elasticsearch is down or unconfiguredMuriithi Frederick Muriuki
* 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.
2018-01-30Set to None if no value providedMuriithi Frederick Muriuki
* 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.
2018-01-29Fixed gunicorn examplePjotr Prins
2018-01-29Gunicorn worksPjotr Prins
2018-01-29startup script: adapting for gunicornPjotr Prins
2018-01-29Added checks in startup script, removed r-auwerx pathPjotr Prins
2018-01-29Bumped versionPjotr Prins
2018-01-24Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingzsloan
2018-01-24Added links for markers in mapping results table when genotypes exist in DBzsloan
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
2018-01-19Use elasticsearch rather than mysql for local accountsMuriithi Frederick Muriuki
* Register local accounts onto elasticsearch rather than mysql. * Login from the accounts on elasticsearch * Harmonise local and oauth2 logins to use the same code.
2018-01-19Add OAuth2 login code for ORCIDMuriithi Frederick Muriuki
* Add code to handle the login via ORCID
2018-01-19Update configurationsMuriithi Frederick Muriuki
* Have the authorisation URLs build up from the client id and client secret values.
2018-01-19Add code to enable OAuth2 loginMuriithi Frederick Muriuki
* Add some code to handle the login if the user chooses to login via GitHub or ORCID.
2018-01-19Delay after save for indexingMuriithi Frederick Muriuki
* Elasticsearch need a short delay after adding document for it to index the document for subsequent access.
2018-01-19Add more configuration variables.Muriithi Frederick Muriuki
* Add configurations for elasticsearch and github.
2018-01-19Add 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-01-19Add elasticsearch module to the pathMuriithi Frederick Muriuki
* Add some code to set up the path for the python-elasticsearch module.
2018-01-12Add functions to help handle github loginMuriithi Frederick Muriuki
* Add functions to help with the github OAuth2 login process
2018-01-12Add elasticsearch_tools moduleMuriithi Frederick Muriuki
* Collect variables and functions for using the elasticsearch system in a separate module.
2018-01-12Add client_id and client_secret configurationsMuriithi Frederick Muriuki
* Provide the OAuth2 client_id and client_secret values in configuration variables.
2018-01-10Add 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-01-10Add 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-01-04Merge pull request #270 from pjotrp/testingzsloan
Merge some older commits