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

Skip to content
Snippets Groups Projects
  1. Feb 11, 2025
    • Moser, Maximilian's avatar
      Remove assertion about having the SECRET_KEY set · ba9102a7
      Moser, Maximilian authored
      * Invenio-Config already takes care of checking the value in real
        Invenio applications and issues a warning if it's unset
      ba9102a7
    • Moser, Maximilian's avatar
      Perform config magic before extension loading · 798907f1
      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)
      798907f1
    • Moser, Maximilian's avatar
      Remove experimental MXID value from user notification preferences · 6de35f74
      Moser, Maximilian authored
      * since we're not quite ready for matrix notifications yet, this wasn't
        supposed to be added to the code
      6de35f74
  2. Feb 10, 2025
  3. Feb 08, 2025
  4. 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
  5. Feb 06, 2025
  6. 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
  7. Feb 04, 2025
  8. Jan 31, 2025
  9. Jan 30, 2025
  10. Jan 13, 2025
  11. Jan 03, 2025
  12. Jan 02, 2025
  13. Dec 12, 2024
  14. Dec 05, 2024
  15. Nov 29, 2024
Loading