1. 26 2月, 2020 1 次提交
  2. 25 9月, 2019 1 次提交
  3. 29 8月, 2018 1 次提交
  4. 07 8月, 2018 1 次提交
  5. 22 11月, 2017 1 次提交
  6. 18 9月, 2017 1 次提交
  7. 31 8月, 2017 1 次提交
    • S
      `current_application_settings` belongs on `Gitlab::CurrentSettings` · 5883ce95
      Sean McGivern 提交于
      The initializers including this were doing so at the top level, so every object
      loaded after them had a `current_application_settings` method. However, if
      someone had rack-attack enabled (which was loaded before these initializers), it
      would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't
      have that method.
      
      To fix this:
      
      1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need
         `Object.new.current_application_settings` to work.
      2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it
         like that in several places.
      3. Change the initializers to use that new form.
      5883ce95
  8. 08 8月, 2017 1 次提交
  9. 06 7月, 2017 1 次提交
    • Y
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse 提交于
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
  10. 22 3月, 2017 1 次提交
  11. 22 2月, 2017 1 次提交
  12. 20 2月, 2017 1 次提交
  13. 07 2月, 2017 1 次提交
  14. 02 2月, 2017 1 次提交
    • S
      Check public snippets for spam · c63194ce
      Sean McGivern 提交于
      Apply the same spam checks to public snippets (either personal snippets
      that are public, or public snippets on public projects) as to issues on
      public projects.
      c63194ce
  15. 23 8月, 2016 1 次提交
  16. 16 8月, 2016 5 次提交
  17. 27 7月, 2016 1 次提交