Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-20 | configs: set mandatory settings in the app | Frederick Muriuki Muriithi | |
Set up the mandatory settings in the `flask.current_app.config` object rather than in the file itself. | |||
2023-06-20 | Configs: Introduce Blueprints. Refactor configs in webqtlConfig. | Frederick Muriuki Muriithi | |
* Introduce flask Blueprints to help with decoupling the various modules from the `wqflask/__init__.py` module * Refactor settings: Create a function `base.webqtlConfig.init_app(...)` to handle setting up the configurations on the app correctly. Call this function at app creation time. * Move configuration utility functions from `utility.tools` module to `utility.configuration` module. * Use the `get_setting(...)` function to retrieve configuration settings from the application. | |||
2022-12-29 | Implement "login" via OAuth2 | Frederick Muriuki Muriithi | |
2022-10-28 | Settings: Add the `REDIS_URL` setting. | Frederick Muriuki Muriithi | |
2022-10-28 | Declutter stdout | Frederick Muriuki Muriithi | |
* wqflask/utility/tools.py: Output extraneous messages to stderr rather than stdout to avoid cluttering the output. | |||
2022-09-19 | Refactor: raise appropriate error | Frederick Muriuki Muriithi | |
If a file/directory does not exist, raise the builtin `FileNotFoundError` rather than the generic `Exception`. | |||
2022-07-25 | Return config in app.config or None | Frederick Muriuki Muriithi | |
Update the code to return the setting already set up in the app.config dictionary if it exists or None if it does not exist. | |||
2021-11-25 | Delete noisy logging | BonfaceKilz | |
2021-10-28 | Remove all elasticsearch references in gn2 | BonfaceKilz | |
2021-10-22 | Fix line pulling GN3_LOCAL_URL from settings | zsloan | |
2021-10-22 | Added proxy and local GN3 URLs in tools.py (which should be set in the ↵ | zsloan | |
settings file) | |||
2021-04-30 | autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E101, E11 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E70 and E701 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E501 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E20-E27 | BonfaceKilz | |
Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3 | |||
2020-12-18 | Added redirect_uri to the ORCID_AUTH_URL since it wasn't working due to ↵ | zsloan | |
missing this parameter | |||
2020-08-19 | Remove extra whitespace(or add it) from comma separated items | BonfaceKilz | |
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib> | |||
2020-08-19 | Fix dictionary iteration methods | BonfaceKilz | |
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-18 | Wrap print statements in parentheses | BonfaceKilz | |
2020-07-24 | Revert "Add work-around for failed imports in unittest" | BonfaceKilz | |
This reverts commit d5e87fa6fe7546b46790f512d984a5501223082f. | |||
2020-07-24 | Add work-around for failed imports in unittest | BonfaceKilz | |
* wqflask/utility/tools.py: Unittests will use `from wqflask.wqflask import app` and the gn2 script will use `from wqflask import app` | |||
2020-07-24 | Revert "Add work-around for failed imports in unittest" | BonfaceKilz | |
This reverts commit d5e87fa6fe7546b46790f512d984a5501223082f. | |||
2020-07-24 | Add work-around for failed imports in unittest | BonfaceKilz | |
* wqflask/utility/tools.py: Unittests will use `from wqflask.wqflask import app` and the gn2 script will use `from wqflask import app` | |||
2020-07-16 | Expose elastic-search variables for tests to pass | BonfaceKilz | |
2020-05-06 | Replace CSS dependencies for datatables | BonfaceKilz | |
2020-04-26 | Merge master and testingmaster | Pjotr Prins | |
2020-04-24 | Replaced hard-coded instances of GN2 urls with ones pulled from settings file | zsloan | |
2020-04-22 | Fixed a variety of issues related to users registering and logging in | zsloan | |
GN2 should now work when Redis is empty | |||
2020-03-03 | Refactored all the anonymous (not logged-in) user stuff so that both ↵ | zsloan | |
logged-in and anonymous users share the same code | |||
2019-09-06 | Fix name of javascript-twitter-post-fetcher | Pjotr Prins | |
2019-07-23 | Added 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-18 | Updated installation instructions and SERVER_PORT for single flask server | Pjotr Prins | |
2019-02-13 | Removed pylmm references and related functions | Pjotr Prins | |
2018-09-05 | ELASTICSEARCH settings and fix runserver.py to run without gunicorn | Pjotr Prins | |
2018-04-06 | See #308. | Pjotr Prins | |
Cytoscape and related is now loaded from Guix. Use the latest GN2_PROFILE. | |||
2018-03-26 | Refactor startup config for gunicorn and werkzeug | Pjotr Prins | |
2018-03-26 | Fix | Pjotr Prins | |
2018-03-26 | Authentication: some mods around defaults | Pjotr 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-26 | Fixing authentication stuff so it uses parameters properly. Also no ↵ | Pjotr Prins | |
PYTHONPATH needed as it is now in the Guix build. | |||
2018-03-26 | Add SMTP configuration variables | Muriithi Frederick Muriuki | |
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails. | |||
2018-03-26 | Set to None if no value provided | Muriithi 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-26 | Update configurations | Muriithi Frederick Muriuki | |
* Have the authorisation URLs build up from the client id and client secret values. | |||
2018-03-26 | Add more configuration variables. | Muriithi Frederick Muriuki | |
* Add configurations for elasticsearch and github. | |||
2018-03-26 | Add client_id and client_secret configurations | Muriithi Frederick Muriuki | |
* Provide the OAuth2 client_id and client_secret values in configuration variables. | |||
2018-03-26 | Add configuration variables for external services | Muriithi Frederick Muriuki | |
* Add configuration variables for GitHub and ORCID which will be used by the system to allow users to login. | |||
2018-02-10 | Fixed finding PATHs - one return statement! | Pjotr Prins | |
2018-02-10 | Check for bimbam path and bail out if it is missing | Pjotr Prins | |