Skip to content
Snippets Groups Projects
  1. Nov 23, 2022
  2. Nov 01, 2022
  3. Oct 20, 2022
  4. Jul 12, 2022
  5. Mar 24, 2022
  6. Mar 22, 2022
  7. Mar 11, 2022
  8. Mar 04, 2022
  9. Feb 09, 2022
    • Jonas Braathen's avatar
      Allow configuring a routing key prefix · d8fcd896
      Jonas Braathen authored
      d8fcd896
    • Andreas Ellewsen's avatar
      Add flag to prevent nin verification in frontend · a6dd5745
      Andreas Ellewsen authored and Jonas Braathen's avatar Jonas Braathen committed
      If a sponsor verifies a nin that is already in use by an account in
      cerebrum, the guest will gain access to that account, which in turn
      allows the guest to change the password of that account. This makes it
      possible to abuse the guest service to steal the account of users.
      
      A feature that checks for this problem, and helps the sponsor make a
      decision on it, will be introduced in the near future. At that point
      nin verification can be enabled again.
      
      Resolves: GREG-202
      a6dd5745
  10. Jan 27, 2022
  11. Jan 25, 2022
  12. Jan 17, 2022
  13. Jan 11, 2022
    • Andreas Ellewsen's avatar
      Allow manual handling of sponsors in import · 5abe8525
      Andreas Ellewsen authored
      Introduces the CEREBRUM_MANUAL_SPONSOR_UNITS settings variable which
      contains a list of stedkode for units where sponsors are handled
      manually.
      
      Resolves: GREG-163
      Verified
      5abe8525
    • Andreas Ellewsen's avatar
      Convert orgreg import to task · 2e26e4e4
      Andreas Ellewsen authored
      To reduce the amount of code and complexity of the service we move away
      from a management command triggered by a cronjob, to a task handled by
      django-q. Everything works the same way as before, but the management
      command now schedules the task instead of doing it. Introduces the
      ORGREG_SCHEDULE_TYPE settings variable controlling the scheduled when
      scheduling the import using the management command.
      Verified
      2e26e4e4
  14. Jan 06, 2022
    • Andreas Ellewsen's avatar
      Notify sponsors about ending roles · 17cbacd5
      Andreas Ellewsen authored
      The setup has five parts:
      - a new email template type
      - a new django-q task for notifying
      - a management command for scheduling the task periodically
      - a new settings variable NOTIFIER_LIMIT for controlling the number of
        days into the future the notifier script should use for end date of
        roles.
      - a new settings variable NOTIFIER_SCHEDULE_TYPE for controlling how
        often the notifier task should be scheduled when using the management
        command.
      
      Resolves: GREG-162
      Verified
      17cbacd5
  15. Jan 04, 2022
    • Andreas Ellewsen's avatar
      Move djangoq settings to base settings · 883fdbee
      Andreas Ellewsen authored
      Done to make djangoq settings accessible in production.
      The sync setting is changed to the default False value since the run
      order of the tasks is not relevant for our use case.
      Mail sending functions have gotten a sync argument to force the tasks to
      complete before checking their consequences in tests.
      Verified
      883fdbee
  16. Dec 21, 2021
  17. Dec 17, 2021
  18. Dec 15, 2021
  19. Dec 06, 2021
  20. Nov 19, 2021
  21. Nov 17, 2021
  22. Nov 15, 2021
  23. Nov 11, 2021
  24. Nov 10, 2021
  25. Nov 09, 2021
  26. Nov 08, 2021
  27. Nov 05, 2021
  28. Nov 03, 2021
    • Andreas Ellewsen's avatar
      Introduce OuIdentifiers · 460f2133
      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
      Verified
      460f2133
  29. Oct 20, 2021
  30. Oct 19, 2021
  31. Oct 15, 2021
    • Andreas Ellewsen's avatar
      Add guest info page · 2abcd299
      Andreas Ellewsen authored
      - Expanded output from guest info api endpoint
      - Share guest info between both routes under /sponsor of the frontend.
      - More localised text options added for use on the sponsor pages
      - Details button on the sponsor overview page now points to the guest
        info page for each person.
      
      Resolves: GREG-74
      Verified
      2abcd299
Loading