Read about our upcoming Code of Conduct on this issue

  1. 10 Oct, 2016 4 commits
    • Yorick Peterse's avatar
      Precalculate trending projects · 8d729570767c
      Yorick Peterse authored
      This commit introduces a Sidekiq worker that precalculates the list of
      trending projects on a daily basis. The resulting set is stored in a
      database table that is then queried by Project.trending.
      
      This setup means that Unicorn workers no longer _may_ have to calculate
      the list of trending projects. Furthermore it supports filtering without
      any complex caching mechanisms.
      
      The data in the "trending_projects" table is inserted in the same order
      as the project ranking. This means that getting the projects in the
      correct order is simply a matter of:
      
          SELECT projects.*
          FROM projects
          INNER JOIN trending_projects ON trending_projects.project_id = projects.id
          ORDER BY trending_projects.id ASC;
      
      Such a query will only take a few milliseconds at most (as measured on
      GitLab.com), opposed to a few seconds for the query used for calculating
      the project ranks.
      
      The migration in this commit does not require downtime and takes care of
      populating an initial list of trending projects.
      8d729570767c
    • Robert Speicher's avatar
      Merge branch 'gjlaubenstein/gitlab-ce-21712-change-issue-show-html-title' · 75a8967fb1dc
      Robert Speicher authored
      reword title for issues_controller#show and issues_controller#edit
      
      Closes #21712
      
      See merge request !6503
      75a8967fb1dc
    • Rémy Coutable's avatar
      Merge branch 'brennanroberts/gitlab-ce-22872-prevent-default-search-autocomplete' · 96102c695d1d
      Rémy Coutable authored
      Prevent conflict b/w search field and its dropdown
      
      What does this MR do?
      
      Stops the global search form's default "action" from fighting with
      dropdown items when using the keyboard to navigate the dropdown.
      `e.preventDefault()` is now called on the enter key when a dropdown item
      is already selected.
      
      Closes #22872
      
      See merge request !6643
      96102c695d1d
    • Brennan Roberts's avatar
      Prevent conflict b/w search field and its dropdown · d23e83f64ccd
      Brennan Roberts authored
      
      
      Stop the global search form's default "action" from fighting with
      dropdown items when using the keyboard to navigate the dropdown.
      `e.preventDefault()` is now called on the enter key when a dropdown item
      is already selected.
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      d23e83f64ccd
  2. 09 Oct, 2016 1 commit
  3. 08 Oct, 2016 4 commits
  4. 07 Oct, 2016 31 commits