| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 7 days | Make initialise_job metadata keyword-only HEAD main | Frederick Muriuki Muriithi | |
| Change `initialise_job` to accept metadata as keyword arguments, with `expiry_seconds` as a keyword-only reserved argument. Document the `external_id` value, and the `workflow_claim` metadata convention for idempotent stage transitions. Call sites that pass `extra_meta={...}` must unpack the dict instead. Co-authored-by: pi coding agent <pi@pi.dev> | |||
| 7 days | Add jobs_by_metadata to look up jobs by metadata | Frederick Muriuki Muriithi | |
| Fetch jobs whose metadata contains all the given key/value pairs, returning each job with its metadata, newest first. This supports idempotent stage transitions without mutating completed jobs. Co-authored-by: pi coding agent <pi@pi.dev> | |||
| 7 days | Index the jobs metadata by key and value | Frederick Muriuki Muriithi | |
| Add a `(metadata_key, metadata_value)` index to `jobs_metadata` so jobs can be looked up by their metadata without scanning the table. Co-authored-by: pi coding agent <pi@pi.dev> | |||
| 2026-10-28 | Enable passing PRAGMA directives on connection string. | Frederick Muriuki Muriithi | |
| Enable passing of PRAGMA directives on the connection string to enable setting different directives for different environments. | |||
| 2026-10-28 | Move Work-In-Progress (WIP) docs into main package. | Frederick Muriuki Muriithi | |
| Move the documentation into the main package to prevent issues with the build system (setuptools). | |||
| 2026-10-27 | Define exit values. | Frederick Muriuki Muriithi | |
| Commit missing definitions for exit values. | |||
| 2026-09-10 | Add utility for handling requests. | Frederick Muriuki Muriithi | |
| 2026-08-27 | Check whether a user is allowed to assign privileges. | Frederick Muriuki Muriithi | |
| 2026-08-26 | Add privilege checks for creation/deletion of users. | Frederick Muriuki Muriithi | |
| 2026-08-26 | Bugfix: Remove extraneous privilege. | Frederick Muriuki Muriithi | |
| The `system:inbredset:[create/delete]-case-attribute` privileges do not deal with the values like the *-[apply/reject]-* privileges do, rather they act at a level above, where they deal with the "entity" itself rather than just the value. This commit fixes that. | |||
| 2026-08-20 | New check: Can create a resource-specific role. | Frederick Muriuki Muriithi | |
| 2026-05-19 | Add missing import. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2026-05-18 | Call a function `func` with a database connection. | Frederick Muriuki Muriithi | |
| 2026-05-14 | Separate 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-13 | Remove 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-08 | Raise exceptions for 400, and 500 responses. | Frederick Muriuki Muriithi | |
| 2026-04-23 | Add privileges checks for system-level actions. | Frederick Muriuki Muriithi | |
| 2026-04-22 | Add check for batch-edit privileges. | Frederick Muriuki Muriithi | |
| 2026-04-01 | Fix minor code issues caught by the linter. | Frederick Muriuki Muriithi | |
| 2026-03-31 | Check 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-31 | Enforce 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-31 | Rename module and add privileges to checks. | Frederick Muriuki Muriithi | |
| * checks.py --> resources.py * Add privileges for InbredSet groups editing. | |||
| 2026-03-31 | Move generalised checker function to the authspec module. | Frederick Muriuki Muriithi | |
| 2026-03-31 | Delete unused class. | Frederick Muriuki Muriithi | |
| 2026-03-30 | Add 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-09 | Remove unnecessary semicolon: linting. | Frederick Muriuki Muriithi | |
| 2026-01-08 | Enable killing of a long-running job. | Frederick Muriuki Muriithi | |
| 2026-01-08 | Enable job deletion. | Frederick Muriuki Muriithi | |
| Provide functions to enable deletion of jobs from the database. | |||
| 2026-01-08 | Order user jobs from newest to oldest. | Frederick Muriuki Muriithi | |
| 2026-01-08 | Bug: 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-07 | Fetch jobs by their external IDs. | Frederick Muriuki Muriithi | |
| 2026-01-07 | Link a jobs to external IDs. | Frederick Muriuki Muriithi | |
| 2026-01-07 | Fix type annotation. | Frederick Muriuki Muriithi | |
| 2026-01-07 | Fix linting issues. | Frederick Muriuki Muriithi | |
| 2026-01-05 | Remove erroneous statement: no such variable `stderr_handler`. | Frederick Muriuki Muriithi | |
| 2026-01-05 | Setup type information for `app_logger` argument. | Frederick Muriuki Muriithi | |
| Setup the type information to help with type-checking. | |||
| 2026-01-05 | Add basic logging initialisation functions. | Frederick Muriuki Muriithi | |
| 2025-12-09 | Add http logging utilities to be used in the rest of gn. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-08-13 | Fix logger name: use the module's name. | Frederick Muriuki Muriithi | |
| 2025-08-12 | Support `ssl=True/False` option for mariadb connection options. | Frederick Muriuki Muriithi | |
| 2025-08-12 | Log out connection options in debug mode. | Frederick Muriuki Muriithi | |
| 2025-08-12 | Add link to docs on expected arguments. | Frederick Muriuki Muriithi | |
| 2025-07-24 | Fix errors caught by type-checker. | Frederick Muriuki Muriithi | |
| 2025-07-24 | Implement check function. | Frederick Muriuki Muriithi | |
| 2025-07-24 | Replace prints with logging. | Frederick Muriuki Muriithi | |
| 2025-07-23 | First, very basic implementation to pass all of the (current) tests. | Frederick Muriuki Muriithi | |
| 2025-07-23 | Improve definition of types. | Frederick Muriuki Muriithi | |
| 2025-07-22 | Begin working on simple DSL for privileges checking. | Frederick Muriuki Muriithi | |
| 2025-06-11 | Fix code errors caught by type-checker. | Frederick Muriuki Muriithi | |
| 2025-06-11 | Fix code errors caught by linter. | Frederick Muriuki Muriithi | |
