aboutsummaryrefslogtreecommitdiff
path: root/gn2
AgeCommit message (Collapse)Author
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-29Remove gn-entries from NCBI.Munyoki Kilyungi
Will re-add this section once the API is finalised. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Apply dj-lint jinja linter against genewiki.html.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Run: ``` djlint gn2/wqflask/templates/genewiki.html \ --profile=jinja --reformat --format-css \ --format-js ``` 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-29Update docstring for put.Alexander_Kabui
2024-08-29Add put method to monad requests.Alexander_Kabui
2024-08-29Modify gnqna search method from post to put.Alexander_Kabui
2024-08-29Add htmx js api for delete functionality.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-29Fix bug: Update DOM correctly when rating error occurs.Alexander_Kabui
2024-08-29Mark answer and references as safe to render a tags.Alexander_Kabui
2024-08-29Add UI code for gnqa history search delete functionality.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-29Refactor template code for gnqa search historyAlexander_Kabui
2024-08-28Allow '@' and '.' characters in searcheszsloan
This is mainly so e-mail searches work
2024-08-28Set fixed width of 500px for phenotype descriptionszsloan
2024-08-28Fix timestamp attribute nameszsloan
They were previously stored as 'created_timestamp' and 'changed_timestamp', but are now stored as 'created' and 'changed'
2024-08-28Edit Haplotype Analyst legend contentzsloan
- Change order from Pat/Mat to Mat/Pat - Increase width of example color bars - Change 'Unk' to 'Unknown' and shift everything to the left so it fits
2024-08-28Change 'Sequence Site' text to 'Gene Location'zsloan
2024-08-28Only draw position marker if position existszsloan
Previous it was drawing the marker at the end of the map even when mapping with traits that don't have a position (like Publish/phenotype traits)
2024-08-28Remove javascript escape function from View Collection page to fix encoding ↵zsloan
issues
2024-08-28Add Wiki and RIF search terms to Xapian normal searchzsloan
2024-08-28chore: remove passing bearer token to end userJohn Nduli
2024-08-28fix: remove bearer token from html and javascriptJohn Nduli
2024-08-28fix: use bearer token to query auth serverJohn Nduli
2024-08-28fix: pass in proper list of priviledge_idsJohn Nduli
2024-08-28Fix typo.Frederick Muriuki Muriithi
2024-08-28minor code formatting.Frederick Muriuki Muriithi
2024-08-28Update JWKs endpoint documentation.Frederick Muriuki Muriithi
2024-08-28Fix URLFrederick Muriuki Muriithi
2024-08-28Override 'client_secret_post' auth with a JSON equivalentFrederick Muriuki Muriithi
In order to use JSON consistently across the board, we make even the authentication method use JSON rather than FORMDATA.
2024-08-28Move check for target_trait mb/chr into the if statement for ProbeSet/Geno ↵zsloan
datasets Previously it would throw an error for Publish datasets, since they don't have a location
2024-08-28Consistently use JSON for all endpoints.Frederick Muriuki Muriithi
2024-08-28Remove obsolete configurations.Frederick Muriuki Muriithi
2024-08-28bug: add missing `count_per_page` variable.Frederick Muriuki Muriithi
2024-08-28Use auto-created and auto-rotated JSON Web KeysFrederick Muriuki Muriithi
Use auto-created JWKs for better security.
2024-08-28Use JWKs from auth server public endpointFrederick Muriuki Muriithi
* Fetch keys from auth server * Validate token is signed with one of the keys from server * Ensure refreshing of token is still synchronised
2024-08-28Add module to help with rotation of JSON Web Keys.Frederick Muriuki Muriithi
2024-08-28Fix correlation bug caused by a result trait not having a locationzsloan
2024-08-28Fix misnamed variable that caused correlation location filter to not workzsloan
2024-08-28Fix collections import by allowing GET method for collections/add endpointzsloan
2024-08-28Improve loggingFrederick Muriuki Muriithi
Add more logging information to help with tracking and fixing bugs.
2024-08-28Synchronise token refreshesFrederick Muriuki Muriithi
The application can be run in a multi-threaded server, leading to a situation where the multiple threads attempt to get a new JWT using the exact same refresh token. This synchronises the various threads ensuring only a single thread is able to retrieve the new JWT that all the rest of the threads then use.