aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/startup_config.py
AgeCommit message (Expand)Author
2023-06-20Add `create_app()` application factory...Create the application and set up configs and other things within an application factory function. Fix obvious egregious errors preventing the application from starting up correctly. Frederick Muriuki Muriithi
2023-06-20Configs: Introduce Blueprints. Refactor configs in webqtlConfig....* 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. Frederick Muriuki Muriithi
2022-12-29Implement "login" via OAuth2Frederick Muriuki Muriithi
2022-07-04wqflask: Remove DebugToolbarExtension...This functionality, at least how we use it, is already provided natively in python's pdb. Should someone need this, they can add it manually. * wqflask/runserver.py (app_config): Remove "flask_debugtoolbar" import and instantiation. * wqflask/utility/startup_config.py (app_config): Ditto. BonfaceKilz
2021-08-20startup_config.py: Add DebugToobarExtension for wsgi DEBUG mode...* wqflask/utility/startup_config.py (app_config): Add DebugToolbarExtension BonfaceKilz
2021-05-08utility: startup_config: Use python3 f-stringsBonfaceKilz
2021-05-08utility: startup_config: Break up long import statementBonfaceKilz
2021-05-08utility: startup_config: Remove dead commentsBonfaceKilz
2021-04-30autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133BonfaceKilz
2021-04-30autopep8: Fix E501BonfaceKilz
2021-04-30autopep8: Fix E301,E302,E303,E304,E305,E306BonfaceKilz
2021-04-30autopep8: Fix E20-E27...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 BonfaceKilz
2020-08-19Remove extra whitespace(or add it) from comma separated items...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib> BonfaceKilz
2020-08-18Wrap print statements in parenthesesBonfaceKilz
2020-04-22Fixed a variety of issues related to users registering and logging in...GN2 should now work when Redis is empty zsloan
2018-03-26Skip automatic use of EXPLAIN_TEMPLATE_LOADING.Pjotr Prins
2018-03-26Refactor startup config for gunicorn and werkzeugPjotr Prins