aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
AgeCommit message (Collapse)Author
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
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