1. 25 Jan, 2018 1 commit
  2. 10 Nov, 2017 1 commit
  3. 02 Nov, 2017 1 commit
  4. 15 Jun, 2017 6 commits
  5. 08 Jun, 2017 1 commit
  6. 02 Jun, 2017 1 commit
  7. 04 May, 2017 2 commits
  8. 07 Mar, 2017 1 commit
  9. 16 Dec, 2016 1 commit
    • Timothy Andrew's avatar
      Calls to the API are checked for scope. · 7fa06ed5
      Timothy Andrew authored
      - Move the `Oauth2::AccessTokenValidationService` class to
        `AccessTokenValidationService`, since it is now being used for
        personal access token validation as well.
      
      - Each API endpoint declares the scopes it accepts (if any). Currently,
        the top level API module declares the `api` scope, and the `Users` API
        module declares the `read_user` scope (for GET requests).
      
      - Move the `find_user_by_private_token` from the API `Helpers` module to
        the `APIGuard` module, to avoid littering `Helpers` with more
        auth-related methods to support `find_user_by_private_token`
      7fa06ed5
  10. 19 Oct, 2016 1 commit
  11. 11 May, 2016 1 commit
  12. 28 Apr, 2016 1 commit
  13. 21 Jan, 2016 1 commit
  14. 10 Dec, 2015 1 commit
  15. 24 Nov, 2015 1 commit
  16. 09 Nov, 2015 2 commits
    • Yorick Peterse's avatar
      7b5fd874
    • Yorick Peterse's avatar
      Added Sherlock, a custom profiling tool for GitLab · dec3e4ce
      Yorick Peterse authored
      Sherlock will be a new GitLab specific tool for measuring the
      performance of Rails requests (and SideKiq jobs at some point). Some of
      the things that are currently tracked:
      
      * SQL queries along with their timings, backtraces and query plans
        (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for
        MySQL)
      * Timings of application files (including views) on a per line basis
      * Some meta data such as the request method, path, total duration, etc
      
      More tracking (e.g. Rugged or gitlab-shell timings) might be added in
      the future.
      
      Sherlock will replace any existing tools we have used so far (e.g.
      active_record_query_trace and rack-mini-profiler), hence the
      corresponding Gems have been removed from the Gemfile.
      
      Sherlock can be enabled by starting Rails as following:
      
          ENABLE_SHERLOCK=1 bundle exec rails s
      
      Recorded transactions can be found at `/sherlock/transactions`.
      dec3e4ce
  17. 02 Oct, 2015 2 commits
  18. 26 Aug, 2015 1 commit
  19. 13 May, 2015 1 commit
  20. 19 Mar, 2015 2 commits
  21. 24 Dec, 2014 1 commit
  22. 10 Jul, 2014 1 commit
  23. 28 Feb, 2013 1 commit
  24. 04 Dec, 2012 1 commit
  25. 06 Jul, 2012 1 commit
  26. 13 Oct, 2011 2 commits
  27. 08 Oct, 2011 1 commit