Skip to content
Snippets Groups Projects
  1. Sep 30, 2019
  2. Sep 18, 2019
  3. Apr 06, 2019
    • Stan Hu's avatar
      Expand FindCommit caching to blob and refs · 0d8e9f6e
      Stan Hu authored
      This enables FindCommit caching to the following actions:
      
      * BlobController#show
      * RefsController#logs_tree
      
      It also improves caching in CommitsController since some
      duplicate requests were occuring inside the before_action
      definitions.
      0d8e9f6e
  4. Apr 05, 2019
  5. Dec 10, 2018
  6. Dec 03, 2018
  7. Nov 29, 2018
  8. Nov 23, 2018
  9. Sep 26, 2018
    • gfyoung's avatar
      Enable even more frozen string in app/controllers · 12ee2753
      gfyoung authored
      Enables frozen string for some vestigial files as
      well as the following:
      
      * app/controllers/projects/**/*.rb
      * app/controllers/sherlock/**/*.rb
      * app/controllers/snippets/**/*.rb
      * app/controllers/users/**/*.rb
      
      Partially addresses #47424.
      12ee2753
  10. Sep 11, 2018
  11. Aug 22, 2018
  12. Jul 24, 2018
  13. Jun 20, 2018
    • blackst0ne's avatar
      [Rails5] Set request.format in commits_controller · 6da19415
      blackst0ne authored
      Since Rails 5.0 `request.format` is being set depending on the route extension.
      
      In commits pages we pass a ref as a URL parameter.
      If the ref is an extension-like, Rails converts it and sets to
      `request.format`.
      
      E.g. if the ref is `some_branch.atom`, Rails starts responding with
      `atom` format, but it should response with `html` because `.atom` is the
      part of ref name, not the format.
      
      This commit explicitly sets `request.format` to `:html` when needed.
      6da19415
  14. Mar 01, 2018
  15. Feb 01, 2018
    • Yorick Peterse's avatar
      Track and act upon the number of executed queries · cca61980
      Yorick Peterse authored
      This ensures that we have more visibility in the number of SQL queries
      that are executed in web requests. The current threshold is hardcoded to
      100 as we will rarely (maybe once or twice) change it.
      
      In production and development we use Sentry if enabled, in the test
      environment we raise an error. This feature is also only enabled in
      production/staging when running on GitLab.com as it's not very useful to
      other users.
      Unverified
      cca61980
  16. Jan 18, 2018
  17. Nov 27, 2017
  18. Nov 16, 2017
  19. Nov 08, 2017
  20. Oct 21, 2017
  21. Oct 19, 2017
  22. Sep 06, 2017
  23. Jul 27, 2017
  24. Jun 21, 2017
  25. Jun 12, 2017
  26. Feb 23, 2017
  27. Dec 09, 2016
  28. Oct 24, 2016
  29. Oct 20, 2016
  30. Apr 29, 2016
  31. Feb 10, 2016
  32. Jan 07, 2016
  33. Dec 28, 2015
  34. Oct 22, 2015
  35. Apr 20, 2015
  36. Feb 20, 2015
  37. Feb 06, 2015
Loading