Skip to content
  1. Aug 14, 2017
  2. Aug 07, 2017
    • Yorick Peterse's avatar
      Improve checking if projects would be returned · f77fda64
      Yorick Peterse authored
      In various places we check if the same relation would return projects.
      This is done using "any?" which will run a COUNT query with any
      LIMIT/OFFSET values still applied.
      
      To work around all this we introduce 2 helper methods that take care of
      doing the right thing. This leads to the produced queries being simpler
      and fewer queries being executed.
      f77fda64
  3. Aug 06, 2017
  4. Jun 28, 2017
  5. Apr 26, 2017
  6. Mar 23, 2017
    • Phil Hughes's avatar
      Fixes project list lines breaking · 068ce7dd
      Phil Hughes authored
      This will only hapen in certain situations ie. when the star count is a
      lot. We were previously fixing it by hard coding a max-width.
      
      This changes it to use flexbox which allows the content to decide when
      it should be truncated. The rows don't always need truncating, so we
      shouldn't hard code a width.
      
      Closes #29018
      068ce7dd
  7. Mar 03, 2017
    • Dmitriy Zaporozhets's avatar
      Refactor projects filtering by name · 5bb6a85b
      Dmitriy Zaporozhets authored
      
      
      Reuse same search form and behavior for dashboard#projects, group#projects
      and admin#projects. Repsect all other options like sorting, personal
      filter when search projects by name. Create FilterableList JS class to
      handle identical behaviour of projects and groups lists.
      
      This change also makes filtering and sorting availabe on explore#projects
      and explore#groups no matter if you are logged in or not.
      
      Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
      5bb6a85b
  8. Jun 10, 2016
  9. Mar 03, 2016
    • Dmitriy Zaporozhets's avatar
      Refactor projects list · 7455d950
      Dmitriy Zaporozhets authored
      
      
      1. Fix double bottom border if pagination
      2. Fix broken search on forks page
      4. Remove duplicate js logic
      4. Remove unused show all link
      5. Remove duplicate “no project” message in different views
      
      After this merge request you can easily render shared projects template
      with all necessary html/js included to make searchable list with
      pagination. All you need to provide is controller that returns
      projects list with seach nad pagination and render html form with
      project-filter-form id and text field with filter_projects name.
      
      Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
      7455d950
  10. Mar 02, 2016
  11. Feb 29, 2016
  12. Feb 26, 2016
  13. Feb 09, 2016
  14. Feb 04, 2016
  15. Jan 20, 2016
  16. Nov 10, 2015
  17. Oct 13, 2015
  18. Sep 24, 2015
  19. Sep 18, 2015
  20. Aug 26, 2015