Skip to content
Snippets Groups Projects
  1. Sep 15, 2023
  2. Apr 07, 2023
  3. Apr 06, 2023
  4. Mar 16, 2023
  5. Mar 10, 2023
  6. Mar 08, 2023
  7. Jan 20, 2023
  8. Nov 29, 2022
    • 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.
      Verified
      e6240f6b
  9. Nov 23, 2022
  10. Nov 01, 2022
  11. Oct 20, 2022
  12. Jul 12, 2022
  13. Mar 24, 2022
  14. Mar 22, 2022
  15. Mar 11, 2022
  16. Mar 04, 2022
  17. 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
  18. Jan 27, 2022
  19. Jan 25, 2022
  20. Jan 17, 2022
  21. 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
  22. 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
  23. 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
  24. Dec 21, 2021
  25. Dec 17, 2021
  26. Dec 15, 2021
  27. Dec 06, 2021
  28. Nov 19, 2021
  29. Nov 17, 2021
  30. Nov 15, 2021
Loading