Age | Commit message (Expand) | Author |
---|---|---|
2024-04-02 | Refactor __run_cmd into private function __run_cmd__....* 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> | Munyoki Kilyungi |
2024-04-02 | Add a "View History" link....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-27 | Add some styling to gnqa answer page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Fix htmx swap....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Delete unused javascript in gnqa page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Add missing braces/brackets....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Enable auto-complete in form....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Clean up gnqa answer page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Delete unused template....* gn2/wqflask/templates/pubmed_modal.html: Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Delete llm.css and it's references....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Require ouath2 for gnqa history search....* 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> | Munyoki Kilyungi |
2024-03-27 | Add htmx indicator....Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-27 | Add some styling to AI search bar....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Move search box to below the header....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Wrap "search" block round entire div that nests the search box....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Format files....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Re-locate gnqa search box to gnqa.html....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Require log-in to use the gn-qa search system....* 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> | Munyoki Kilyungi |
2024-03-27 | Clean up base.html....* 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> | Munyoki Kilyungi |
2024-03-27 | Rework GN-QA landing page....Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-27 | Fix mark-up in gn-qa landing page....Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com> | Munyoki Kilyungi |
2024-03-26 | Patch correct module to fix tests. | Frederick Muriuki Muriithi |
2024-03-26 | Revert "bug: gn2.wqflask.resource_manager has no `requests` defined"...This reverts commit dde660453fc402b020178db41d136334a1b91b89. | Frederick Muriuki Muriithi |
2024-03-26 | Revert "Update test function signatures and remove obsolete tests."...This reverts commit 77af7c016749998d62b769bdd24069f511925ef9. | Frederick Muriuki Muriithi |
2024-03-26 | Update test function signatures and remove obsolete tests. | Frederick Muriuki Muriithi |
2024-03-26 | bug: gn2.wqflask.resource_manager has no `requests` defined...gn2.wqflask.resource_manager module does not have a `requests` variable or function defined, leading to errors in the test. | Frederick Muriuki Muriithi |
2024-03-26 | Revert "Disable CaseAttributeId - because it needs an update to the database"...This reverts commit 4539ef0297bb4b8c2954f250697c237069a16d64. This commit was ignoring the historical context that led to the changes in the schema of the `CaseAttribute*` tables, and leads to errors when the database schema is updated. | Frederick Muriuki Muriithi |
2024-03-26 | Add missing docstrings to save/metadata_edit functions....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Add "dataset.name" field to the editor form....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Only display the "edit" link when a user has edit permissions....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Add a final fallback for match expression....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Use correct variable name....* gn2/wqflask/oauth2/client.py (no_token_post): "uri" does not exist. Replace it with "uri_path." Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Delete unused variable....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Use "require_oauth2_edit_resource_access" for edit/save endpoints....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Implement "require_oauth2_edit_resource_access" decorator....* gn2/wqflask/oauth2/checks.py (require_oauth2): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Replace "__" prefix for with "_"....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Import user_logged_in from the clients module....Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Delete repetitive statement in "render_ui"....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Auto-pep8 (using flake8) file....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Replace "login_required" with "require_oauth2"....* gn2/wqflask/edit.py: Replace "login_required" import with "require_oauth2". (metadata_edit): Replace "login_required" with "require_oauth2". (edit): Ditto. (save): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Remove unused declared variable....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Remove typo from template....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Add extra "edit" buttons to the relevant sections....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Make the description bold....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Reset repo and pull then write changes before committing....* gn2/wqflask/edit.py: Import session_info. (save_dataset_metadata): Add author as an argument. Reset repo and pull then write changes before committing. Split strings before __run_cmd is called. (metadata_edit): Rename "metadata" -> "__metadata". (save): Save the output to the correct path. Pass author to "save_dataset_metadata". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Prevent shell injection by disabling shell invocation in subprocess....See: <https://stackoverflow.com/questions/52019920/python3-sanitizing-user-input-passed-to-shell-as-parameter> for more information. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Add a hidden input form element for "section"....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Replace Path construct with a format string....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Add missing "curry" to __run_cmd....This is required to be able to pass __run_cmd through a pipeline. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |