Read about our upcoming Code of Conduct on this issue

  1. 06 Dec, 2018 1 commit
  2. 21 Nov, 2018 1 commit
  3. 02 Nov, 2018 1 commit
  4. 06 Sep, 2018 1 commit
  5. 16 Jul, 2018 1 commit
  6. 11 Jul, 2018 1 commit
  7. 06 Jul, 2018 1 commit
  8. 17 May, 2018 2 commits
  9. 25 Apr, 2018 1 commit
    • Sean McGivern's avatar
      Move NotificationService calls to Sidekiq · d2c64edc98bd
      Sean McGivern authored
      The NotificationService has to do quite a lot of work to calculate the
      recipients for an email. Where possible, we should try to avoid doing this in an
      HTTP request, because the mail are sent by Sidekiq anyway, so there's no need to
      schedule those emails immediately.
      
      This commit creates a generic Sidekiq worker that uses Global ID to serialise
      and deserialise its arguments, then forwards them to the NotificationService.
      The NotificationService gains an `#async` method, so you can replace:
      
          notification_service.new_issue(issue, current_user)
      
      With:
      
          notification_service.async.new_issue(issue, current_user)
      
      And have everything else work as normal, except that calculating the recipients
      will be done by Sidekiq, which will then schedule further Sidekiq jobs to send
      each email.
      d2c64edc98bd
  10. 30 Mar, 2018 2 commits
  11. 26 Mar, 2018 3 commits
  12. 21 Mar, 2018 1 commit
  13. 11 Mar, 2018 1 commit
  14. 23 Feb, 2018 1 commit
  15. 19 Feb, 2018 1 commit
  16. 17 Jan, 2018 1 commit
    • Mario de la Ossa's avatar
      Initial work to add notification reason to emails · ab6ebcdfe08f
      Mario de la Ossa authored
      Adds `#build_notification_recipients` to `NotificationRecipientService`
      that returns the `NotificationRecipient` objects in order to be able to
      access the new attribute `reason`.
      
      This new attribute is used in the different notifier methods in order to
      add the reason as a header: `X-GitLab-NotificationReason`.
      
      Only the reason with the most priority gets sent.
      ab6ebcdfe08f
  17. 10 Oct, 2017 1 commit
  18. 23 Sep, 2017 1 commit
  19. 14 Aug, 2017 1 commit
  20. 11 Aug, 2017 2 commits
  21. 03 Aug, 2017 10 commits
  22. 27 Jul, 2017 1 commit
  23. 15 Jun, 2017 1 commit
    • Sean McGivern's avatar
      Deserialise existing custom notification settings · eed4b94a8185
      Sean McGivern authored
      Create a post-deployment migration to update all existing notification settings
      with at least one custom level enabled to the new format. Also handle the same
      conversion when updating settings, to catch any stragglers.
      eed4b94a8185
  24. 10 May, 2017 1 commit
  25. 04 May, 2017 2 commits