Skip to content
Snippets Groups Projects
  1. Jan 02, 2020
  2. Oct 03, 2019
  3. May 14, 2019
    • Sean McGivern's avatar
      Optimise upload path calls · 79dd92c8
      Sean McGivern authored
      String#underscore isn't particularly slow, but it's possible for us to
      call it many times in a users autocomplete request, with mostly-static
      values ('User', 'Group', etc.). We can memoise this and save a
      surprising amount of time (around 10% of the total request time in some
      cases).
      79dd92c8
  4. Sep 10, 2018
  5. Sep 06, 2018
  6. Jul 05, 2018
  7. Feb 28, 2018
  8. Feb 01, 2018
  9. Sep 19, 2017
  10. Mar 06, 2017
  11. Feb 24, 2017
    • Robert Speicher's avatar
      Minor refactoring of Uploaders · a8c62dfe
      Robert Speicher authored
      - Moves a duplicate `file_storage?` definition into the common
        `GitlabUploader` ancestor.
      - Get the `uploads` base directory from a class method rather than
        hard-coding it where it's needed. This will be used in a subsequent MR
        to store Uploads in the database.
      - Improves the specs for uploaders.
      a8c62dfe
  12. Jan 03, 2017
  13. Dec 15, 2016
  14. Nov 23, 2016
    • Yorick Peterse's avatar
      Remove event caching code · 5371da34
      Yorick Peterse authored
      Flushing the events cache worked by updating a recent number of rows in
      the "events" table. This has the result that on PostgreSQL a lot of dead
      tuples are produced on a regular basis. This in turn means that
      PostgreSQL will spend considerable amounts of time vacuuming this table.
      This in turn can lead to an increase of database load.
      
      For GitLab.com we measured the impact of not using events caching and
      found no measurable increase in response timings. Meanwhile not flushing
      the events cache lead to the "events" table having no more dead tuples
      as now rows are only inserted into this table.
      
      As a result of this we are hereby removing events caching as it does not
      appear to help and only increases database load.
      
      For more information see the following comment:
      https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
      Verified
      5371da34
  15. Jul 24, 2016
  16. Jul 19, 2016
    • James Lopez's avatar
      squashed - added avatar saver/restorer and specs · 76771c29
      James Lopez authored
      added spec for avatar saver
      
      avatar saver!
      
      added avatar restorer spec
      
      fix spec
      
      added avatar restorer class
      
      fix export service
      
      fix warnings, added changelog
      
      fix spec
      
      some refactoring based on feedback
      
      fixed a few issues after testing i/e avatar
      76771c29
  17. Mar 15, 2016
  18. Feb 18, 2016
  19. Feb 17, 2016
  20. Feb 16, 2016
  21. Feb 10, 2016
  22. Feb 09, 2016
  23. Nov 16, 2015
  24. Feb 20, 2015
  25. Feb 19, 2015
  26. Feb 17, 2015
  27. Feb 16, 2015
    • Hannes Rosenögger's avatar
      Fix broken access control and refactor avatar upload · 7d5f86f6
      Hannes Rosenögger authored and Douwe Maan's avatar Douwe Maan committed
      This commit moves the note folder from
      /public/uploads/note
      to
      /uploads/note
      and changes the uploader accordingly.
      Now it's no longer possible to avoid the access control by modifing the url.
      The Avatar upload has been refactored to use an own uploader as well
      to cleanly seperate the two upload types.
      7d5f86f6
  28. Dec 05, 2014
  29. Oct 29, 2014
  30. Jul 22, 2014
  31. Dec 11, 2013
  32. Aug 15, 2013
  33. May 15, 2013
  34. Feb 15, 2013
  35. Feb 11, 2013
  36. Jan 04, 2013
  37. Aug 10, 2012
Loading