aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
AgeCommit message (Collapse)Author
2024-08-29Auto-pep8 file.Munyoki Kilyungi
* gn2/wqflask/views.py: Run auto-pep8 against file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Add delete to monad requests http methods.Alexander_Kabui
2024-08-29Modify gnqna search method from post to put.Alexander_Kabui
2024-08-29integrate gnqa history delete functionality.Alexander_Kabui
2024-08-29Handle attributeError when getting error codes.Alexander_Kabui
2024-08-29BugFix: return correct status code for generic exceptions handler.Alexander_Kabui
2024-08-29Update endpoints and add search history functionality.Alexander_Kabui
2024-08-29View file code cleanup for gnqa.Alexander_Kabui
2024-08-28Fix GN3 URIs for case attribute editingzsloan
Also improve error logging somewhat (but still need to properly display the error in a template)
2024-08-28Add link to GeneCup to tool buttonszsloan
This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py
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-07-30Fix GN3 URIs for case attribute editingzsloan
Also improve error logging somewhat (but still need to properly display the error in a template)
2024-07-03Add link to GeneCup to tool buttonszsloan
This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py
2024-05-29integrate gnqa history delete functionality.Alexander_Kabui
2024-05-29Handle attributeError when getting error codes.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-28BugFix: return correct status code for generic exceptions handler.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-20Check metadata exists before setting 'editable' field in get_dataset.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-05-14Revert "Disable gnqa functionality."Munyoki Kilyungi
This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c.
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-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-23Create an endpoint for gnqa test templateAlexander_Kabui
2024-04-11Merge pull request #838 from genenetwork/feature/refactor-gnqa-uiAlexander Kabui
Feature/refactor gnqa UI
2024-04-05Refactor gnqa history endpoint.Alexander_Kabui
* require gn-auth
2024-04-05Update gnqa rating route.Alexander_Kabui
2024-04-02Use the dataset id to fetch the authorisation roles.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-27Require ouath2 for gnqa history search.Munyoki Kilyungi
* gn2/wqflask/views.py (gnqna_hist): Add "require_oauth2" decorator. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Require log-in to use the gn-qa search system.Munyoki Kilyungi
* gn2/wqflask/views.py: Import require_oauth2. (gnqna): Add "require_oauth2" decorator. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-26Only display the "edit" link when a user has edit permissions.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Import user_logged_in from the clients module.Munyoki Kilyungi
Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Remove unused imports.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Remove unused declared variable.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Delete search dataset functionality in RDF.Munyoki Kilyungi
* gn2/wqflask/views.py (search_for_dataset): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-26Delete unused page.Munyoki Kilyungi
* gn2/wqflask/views.py (display_diffs_admin): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-22add gnqa evaluation UIAlexander_Kabui
2024-03-05disable login requirement for gnqa on cdAlexander_Kabui
* reason gnqa and gn-auth are currently unstable
2024-02-16pep8 formattingAlexander_Kabui
2024-02-16init check for user loginAlexander_Kabui
2024-01-25add view point for gnqa search historyAlexander_Kabui
2024-01-16add UI for reference rating gn-llm documentsAlexander_Kabui
2024-01-12Switch NCBI link from http to https in failing test and RDF query.Munyoki Kilyungi
* gn2/tests/wqflask/show_trait/test_show_trait.py (test_get_ncbi_summary_request): Replace "http://eutils.ncbi.nlm.nih.gov" with "https://eutils.ncbi.nlm.nih.gov" * gn2/wqflask/views.py (get_probeset): Ditto. Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com> Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-01-10Add dataset metadata to genotype page when a dataset is specified.Munyoki Kilyungi
* gn2/wqflask/templates/genotype.html: Add extra dataset metadata. * gn2/wqflask/views.py (get_genotype): Extend genotype URL to enable specifying the dataset name. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-01-09Update script's module path.Frederick Muriuki Muriithi
2024-01-08Include Entrez summary for a geneID on the ProbeSet page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>