1. 18 11月, 2015 2 次提交
    • Y
      Refactoed GroupsFinder into two separate classes · 2110247f
      Yorick Peterse 提交于
      In the previous setup the GroupsFinder class had two distinct tasks:
      
      1. Finding the projects user A could see
      2. Finding the projects of user A that user B could see
      
      Task two was actually handled outside of the GroupsFinder (in the
      UsersController) by restricting the returned list of groups to those the
      viewed user was a member of. Moving all this logic into a single finder
      proved to be far too complex and confusing, hence there are now two
      finders:
      
      * GroupsFinder: for finding groups a user can see
      * JoinedGroupsFinder: for finding groups that user A is a member of,
        restricted to either public groups or groups user B can also see.
      2110247f
    • Y
      Renamed GroupsFinder spec file so the name matches · b4646391
      Yorick Peterse 提交于
      b4646391
  2. 05 11月, 2015 1 次提交
  3. 07 10月, 2015 1 次提交
  4. 06 10月, 2015 2 次提交
    • Y
      Revamp trending projects query · b7abba0c
      Yorick Peterse 提交于
      This changes the query to use a COUNT nested in an INNER JOIN, instead
      of a COUNT plus a GROUP BY. There are two reasons for this:
      
      1. Using a COUNT in an INNER JOIN can be quite a bit faster.
      2. The use of a GROUP BY means that method calls such as "any?"
         (and everything else that calls "count") operate on a Hash that
         counts the amount of notes on a per project basis, instead of just
         counting the total amount of projects.
      
      The query has been moved into Project.trending as its logic is simple
      enough. As a result of this testing the TrendingProjectsFinder class
      simply involves testing if the right methods are called, removing the
      need for setting up database records.
      b7abba0c
    • Y
      Added specs for TrendingProjectsFinder · 1f14e689
      Yorick Peterse 提交于
      1f14e689
  5. 07 8月, 2015 1 次提交
  6. 27 5月, 2015 1 次提交
  7. 01 5月, 2015 1 次提交
    • D
      Group milestones by title in the dashboard and all other issue views · e6ee8d0e
      Dominik Sander 提交于
      This groups milestones by title for issue views like it has been done for
      the milestone dashboard/project overview. Before milestones with the
      same title would show up multiple times in the filter dropdown and one could
      only filter per project and milestone. Now the milestone filter is based
      on the title of the milestone, i.e. all issues marked with the same
      milestone title are shown.
      e6ee8d0e
  8. 13 2月, 2015 1 次提交
  9. 05 12月, 2014 1 次提交
  10. 25 10月, 2014 1 次提交
  11. 09 10月, 2014 1 次提交
  12. 28 4月, 2014 6 次提交
  13. 03 4月, 2014 1 次提交
  14. 19 3月, 2014 2 次提交
  15. 26 2月, 2014 1 次提交