aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
AgeCommit message (Collapse)Author
2024-05-23Update endpoints and add search history functionality.Alexander_Kabui
2024-05-22View file code cleanup for gnqa.Alexander_Kabui
2024-05-22Refactor template code for gnqa search historyAlexander_Kabui
2024-05-14Use correct URL when redirecting user after a new registration.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-05-14Bug: fix issue form submission happening twiceAlexander_Kabui
2024-05-14Revert "Disable gnqa functionality."Munyoki Kilyungi
This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c.
2024-05-14Consistently use the same OAuthSession clientFrederick Muriuki Muriithi
2024-05-14Enable client to automatically request a refresh token.Frederick Muriuki Muriithi
2024-05-14Redirect to index rather than no-longer supported loginFrederick Muriuki Muriithi
Redirect to index of the site rather that the no-longer supported "Password Grant"-using login page. Disable the login route entirely.
2024-05-13Disable gnqa functionality.Alexander_Kabui
* to test the functionality use ga.genenetwork.org
2024-05-09Remove debug statements.Alexander_Kabui
2024-05-09Improve error messaging for errors in gn fahamu UI.Alexander_Kabui
2024-05-07Merge pull request #844 from genenetwork/feature/gnqa-ui-revampAlexander Kabui
Use HTMX Js api to toggle upvote and downvote functionality.
2024-05-07Use HTMX Js api to toggle upvote and downvote functionality.Alexander_Kabui
2024-05-06Use correct link to point to xapian search.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Point the history to the upstream git repository.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Remove unused imports.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Use a dataset's label instead of it's id when fetching auth details.Munyoki Kilyungi
* gn2/wqflask/views.py (get_dataset): Use a dataset's label as it's identifier. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Pass JWT tokens to gn3.Munyoki Kilyungi
* gn2/wqflask/edit.py (save): Pass the JWT from gn-auth to GN3. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Revert "Create constructors for encoding and decoding a token."Munyoki Kilyungi
This reverts commit e7a3bf22da1b63a01343f2cd30cd13c234fe508c.
2024-04-30Make returning an json object from oauth2_get optional.Munyoki Kilyungi
* gn2/wqflask/oauth2/client.py (oauth2_get): Add a jsonify_p key word that defaults to False. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Remove unused imports.Munyoki Kilyungi
* gn2/wqflask/edit.py: Delete subprocess, Paht, Either, Left, Right. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Delete __run__cmd__.Munyoki Kilyungi
* gn2/wqflask/edit.py (__run_cmd__): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Remove methods for fetching a dataset's metadata edit history.Munyoki Kilyungi
* gn2/wqflask/edit.py (__fetch_dataset_git_history__): Delete (view_history): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Delete function for saving metadata.Munyoki Kilyungi
* gn2/wqflask/edit.py (save_dataset_metadata): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Create a JWT to pass in secinfo to a GN3 editing endpoint.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Create constructors for encoding and decoding a token.Munyoki Kilyungi
* gn2/tests/unit/wqflask/oauth2/(__init__.py, test_tokens.py): Test cases for jwt token creation. * gn2/wqflask/oauth2/tokens.py (JWTToken): New module for creating jwt tokens. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-25Merge pull request #841 from genenetwork/feature/implement-new-qnqa-ui-templateAlexander Kabui
Feature/implement new qnqa UI template
2024-04-24Bug: use dict object on Response object.Frederick Muriuki Muriithi
2024-04-24Fetch message for authlib errors.Frederick Muriuki Muriithi
2024-04-24Send assertion as a string, not bytes.Frederick Muriuki Muriithi
2024-04-24Use app's logger rather than root logger.Frederick Muriuki Muriithi
2024-04-24DEBUG: log out request detailsFrederick Muriuki Muriithi
There is a failure on CI/CD that is not obvious - the logs should help with debugging the issue.
2024-04-24Setup loggingFrederick Muriuki Muriithi
Add logging to genenetwork2
2024-04-23Create an endpoint for gnqa test templateAlexander_Kabui
2024-04-23Add implementation for new gnqa template.Alexander_Kabui
* This is a separate interface from gnqa main page for testing.
2024-04-23Implementation for gnqa chatbox uiAlexander_Kabui
2024-04-23Add reimplementation for gnqa error pageAlexander_Kabui
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-23Generate assertions to be used to get the token from the auth serverFrederick Muriuki Muriithi
2024-04-23Client needs access to PRIVATE KEY, not PUBLIC KEY.Frederick Muriuki Muriithi
2024-04-23Use the JWT Bearer grant typeFrederick 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-04-22Change haplotype analyst color schemezsloan
2024-04-16Import missing symbol.Frederick Muriuki Muriithi
2024-04-11Merge pull request #838 from genenetwork/feature/refactor-gnqa-uiAlexander Kabui
Feature/refactor gnqa UI
2024-04-05Delete redundant UI codebase.Alexander_Kabui
2024-04-05Use bootstrap classes for ui.Alexander_Kabui
2024-04-05Refactor gnqa history endpoint.Alexander_Kabui
* require gn-auth