Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-10 | Reverse polarity for gemma additive effects in tests | BonfaceKilz | |
Fixes broken test. See: #89a7868. | |||
2022-06-07 | Define gn_server_url before running the drop-down menu JS code | zsloan | |
2022-06-07 | Make indentation and spacing more consistent for | zsloan | |
dataset_select_menu_orig.js | |||
2022-06-07 | Fix issue that caused Submit Trait page drop-down menus to not work | zsloan | |
Also removes a bunch of unnecessary console logging | |||
2022-06-01 | Fix the way R/qtl is called in the GN2 REST API | zsloan | |
2022-06-01 | Remove IDs called 'submit' to prevent forms from breaking | zsloan | |
Apparently if a button has an ID called 'submit', trying to submit a form via JS won't work | |||
2022-05-31 | Check if entered pubmed_id is already associated with a publication, and | zsloan | |
set PublishXRef.PublicationId equal to that Id if it exists | |||
2022-05-31 | Reverse polarity for gemma additive effects | zsloan | |
This is basically just a quick pseudo-fix to at least get the polarity right | |||
2022-05-31 | Fix minor bug | Frederick Muriuki Muriithi | |
2022-05-31 | Fix error rendering | Frederick Muriuki Muriithi | |
Render the command_id if present in the error report to help with troubleshooting failures. | |||
2022-05-27 | Apply python-black on file | BonfaceKilz | |
2022-05-27 | Don't make a POST if there's a blank form-element | BonfaceKilz | |
2022-05-27 | Move SQL queries to GN3 | BonfaceKilz | |
2022-05-27 | Strip data before storing it | BonfaceKilz | |
2022-05-27 | Make sure the user is logged in when approving data | BonfaceKilz | |
2022-05-27 | Pass secend arg to cursor.execute as a tuple | BonfaceKilz | |
2022-05-27 | Add sensible styling to "reject"/"approve" buttons | BonfaceKilz | |
2022-05-27 | Align "Add New" button with the actions column | BonfaceKilz | |
2022-05-27 | Add js logic to POST to "approval" endpoint | BonfaceKilz | |
2022-05-27 | Assign the correct value to key | BonfaceKilz | |
2022-05-27 | Display description diff-data if it exists | BonfaceKilz | |
2022-05-27 | Ony show the title if there are any changes to be approved/rejected | BonfaceKilz | |
2022-05-27 | Cosmetic changes in Jinja template | BonfaceKilz | |
2022-05-27 | Add new endpoint for "approving" case-attributes modifications | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (approve_case_attribute_data): New end-point. | |||
2022-05-27 | Remove dead comment | BonfaceKilz | |
2022-05-27 | Append to "modifications" if "description"/"name" exist | BonfaceKilz | |
2022-05-27 | Make sure is in editor's group to view the case-attributes | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Add "case_attributes_edit_access" and "login_required" decorators. | |||
2022-05-27 | Make sure user is part of "editors" group to make (case attrs) edits | BonfaceKilz | |
* wqflask/wqflask/decorators.py: Import "gn3.authentication.get_groups_by_user_uid". (case_attributes_edit_access): New decorator. Checks which users are in the "editors" group in Redis. * wqflask/wqflask/metadata_edits.py: Import "wqflask.decorators.case_attributes_edit_access" (update_case_attributes): Use "@update_case_attributes" decorator. (reject_case_attribute_data): Ditto. | |||
2022-05-27 | Replace "_get_author" with "gn3.authentication.get_user_info_by_key" | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (_get_author): Delete function. (show_case_attribute_columns): Use "get_user_info_by_key". | |||
2022-05-27 | Implement "reject"---for case-attr---endpoint | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Fetch id---this is already passed in the template---when getting case attributes. (reject_case_attribute_data): New endpoint for rejecting data. * wqflask/wqflask/templates/case_attributes.html: Add JS logic for rejecting data. | |||
2022-05-27 | Move the case-attribute id to the button where the event occurs | BonfaceKilz | |
2022-05-27 | Make approve/reject buttons normal links instead of embedded links | BonfaceKilz | |
2022-05-27 | Remove unnecessary white space | BonfaceKilz | |
2022-05-27 | Parse author id into a human readable name | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (_get_author): New function. (show_case_attribute_columns): Pass the author name and id---case-attribute---field into the template. * wqflask/wqflask/templates/case_attributes.html: Add an "author" column when displaying the modified/deleted/inserted data. Also, add the case-attribute's id as a data-id element. | |||
2022-05-27 | Narrow the case-attribute column | BonfaceKilz | |
2022-05-27 | Add extra sections for displaying delete/insert data | BonfaceKilz | |
2022-05-27 | Fetch diff data from SQL | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Replace the redis fetch with SQL for retrieving diff data. | |||
2022-05-27 | POST deletions | BonfaceKilz | |
2022-05-27 | POST new inserts | BonfaceKilz | |
2022-05-27 | Delete buggy js line | BonfaceKilz | |
This generates a js error in the console log. | |||
2022-05-27 | Put the correct class names when appending the name & desc. fields | BonfaceKilz | |
2022-05-27 | Add js logic to make a POST request on Deletion | BonfaceKilz | |
* wqflask/wqflask/templates/case_attributes.html: When deleting a case-attribute, make a POST request. | |||
2022-05-27 | Store the data in SQL instead of Redis | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Store the diff data on a POST in SQL. | |||
2022-05-27 | Require edit rights to access the case-attributes page | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (update_case_attributes): Add "login_required" and "edit_admins_access_required" decorators. | |||
2022-05-27 | Display diffs from editing in a nice table. | BonfaceKilz | |
2022-05-27 | Remove case-attributes list from the metadata edit page | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (display_phenotype_metadata): Delete "headers" variable when passing it to the template. *wqflask/wqflask/templates/edit_phenotype.html: Remove special not that lists the case-attributes with their IDs in brackets. | |||
2022-05-27 | Save diffed data to redis (wip) | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): pass the diff'ed data to the template (update_case_attributes): New function. Parses data from JS and saves it redis in "case-attr-diffs:review" * wqflask/wqflask/templates/case_attributes.html: Make post request---to save the data to redis for approval. | |||
2022-05-27 | Make a POST request on data edit | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py: When editing a case-attribute, make a post request to the relevant end-point. | |||
2022-05-27 | Parse case attributes as a tuple, not as a dict | BonfaceKilz | |
* wqflask/wqflask/metadata_edits.py (approve_data): Return the fetched case_attributes as is. * wqflask/wqflask/templates/case_attributes.html: Parse the case attributes as a tuple. | |||
2022-05-27 | Update case-attributes page to make it editable | BonfaceKilz | |