Skip to content
Snippets Groups Projects
  1. May 18, 2022
    • Andreas Ellewsen's avatar
      Notify sponsors of bad emails in sent invites · 037798e5
      Andreas Ellewsen authored
      If the sponsor writes a valid but non-existent email in a guest invite
      we retried sending this email indefinitely. Instead of leaving django q
      in an endless loop, we now send an email to the sponsor warning about
      the problem instead.
      037798e5
  2. Apr 07, 2022
  3. Mar 11, 2022
  4. Mar 08, 2022
  5. 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
  6. Mar 02, 2022
  7. Feb 24, 2022
  8. Feb 22, 2022
  9. Feb 09, 2022
    • 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 24, 2022
    • Andreas Ellewsen's avatar
      Redirect invited guests to register · 616b4d76
      Andreas Ellewsen authored
      If the user logs in through the frontpage we now check if they have
      completed the registration process. If they have completed it halfway
      before, we find their info through the GregUserProfile of the user and
      redirect to the register page. If we dont find any profile connected to
      the user they are treated as anonymous users as before.
      
      Resolves: GREG-164
      616b4d76
  12. Jan 21, 2022
  13. Jan 14, 2022
  14. Jan 12, 2022
  15. Jan 11, 2022
  16. Jan 06, 2022
  17. Jan 05, 2022
  18. Jan 04, 2022
  19. Jan 03, 2022
  20. Dec 21, 2021
  21. Dec 17, 2021
  22. Dec 13, 2021
  23. Dec 10, 2021
    • Andreas Ellewsen's avatar
      Allow sponsors access to all roles on their units · 708d2fee
      Andreas Ellewsen authored
      It has been decided that a sponsor at a unit should have access to all
      roles at that unit. This includes all units accessible through
      hierarchical access.
      
      Resolves: GREG-150
      708d2fee
    • Andreas Ellewsen's avatar
      Change rules for role dates · 96dd9bb4
      Andreas Ellewsen authored
      Dates can now be changed after they have started and ended. This means
      that there is no situation which needs disabling the input fields, and
      disabling has been removed.
      
      Start and end date can now be in the past. The following rules apply:
       - Start dates can be any date in the past, and no more into the future
         than the max days property of the role type.
       - End dates follow the same rules
       - End dates must be equal to or later than start date.
      
      Notification publishing has been reviewed to ensure duplicate
      notifications are not created when start or end date is today.
      
      Resolve: GREG-148
      96dd9bb4
    • Jonas Braathen's avatar
      Improve invitation link handling · 6e8ba6aa
      Jonas Braathen authored
      - Combine the /invite and /invitelink endpoints into one
      - Return error messages from the backend
      - Handle errors in the frontend
      - Lower number of queries ran when calling the userinfo endpoint
      6e8ba6aa
    • Jonas Braathen's avatar
      Remote unused endpoints and debug code · 834bc177
      Jonas Braathen authored
      834bc177
  24. Dec 07, 2021
Loading