github kobotoolbox/kpi 2.026.07b

9 hours ago

What's changed

Features (1)
  • accounts: extend activation link window to 24 hours and update related email/UI copy (#6832)

    Extends the django-allauth email confirmation expiration to 24 hours and
    updates the corresponding email templates, UI pages, and unit tests to
    reflect the new timeframe and provide better user guidance.

    This PR extends the validity of all activation links to exactly 24 hours
    and updates the associated UI and email copy to be more user-friendly
    and clear.

Bug Fixes (1)
  • pairedData: empty field intersection exposes no data (#6848)e

    When a connected project's dynamic data field restrictions did not
    overlap between source and destination, the external XML file was not
    generated correctly.

Performance (2)
  • asset: store version content hash in DB to avoid loading its content (#6843)

    Opening a project with many deployed versions and many questions could
    return a 502 error.

    👷 Description for instance maintainers

    In the API response of the asset detail endpoint
    (/api/v2/assets/{asset_uid}/), the hash of the content of each version
    was computed on the fly, loading all their JSON into memory (could be
    many MB, even GB of objects in memory at once).

    A new database field now stores the hash directly on each version
    record, computed once when the version is saved. A long-running
    migration backfills the hash for all existing records in small batches
    to avoid memory spikes.

  • openrosa: reduce SQL queries on formList and manifest endpoints (#6844)

Continous Integration (1)
  • zulip: update channel name as per zulip channel renames (#6851)

Full Changelog: https://github.com/kobotoolbox/kpi/compare/2.026.07a..2.026.07b

Don't miss a new kpi release

NewReleases is sending notifications on new releases.