Skip to content
Snippets Groups Projects
  1. Aug 11, 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 23, 2022
  9. Nov 01, 2022
  10. Oct 20, 2022
  11. Mar 24, 2022
  12. Mar 11, 2022
  13. Mar 04, 2022
    • Andreas Ellewsen's avatar
      Add identity checking endpoint · d0ba7877
      Andreas Ellewsen authored
      Queries iga for an external id matching ours. If a match is found, the
      name of the owner is returend. Otherwise we return null. Uses the new
      iga module to fetch the data.
      d0ba7877
  14. 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
  15. Jan 27, 2022
  16. Jan 25, 2022
  17. Jan 17, 2022
  18. 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
      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.
      2e26e4e4
  19. 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
      17cbacd5
  20. 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.
      883fdbee
  21. Dec 21, 2021
  22. Dec 15, 2021
  23. Dec 06, 2021
  24. Nov 19, 2021
  25. Nov 17, 2021
  26. Nov 15, 2021
  27. Nov 10, 2021
  28. Nov 09, 2021
  29. Nov 08, 2021
Loading