Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-27 | Delete get_dataset_metadata. | Munyoki Kilyungi | |
* gn3/db/rdf.py (get_dataset_metadata): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Implement "GET /metadata/genotypes/:name". | Munyoki Kilyungi | |
* gn3/api/metadata.py: Delete gn3.db.rdf.get_genotype_metadata. (genotype): Rename this to ... (genotypes): ... this. Construct a query for fetching genotypes and return a response as json-ld. | |||
2023-10-27 | Implement "GET /metadata/publications/search/:term". | Munyoki Kilyungi | |
* gn3/api/metadata.py (search_publications): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Implement "GET /metadata/publications/:name". | Munyoki Kilyungi | |
* gn3/api/metadata.py: Delete gn3.db.rdf.get_publication_metadata. (publication): Rename this ... (publications): ... to this. Return a json-ld result. * gn3/db/rdf.py (get_publication_metadata): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Add fabio: and prism: to PREFIXES. | Munyoki Kilyungi | |
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Implement "GET /metadata/datasets/search/:term". | Munyoki Kilyungi | |
* gn3/api/metadata.py (search_datasets): New search endpoint with pagination. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Implement "GET /metadata/datasets/:name". | Munyoki Kilyungi | |
* gn3/api/metadata.py: Import json, SPARQLWrapper.{JSON, JSONLD}. (dataset): Rename this to ... (datasets): ... this. Return a well formatted JSONLD result from a dataset. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Add missing dcat: prefix. | Munyoki Kilyungi | |
2023-10-27 | Derive RDF_PREFIXES string from PREFIXES. | Munyoki Kilyungi | |
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Remove get_url_local_name when processing result keys. | Munyoki Kilyungi | |
* gn3/db/rdf.py (sparql_query): Delete "get_url_local_name". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Simplify CONSTRUCT query when fetching a dataset's metadata. | Munyoki Kilyungi | |
* gn3/api/metadata.py (dataset): Update docstring. * gn3/db/rdf.py (get_dataset_metadata): Simplify CONSTRUCT query. Also, now you can fetch metadata using either an accession_id or the dataset's name. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-27 | Update RDF prefixes. | Munyoki Kilyungi | |
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
2023-10-26 | Fix errors caught by mypy. | Frederick Muriuki Muriithi | |
2023-10-26 | case-attribute: Fix linting errors. | Frederick Muriuki Muriithi | |
2023-10-25 | Update __pk__ | Frederick Muriuki Muriithi | |
2023-10-25 | case-attribute: Implement __apply_diff__ | Frederick Muriuki Muriithi | |
Enable the "apply diff" feature which actually makes changes to the database by applying the given diff. | |||
2023-10-25 | case-attribute: Bug: List ALL case-attribute values | Frederick Muriuki Muriithi | |
Fix bug where only one case-attribute value was returned. | |||
2023-10-24 | case-attribute: use isoformat() for datetime objects. | Frederick Muriuki Muriithi | |
2023-10-23 | case-attribute: View case attribute diff | Frederick Muriuki Muriithi | |
2023-10-19 | CaseAttribute: change URL, Create diff dir, fix diff | Frederick Muriuki Muriithi | |
* Change the URL for listing an inbredset group's case-attribute diffs * Create the diff directory if it does not exist * Add `filename` to the output sent to the browser | |||
2023-10-19 | Handle 404 error(s) at top level. | Frederick Muriuki Muriithi | |
2023-10-12 | CaseAttributes: List diffs under review | Frederick Muriuki Muriithi | |
List diffs under review for a given InbredSet. Regenerate any diff files that might be deleted while still under review. | |||
2023-10-12 | CaseAttribute: Bug: Fix bugs with rejecting diffs. | Frederick Muriuki Muriithi | |
2023-10-12 | CaseAttributes: Bug: Fix privileges check | Frederick Muriuki Muriithi | |
2023-10-12 | CaseAttribute: Bug: Fix query - include time_stamp. | Frederick Muriuki Muriithi | |
2023-10-12 | CaseAttribute: Encode/Decode to/from JSON appropriately. | Frederick Muriuki Muriithi | |
2023-10-12 | Remove unnecessary clutter. | Frederick Muriuki Muriithi | |
2023-10-12 | CaseAttribute: Bug: enumerate the privileges correctly. | Frederick Muriuki Muriithi | |
2023-10-11 | CaseAttribute: Reject a diff (delete file). | Frederick Muriuki Muriithi | |
2023-10-11 | CaseAttribute: Load diff from file. | Frederick Muriuki Muriithi | |
2023-10-11 | CaseAttribute: Save diff to db at queue time. | Frederick Muriuki Muriithi | |
2023-10-11 | CaseAttribute: Save the diff to the database. | Frederick Muriuki Muriithi | |
2023-10-10 | Do authorisation checks for relevant functions | Frederick Muriuki Muriithi | |
Add a `required_access(...)` function to be used to check that the user has the appropriate privileges to act on the case attributes. | |||
2023-10-10 | Update imports | Frederick Muriuki Muriithi | |
Update imports after removing the authentication from GN3 | |||
2023-10-10 | Implement some queuing logic for diffs | Frederick Muriuki Muriithi | |
Queue the diffs into files - this might change somewhat once we verify whether case-attribute editing needs an approval step. | |||
2023-10-10 | Check whether there's changes before queuing the diff. | Frederick Muriuki Muriithi | |
2023-10-10 | Process Edit data. Fix bugs and typos. | Frederick Muriuki Muriithi | |
Process the edit data into a CSV form for diff generation. Fix bug in: * processing of original data into a CSV * variable passed to DictWriter * arguments to functions | |||
2023-10-10 | Retrieve InbredSet Group's samples/strains | Frederick Muriuki Muriithi | |
Retrieve the samples/strains that relate to a particular InbredSet group. | |||
2023-10-10 | Retrieve InbredSet group details. | Frederick Muriuki Muriithi | |
2023-10-10 | Clean-up original data, and case-attribute names | Frederick Muriuki Muriithi | |
For diff-generation purposes, this commit processes the data into a form that is useful for generation of the CSV files to be used for the diffs. | |||
2023-10-10 | Implement computing of diffs | Frederick Muriuki Muriithi | |
2023-10-10 | Extract fetching of case-attribute names | Frederick Muriuki Muriithi | |
Extract the fetching of case-attribute names into a separate function that can be used elsewhere. | |||
2023-10-10 | Rename function: Make it clearer what function does. | Frederick Muriuki Muriithi | |
2023-10-10 | Bug: Fix missing cursor object. | Frederick Muriuki Muriithi | |
2023-10-10 | Add scaffolding for add/delete endpoints. | Frederick Muriuki Muriithi | |
2023-10-10 | Add scaffolding for case-attribute editing logic. | Frederick Muriuki Muriithi | |
2023-10-10 | Extract fetching of case-attributes by InbredSetId | Frederick Muriuki Muriithi | |
2023-10-10 | Editing: Retrieve case-attribute values for an InbredSet group. | Frederick Muriuki Muriithi | |
2023-10-10 | Editing: Retrieve case attributes by the related InbredSet | Frederick Muriuki Muriithi | |
2023-10-10 | Remove authentication from GN3 | Frederick Muriuki Muriithi | |
Authentication should be handled by the auth server (gn-auth) and thus, this commit removes code handling user authentication from the GN3 system. |