aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Expand)Author
2023-01-30oauth2: split out code into separate modules...To ease development and maintenance, split the code into separate modules, nesting the blueprints for a more modular feel. Frederick Muriuki Muriithi
2023-01-28oauth2: List the user roles. View a particular role's details.Frederick Muriuki Muriithi
2023-01-26oauth2: UI: Rework user dashboard UI...Separate the roles, resources and group information from the overview page. Frederick Muriuki Muriithi
2023-01-24scripts: Provide help info for script.Frederick Muriuki Muriithi
2023-01-24correlations: Escape strings for html...Improves upon commit 63aff5ca22cfb5caaa38ac1d737afa48fc8dbf02 Frederick Muriuki Muriithi
2023-01-23oauth2: create group...Enable creation of a new group. Frederick Muriuki Muriithi
2023-01-23oauth2: Retain email input, and "next uri" on error...Retain the "next uri" and the email the user had input in the case of an error, so that the user has the chance to correct their input, and still get to the uri they originally intended to (on success). Frederick Muriuki Muriithi
2023-01-21oauth2: Cleanup fetching of roles and groups. Update template.Frederick Muriuki Muriithi
2023-01-20oauth2: Add user-profile template and dummy endpoints...* wqflask/wqflask/oauth2/routes.py: add some dummy endpoints to be fleshed out * wqflask/wqflask/templates/oauth2/view-user.html: Add missing template for the /user-profile endpoint Frederick Muriuki Muriithi
2023-01-20oauth2: Revoke token on logout...If a user logs out of the session, and their token is not revoked, if their token were to leak somehow, then an attacker could use it before it expired. Explicit revocation of the token helps avoid that. Frederick Muriuki Muriithi
2023-01-19Replace angle brackets in trait descriptions for correlation results, since p...zsloan
2023-01-19oauth2: Implement user registration.Frederick Muriuki Muriithi
2023-01-19Feature/toggle switch caching (#762)...* add optional use cache checkbox * add check for use_cacheAlexander Kabui
2023-01-12Add BXD-NIA-AD to list of BXD_GROUP_EXCEPTIONS (so the correct options show u...zsloan
2023-01-12Revert "bug: use stderr in case of job errors"...This reverts commit 4666392bbc34e693f21895ccb62abb816ff95874. Frederick Muriuki Muriithi
2023-01-12mechanical-rob: use new file(s) for correlation correctness...* test/requests/correlation_results_text_files/BXD_10710_vs_BXDPublish.csv new sample file for testing. * test/requests/correlation_tests.py: update test code to use new sample files * wqflask/wqflask/correlation/show_corr_results.py: Fix minor issues exposed by tests. Frederick Muriuki Muriithi
2023-01-12bug: use stderr in case of job errorsFrederick Muriuki Muriithi
2023-01-09Add Show/Hide Columns to collections/viewzsloan
2023-01-09Add back option to search on trait page table...This was mistakenly removed when the table code was refactored a while back zsloan
2023-01-05Turn on homology track by defaultzsloan
2023-01-04auth: Add `/user-profile` endpoint...Display some details for the currently logged in user at the `/user-profile` endpoint. Frederick Muriuki Muriithi
2022-12-29auth: Redirect on login and cleanup...* wqflask/wqflask/oauth2/routes.py: remove unused imports. Add placeholder endpoint "/register-client" * wqflask/wqflask/templates/oauth2/login.html: enable redirect to specific endpoints Frederick Muriuki Muriithi
2022-12-29auth: Provide decorator to limit access to routes...Define the new `oauth2_required` decorator that checks for the existence and validity of a token before allowing access to the given endpoint. Move the `user_logged_in` check to the `checks.py` module. * wqflask/wqflask/oauth2/checks.py: new file * wqflask/wqflask/oauth2/routes.py: import new decorator Frederick Muriuki Muriithi
2022-12-29Implement "login" via OAuth2Frederick Muriuki Muriithi
2022-12-23Remove try/except around mapping, because it makes it hard to see proper erro...zsloan
2022-12-23No tracking: remove revolvermapsPjotr Prins
2022-12-21Remove unnecessary if statement from drawHomologyBandzsloan
2022-12-21Fix logic for filtering homology datazsloan
2022-12-21Make homology track display directional arrows based on query strandzsloan
2022-12-21Fix homology source file path...Fix syntax error in multiline if statement zsloan
2022-12-21Replace a couple other instances of hg38 with queryzsloan
2022-12-21Substitute mm10/hg38 with ref/source in display_mapping_results.pyzsloan
2022-12-21Change homology logic to include lines that start/end outside of the...given mb range This is to avoid a situation where a user zooms in and a bar should encompass the whole area but isn't displayed (because its start/end don't both fall within the given Mb range) This commit also renames mm10/hg38 to ref/query to be more generic zsloan
2022-12-21Replace hard-coded homology source file...Remove limitation on when to show homology track zsloan
2022-12-21Add code drawing homology band in mapping figurezsloan
2022-12-21Add showHomology parameter to mapping endpointzsloan
2022-12-21Add code loading contents of homology file for given mb range...Currently this hard-codes the source file. Not sure how we want to store this data yet so just using a CSV file for now. zsloan
2022-12-21Add homology band option to run_mapping.pyzsloan
2022-12-21Add homology band options to mapping templatezsloan
2022-12-15Add BXD-NIA-AD to list of BXD-equivalent groups in display_mapping_results.pyzsloan
2022-12-15Fix bug where changing a resource owner throws an error due to users without ...zsloan
2022-12-15Change if blocks in template to allow changing owner when an owner isn't curr...zsloan
2022-12-14Add description to REST API /traits output for phenotypeszsloan
2022-12-13Change default text_dir to TEXTDIR, since that points to the GN1 ProbeSet_Dat...zsloan
2022-12-13add check for file in web/ProbeSetFreeze_DataMatrix folder (#758)Alexander Kabui
2022-12-12Change logic in compute_correlation_rust so that it doesn't re-run the top 50...zsloan
2022-12-06Use a dataset's name to fetch it's metadata...* wqflask/wqflask/views.py (show_trait_page): Use a dataset's name - from the query parameters - to fetch metadata. Munyoki Kilyungi
2022-12-05Put metadata fetching for show_trait_page in try/except to get it working againzsloan
2022-12-05scripts: add GN2 results parsing to parser script...* wqflask/scripts/parse_corr_gn1_results_to_csv.py: Rename script * wqflask/scripts/parse_corr_html_results_to_csv.py: * Use argparse to parse CLI arguments * Add parsing for GN2 results Frederick Muriuki Muriithi
2022-12-03jobs: Add debug UI...* wqflask/scripts/run_external.py: Save the actual return code * wqflask/wqflask/__init__.py: Use new jobs blueprint * wqflask/wqflask/api/jobs.py: Add new jobs debug route * wqflask/wqflask/templates/jobs/debug.html: new template for when job is found * wqflask/wqflask/templates/jobs/no-such-job.html: new template for when the job is not found Frederick Muriuki Muriithi