1. 12 Sep, 2018 1 commit
  2. 11 Sep, 2018 1 commit
  3. 10 Sep, 2018 1 commit
  4. 07 Sep, 2018 2 commits
  5. 06 Sep, 2018 1 commit
  6. 05 Sep, 2018 1 commit
  7. 04 Sep, 2018 1 commit
  8. 26 Aug, 2018 1 commit
  9. 23 Aug, 2018 1 commit
  10. 22 Aug, 2018 2 commits
  11. 20 Aug, 2018 2 commits
    • Gilbert Roulot's avatar
      Remove Gemnasium service · 43b04f62433f
      Gilbert Roulot authored
      43b04f62433f
    • Yorick Peterse's avatar
      Refactor AutocompleteController · c8cc17675ba4
      Yorick Peterse authored
      This refactors the AutocompleteController according to the guidelines
      and boundaries discussed in
      https://gitlab.com/gitlab-org/gitlab-ce/issues/49653. Specifically,
      ActiveRecord logic is moved to different finders, which are then used in
      the controller. View logic in turn is moved to presenters, instead of
      directly using ActiveRecord's "to_json" method.
      
      The finder MoveToProjectFinder is also adjusted according to the
      abstraction guidelines and boundaries, resulting in a much more simple
      finder.
      
      By using finders (and other abstractions) more actively, we can push a
      lot of logic out of the controller. We also remove the need for various
      "before_action" hooks, though this could be achieved without using
      finders as well.
      
      The various finders related to AutcompleteController have also been
      moved into a namespace. This removes the need for calling everything
      "AutocompleteSmurfFinder", instead you can use
      "Autocomplete::SmurfFinder".
      c8cc17675ba4
  12. 16 Aug, 2018 1 commit
  13. 13 Aug, 2018 1 commit
    • Duana Saskia's avatar
      Filter project hooks by branch · 11a03100ca1c
      Duana Saskia authored
      Allow specificying a branch filter for a project hook and only trigger
      a project hook if either the branch filter is blank or the branch matches.
      Only supported for push_events for now.
      11a03100ca1c
  14. 06 Aug, 2018 1 commit
  15. 03 Aug, 2018 2 commits
  16. 01 Aug, 2018 1 commit
    • Zeger-Jan van de Weg's avatar
      Add repository languages for projects · fc85a3572af6
      Zeger-Jan van de Weg authored
      Our friends at GitHub show the programming languages for a long time,
      and inspired by that this commit means to create about the same
      functionality.
      
      Language detection is done through Linguist, as before, where the
      difference is that we cache the result in the database. Also, Gitaly can
      incrementaly scan a repository. This is done through a shell out, which
      creates overhead of about 3s each run. For now this won't be improved.
      
      Scans are triggered by pushed to the default branch, usually `master`.
      However, one exception to this rule the charts page. If we're requesting
      this expensive data anyway, we just cache it in the database.
      
      Edge cases where there is no repository, or its empty are caught in the
      Repository model. This makes use of Redis caching, which is probably
      already loaded.
      
      The added model is called RepositoryLanguage, which will make it harder
      if/when GitLab supports multiple repositories per project. However, for
      now I think this shouldn't be a concern. Also, Language could be
      confused with the i18n languages and felt like the current name was
      suiteable too.
      
      Design of the Project#Show page is done with help from @dimitrieh. This
      change is not visible to the end user unless detections are done.
      fc85a3572af6
  17. 30 Jul, 2018 1 commit
  18. 26 Jul, 2018 1 commit
  19. 25 Jul, 2018 1 commit
    • Yorick Peterse's avatar
      Remove code for dynamically generating routes · d9212d447768
      Yorick Peterse authored
      This adds a database migration that creates routes for any projects and
      namespaces that don't already have one. We also remove the runtime code
      for dynamically creating routes, as this is no longer necessary.
      d9212d447768
  20. 24 Jul, 2018 1 commit
  21. 23 Jul, 2018 1 commit
  22. 17 Jul, 2018 2 commits
  23. 15 Jul, 2018 1 commit
  24. 14 Jul, 2018 1 commit
  25. 12 Jul, 2018 1 commit
  26. 11 Jul, 2018 3 commits
  27. 06 Jul, 2018 1 commit
  28. 04 Jul, 2018 3 commits
  29. 03 Jul, 2018 1 commit
  30. 02 Jul, 2018 2 commits