aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2018-04-04ES: docPjotr Prins
2018-04-02Fixed link for staging serverzsloan
2018-04-02Fixed error that caused server to not start with new user codezsloan
2018-04-02Merge pull request #301 from pjotrp/testing-rm-bloatzsloan
Testing rm bloat (jqplot and ckeditor)
2018-04-02Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingzsloan
2018-04-02Just added link to staging branch to header barzsloan
2018-04-02Config files are store in https://github.com/genenetwork/gn-deploy-servers repoPjotr Prins
2018-04-02Remove filePjotr Prins
2018-04-02User manager no longer uses SQLPjotr Prins
2018-04-02js: rm ckeditor - need to replacePjotr Prins
2018-04-02js: removed jqplotPjotr 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-30Fixes forgotten password error, see #257Pjotr Prins
2018-03-29Can now add markers to collection from mapping results pagezsloan
2018-03-29Resolved conflict in views.pyzsloan
2018-03-29Fixed box plots and got them to update with changed sample datazsloan
Removed fast correlation option because it doesn't work well with gunicorn Changed the type of logger from error to debug when logging which page is being visited in views.py
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-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-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-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-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-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-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
2018-03-26Update module to make it more testableMuriithi Frederick Muriuki
* Update functions to make them more testable. * Update code using updated functions.
2018-03-26Check 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-03-26Add check for elasticsearchMuriithi Frederick Muriuki
* Add some extra checks to ensure that elasticsearch is running before presenting the UI to the user.
2018-03-26Add 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-03-26Refactor 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-03-26Send emails for forgotten passwordsMuriithi Frederick Muriuki
* Update the code so that it sends out emails for the "forgot password" feature.
2018-03-26Add SMTP configuration variablesMuriithi Frederick Muriuki
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails.
2018-03-26Fail 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-03-26Set 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-03-26Use 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-03-26Add OAuth2 login code for ORCIDMuriithi Frederick Muriuki
* Add code to handle the login via ORCID