- Nov 08, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
- Nov 03, 2021
-
-
Andreas Ellewsen authored
To facilitate multiple identifiers of OUs we introduce the OuIdentifier model and removed the orgreg_id field from OrganizationalUnit. All current orgreg_ids are recreated as OuIdentifiers with name 'orgreg_id' and source 'orgreg'. Both values are configurable in the base settings file in the gregsite app. Note that changing this value after migration will require manual work changing all OuIdentifiers already created before the next run of the orgreg_import management command since that assumes all current orgreg identifiers uses these values. All endpoints that previously exposed the orgreg_id field now exposes an identifiers field with a list of OuIdentifiers connected to that model with fields id, name, source, and value. Resolves: GREG-88
-
- Oct 27, 2021
-
-
Andreas Ellewsen authored
Code for guest routes moved to their own folder so that we don't need multiple api calls. Serializer class for roles has been simplified with methods for validation of each field and a separate one used in invites without requiring the person field. Resolves: GREG-61
-
Andreas Ellewsen authored
-
- Oct 19, 2021
-
-
Tore.Brede authored
-
Andreas Ellewsen authored
Allows changes to start- and end date for guest roles. A new endpoint has been added to the ui api for doing PATCH request to support this. The max days of each role type is respected. Resolves: GREG-83
-
Tore.Brede authored
-
- Oct 18, 2021
-
-
Tore.Brede authored
-
- Oct 17, 2021
-
-
Tore.Brede authored
-
Tore.Brede authored
-
Tore.Brede authored
-
- Oct 13, 2021
-
-
Jonas Braathen authored
-
Jonas Braathen authored
-
- Oct 12, 2021
-
-
Jonas Braathen authored
Remove the 'email' and 'mobile_phone' fields on Person and use identities to represent this data instead. - Migrate data on existing Person objects to Identity objects - Make the 'is verified' logic only accept certain ID types - Sync the Person.is_verified and API 'verified' filter logic
-
- Oct 07, 2021
-
-
Tore.Brede authored
-
- Oct 06, 2021
-
-
Andreas Ellewsen authored
- Introduces the Invitation and InvitationLink models for keeping track of guest invitations and the links connected to them. - Adds a post endpoint accessible by sponsors to create invitations for guests. - Adds a get endpoint for the guests to review their invitation information. - Adds a post endpoint for the guests to confirm their invitation with updated mobile_phone number if they want. - Removes token field from Person since it is not used.
-
Tore.Brede authored
-
- Sep 29, 2021
-
-
Tore.Brede authored
-
- Sep 22, 2021
-
-
Jonas Braathen authored
-