- Feb 11, 2025
-
-
Moser, Maximilian authored
* `tuw_config` is a bit nicer than `zzz_invenio_config_tuw`, and should still be the last entry in the list considering the usual naming scheme
-
Moser, Maximilian authored
* previously, our configuration magic was performed as part of the `finalize_app` entrypoint * while this worked well enough for most use cases, some extensions would break this model by caching values during their initialization * especially caching-related extensions like to take eagerly create clients with the current configuration items, which are hard to fix afterwards * keeping track of all the instantiated clients just to change their connection details when we perform our magic really didn't seem like a good approach * so instead, we now made sure that our extension is loaded first and can thus perform its configuration magic before any other extension has a chance of caching values * also, extension loading happens after the configuration loading is done (especially the handling of environment variables)
-
- Feb 10, 2025
-
-
Moser, Maximilian authored
* add functionality to assemble some config items (like the DB connection string) from their parts * this was previously implemented in our `invenio.cfg`, but more flaky because it had to deal with parsing and setting environment variables * also refactor the startup module
-
- Feb 07, 2025
-
-
Moser, Maximilian authored
* this can be very useful for having a single project that is used for both "local" and "containerized" execution, where some configuration items should be slightly different for either (e.g. `SEARCH_HOSTS`) * currently we have this functionality implemented in our `invenio.cfg` but there it is a bit awkward due to the fact that environment variables have not been translated into `app.config` yet
-
- Feb 06, 2025
-
-
Moser, Maximilian authored
* this makes sure that our custom translations will be picked up, if we ever go for translations
-
- Feb 05, 2025
-
-
Moser, Maximilian authored
* apparently it was a leftover `before_first_request` handler * reworked it as `finalize_app` entrypoint * also, added a check if the app config is already a TUW config to avoid unnecessary nesting
-
- Feb 04, 2025
-
-
Moser, Maximilian authored
* to fix our multi-domain setup with Flask 2.x and 3.0 * see: https://github.com/pallets/flask/pull/5634 * this can be removed once we get Flask 3.1+ in
-
- Jan 30, 2025
-
-
Moser, Maximilian authored
* create dedicated modules for curations & notifications to separate the general notifications infrastructure from the curations-related parts (and requests) * split large modules into smaller logical groups * split tasks.py into three separate parts: curations, TISS, and general
-
Moser, Maximilian authored
-
- Jan 21, 2025
-
-
Moser, Maximilian authored
-
- Jan 03, 2025
-
-
Moser, Maximilian authored
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* to make it more obvious that they are all related to user models * also, rename the modules to better reflect their content * also, rename some content (e.g. `CurationForm` to `CurationPreferencesForm`)
-
- Dec 05, 2024
-
-
Moser, Maximilian authored
* replace the removed `@register_menu` decorator, which was using `app.before_first_request` under the hood, with a `finalize_app` entrypoint function
-
- Nov 25, 2024
-
-
Tsepelakis, Sotirios authored
* Implements custom TU Wien user identity generator
-
Tsepelakis, Sotirios authored
-
- Oct 08, 2024
-
-
Moser, Maximilian authored
-
- Oct 01, 2024
-
-
Moser, Maximilian authored
* use `hatchling` instead of `setuptools` as build tool * remove `MANIFEST.in` since that's specific to setuptools * also add `uv.lock` to gitignore
-
- Nov 23, 2022
-
-
Moser, Maximilian authored
-