about summary refs log tree commit diff
path: root/gn_libs
AgeCommit message (Collapse)Author
2026-05-19Add missing import. HEAD mainMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2026-05-18Call a function `func` with a database connection.Frederick Muriuki Muriithi
2026-05-14Separate checking of system and resource privileges.Frederick Muriuki Muriithi
Merging the resource and system privileges before checking leads to some subtle bugs. This commit separates the checking of the two.
2026-05-13Remove administrative-specific privileges.Frederick Muriuki Muriithi
The `system:resource:[view/edit/delete]` privileges are administrative and checking for them here is a bug. It exposes data publicly.
2026-05-08Raise exceptions for 400, and 500 responses.Frederick Muriuki Muriithi
2026-04-23Add privileges checks for system-level actions.Frederick Muriuki Muriithi
2026-04-22Add check for batch-edit privileges.Frederick Muriuki Muriithi
2026-04-01Fix minor code issues caught by the linter.Frederick Muriuki Muriithi
2026-03-31Check for applying/rejecting edits for resources requiring review.Frederick Muriuki Muriithi
Some resources, when edited by a user, might require that those changes be reviewed and either applied or rejected by a different reviewer.
2026-03-31Enforce the following invariants for roles/privileges:Frederick Muriuki Muriithi
* "Creators" can ONLY create * "Viewers" can ONLY view * "Editors" can view AND edit * "Deletors" Can view AND edit AND delete
2026-03-31Rename module and add privileges to checks.Frederick Muriuki Muriithi
* checks.py --> resources.py * Add privileges for InbredSet groups editing.
2026-03-31Move generalised checker function to the authspec module.Frederick Muriuki Muriithi
2026-03-31Delete unused class.Frederick Muriuki Muriithi
2026-03-30Add checks for privileges.Frederick Muriuki Muriithi
* Make privileges a package rather than a module and rename previous module. * Add generic checks for most-common features of the system.
2026-02-09Remove unnecessary semicolon: linting.Frederick Muriuki Muriithi
2026-01-08Enable killing of a long-running job.Frederick Muriuki Muriithi
2026-01-08Enable job deletion.Frederick Muriuki Muriithi
Provide functions to enable deletion of jobs from the database.
2026-01-08Order user jobs from newest to oldest.Frederick Muriuki Muriithi
2026-01-08Bug: Process the external ID before attempting to use it.Frederick Muriuki Muriithi
Process the external ID to ensure it is a valid value before attempting to use it.
2026-01-07Fetch jobs by their external IDs.Frederick Muriuki Muriithi
2026-01-07Link a jobs to external IDs.Frederick Muriuki Muriithi
2026-01-07Fix type annotation.Frederick Muriuki Muriithi
2026-01-07Fix linting issues.Frederick Muriuki Muriithi
2026-01-05Remove erroneous statement: no such variable `stderr_handler`.Frederick Muriuki Muriithi
2026-01-05Setup type information for `app_logger` argument.Frederick Muriuki Muriithi
Setup the type information to help with type-checking.
2026-01-05Add basic logging initialisation functions.Frederick Muriuki Muriithi
2025-12-09Add http logging utilities to be used in the rest of gn.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2025-08-13Fix logger name: use the module's name.Frederick Muriuki Muriithi
2025-08-12Support `ssl=True/False` option for mariadb connection options.Frederick Muriuki Muriithi
2025-08-12Log out connection options in debug mode.Frederick Muriuki Muriithi
2025-08-12Add link to docs on expected arguments.Frederick Muriuki Muriithi
2025-07-24Fix errors caught by type-checker.Frederick Muriuki Muriithi
2025-07-24Implement check function.Frederick Muriuki Muriithi
2025-07-24Replace prints with logging.Frederick Muriuki Muriithi
2025-07-23First, very basic implementation to pass all of the (current) tests.Frederick Muriuki Muriithi
2025-07-23Improve definition of types.Frederick Muriuki Muriithi
2025-07-22Begin working on simple DSL for privileges checking.Frederick Muriuki Muriithi
2025-06-11Fix code errors caught by type-checker.Frederick Muriuki Muriithi
2025-06-11Fix code errors caught by linter.Frederick Muriuki Muriithi
2025-06-10Setup launcher logging.Frederick Muriuki Muriithi
Enable logging out details of the launcher's process to help with debugging issues.
2025-06-04Add function to make a "peeker" function.Frederick Muriuki Muriithi
The current peeker function `__pk__` has pre-specified logger(s) which are not always present in all environments, and even when present, might not have the appropriate configuration. This commit provides a way to build a peeker function that is passed the logger to use.
2025-05-28Provide symbol name for exception to re-raise.Frederick Muriuki Muriithi
2025-05-19Handle generic exception occurring while using the connectionFrederick Muriuki Muriithi
Rollback any transaction if any exception occurs before the connection is closed.
2025-05-12Re-raise the exception to prevent silent failures.Frederick Muriuki Muriithi
2025-05-05Handle case where job doesn't exist.Frederick Muriuki Muriithi
2025-05-02Fix stream used by function.Frederick Muriuki Muriithi
2025-04-21Indicate successful completion.Frederick Muriuki Muriithi
2025-04-21Build the environment from the application environment.Frederick Muriuki Muriithi
2025-04-21Add function to load standard stream outputs.Frederick Muriuki Muriithi
2025-03-25Clean up after ourselves!Frederick Muriuki Muriithi