Skip to content
Snippets Groups Projects
  1. Feb 08, 2016
  2. Feb 02, 2016
  3. Jan 08, 2016
  4. Jan 06, 2016
  5. Jan 03, 2016
  6. Dec 15, 2015
  7. Dec 14, 2015
  8. Dec 09, 2015
  9. Dec 07, 2015
  10. Nov 18, 2015
    • Yorick Peterse's avatar
      Refactor User#authorized_groups/projects · e116a356
      Yorick Peterse authored
      These methods no longer include public groups/projects (that don't
      belong to the actual user) as this is handled by the various finder
      classes now. This also removes the need for passing extra arguments.
      
      Note that memoizing was removed _explicitly_. For whatever reason doing
      so messes up the users controller to a point where it claims a certain
      user does _not_ have access to certain groups/projects when it does have
      access. Existing code shouldn't be affected as these methods are only
      called in ways that they'd run queries anyway (e.g. a combination of
      "any?" and "each" which would run 2 queries regardless of memoizing).
      e116a356
    • Yorick Peterse's avatar
      Refactor getting user groups/projects/contributions · 5fcd9986
      Yorick Peterse authored
      This new setup no longer loads any IDs into memory using "pluck",
      instead using SQL UNIONs to merge the various datasets together. This
      results in greatly improved query performance as well as a reduction of
      memory usage.
      
      The old setup was in particular problematic when requesting the
      authorized projects _including_ public/internal projects as this would
      result in roughly 65000 project IDs being loaded into memory. These IDs
      would in turn be passed to other queries.
      5fcd9986
  11. Nov 13, 2015
  12. Nov 03, 2015
    • Yorick Peterse's avatar
      Fixed User sorting specs · a2f8f9ad
      Yorick Peterse authored
      The descriptions were not accurate and one particular spec seemingly
      expected the wrong User row to be returned.
      a2f8f9ad
  13. Oct 02, 2015
  14. Sep 29, 2015
  15. Sep 20, 2015
  16. Sep 06, 2015
  17. Aug 20, 2015
  18. Aug 05, 2015
  19. Aug 02, 2015
  20. Jul 23, 2015
  21. Jul 10, 2015
  22. Jun 23, 2015
  23. Jun 22, 2015
  24. Jun 20, 2015
  25. Jun 19, 2015
  26. Jun 17, 2015
  27. Jun 13, 2015
  28. Jun 10, 2015
  29. May 28, 2015
  30. May 26, 2015
  31. May 09, 2015
Loading