aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2023-01-24correlations: Escape strings for htmlFrederick Muriuki Muriithi
Improves upon commit 63aff5ca22cfb5caaa38ac1d737afa48fc8dbf02
2023-01-24mechanical-rob: eliminate extraneous spaces before comparisonsFrederick Muriuki Muriithi
2023-01-23oauth2: create groupFrederick Muriuki Muriithi
Enable creation of a new group.
2023-01-23oauth2: Retain email input, and "next uri" on errorFrederick Muriuki Muriithi
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).
2023-01-21oauth2: Cleanup fetching of roles and groups. Update template.Frederick Muriuki Muriithi
2023-01-20Make dump script faster by using concurrency moduleMunyoki Kilyungi
2023-01-20Dump all sample data into a given directoryMunyoki Kilyungi
* scripts/sampledata.py: Import gen_dropdown_json. (main): Dump all the sample data from all the datasets into a given directory.
2023-01-20Return a trait's display name if the name is non-existentMunyoki Kilyungi
* scripts/sampledata.py (fetch_all_traits): Should the name of a trait not exists, e.g. in probeset data, return it's display name.
2023-01-20Update demo to dump entire dataset for BXDPublishMunyoki Kilyungi
* scripts/sampledata.py: Import os and sys. <__name__>: Add demo to dump "BXDPublish" dataset.
2023-01-20Remove hard-coded valuesMunyoki Kilyungi
* scripts/sampledata.py (dump_sample_data): Remove hard-coded values for trait_id and dataset_name.
2023-01-20Fix typoMunyoki Kilyungi
2023-01-20Add example that demos dumping data from an entire datasetMunyoki Kilyungi
2023-01-20Add a function that fetches all the traits given the right paramsMunyoki Kilyungi
* scripts/sampledata.py (fetch_all_traits): New function.
2023-01-20Create script to dumple sample data given the dataset and trait idMunyoki Kilyungi
* scripts/sampledata.py: New file.
2023-01-20oauth2: Add user-profile template and dummy endpointsFrederick Muriuki Muriithi
* 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
2023-01-20oauth2: Revoke token on logoutFrederick Muriuki Muriithi
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.
2023-01-19Replace angle brackets in trait descriptions for correlation results, since ↵zsloan
previously it wasn't showing some e-mail addresses (in brackets)
2023-01-19oauth2: Implement user registration.Frederick Muriuki Muriithi
2023-01-19Feature/toggle switch caching (#762)Alexander Kabui
* add optional use cache checkbox * add check for use_cache
2023-01-12Add BXD-NIA-AD to list of BXD_GROUP_EXCEPTIONS (so the correct options show ↵zsloan
up in correlation drop-down)
2023-01-12Revert "bug: use stderr in case of job errors"Frederick Muriuki Muriithi
This reverts commit 4666392bbc34e693f21895ccb62abb816ff95874.