aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
AgeCommit message (Collapse)Author
2020-08-19Remove extra whitespace(or add it) from comma separated itemsBonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
2020-08-19Fix dictionary iteration methodsBonfaceKilz
Run `2to3-3.8 -f dict -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and <https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list>
2020-08-18Wrap print statements in parenthesesBonfaceKilz
2020-07-24Revert "Add work-around for failed imports in unittest"BonfaceKilz
This reverts commit d5e87fa6fe7546b46790f512d984a5501223082f.
2020-07-24Add work-around for failed imports in unittestBonfaceKilz
* wqflask/utility/tools.py: Unittests will use `from wqflask.wqflask import app` and the gn2 script will use `from wqflask import app`
2020-07-24Revert "Add work-around for failed imports in unittest"BonfaceKilz
This reverts commit d5e87fa6fe7546b46790f512d984a5501223082f.
2020-07-24Add work-around for failed imports in unittestBonfaceKilz
* wqflask/utility/tools.py: Unittests will use `from wqflask.wqflask import app` and the gn2 script will use `from wqflask import app`
2020-07-16Expose elastic-search variables for tests to passBonfaceKilz
2020-05-06Replace CSS dependencies for datatablesBonfaceKilz
2020-04-26Merge master and testingmasterPjotr Prins
2020-04-24Replaced hard-coded instances of GN2 urls with ones pulled from settings filezsloan
2020-04-22Fixed a variety of issues related to users registering and logging inzsloan
GN2 should now work when Redis is empty
2020-03-03Refactored all the anonymous (not logged-in) user stuff so that both ↵zsloan
logged-in and anonymous users share the same code
2019-09-06Fix name of javascript-twitter-post-fetcherPjotr Prins
2019-07-23Added change to automatically update datasets list using rest api instead of ↵zsloan
json file Removed option to edit certain html pages, like news, policies, etc
2019-02-18Updated installation instructions and SERVER_PORT for single flask serverPjotr Prins
2019-02-13Removed pylmm references and related functionsPjotr Prins
2018-09-05ELASTICSEARCH settings and fix runserver.py to run without gunicornPjotr Prins
2018-04-06See #308.Pjotr Prins
Cytoscape and related is now loaded from Guix. Use the latest GN2_PROFILE.
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-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 SMTP configuration variablesMuriithi Frederick Muriuki
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails.
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-26Update configurationsMuriithi Frederick Muriuki
* Have the authorisation URLs build up from the client id and client secret values.
2018-03-26Add more configuration variables.Muriithi Frederick Muriuki
* Add configurations for elasticsearch and github.
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 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-02-10Fixed finding PATHs - one return statement!Pjotr Prins
2018-02-10Check for bimbam path and bail out if it is missingPjotr Prins
2017-12-20tools: find path for JS and gemma_wrapperPjotr Prins
2017-12-20Bring in some earlier work - mostly documentation and startup handlingPjotr Prins
2017-09-04gemma-wrapper: find binary in profilePjotr Prins
2017-06-12Fix binary paths for GEMMA_COMMAND, PYLMM_COMMAND and PLINK_COMMANDPjotr Prins
2017-06-02settings: do not enforce JS pathsPjotr Prins
2017-05-31JS_GUIX_PATH may not be therePjotr Prins
2017-05-31JS module handlingPjotr Prins
2017-05-21Merge from the diet branch.Pjotr Prins
* refactored ./bin/genenetwork2 and /etc/default_settings - better detection of Guix - removed unused parameters, such as GEMMA_RESULT_PATH and TEMP_TRAITS - removing some default settings, such as PYLMM_COMMAND - rename some settings, such as SQL_URI and LOG_SQL_ALCHEMY - added GUIX_JS_PATH for JS modules * Added documentation on installing binary GN2 * Updated Twitter board to latest version in Guix - it had broken * Updated many tools in the latest Guix profile
2017-02-06Fixed appearance of several tables (search, mapping results, sample data)zsloan
Temporarily removed second sample table for CFW traits Fixed location of global search bar to work with wider screens
2017-01-26GEMMA now works with CFW data (had to update where it looks for the input ↵zsloan
files and how it writes the phenotype file) Y-axis for GEMMA now says -log(p) Updated the style of the trait sample data table in the trait page Updated dataset_select_menu_orig.js to also build just the Species and Group drop-downs for the trait input page (as opposed to all 4 drop-downs) Updated dataset menu json file Added option to show and hide columns to regular search page using colVis Changed regular and global search result table styles/column widths Began work on user trait submission code (not working yet though) Began work on static loading page for mapping results
2016-10-11Merge branch 'pjotr-gn2' into testingPjotr Prins
2016-10-09Add version informationPjotr Prins
2016-10-07Make sure JS path existsPjotr Prins
2016-10-07Changed error outputPjotr Prins
2016-10-07Saner handling of TMPDIR and TEMPDIRPjotr Prins
Throw error when TMPDIRs are not writable
2016-10-03Config: supporting JSON OVERRIDESPjotr Prins
2016-10-03Debug: sanitize some outputPjotr Prins
2016-09-25Make sure MAPPING_PATH existsPjotr Prins