Age | Commit message (Expand) | Author |
---|---|---|
2023-10-10 | Remove authentication from GN3...Authentication should be handled by the auth server (gn-auth) and thus, this commit removes code handling user authentication from the GN3 system. | Frederick Muriuki Muriithi |
2023-06-08 | bug: Function expects pathlib.Path not str | Frederick Muriuki Muriithi |
2023-05-30 | Enable registering sys-admin on CLI...To ease registration of system-admin user, provide a CLI script to register the user and mark them as sys admin in one go. | Frederick Muriuki Muriithi |
2023-05-29 | Enable Administrator login on GN3...* gn3/auth/authentication/oauth2/views.py: Remove endpoint * gn3/auth/authorisation/users/admin/__init__.py: New admin module * gn3/auth/authorisation/users/admin/ui.py: New admin module * gn3/auth/authorisation/users/admin/views.py: New admin module * gn3/auth/views.py: Use new admin module * gn3/errors.py: Fix linting errors * gn3/templates/login.html: New html template * main.py: Fix linting errors | Frederick Muriuki Muriithi |
2023-05-26 | Document CLI Utility Commands...Document some CLI utility commands useful for development and for supporting the operation of the GN3 app. | Frederick Muriuki Muriithi |
2023-05-23 | auth: Enable user masquerade...Enable users with the appropriate privileges to masquerade as other users by providing an endpoint that provides a new token for the "masqueradee" | Frederick Muriuki Muriithi |
2023-05-09 | auth: Implement "Authorization Code Flow"...Implement the "Authorization Code Flow" for the authentication of users. * gn3/auth/authentication/oauth2/grants/authorisation_code_grant.py: query and save the authorisation code. * gn3/auth/authentication/oauth2/models/authorization_code.py: Implement the `AuthorisationCode` model * gn3/auth/authentication/oauth2/models/oauth2client.py: Fix typo * gn3/auth/authentication/oauth2/server.py: Register the `AuthorisationCodeGrant` grant with the server. * gn3/auth/authentication/oauth2/views.py: Implement `/authorise` endpoint * gn3/templates/base.html: New HTML Templates of authorisation UI * gn3/templates/common-macros.html: New HTML Templates of authorisation UI * gn3/templates/oauth2/authorise-user.html: New HTML Templates of authorisation UI * main.py: Allow both "code" and "token" response types. auth/implement-authorization-code-flow | Frederick Muriuki Muriithi |
2023-03-10 | auth: data-migration: Fix minor bugs | Frederick Muriuki Muriithi |
2023-03-08 | auth: users: Use the same basic functions for password hashing...To avoid repeating the same thing in multiple places, leading to errors and breakages, reuse the same basic functions for password hashing. | Frederick Muriuki Muriithi |
2023-03-08 | Replace Bcrypt with Argon2 for better security....Bcrypt is now somewhat vulnerable to offline cracking, so we move our password hashing over to Argon2. | Frederick Muriuki Muriithi |
2023-03-06 | auth: resources: Enable assigning a user roles on resources | Frederick Muriuki Muriithi |
2023-02-22 | auth: List data not linked to any group. | Frederick Muriuki Muriithi |
2023-02-10 | Fix linting errors. | Frederick Muriuki Muriithi |
2023-02-10 | auth: CLI: Provide a way to set an existing user as a system admin...Provide a way to set a user as a system administrator via CLI. This method was chosen rather that using the WebUI since most users will not have access to the CLI. It also means that assigning system administration privileges will not be an accident, since one has to actually run the command manually on the CLI. | Frederick Muriuki Muriithi |
2023-01-21 | auth: Fix saving of scope values. Add scope items. | Frederick Muriuki Muriithi |
2023-01-20 | auth: Add development utils/tools...To avoid having to manually rebuild some default data for exploration of concepts while developing the system, add a way to build up the test users and oauth2 clients to use for testing. | Frederick Muriuki Muriithi |
2022-11-15 | pylint: Fix linting errors. | Frederick Muriuki Muriithi |
2022-11-08 | CLI: Provide `apply-migrations` command for flask...* main.py: Provide the `apply-migrations` CLI command to run the migrations against the auth database. The command can be invoked with: $ flask apply-migrations | Frederick Muriuki Muriithi |
2021-08-07 | Add gunicorn support for production | Pjotr Prins |
2021-02-16 | Register blueprints in gn3/app.py...* main.py: Move blueprint registrations to ... * gn3/app.py (create_app): ... here | BonfaceKilz |
2021-02-16 | Register gemma blueprints | BonfaceKilz |
2021-02-12 | Add skeleton flask entry-point | BonfaceKilz |