Skip to content
Snippets Groups Projects
  1. Jan 18, 2023
  2. Jan 17, 2023
  3. Jan 16, 2023
  4. Jan 13, 2023
  5. Jan 12, 2023
  6. Jan 11, 2023
  7. Jan 09, 2023
  8. Jan 06, 2023
  9. Jan 05, 2023
  10. Jan 03, 2023
  11. Dec 08, 2022
  12. Dec 07, 2022
  13. Dec 05, 2022
  14. Dec 01, 2022
    • Andreas Ellewsen's avatar
      Handle updates better in guest import · ca3d5caa
      Andreas Ellewsen authored
      Introduces the --update-existing option, set to False by default. Thie
      option controls whether or not we want to update already imported
      information with the info from the file.
      
      This is usually not what we want since sponsors may have changed the end
      dates for already imported roles after the previous import. We choose to
      leave it as an option so that we CAN overwrite information if we really
      want.
      
      This commit also removes the ignore-id-req option since that only makes
      matter worse than not importing the person.
      ca3d5caa
  15. Nov 29, 2022
    • Andreas Ellewsen's avatar
      Merge branch 'duplicate-ouidentifier' into 'master' · fe27cff5
      Andreas Ellewsen authored
      Fix orgreg import not seeing duplicates
      
      See merge request !361
      fe27cff5
    • Andreas Ellewsen's avatar
      Change unique constraint on OuIdentifiers · 6e0b23dc
      Andreas Ellewsen authored
      OuIdentifiers used to be restricted to the name+value combination to
      make sure that no two units could have the same legacy_stedkode. This
      becomes problematic when two units have the same short_name.
      
      This makes it possible for two units to have the same value for the same
      OuIdentifier name, and adds a constraint that makes it impossible for
      each unit to have more than one OuIdentifier with the same 'name', i.e
      multiple legacy_stedkode for one unit.
      6e0b23dc
    • Andreas Ellewsen's avatar
      Fix orgreg import not seeing duplicates · f7135da4
      Andreas Ellewsen authored
      The import script checked the source instead of the value when looking
      for existing values. This caused the unique constraint on the
      name+values combination to fail. We now check the value and name instead
      of value and source.
      f7135da4
    • Andreas Ellewsen's avatar
      Merge branch 'upgrade-orgreg' into 'master' · 063dc771
      Andreas Ellewsen authored
      Upgrade orgreg client
      
      See merge request !359
      063dc771
    • Marte Fossum's avatar
      Upgrade orgreg client · e6240f6b
      Marte Fossum authored and Andreas Ellewsen's avatar Andreas Ellewsen committed
      The old version of the client did not fetch short name correctly from
      the api response. This new one does, but shortname is now called
      short_name, forcing some small adjustments of the tests and their
      settings.
      e6240f6b
  16. Nov 28, 2022
  17. Nov 23, 2022
Loading