Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-05 | Handle unhandled SQLite3 errors. | Frederick Muriuki Muriithi | |
2023-04-14 | auth: Disconnect module from flask application | Frederick Muriuki Muriithi | |
To avoid application context errors in external scripts, disconnect the `gn3.auth.db` module from the `flask.current_app` dependency. | |||
2023-02-21 | auth: db: DEBUG: Output quer(y|ies) that were run. | Frederick Muriuki Muriithi | |
2023-01-18 | auth: Enable FOREIGN KEY constraint for the connections | Frederick Muriuki Muriithi | |
Enable the FOREIGN KEY constraints for the connections to the database to help with queries that would otherwise lead to data corruption. | |||
2022-12-21 | auth: Add default row_factory to sqlite3 | Frederick Muriuki Muriithi | |
* gn3/auth/db.py: For easier setting up of objects after querying, set the default row_factory object that allows indexing by database field name. | |||
2022-11-16 | auth: fix bugs in the code | Frederick Muriuki Muriithi | |
* gn3/auth/authorisation/privileges.py: Set id to UUID type * gn3/auth/authorisation/roles.py: fix parameters to types that sqlite3 supports * gn3/auth/db.py: add logging for errors and re-raise the exception * tests/unit/auth/test_roles.py: fix test | |||
2022-11-15 | auth: Add some typing information to the functions | Frederick Muriuki Muriithi | |
2022-11-15 | pylint: Fix linting errors. | Frederick Muriuki Muriithi | |
2022-11-14 | auth: Implement `create_group` | Frederick Muriuki Muriithi | |