aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-06-06Add 1 to LRS_LOD_MAX in order to prevent situations where a tick is missing f...zsloan
2023-06-06Align probability plot title to the left ('xanchor: right' does this for some...zsloan
2023-06-06Make geoSeries a link...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-06Put metadata name in a new line...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-06Fix geoplatform link in datasets page...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-06Fix some titles in INFOPAGE...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-06If a title doesn't exist, use the metadata name instead...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-06Update dataset page to match GN1...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-02Add dataset link that uses RDF...* wqflask/wqflask/templates/dataset.html: New page. * wqflask/wqflask/templates/show_trait_details.html: Add link to GN2 datasets page. * wqflask/wqflask/views.py (get_dataset): New endpoint. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-06-02Delete trait metadata from the show_traits page...* wqflask/wqflask/templates/show_metadata_details.html: Delete. * wqflask/wqflask/templates/show_trait.html: Delete if block that checks includes trait metadata. * wqflask/wqflask/views.py: Remove "metadata". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-05-31Use utility.tools to get configuration variables...Using flask.current_app.config for configurations does not give the appropriate configurations. Frederick Muriuki Muriithi
2023-05-31Compute dataset type from name.Frederick Muriuki Muriithi
2023-05-30Fix test: Sort values to avoid equality problems.Frederick Muriuki Muriithi
2023-05-30Fix test: Expect tuple not set.Frederick Muriuki Muriithi
2023-05-30Fix test: Expect tuple not set.Frederick Muriuki Muriithi
2023-05-25auth: Show publicly visible traits.Frederick Muriuki Muriithi
2023-05-25Rework UI. Set resource publicly viewable by default....Reorganise the UI for resource creation. Add a checkbox that sets the resource as publicly viewable by default. Frederick Muriuki Muriithi
2023-05-24Add link to user-account registration page.Frederick Muriuki Muriithi
2023-05-23oauth2: Enable admins to masquerade as other usersFrederick Muriuki Muriithi
2023-05-22Initialize exonStarts and exonEnds for mouse, since it currently throws an er...zsloan
2023-05-22Allow for editing values of samples that don't currently have values...Deletions aren't working yet. This is dependent on a GN3 chance that allows the sample_list to be passed to get_trait_csv_sample_data zsloan
2023-05-22Fix phenotype metadata template to only read in changed sample data...Also fix the display so it only shows 3 decimal places zsloan
2023-05-22Add support for editing sample data via an HTML table...This doesn't yet support adding sample data for samples that don't already have values zsloan
2023-05-22Enable running application under pdb....Add an option to help with running the application under pdb, and add some documentation to help other developers figure it out. Frederick Muriuki Muriithi
2023-05-19auth: Integrate metadata editting with new authFrederick Muriuki Muriithi
2023-05-19auth: Use auth privileges to control UI display...Use the privileges from the authorisation endpoint to control which elements of the UI are displayed to the user. * wqflask/base/trait.py: Remove unused import * wqflask/wqflask/show_trait/show_trait.py: Unhook from GN-PROXY * wqflask/wqflask/templates/show_trait.html: Display or hide UI elements depending on the privileges the user has. * wqflask/wqflask/templates/show_trait_details.html: Display or hide UI elements depending on the privileges the user has. * wqflask/wqflask/views.py: Pass privileges, user, and resource details on to the UI template to be used for controlling UI element display. Frederick Muriuki Muriithi
2023-05-18auth: Change collection name...Enable the changing of the collection names. * wqflask/wqflask/collect.py: Send data to GN3 API * wqflask/wqflask/templates/collections/view.html: Use an actual form and submit it. Frederick Muriuki Muriithi
2023-05-18auth: Display flash messages.Frederick Muriuki Muriithi
2023-05-18auth: Add and remove traits from collections...* wqflask/wqflask/collect.py: Add and remove traits to and from collections. * wqflask/wqflask/oauth2/client.py: Add functions for POST and GET that do the right thing depending on whether or not the user is logged in. * wqflask/wqflask/oauth2/request_utils.py: Add some common utility function to create the data extraction functions for `pymonads.either.Either` objects. Frederick Muriuki Muriithi
2023-05-17auth: Integrate deleting selected collections with auth...Enable the deletion of selected collections via the GN3 api. Frederick Muriuki Muriithi
2023-05-17auth: Integrate collections badge with auth...Show the total number of collections available in the active session in the collections badge at the top of the page. Also do some minor UI tweaks to differentiate the user and anonymous collections. Frederick Muriuki Muriithi
2023-05-17auth: Import/Delete Anonymous Collections...Integrate import/delete of anonymous collection when user is authenticated. Frederick Muriuki Muriithi
2023-05-16auth: View collection details from GN3 endpoint...Retrieve a specific collection's details from the GN3 endpoint rather than from the session, as was done previously. Frederick Muriuki Muriithi
2023-05-15Create new collection via GN3 API...* wqflask/wqflask/collect.py: Send data to the GN3 API to create the new collections. * wqflask/wqflask/oauth2/client.py: Ensure request is sent as a json request. * wqflask/wqflask/static/new/javascript/search_results.js: use "POST" rather than "GET" and send the traits also, in addition to the hash Frederick Muriuki Muriithi
2023-05-12auth: Fetch anonymous collections from separate endpoint.Frederick Muriuki Muriithi
2023-05-12auth: Integrate sessions with auth...Rework the sessions to do what was handled by the soon-to-be-obsolete `wqflask.user_sessions` module. This is necessary in order to retain the expected functionality of the user collections, especially: * anonymous user collections * authenticated user collections * import of anonymous collections when user authenticates Frederick Muriuki Muriithi
2023-05-10auth: Fetch user collections from GN3...Fetch the user collections from GN3 for users that have authenticated. Frederick Muriuki Muriithi
2023-05-10auth: bug-fix: Call `logged_in` function...The `logged_in` symbol was changed from a plain variable into a function, so we need to call it to get its actual value. Frederick Muriuki Muriithi
2023-05-09Integrate OAuth2 auth with GN2 UI...Update the templates to make use of the OAuth2 authentication rather than the older authentication that used Redis. hook-up-auth-to-traits-pageFrederick Muriuki Muriithi
2023-05-09auth: Handle authentication using the "Authorization Code Flow"Frederick Muriuki Muriithi
2023-05-08oauth2: UI - Remove `Edit` element...The `Edit` button was unnecessary, since the `View` button gives the user access to a UI that allows them to edit the role. Frederick Muriuki Muriithi
2023-05-08oauth2: Fix UI failure on authorisation errors...Surround the UI elements with the check for any authorisation errors to avoid trying to access non-existent data (this leads to an exception). Frederick Muriuki Muriithi
2023-05-08oauth2: Add auth-checking wrapper to `/show_trait?...` page...As a proof-of-concept, add some sort of wrapper to check whether the user has access to the given trait/dataset. This will probably need some improvement to check for edit access, curation access, etc. Frederick Muriuki Muriithi
2023-05-04Fix bug where global search had wrong checkbox valueszsloan
2023-05-03Add table for editing sample values/SE/Nzsloan
2023-05-01Left-align histogram title...For some reason xanchor=right does this zsloan
2023-04-28Enable passing dataid for correlation results...This allows the scatterplots to use edited sample data zsloan
2023-04-28Use cached sample data in scatter plots (when applicable)zsloan
2023-04-28Cache trait sample data for mapping...This is so edited sample values can be used in the additive effect scatterplots zsloan
2023-04-25auth: disable UI elements for non-editable roles...If a role is not user-editable, disable the UI elements that allow editting of the role to prevent that as an option in the first place. Frederick Muriuki Muriithi