Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
  2. Dec 10, 2019
  3. Oct 23, 2019
    • Dylan Griffith's avatar
      Change Note#to_ability_name to 'note' · 0df265b6
      Dylan Griffith authored
      This is to be more consistent as there is already a :read_note policy in
      NotePolicy. To keep other behaviour the same we've introduced a
      Note#noteable_ability_name that is used anywhere this was expected.
      0df265b6
  4. Oct 17, 2019
  5. Sep 13, 2019
  6. Sep 02, 2019
  7. Aug 30, 2019
  8. Aug 15, 2019
  9. Jul 26, 2019
  10. Jul 23, 2019
  11. Jun 03, 2019
    • Shinya Maeda's avatar
      Abstract auto merge processes · d4b46936
      Shinya Maeda authored
      We have one auto merge strategy today - Merge When Pipeline
      Succeeds.
      
      In order to add more strategies for Merge Train feature,
      we abstract the architecture to be more extensible.
      
      Removed arguments
      
      Fix spec
      d4b46936
  12. May 16, 2019
  13. Apr 08, 2019
  14. Jan 31, 2019
    • Jan Provaznik's avatar
      Sent notification only to authorized users · 4d7fa59a
      Jan Provaznik authored
      When moving a project, it's possible that some users who had
      access to the project in old path can not access the project
      in the new path.
      
      Because `project_authorizations` records are updated asynchronously,
      when we send the notification about moved project the list of project
      team members contains old project members, we want to notify all these
      members except the old users who can not access the new location.
      Unverified
      4d7fa59a
  15. Jan 23, 2019
    • Jan Provaznik's avatar
      Sent notification only to authorized users · 022f60e8
      Jan Provaznik authored
      When moving a project, it's possible that some users who had
      access to the project in old path can not access the project
      in the new path.
      
      Because `project_authorizations` records are updated asynchronously,
      when we send the notification about moved project the list of project
      team members contains old project members, we want to notify all these
      members except the old users who can not access the new location.
      022f60e8
  16. Dec 21, 2018
  17. Dec 12, 2018
  18. Dec 06, 2018
  19. Nov 21, 2018
  20. Nov 02, 2018
  21. Sep 06, 2018
  22. Jul 16, 2018
  23. Jul 11, 2018
  24. Jul 06, 2018
  25. May 17, 2018
  26. Apr 25, 2018
    • Sean McGivern's avatar
      Move NotificationService calls to Sidekiq · b5042e53
      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.
      b5042e53
  27. Mar 30, 2018
  28. Mar 26, 2018
  29. Mar 21, 2018
  30. Mar 11, 2018
  31. Feb 23, 2018
  32. Feb 19, 2018
  33. Jan 17, 2018
    • Mario de la Ossa's avatar
      Initial work to add notification reason to emails · 23a20c20
      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.
      Unverified
      23a20c20
  34. Oct 10, 2017
  35. Sep 23, 2017
  36. Aug 14, 2017
Loading