Repository navigation
v0.6.1
The registered-events API no longer answers with an empty list on a form nobody has configured.
Run indico db --plugin stsa upgrade after installing, then restart Indico. This release adds a data migration, not a column: it switches List in the events API on for every registration form that already has STSA settings. 0.6.0 left every saved row off, and a row also exists for a form whose settings were saved for some other reason, so an "off" already in the table cannot be told from a choice. If a form should not be listed, switch it off again on its STSA settings page afterwards. Nothing else needs doing: there is no asset rebuild, and members do not need to sign in again.
Fixes
GET /api/stsa/registered-eventslisted nothing on a fresh install. List in the events API was off by default, and a form with no STSA settings row was never joined to, so the endpoint returned{"registrations": []}with nothing to say why. The switch is now on by default, and a form with no settings row is listed too. It is still per form, and an organizer can still switch a form off. The endpoint only ever returns the asking participant's own registrations, so there was nothing for the old default to protect.- The registration form's STSA box, the STSA overview and the settings page now show a form with no settings row as Listed, matching what the endpoint does.
A database that has not been upgraded still lists nothing, and the server log still says so once per process. See README §10.