- Feb 13, 2025
-
-
Moser, Maximilian authored
* previously, i forgot to override that configuration item after calculating its value * if not set as configuration explicitly, Invenio-RDM-Records would then set a default value of "127.0.0.1:5000" for it
-
- Feb 11, 2025
-
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* because Invenio-App-RDM sets a default value for that config item mismatching our setup
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* Invenio-Config already takes care of checking the value in real Invenio applications and issues a warning if it's unset
-
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)
-
Moser, Maximilian authored
* since we're not quite ready for matrix notifications yet, this wasn't supposed to be added to the code
-
- Feb 10, 2025
-
-
Moser, Maximilian authored
-
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
-
Moser, Maximilian authored
* sometimes the cleanup operations for failed file uploads seem to leave over some `FileInstance` entries in the database that have a null URI * these file instances cause the periodic health checks to fail and trigger warning emails
-
- Feb 08, 2025
-
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* this enables users to set an alternative email address to which notifications will be sent, in case they don't like to use their institutional email address
-
- 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 brings it more in line with the request notifications * previously we were restricted to emails, now it will be whatever notification backends we use * also remove the mail templates - they now live in code until we enhance the notification backend to be more flexible w.r.t. the rendered templates
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* previously, the global was still set to the original Flask config which may not be in sync with the overridden config and thus cause unexpected behavior
-
Moser, Maximilian authored
* fix links being formatted in MD rather than reST * mention the new submission review workflow, notification backends, and background tasks
-
Moser, Maximilian authored
* this makes sure that our custom translations will be picked up, if we ever go for translations
-
Moser, Maximilian authored
* forward extra arguments to pybabel * add missing fixed argument to "extract" * provide better usage information
-
- Feb 05, 2025
-
-
Moser, Maximilian authored
* they're now built into the compiler: https://jinja.palletsprojects.com/en/stable/changes/#version-3-0-0
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* because otherwise, `url_for()` will prefer that value over the HTTP Host header value * this causes issues for us with our multi-domain setup, in conjunction with the OIDC redirects - given that `SERVER_NAME` can only be a scalar value, trying to login on a secondary domain will redirect to the primary one and typically fail (because sessions are different, etc.) * also make sure that the `APP_ALLOWED_HOSTS` config contains the `SERVER_NAME` if set
-
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
-
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 31, 2025
-
-
Moser, Maximilian authored
-
- Jan 30, 2025
-
-
Moser, Maximilian authored
-
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
* automatic accept of submissions for the test system * reminder for uploaders about accepted but still unpublished records * reminder for reviewers about open curation requests
-
Moser, Maximilian authored
* to support our notification use-cases
-
Moser, Maximilian authored
* to add custom headers that can be used for automatic mail processing rules
-
Moser, Maximilian authored
-
Moser, Maximilian authored
-
Moser, Maximilian authored
* also start kicking out infrastructure for the "trusted-publisher" role which hasn't been used in a good while now * instead, if curation isn't enabled, it's up to the admins to publish records
-
- Jan 21, 2025
-
-
Moser, Maximilian authored
-
- Jan 13, 2025
-
-
Moser, Maximilian authored
-
- Jan 03, 2025
-
-
Moser, Maximilian authored
-
Moser, Maximilian authored
-
Moser, Maximilian authored
-