An error occurred fetching the project authors.
  1. 24 Aug, 2021 1 commit
  2. 19 Aug, 2021 2 commits
  3. 10 Jun, 2021 1 commit
    • Nick Thomas's avatar
      Improve cache sharing between cached markdown fields and mentionables · c0e6dd6a
      Nick Thomas authored
      This change makes an item of implicit coupling between the Mentionable
      and CachedMarkdownField concerns. Mentionable needs to render the
      fields it depends on to extract references; when those fields are also
      cached markdown fields, it currently uses that cache to skip the render
      step.
      
      For the Commit model, we couldn't share the cache because Mentionable
      was looking at safe_message, while CachedMarkdownField was looking at
      `title`, `full_title`, and `description`. However, the combination of
      the latter two is equivalent to `safe_message`, so we can use them
      instead.
      
      This opens up a couple of cans of worms - in particular, we now call
      Commit#store_mentions!, which we've never done before. However, it all
      seems to work out in the end.
      
      Changelog: performance
      c0e6dd6a
  4. 24 Nov, 2020 1 commit
  5. 29 Sep, 2020 1 commit
  6. 10 Sep, 2020 1 commit
  7. 28 May, 2020 1 commit
  8. 22 Apr, 2020 1 commit
  9. 01 Apr, 2020 1 commit
  10. 13 Feb, 2020 1 commit
  11. 30 Jan, 2020 1 commit
  12. 28 Jan, 2020 3 commits
  13. 20 Jan, 2020 1 commit
  14. 10 Dec, 2019 1 commit
  15. 25 Jul, 2019 1 commit
  16. 11 Jul, 2019 1 commit
    • Mario de la Ossa's avatar
      Banzai - avoid redis if attr is in DB cache · e5705f5c
      Mario de la Ossa authored
      When cache_collection_render runs we end up reading and writing
      things to redis even if we already have the rendered field cached
      in the DB. This commit avoids using redis at all whenever we have
      the field already rendered in the DB cache.
      e5705f5c
  17. 07 Mar, 2019 1 commit
  18. 24 Jan, 2019 2 commits
  19. 23 Apr, 2018 2 commits
  20. 22 Dec, 2017 2 commits
  21. 07 Dec, 2017 1 commit
  22. 21 Jun, 2017 2 commits
  23. 23 Feb, 2017 4 commits
  24. 26 Jan, 2017 1 commit
  25. 04 Oct, 2016 1 commit
    • Paco Guzman's avatar
      Simplify Mentionable concern instance methods · 4ff345c4
      Paco Guzman authored
      We remove some arguments that are rarely used or 
      used just to simplify setups on specs.
      
      Modified Mentionable#create_new_cross_references method 
      we don’t need to calculate previous references to avoid the 
      duplication because we do that at database level when 
      creating references extracted from the current entity state.
      
      MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
      4ff345c4
  26. 17 Mar, 2016 2 commits
  27. 08 Dec, 2015 1 commit
  28. 30 Nov, 2015 1 commit
  29. 14 Oct, 2015 1 commit