aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-28Improve UI for mapping linkzsloan
The link is now always displayed, but it is only saved (for longer than 1 hour) if the user clicks Copy and Share (which automatically copies the link) The width of the input field (in ch) is multiplied by 0.95 because it will always be a bit shorter than the length of the link in ch (which multiplies its length by the width of the character 0). This is the best solution I could come up with for setting the width of the field.
2023-02-28Move the code that caches mapping inputs to views.py so it can more easily ↵zsloan
include the temp_uuid (plus it's more consistent with the way caching has worked elsewhere) Also changed the default time from two months to one month
2023-02-28Change Redis.hset to Redis.set so each caching can have a separate expirationzsloan
2023-02-28Add hash_of_inputs in display_mapping_results (so it can be displayed in the ↵zsloan
template)
2023-02-28Add JS for caching mapping inputs + displaying the linkzsloan
2023-02-28Add endpoint for caching mapping inputszsloan
2023-02-28Add GET method to /run_mapping allowing it to pull the start_vars from Redis ↵zsloan
when an id is provided
2023-02-28Add button for copying mapping results linkzsloan
2023-02-28Get and store JSON of mapping options in Redis for one hour whenever mapping ↵zsloan
is run
2023-02-28oauth2: Unlink data from resource(s).Frederick Muriuki Muriithi
2023-02-24oauth2: resources: Enable linking data to resourcesFrederick Muriuki Muriithi
2023-02-23Uncheck/unselect rows when reseting trait page tablezsloan
For some reason DataTables was sorting checked rows to the bottom when redrawing the table with the Reset button, so this is the only solution I could come up with (since I don't know the actual reason it was doing that)
2023-02-23oauth2: data: link data to groups.Frederick Muriuki Muriithi
2023-02-22oauth2: Provide UI to select and list ungrouped data.Frederick Muriuki Muriithi
2023-02-21oauth2: resources: List resource data. List unlinked data.Frederick Muriuki Muriithi
List a particular resource's data. List any unlinked data that can be attached to a particular resource.
2023-02-17Use abbreviation as symbol for phenotypes in collection pagezsloan
2023-02-17Default trait abbreviation to N/A and only set to ↵zsloan
pre/post_publication_abbreviation if they're not None
2023-02-14Fix collection page error when ProbeSet/Publish traits don't have a meanzsloan
2023-02-13Enable mapping compute buttons and change text back to Compute after tables ↵zsloan
have loaded
2023-02-13Initially disable mapping compute buttons + change their text to Loadingzsloan
2023-02-10oauth2: data: Start on UI for linking data to groups.Frederick Muriuki Muriithi
2023-02-09oauth2: groups: Reject join requests.Frederick Muriuki Muriithi
Add handler for rejecting user join requests. Fix a number of minor UI bugs.
2023-02-09oauth2: fix variable name. Fetch join requests if there's no group.Frederick Muriuki Muriithi
2023-02-09oauth2: Remove create/join options with active requestFrederick Muriuki Muriithi
If a user has an active join request, then do not provide them with the option to create a new group, or even to request to join another group.
2023-02-09oauth2: reorganise the endpoints.Frederick Muriuki Muriithi
2023-02-08oauth2: groups: Handle join requests.Frederick Muriuki Muriithi
2023-02-07oauth2: groups: Enable user to request to be added to group.Frederick Muriuki Muriithi
2023-02-06oauth2: resources: View resource. Handle creation error/successFrederick Muriuki Muriithi
* Handle the resource creation success or error in a better way than simply dropping the user to a plaintext/json results page. * Enable viewing a particular resource's details.
2023-02-03oauth2: resource: implement incomplete resource creation flowFrederick Muriuki Muriithi
2023-02-03Add perf scripts that compare fetching a trait using GN API vs LMDBMunyoki Kilyungi
* scripts/performance/(README,org, timeit_gn2.py, timeit_lmdb.py): New files. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-02-02oauth2: Update endpoints to the API serverFrederick Muriuki Muriithi
The endpoints to the GN3 API server changed in a recent update, necessitating this commit to update the endpoints.
2023-01-31oauth2: Display members in groups page. Rework UI.Frederick Muriuki Muriithi
2023-01-31oauth2: Fix bugs with group creation. Rename functions.Frederick Muriuki Muriithi
Fix some bugs with group creation, mainly correctiong the urls. Rename importable functions to remove the double underscores.
2023-01-31oauth2: remove obsolete function.Frederick Muriuki Muriithi
2023-01-30oauth2: update urlFrederick Muriuki Muriithi
2023-01-30oauth2: fix errors.Frederick Muriuki Muriithi
2023-01-30oauth2: Fix missing imports and update URLsFrederick Muriuki Muriithi
2023-01-30oauth2: Fix missing import.Frederick Muriuki Muriithi
2023-01-30 oauth2: Add placeholder endpoints and UI elementsFrederick Muriuki Muriithi
Add some endpoints and UI elements to act as placeholders for yet to be implemented functionality.
2023-01-30oauth2: Display user's group information.Frederick Muriuki Muriithi
2023-01-30oauth2: split out code into separate modulesFrederick Muriuki Muriithi
To ease development and maintenance, split the code into separate modules, nesting the blueprints for a more modular feel.
2023-01-28mechanical-rob: unescape html entities.Frederick Muriuki Muriithi
2023-01-28oauth2: List the user roles. View a particular role's details.Frederick Muriuki Muriithi
2023-01-26Dump metadata in addition to sample data.Munyoki Kilyungi
* scripts/sampledata: Dump metadata in addition to data.
2023-01-26oauth2: UI: Rework user dashboard UIFrederick Muriuki Muriithi
Separate the roles, resources and group information from the overview page.
2023-01-25mechanical-rob: corrs: Activate tests. Print out whitespaceFrederick Muriuki Muriithi
* Activate the correlation correctness tests * Print out whitespace characters in such a form that allows visual comparison of differences to help with fixing issues caught by tests.
2023-01-25mechanical-rob: move newlineFrederick Muriuki Muriithi
2023-01-25mechanical-rob: Fix bugs with corrs testFrederick Muriuki Muriithi
* Replace CRLF in html output with newline to prevent equality comparisons from failing if that's the only difference. * Only include failures that have actual content: filter out empty failure items * Print out an extra newline on completion of checks
2023-01-24mechanical-rob: update corrs tests and clean up dataFrederick Muriuki Muriithi
2023-01-24scripts: Provide help info for script.Frederick Muriuki Muriithi