Commits on Source (15)
-
Refactors things to new syntax while not changing anything
-
Jump from 14 to 16 does not change anything for us
-
Tore.Brede authored
-
Tore.Brede authored
-
Andreas Ellewsen authored
The database constraint on the Identity model demands only one value per id type for each person. This means that a person with a pass number already in greg from a different source than the one we are trying to import will trigger an integrity error when we try to create it. The logic now instead checks for identities with other sources as well, and if a match is found from another source system, the source is updated to the one in the data we are importing. This will also mean that a previously entered manual entry, will be converted to one marked as automatic.
-
Andreas Ellewsen authored
Make import_guests command more lenient on source See merge request !319
-
Tore.Brede authored
GREG-247: Make the org unit list sorted alphabetically in the admin interface See merge request !318
-
Marte Fossum authored
* added filter for role type under /person to not list all persons * added test for new filter * updated python version in Makefile Issue: GREG-252
-
Marte Fossum authored
Add filter for role type under /person and test See merge request !320
-
Marte Fossum authored
Issue: GREG-222
-
Andreas Ellewsen authored
Introduces the new identity type migration id, meant to be used when migrating a person from another system. The cerebrum guest import script has been expanded to use this new migration id. The script has also gotten an option to import people without the necessary IDs (NIN/Passport) so that we can generate IDs for them in GREG. The can then be imported by cerebrum manually before we add the remaning info from a different source. In this case we use old info from UiO SAP.
-
Marte Fossum authored
Show orgreg_id instead og id after ouUnit See merge request !321
-
Andreas Ellewsen authored
If an identity already exists in greg, but is tied to a different person, we tried to add it, causing an integrity error. We now check if the value already exists. If it is tied to the person we are adding info for, we simply update it. Otherwise we skip this value.
-
Andreas Ellewsen authored
Prepare for guest migration See merge request !322
-
Andreas Ellewsen authored
Upgrade react-router-dom to v6 See merge request !308
Showing
- Makefile 1 addition, 1 deletionMakefile
- frontend/Containerfile 1 addition, 1 deletionfrontend/Containerfile
- frontend/package-lock.json 31 additions, 334 deletionsfrontend/package-lock.json
- frontend/package.json 1 addition, 2 deletionsfrontend/package.json
- frontend/src/components/requireAuth/index.tsx 19 additions, 0 deletionsfrontend/src/components/requireAuth/index.tsx
- frontend/src/hooks/useGuest/index.tsx 1 addition, 1 deletionfrontend/src/hooks/useGuest/index.tsx
- frontend/src/routes/components/overviewGuestButton.tsx 4 additions, 4 deletionsfrontend/src/routes/components/overviewGuestButton.tsx
- frontend/src/routes/components/sponsorGuestButtons.tsx 4 additions, 4 deletionsfrontend/src/routes/components/sponsorGuestButtons.tsx
- frontend/src/routes/guest/register/index.test.tsx 24 additions, 16 deletionsfrontend/src/routes/guest/register/index.test.tsx
- frontend/src/routes/guest/register/index.tsx 3 additions, 3 deletionsfrontend/src/routes/guest/register/index.tsx
- frontend/src/routes/guest/register/steps/success.tsx 3 additions, 3 deletionsfrontend/src/routes/guest/register/steps/success.tsx
- frontend/src/routes/index.tsx 29 additions, 21 deletionsfrontend/src/routes/index.tsx
- frontend/src/routes/invite/logout.tsx 2 additions, 2 deletionsfrontend/src/routes/invite/logout.tsx
- frontend/src/routes/landing/index.tsx 3 additions, 3 deletionsfrontend/src/routes/landing/index.tsx
- frontend/src/routes/sponsor/guest/guestInfo/index.tsx 9 additions, 6 deletionsfrontend/src/routes/sponsor/guest/guestInfo/index.tsx
- frontend/src/routes/sponsor/guest/guestRoleInfo/index.test.tsx 3 additions, 6 deletions...end/src/routes/sponsor/guest/guestRoleInfo/index.test.tsx
- frontend/src/routes/sponsor/guest/guestRoleInfo/index.tsx 17 additions, 13 deletionsfrontend/src/routes/sponsor/guest/guestRoleInfo/index.tsx
- frontend/src/routes/sponsor/guest/index.tsx 30 additions, 18 deletionsfrontend/src/routes/sponsor/guest/index.tsx
- frontend/src/routes/sponsor/guest/newGuestRole/index.tsx 9 additions, 4 deletionsfrontend/src/routes/sponsor/guest/newGuestRole/index.tsx
- frontend/src/routes/sponsor/index.tsx 8 additions, 9 deletionsfrontend/src/routes/sponsor/index.tsx
This diff is collapsed.