1. 07 May, 2018 1 commit
  2. 04 May, 2018 1 commit
  3. 25 Apr, 2018 2 commits
    • 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
    • Zeger-Jan van de Weg's avatar
      Gitlab::Shell works on shard name, not path · f043adce284f
      Zeger-Jan van de Weg authored
      Direct disk access is done through Gitaly now, so the legacy path was
      deprecated. This path was used in Gitlab::Shell however. This required
      the refactoring in this commit.
      
      Added is the removal of direct path access on the project model, as that
      lookup wasn't needed anymore is most cases.
      
      Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
      f043adce284f
  4. 18 Apr, 2018 1 commit
  5. 17 Apr, 2018 1 commit
  6. 09 Apr, 2018 1 commit
  7. 05 Apr, 2018 1 commit
  8. 03 Apr, 2018 1 commit
  9. 02 Apr, 2018 2 commits
  10. 30 Mar, 2018 2 commits
  11. 28 Mar, 2018 1 commit
  12. 26 Mar, 2018 3 commits
  13. 16 Mar, 2018 1 commit
  14. 09 Mar, 2018 1 commit
  15. 07 Mar, 2018 2 commits
  16. 06 Mar, 2018 13 commits
  17. 05 Mar, 2018 2 commits
  18. 04 Mar, 2018 1 commit
  19. 01 Mar, 2018 3 commits