Age | Commit message (Collapse) | Author |
|
* gn2/wqflask/edit.py (__fetch_dataset_git_history__): Delete
(view_history): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/edit.py (save_dataset_metadata): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/tests/unit/wqflask/oauth2/(__init__.py, test_tokens.py): Test
cases for jwt token creation.
* gn2/wqflask/oauth2/tokens.py (JWTToken): New module for creating jwt tokens.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Feature/implement new qnqa UI template
|
|
|
|
|
|
|
|
|
|
There is a failure on CI/CD that is not obvious - the logs should help
with debugging the issue.
|
|
Add logging to genenetwork2
|
|
|
|
* This is a separate interface from gnqa main page for testing.
|
|
|
|
|
|
|
|
* Use the app's private key to sign the initial assertions used for
retrieving an authorisation token from the auth server.
* Use auth server's public key to validate the authorisation tokens
got from the auth server.
|
|
|
|
|
|
|
|
Define a new setting named SSL_KEY_PAIR_PUBLIC_KEY to hold the path
to the SSL key-pair's public key, used with the JWTs.
|
|
|
|
|
|
Feature/refactor gnqa UI
|
|
|
|
|
|
* require gn-auth
|
|
|
|
|
|
|
|
|
|
|
|
* gn2/wqflask/edit.py (__fetch_dataset_git_history__): New function.
(view_history): New end-point.
* gn2/wqflask/templates/dataset.html: Use htmx to fetch history.
* gn2/wqflask/templates/dataset_history.html: New history page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/templates/dataset.html: Delete target="_blank" for the
edit links.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/edit.py (save_dataset_metadata): Chain running the git
commands and the write operation together.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/edit.py: Import Right. Delete curry.
(save_dataset_metadata)[__run_cmd]: Move this...
(__run_cmd__): ... here.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
* gn2/wqflask/templates/pubmed_modal.html: Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
* gn2/wqflask/views.py (gnqna_hist): Add "require_oauth2" decorator.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|