1. 29 Jul, 2016 17 commits
  2. 28 Jul, 2016 20 commits
  3. 27 Jul, 2016 3 commits
    • 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