Age | Commit message (Collapse) | Author |
|
* 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.
|
|
This causes noisy logging.
|
|
This function is coupled to "wqflask.app", therefore requiring it's
import at the module level. This may lead circular importation issues
when working with blueprints.
|
|
* wqflask/utility/hmac.py (hmac_creation): Use latin-1 when
serializing the hmac secret. This ensures that the behaviour
of *verify_cookie* remains the same as in the python2 tip.
|
|
Same as:
https://github.com/genenetwork/genenetwork2/pull/422/commits/46443ec8d2cdfd7c60358a889d90a90e4f7daaf4
|
|
|
|
* wqflask/utility/hmac.py: Apply pep8 and fix typo.
|
|
See: <https://stackoverflow.com/questions/31848293/python3-and-hmac-how-to-handle-string-not-being-binary>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
queries and a missing import for the hmac functions
|
|
|
|
|