aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
AgeCommit message (Collapse)Author
2024-09-12refactor: Use get for all request to gn3 search endpoint.Alexander_Kabui
2024-09-12refactor: render gnqa homepage if no query for get request.Alexander_Kabui
2024-09-12Fix: minor typo fix.Alexander_Kabui
2024-09-11feat: async js loading for fahamu resultsJohn Nduli
2024-09-11refactor: align search llm tooltip to be verticalJohn Nduli
2024-09-11fix: add flag that enables/disables search UIJohn Nduli
2024-09-11feat: add ai search box to xapian results pageJohn Nduli
2024-09-10Implement client side pagination for history page.Alexander_Kabui
2024-09-06Use query string for Gnqa Search endpoint.Alexander_Kabui
2024-09-06Remove dead Api endpoints for gnqa.Alexander_Kabui
2024-09-06Use application level Exception Handler for Unknown exceptions.Alexander_Kabui
2024-09-06Merge pull request #863 from genenetwork/chores/merge-gnqa-systemsAlexander Kabui
Chores/merge gnqa systems
2024-09-05Remove duplicate sections in wiki history page.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/history.html: Use a for loop to remove duplicate section. * gn2/wqflask/views.py (display_wiki_history): Pass all the entries directly into the template. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Add comment history page.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/history.html: New page. * gn2/wqflask/views.py (display_wiki_history): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Use new endpoints for fetching gnqna history records.Alexander_Kabui
2024-09-02Fix issue for rendering error template for gnqa history.Alexander_Kabui
2024-09-02Use if else to improve readabity.Alexander_Kabui
2024-09-02Add a return code `500` for gnqa endpoint error.Alexander_Kabui
2024-08-30fix merge conflictAlexander_Kabui
2024-08-29Rename edit endpoint from /editor to editor/editAlexander_Kabui
2024-08-29Integrate gn-auth to gn-editor.Alexander_Kabui
2024-08-29Replace _ with - for search query parameters.Alexander_Kabui
2024-08-29Fetch file path as query parameter.Alexander_Kabui
2024-08-29Use localstorage to track current commit.Alexander_Kabui
2024-08-29Code refactoring.Alexander_Kabui
2024-08-29Minor code refactoring.Alexander_Kabui
2024-08-29Add commit preview page.Alexander_Kabui
2024-08-29Feature: Allow users custom configuration for editor.Alexander_Kabui
2024-08-29Add initial endpoint for serving edit filesAlexander_Kabui
2024-08-29refactor: drop monad_requests and mark required fieldsJohn Nduli
2024-08-29feat: add post actions for editting wiki contentJohn Nduli
2024-08-29feat: add template for editting wikiJohn Nduli
2024-08-29Handle errors correctly during wiki entry fetch.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/genewiki.html: Flash messages during errors. * gn2/wqflask/views.py (display_genewiki_page): Use "raise_for_status()" to handle errors. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Move genewiki template to wiki template folder.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Move this... * gn2/wqflask/templates/genewiki.html: ... here. * gn2/wqflask/views.py (display_genewiki_page): Update the render_template page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Add type annotation for symbol.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Use updated GN3 endpoint for wiki.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Rename entries -> wiki.Munyoki Kilyungi
* gn2/wqflask/views.py (display_genewiki_page)[entries]: Rename entries to wiki. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Rename generif -> genewiki.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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