aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
AgeCommit message (Collapse)Author
2024-08-28Fix error display logicFrederick Muriuki Muriithi
2024-08-28Fetch the active user's roles on a particular resource.Frederick Muriuki Muriithi
2024-08-28Use privilege objects rather than IDS.Frederick Muriuki Muriithi
2024-08-28Delete request to obsoleted endpoint.Frederick Muriuki Muriithi
2024-08-28Create a new resource role.Frederick Muriuki Muriithi
2024-08-28Update URI formsFrederick Muriuki Muriithi
2024-08-28Use json for communication with gn-authFrederick Muriuki Muriithi
2024-08-28Provide UI to delete role.Frederick Muriuki Muriithi
2024-08-28List user assigned role of interest.Frederick Muriuki Muriithi
2024-08-28Organise UI into rows: each row holding related data.Frederick Muriuki Muriithi
2024-08-28Unassign privilege from resource role.Frederick Muriuki Muriithi
2024-08-28Import the UUID class directly.Frederick Muriuki Muriithi
2024-08-28Implement "Resource Role Page"Frederick Muriuki Muriithi
Show the page, providing all UI elements necessary, even if the elements themselves are not active.
2024-08-28Generalise `render_ur` for the resources pagesFrederick Muriuki Muriithi
2024-08-28Set default headers for OAuth2Client requests.Frederick Muriuki Muriithi
2024-08-28Simplify '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-08-28PoC: Display resource roles on View-Resource page.Frederick Muriuki Muriithi
2024-08-28Update 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-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" 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-08-28Bug: Add missing data to search query.Frederick Muriuki Muriithi
2024-08-28Build 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-08-28Build 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-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 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-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 ↵zsloan
in situations where a sample appears in both the parent/f1 file and the .geno file
2024-08-28Change default for Mean Expr filter to OR for correlations to avoid ↵zsloan
excluding any results when the page first loads
2024-08-28Remove styling for search field.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-28Check metadata exists before setting 'editable' field in get_dataset.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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.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