aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/__init__.py
AgeCommit message (Collapse)Author
2024-05-14Consistently use the same OAuthSession clientFrederick Muriuki Muriithi
2024-04-24Use app's logger rather than root logger.Frederick Muriuki Muriithi
2024-04-24Setup loggingFrederick Muriuki Muriithi
Add logging to genenetwork2
2024-04-23Don't fail startup due to missing config.Frederick Muriuki Muriithi
2024-04-23Separate the auth server's public key from app's private keyFrederick Muriuki Muriithi
* Use the app's private key to sign the initial assertions used for retrieving an authorisation token from the auth server. * Use auth server's public key to validate the authorisation tokens got from the auth server.
2024-04-23Client needs access to PRIVATE KEY, not PUBLIC KEY.Frederick Muriuki Muriithi
2024-04-23SSL_KEY_PAIR_PUBLIC_KEY: New settingFrederick Muriuki Muriithi
Define a new setting named SSL_KEY_PAIR_PUBLIC_KEY to hold the path to the SSL key-pair's public key, used with the JWTs.
2024-03-26Import user_logged_in from the clients module.Munyoki Kilyungi
Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Integrate CKEditor into metadata editing.Munyoki Kilyungi
* gn2/wqflask/__init__.py: Register blueprint endpoint for metadata edits. * gn2/wqflask/edit.py (metadata_edit): New function. (save): Ditto. * gn2/wqflask/templates/metadata/dataset.html: New template. * gn2/wqflask/templates/metadata/editor.html: New template. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-05Pick secrets from config file.Frederick Muriuki Muriithi
2024-01-30Create framework for error handling and handle connection errorsFrederick Muriuki Muriithi
2024-01-02Move default settings into gn2 module.Arun Isaac
2023-12-29Namespace all modules under gn2.Arun Isaac
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.