Skip to content
Snippets Groups Projects
  1. Dec 05, 2022
  2. 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
  3. 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
  4. Nov 28, 2022
  5. Nov 23, 2022
  6. Nov 15, 2022
  7. Nov 14, 2022
  8. Nov 09, 2022
  9. Nov 01, 2022
  10. Oct 25, 2022
  11. Oct 20, 2022
  12. Oct 19, 2022
  13. Oct 18, 2022
  14. Oct 17, 2022
  15. Oct 13, 2022
  16. Oct 11, 2022
  17. Oct 10, 2022
Loading