aboutsummaryrefslogtreecommitdiff
path: root/gn2
AgeCommit message (Expand)Author
2024-08-28PoC: Display resource roles on View-Resource page.Frederick Muriuki Muriithi
2024-08-28Update UI: Use resource roles rather than obsolete group roles...In a fix to fix a privilege-escalation bug, the `…/group/roles` endpoint was entirely removed and replaced with the less error-prone `…/resource/…/roles` endpoint. This commit updates the code to use the new endpoint's data as appropriate. We also fix typos in some url_for routing arguments. Frederick Muriuki Muriithi
2024-08-28UI: Add placeholder for resource rolesFrederick Muriuki Muriithi
2024-08-28Fix displayed error messageFrederick Muriuki Muriithi
2024-08-28Remove the "Roles" page.Frederick Muriuki Muriithi
2024-08-28Deactivate the "create_role" function...The `create_role` function could lead to privilege escalation. This commit deactivates it completely to prevent the chance of that happening. Frederick Muriuki Muriithi
2024-08-28Bug: Add missing data to search query.Frederick Muriuki Muriithi
2024-08-28Build search URI endpoint on server rather than on JS...To help with maintenance, build the search URI on the server rather than in the javascript. Frederick Muriuki Muriithi
2024-08-28Build phenotype results template URI on backend...Build the template URI on the backend to remove the need to remember to update the javascript if the URI changes in the future. Frederick Muriuki Muriithi
2024-08-28Provide client data used for user verification.Frederick Muriuki Muriithi
2024-08-28Handle generic OAuthError gracefullyFrederick Muriuki Muriithi
2024-08-28Ensure endpoint returns a response.Frederick Muriuki Muriithi
2024-08-28Enable NA sorting for case attributes...The NA-excluding sort functions were moved to table_functions.js (and removed from search_results.js) so they can be used by other pages (in this case the show_trait page) zsloan
2024-08-28Restore collections endpoints...Import was removed in commit 7c77ff91f6530aca0865bd13025811f2f93e3541 because it wasn't being used in views.py, but it was providing the collections endpoints albeit indirectly. This commit makes it somewhat explicit that it is a needed module. zsloan
2024-08-28Bug: Compute numeric timestamp for the claims.Frederick Muriuki Muriithi
2024-08-28Check if case attribute for RRID is a list, to prevent it being added twice i...zsloan
2024-08-28Change default for Mean Expr filter to OR for correlations to avoid excluding...zsloan
2024-08-28Remove styling for search field....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-28Check metadata exists before setting 'editable' field in get_dataset....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-28Revert "Feature/gnqa search history"Alexander Kabui
2024-05-29Add htmx js api for delete functionality.Alexander_Kabui
2024-05-29integrate gnqa history delete functionality.Alexander_Kabui
2024-05-29Handle attributeError when getting error codes.Alexander_Kabui
2024-05-28BugFix: return correct status code for generic exceptions handler.Alexander_Kabui
2024-05-28Fix bug: Update DOM correctly when rating error occurs.Alexander_Kabui
2024-05-27Mark answer and references as safe to render a tags.Alexander_Kabui
2024-05-24Add UI code for gnqa history search delete functionality.Alexander_Kabui
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....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-05-14Bug: fix issue form submission happening twiceAlexander_Kabui
2024-05-14Revert "Disable gnqa functionality."...This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c. Munyoki Kilyungi
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 login...Redirect to index of the site rather that the no-longer supported "Password Grant"-using login page. Disable the login route entirely. Frederick Muriuki Muriithi
2024-05-13Disable gnqa functionality.... * to test the functionality use ga.genenetwork.org Alexander_Kabui
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-revamp...Use HTMX Js api to toggle upvote and downvote functionality.Alexander Kabui
2024-05-07Use HTMX Js api to toggle upvote and downvote functionality.Alexander_Kabui
2024-05-06Use correct link to point to xapian search....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Point the history to the upstream git repository....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Use a dataset's label instead of it's id when fetching auth details....* gn2/wqflask/views.py (get_dataset): Use a dataset's label as it's identifier. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Pass JWT tokens to gn3....* gn2/wqflask/edit.py (save): Pass the JWT from gn-auth to GN3. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Revert "Create constructors for encoding and decoding a token."...This reverts commit e7a3bf22da1b63a01343f2cd30cd13c234fe508c. Munyoki Kilyungi
2024-04-30Make returning an json object from oauth2_get optional....* 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> Munyoki Kilyungi
2024-04-30Remove unused imports....* gn2/wqflask/edit.py: Delete subprocess, Paht, Either, Left, Right. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Delete __run__cmd__....* gn2/wqflask/edit.py (__run_cmd__): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi