1. 01 Aug, 2016 2 commits
  2. 29 Jul, 2016 13 commits
  3. 28 Jul, 2016 20 commits
  4. 27 Jul, 2016 5 commits
    • Stan Hu's avatar
      Add specs for caching commit author · d27e36f3
      Stan Hu authored
      d27e36f3
    • Stan Hu's avatar
      Cache the commit author in RequestStore to avoid extra lookups in PostReceive · 8a9fc2b6
      Stan Hu authored
      In a PostReceive task with 697 commits (8.9 RC1 -> RC8), looking up
      the commit author takes about 10% of the time. Caching this information
      in RequestStore saves a few seconds from the overall processing time.
      
      Improves #18663
      8a9fc2b6
    • Robert Speicher's avatar
      Merge branch 'rename-undefined-methods' into 'master' · 17be364d
      Robert Speicher authored
      Replace reject_blocked with reject_blocked! in skipped callbacks.
      
      `reject_blocked!` was introduced in c9def945, I can't find any references to `reject_blocked` ever existing.
      
      See merge request !5532
      17be364d
    • Connor Shea's avatar
      Replace reject_blocked with reject_blocked! in callbacks. · b1c94754
      Connor Shea authored
      In Rails 4.2 and below, skipping callbacks (skip_before_action, skip_after_action, etc.) that use methods which do not exist will not throw any errors.
      
      On the other hand, Rails 5 does. See https://github.com/rails/rails/pull/19029
      
      After testing with Rails 5 I noticed there are some methods that don't actually exist (because they were renamed, usually), this fixes a few instances of those.
      
      reject_blocked! was introduced in c9def945, I can't find any references to reject_blocked ever existing.
      b1c94754
    • Douwe Maan's avatar
      Merge branch 'akismet-ui-check' into 'master' · f6063bae
      Douwe Maan authored
      Submit new issues created via the WebUI or API to Akismet for spam check on public projects.
      
      ## What does this MR do?
      
      Submit new issues created via the WebUI by non project members to Akismet for spam check.
      
      ## Why was this MR needed?
      
      Support for Akismet was added only to the API with !2266. This MR builds on that functionality to also check issues submitted via the WebUI for spam.
      
      ## What are the relevant issue numbers?
      
      Related to:
      
      - #5573 
      - #5932 
      - gitlab-com/infrastructure#14
      - gitlab-com/support#61
      - !2266
      
      cc @stanhu @MrChrisW 
      
      See merge request !5333
      f6063bae