Age | Commit message (Collapse) | Author |
|
* 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>
|
|
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/views.py: Import require_oauth2.
(gnqna): Add "require_oauth2" decorator.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
* gn2/wqflask/templates/base.html: Replace TABS with white-space.
Fix hanging html tags. Format file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com>
|
|
|
|
This reverts commit dde660453fc402b020178db41d136334a1b91b89.
|
|
This reverts commit 77af7c016749998d62b769bdd24069f511925ef9.
|
|
|
|
gn2.wqflask.resource_manager module does not have a `requests`
variable or function defined, leading to errors in the test.
|