aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
AgeCommit message (Collapse)Author
2024-06-11Provide UI to delete role.Frederick Muriuki Muriithi
2024-06-11List user assigned role of interest.Frederick Muriuki Muriithi
2024-06-11Organise UI into rows: each row holding related data.Frederick Muriuki Muriithi
2024-06-10Unassign privilege from resource role.Frederick Muriuki Muriithi
2024-06-10Import the UUID class directly.Frederick Muriuki Muriithi
2024-06-10Implement "Resource Role Page"Frederick Muriuki Muriithi
Show the page, providing all UI elements necessary, even if the elements themselves are not active.
2024-06-10Generalise `render_ur` for the resources pagesFrederick Muriuki Muriithi
2024-06-10Set default headers for OAuth2Client requests.Frederick Muriuki Muriithi
2024-06-10Simplify 'View-Resource page' UIFrederick Muriuki Muriithi
Get rid of the resource role details and provide button-like elements to help navigate to view more details.
2024-06-07PoC: Display resource roles on View-Resource page.Frederick Muriuki Muriithi
2024-06-07Update UI: Use resource roles rather than obsolete group rolesFrederick Muriuki Muriithi
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.
2024-06-06UI: Add placeholder for resource rolesFrederick Muriuki Muriithi
2024-06-06Fix displayed error messageFrederick Muriuki Muriithi
2024-06-06Remove the "Roles" page.Frederick Muriuki Muriithi
2024-06-06Deactivate the "create_role" functionFrederick Muriuki Muriithi
The `create_role` function could lead to privilege escalation. This commit deactivates it completely to prevent the chance of that happening.
2024-06-05Bug: Add missing data to search query.Frederick Muriuki Muriithi
2024-06-05Build search URI endpoint on server rather than on JSFrederick Muriuki Muriithi
To help with maintenance, build the search URI on the server rather than in the javascript.
2024-06-05Build phenotype results template URI on backendFrederick Muriuki Muriithi
Build the template URI on the backend to remove the need to remember to update the javascript if the URI changes in the future.
2024-06-04Provide client data used for user verification.Frederick Muriuki Muriithi
2024-06-03Handle generic OAuthError gracefullyFrederick Muriuki Muriithi
2024-06-03Ensure endpoint returns a response.Frederick Muriuki Muriithi
2024-05-31Enable NA sorting for case attributeszsloan
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)
2024-05-30Fix redirection bug.Frederick Muriuki Muriithi
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-23Bug: Compute numeric timestamp for the claims.Frederick Muriuki Muriithi
2024-05-22Check if case attribute for RRID is a list, to prevent it being added twice ↵zsloan
in situations where a sample appears in both the parent/f1 file and the .geno file
2024-05-21Change default for Mean Expr filter to OR for correlations to avoid ↵zsloan
excluding any results when the page first loads
2024-05-20Remove styling for search field.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-05-20Check metadata exists before setting 'editable' field in get_dataset.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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>