Skip to content
Snippets Groups Projects
  1. Oct 22, 2019
  2. Oct 18, 2019
  3. Sep 13, 2019
  4. Sep 07, 2019
    • Jan Provaznik's avatar
      Use delete_all for deleting events · f2754e41
      Jan Provaznik authored
      Because we don't have any destroy callbacks (or other logic
      triggered on event destroy), there is no reason for deleting events
      inefficiently one by one, instead we can use :delete_all.
      f2754e41
  5. Aug 30, 2019
  6. Aug 23, 2019
  7. Aug 09, 2019
  8. Aug 08, 2019
  9. Jul 24, 2019
  10. Jul 22, 2019
  11. Jul 15, 2019
  12. Jun 24, 2019
  13. Jun 18, 2019
  14. May 28, 2019
  15. Apr 09, 2019
  16. Apr 08, 2019
  17. Apr 05, 2019
  18. Mar 28, 2019
  19. Mar 06, 2019
  20. Feb 27, 2019
  21. Feb 26, 2019
  22. Feb 25, 2019
  23. Feb 21, 2019
  24. Jan 28, 2019
  25. Jan 18, 2019
    • Sean McGivern's avatar
      Don't check confidential issues for spam · d00b4a2e
      Sean McGivern authored
      Spam checks are meant for content that could be indexed by search
      engines. Confidential issues aren't indexed by search engines, so we
      don't need to do spam checks for them.
      
      We do need to check for spam when an issue changes from confidential to
      public, even if nothing else changed.
      d00b4a2e
  26. Dec 04, 2018
  27. Nov 23, 2018
    • Sean McGivern's avatar
      Speed up setting of relative position · eb15e4df
      Sean McGivern authored
      1. When every issue has a relative position set, we don't need to
         perform any updates, or calculate the maximum position in the parent.
      2. If we do need to calculate the maximum position in the parent, many
         parents (specifically, groups with lots of projects) leads to a slow
         query where only the index on issues.relative_position is used, not
         the index on issues.project_id. Adding the GROUP BY forces Postgres
         to use both indices.
      eb15e4df
  28. Nov 09, 2018
  29. Nov 06, 2018
  30. Nov 01, 2018
  31. Oct 04, 2018
  32. Sep 11, 2018
  33. Aug 21, 2018
    • Sean McGivern's avatar
      Move Issue#{referenced,closed_by}_merge_requests to service · c73da6c1
      Sean McGivern authored
      These methods don't really need to be on the Issue model. Issue#related_branches
      can also be moved to a service, but we can do that in a separate commit.
      
      This commit does not change any behaviour; it just moves code around, renames
      the service, and refactors the specs.
      c73da6c1
  34. Aug 02, 2018
  35. Aug 01, 2018
Loading