about summary refs log tree commit diff
path: root/uploader/__init__.py
AgeCommit message (Collapse)Author
11 daysFix typos in configuration variable name.Frederick Muriuki Muriithi
12 daysMove the UPLOAD_DIRECTORY under the SCRATCH_DIRECTORY by default.Frederick Muriuki Muriithi
If the UPLOAD_DIRECTORY is not specified in the configuration file(s), then, by default, have it under the SCRATCH_DIRECTORY.
12 daysReplace TEMPORARY_DIRECTORY with SCRATCH_DIRECTORYFrederick Muriuki Muriithi
Avoid using the terminology "TEMPORARY_DIRECTORY" which encourages use of the shared global mutable state in /tmp, that we want to move away from. Instead, we use "SCRATCH_DIRECTORY" which is an explicit specified directory for state needed for and by the gn-uploader application.
2025-12-19Fix issues caught by type-checker.Frederick Muriuki Muriithi
2025-12-10Feature Flags: Generically deal with HTTP-based feature flags.Frederick Muriuki Muriithi
* Define a default `FEATURE_FLAGS_HTTP` configuration variable that's an empty list to help defining http-based feature flags that can be used to turn on/off features * Build macro to include hidden fields for feature flags where necessary. * Extend flask's `url_for` function to deal with defined feature flags in a mostly transparent way
2025-12-08Improve the streamlined UI for the index page.Frederick Muriuki Muriithi
2025-10-13Improve application-level and module-level logging.Frederick Muriuki Muriithi
2025-06-12Improve logger setup.Frederick Muriuki Muriithi
2025-06-11Fix issues caught by linter.Frederick Muriuki Muriithi
2025-05-19Setup log format for the application.Frederick Muriuki Muriithi
2025-05-02PoC: Use independent module-level loggers with applicationFrederick Muriuki Muriithi
Using flask.current_app.logger for logging in modules leads to the modules requiring an app context, even when the module itself could be used outside of the application. This commit provides a proof-of-concept (really, me finally putting in the effort to figure out logging) for how we could allow independent loggers at the module level, that can then be hooked up to the main logging in the system in question.
2025-04-28Initialise entry-point for managing publications.Frederick Muriuki Muriithi
2025-04-21Implement rudimentary status update page for background jobs.Frederick Muriuki Muriithi
2025-04-11Fix bug: Provide empty defaults, and fix type.Frederick Muriuki Muriithi
2025-04-11Update application initialisation to allow config updates for tests.Frederick Muriuki Muriithi
2025-03-24Initialise jobs package for flask.Frederick Muriuki Muriithi
2025-03-21Bugfix: Provide missing import.Frederick Muriuki Muriithi
2025-03-20Initialise session storage directory.Frederick Muriuki Muriithi
2024-12-20Provide initial endpoints for chunked file uploads.Frederick Muriuki Muriithi
2024-09-23Initialise the "Expression Data" section.Frederick Muriuki Muriithi
2024-09-17UI Improvements: Provide some details of logged in userFrederick Muriuki Muriithi
2024-09-03Put populations under species: improve hierarchy.Frederick Muriuki Muriithi
Populations cannot exist without the species they are related to. This commit updates the URI hierarchy to reflect that expectation.
2024-09-03Initialise the populations package and update references.Frederick Muriuki Muriithi
2024-08-30Initialise package for dealing with Species.Frederick Muriuki Muriithi
2024-08-28Move code handling expression data upload into new module.Frederick Muriuki Muriithi
2024-08-08Set up logging for the application.Frederick Muriuki Muriithi
Set up logging for the application to help with debugging issues.
2024-08-05Enable logout.Frederick Muriuki Muriithi
2024-08-05Add OAuth2/JWK-related endpoints.Frederick Muriuki Muriithi
2024-07-26Provide UI for enabling login to the application.Frederick Muriuki Muriithi
2024-07-26Initialise sessions for the application.Frederick Muriuki Muriithi
2024-07-26Rename configuration variableFrederick Muriuki Muriithi
QCAPP_CONF --> UPLOADER_CONF
2024-07-26Setup secrets from config file.Frederick Muriuki Muriithi
2024-07-25Fix typing and linting errors.Frederick Muriuki Muriithi
2024-07-25Rename module: qc_app --> uploaderFrederick Muriuki Muriithi