*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
  1. Feb 10, 2025
    • Moser, Maximilian's avatar
      Add background task for cleaning up dead files · 7ad96bae
      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
      7ad96bae
  2. Feb 08, 2025
  3. Feb 07, 2025
    • Moser, Maximilian's avatar
      Add possibility to have prefixed config items override unprefixed ones · ad21f638
      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
      ad21f638
  4. Feb 06, 2025
  5. Feb 05, 2025
    • Moser, Maximilian's avatar
      Bump version to v2025.1.2 · c5ac5a72
      Moser, Maximilian authored
      v2025.1.2
      c5ac5a72
    • Moser, Maximilian's avatar
      Remove `SERVER_NAME` config for the duration of requests · e2cd5b79
      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
      e2cd5b79
    • Moser, Maximilian's avatar
      Move Flask config override from ext to startup · a99e0e44
      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
      a99e0e44
  6. Feb 04, 2025
  7. Jan 31, 2025
  8. Jan 30, 2025
  9. Jan 13, 2025
  10. Jan 03, 2025
  11. Jan 02, 2025
  12. Dec 12, 2024
  13. Dec 05, 2024
  14. Nov 29, 2024
  15. Nov 27, 2024
  16. Nov 26, 2024
  17. Nov 25, 2024
Loading