aboutsummaryrefslogtreecommitdiff
path: root/main.py
AgeCommit message (Collapse)Author
2023-03-10auth: data-migration: Fix minor bugsFrederick Muriuki Muriithi
2023-03-08auth: users: Use the same basic functions for password hashingFrederick Muriuki Muriithi
To avoid repeating the same thing in multiple places, leading to errors and breakages, reuse the same basic functions for password hashing.
2023-03-08Replace Bcrypt with Argon2 for better security.Frederick Muriuki Muriithi
Bcrypt is now somewhat vulnerable to offline cracking, so we move our password hashing over to Argon2.
2023-03-06auth: resources: Enable assigning a user roles on resourcesFrederick Muriuki Muriithi
2023-02-22auth: List data not linked to any group.Frederick Muriuki Muriithi
2023-02-10Fix linting errors.Frederick Muriuki Muriithi
2023-02-10auth: CLI: Provide a way to set an existing user as a system adminFrederick Muriuki Muriithi
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.
2023-01-21auth: Fix saving of scope values. Add scope items.Frederick Muriuki Muriithi
2023-01-20auth: Add development utils/toolsFrederick Muriuki Muriithi
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.
2022-11-15pylint: Fix linting errors.Frederick Muriuki Muriithi
2022-11-08CLI: Provide `apply-migrations` command for flaskFrederick Muriuki Muriithi
* 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
2021-08-07Add gunicorn support for productionPjotr Prins
2021-02-16Register blueprints in gn3/app.pyBonfaceKilz
* main.py: Move blueprint registrations to ... * gn3/app.py (create_app): ... here
2021-02-16Register gemma blueprintsBonfaceKilz
2021-02-12Add skeleton flask entry-pointBonfaceKilz