aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2023-03-20Add link to diff page when sample-data is updatedMunyoki Kilyungi
* wqflask/wqflask/metadata_edits.py (update_phenotype): Add url to diff page in flash message. * wqflask/wqflask/templates/edit_phenotype.html: Render flash message with HTML.
2023-03-20Fix minor pep-8 issuesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-03-20Disable editing case-attributesMunyoki Kilyungi
ATM, editing case-attributes is very buggy. * wqflask/tests/integration/wqflask/test_metadata_edits.py: Delete. * wqflask/wqflask/decorators.py: Remove: gn3.authentication.get_groups_by_user_uid import. (case_attributes_edit_access): Delete. * wqflask/tests/integration/wqflask/test_metadata_edits.py: Remove wqflask.decorators.case_attributes_edit_access, gn3.db.case_attributes.get_case_attributes, gn3.db.case_attributes.get_unreviewed_diffs, gn3.db.case_attributes.insert_case_attribute_audit, gn3.db.case_attributes.reject_case_attribute and gn3.db.case_attributes.approve_case_attribute. (display_phenotype_metadata): Remove headers arg when rendering template. (update_phenotype): Remove case attribute headers list when updating a phenotype. (show_case_attribute_columns, update_case_attributes): Delete. (reject_case_attribute_data, approve_case_attribute_data): Ditto. * wqflask/wqflask/templates/edit_phenotype.html: Remove link that shows all the listed case-attributes. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-03-20oauth2: Load menu and populate dropdownFrederick Muriuki Muriithi
In order to enable searching through the existing datasets for linking with the auth system, we need a way to filter the data. In this commit, I load the menu and load it onto a dropdown box as a proof of concept to give an idea of some of the filters I can use down the road to fetch the data. This commit breaks the data-linking code. I will need to rework the data-linking code entirely to get it working again.
2023-03-20oauth2: Pass the offset in the queryFrederick Muriuki Muriithi
2023-03-20oauth2: phenotypes: list/link at trait levelFrederick Muriuki Muriithi
List/link the phenotypes at the trait level rather than at the dataset level.
2023-03-20corrs: Handle JSONDecodeErrorFrederick Muriuki Muriithi
In the case that the JSON output from the correlations computation is malformed, we capture that into a new exception an re-raise it to help with debugging and fixing issues.
2023-03-18oauth2: resources: toggle whether a resource is public or not.Frederick Muriuki Muriithi
2023-03-18oauth2: resources: Disallow duplicate resource names.Frederick Muriuki Muriithi
2023-03-17Fix correlation bug caused by a NULL UPDATE_TIME in the DBzsloan
2023-03-16Make the two Submit Change buttons consistentzsloan
2023-03-16Edit dataset dropdown JS to handle Species sub-categorieszsloan
2023-03-16Change the UI for the phenotype editing pagezsloan
Edit Sample Data and Edit Metadata are now two separate sections, and Edit Sample Data appears first
2023-03-15minor globalsearch enhancementAlexander_Kabui
2023-03-15Change global search form id to gsearchform instead of searchform (since ↵zsloan
searchform is already used for the regular search)
2023-03-15Replace REGEXP with LIKE in regular searcheszsloan
2023-03-15Fix bug caused by RRIDs parseable as intszsloan
2023-03-14fix responsivenessAlexander_Kabui
2023-03-14add shadow and border effect autocompleteAlexander_Kabui
2023-03-10oauth2: Extend scope for GN2 oauth2 client.Frederick Muriuki Muriithi
2023-03-09code cleanupchores/code-refactoringAlexander_Kabui
2023-03-09delete recent search handlerAlexander_Kabui
2023-03-09fix miniform search idAlexander_Kabui
2023-03-09link to hint page;update form selectorAlexander_Kabui
2023-03-08Account for truncated symbol lengths when setting the max_width for the ↵zsloan
symbol column
2023-03-08Change the way table width is set for search results tablezsloan
2023-03-08integrate to global searchfeature/search-historyAlexander_Kabui
2023-03-08add autocomplete css codeAlexander_Kabui
2023-03-08add autocomplete js codeAlexander_Kabui
2023-03-08Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexander_Kabui
feature/search-history
2023-03-07fix:Enter key in search field. (#769)Alexander Kabui
* enable search on keypress enter * add default value for search field * forward search queries
2023-03-07oauth2: group_roles: Enable adding/deleting privilegesFrederick Muriuki Muriithi
2023-03-07oauth2: Include 'user' in requested scopes.Frederick Muriuki Muriithi
2023-03-07oauth2: resources: unassign role on resource from user.Frederick Muriuki Muriithi
2023-03-06oauth2: resources: assign role to user on resource.Frederick Muriuki Muriithi
2023-03-06oauth2: resources: List all users with access to the resource.Frederick Muriuki Muriithi
2023-03-06oauth2: group roles: commit missing template.Frederick Muriuki Muriithi
2023-03-03oauth2: group role: View group role details.Frederick Muriuki Muriithi
2023-03-03oauth2: Bugfix: Ensure to send the list correctly.Frederick Muriuki Muriithi
2023-03-03oauth2: enable creation and listing of group roles.Frederick Muriuki Muriithi
2023-03-01Show the log2 of the Mean column when Mean > 100 for Gene global searchzsloan
2023-03-01hint/autocomplete on global searchAlexander_Kabui
2023-03-01show user history on global searchAlexander_Kabui
2023-02-28Improve UI for mapping linkzsloan
The link is now always displayed, but it is only saved (for longer than 1 hour) if the user clicks Copy and Share (which automatically copies the link) The width of the input field (in ch) is multiplied by 0.95 because it will always be a bit shorter than the length of the link in ch (which multiplies its length by the width of the character 0). This is the best solution I could come up with for setting the width of the field.
2023-02-28Move the code that caches mapping inputs to views.py so it can more easily ↵zsloan
include the temp_uuid (plus it's more consistent with the way caching has worked elsewhere) Also changed the default time from two months to one month
2023-02-28Change Redis.hset to Redis.set so each caching can have a separate expirationzsloan
2023-02-28Add hash_of_inputs in display_mapping_results (so it can be displayed in the ↵zsloan
template)
2023-02-28Add JS for caching mapping inputs + displaying the linkzsloan
2023-02-28Add endpoint for caching mapping inputszsloan
2023-02-28Add GET method to /run_mapping allowing it to pull the start_vars from Redis ↵zsloan
when an id is provided