Skip to content
Snippets Groups Projects
  1. Jun 22, 2022
    • Andreas Ellewsen's avatar
      Stop copying node_modules into frontend image · 22123c8c
      Andreas Ellewsen authored
      By not having a .dockerignore file we are including the node_modules
      directory in the frontend image, and then installing all the packages a
      second time in the build phase when we run npm ci. We now let npm ci do
      that work as it's supposed to.
      22123c8c
  2. Jun 17, 2022
  3. Jun 13, 2022
  4. Jun 10, 2022
    • Andreas Ellewsen's avatar
      Move end role notifications to day after end · b055277a
      Andreas Ellewsen authored
      By moving the notifications to midnight on the day they expire we
      simplify the work of systems integrating with greg. The frontend has
      also been updated to say that end dates are "to (including)" to clarify
      that the roles are valid on their last day.
      
      Resolves: GREG-2688
      b055277a
  5. Jun 03, 2022
  6. May 30, 2022
  7. May 25, 2022
    • Andreas Ellewsen's avatar
      Show invalid email status for invites in frontend · d5984d30
      Andreas Ellewsen authored
      Introduces the invalid field on the Identity model. The field is used to
      indicate that the Identity is in invalid. This is useful when a value is
      not a working value, even though the value passes validation checks,
      like unused national id numbers, emails tied to non-existing domains,
      etc.
      
      Resolves: GREG-252
      d5984d30
  8. May 23, 2022
  9. May 18, 2022
  10. May 09, 2022
  11. May 06, 2022
  12. May 05, 2022
  13. May 04, 2022
  14. May 03, 2022
    • Andreas Ellewsen's avatar
      Merge branch 'cerebrum-guests' into 'master' · b56e4474
      Andreas Ellewsen authored
      Prepare for guest migration
      
      See merge request !322
      b56e4474
    • Andreas Ellewsen's avatar
      Handle existing identities in import script · e1c9f223
      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.
      e1c9f223
    • Marte Fossum's avatar
      Merge branch 'GREG-222-update-ouUnit-to-show-orgregID' into 'master' · 32b0fef5
      Marte Fossum authored
      Show orgreg_id instead og id after ouUnit
      
      See merge request !321
      32b0fef5
    • Andreas Ellewsen's avatar
      Prepare for guest migration · 226bec2f
      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.
      226bec2f
  15. May 02, 2022
  16. Apr 26, 2022
    • Andreas Ellewsen's avatar
      Merge branch 'import-guests-fix-matching' into 'master' · d7aa8a5f
      Andreas Ellewsen authored
      Make import_guests command more lenient on source
      
      See merge request !319
      d7aa8a5f
    • Andreas Ellewsen's avatar
      Make import_guests command more lenient on source · 967c1894
      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.
      967c1894
  17. Apr 25, 2022
  18. Apr 22, 2022
  19. Apr 19, 2022
  20. Apr 08, 2022
Loading