Skip to content
Snippets Groups Projects
  1. May 20, 2019
  2. Nov 15, 2017
  3. Nov 14, 2017
  4. Apr 24, 2017
  5. Mar 08, 2017
  6. Mar 06, 2017
    • Eric Eastwood's avatar
      Use native unicode emojis · e6fc0207
      Eric Eastwood authored
       - gl_emoji for falling back to image/css-sprite when the browser
         doesn't support an emoji
       - Markdown rendering (Banzai filter)
       - Autocomplete
       - Award emoji menu
          - Perceived perf
          - Immediate response because we now build client-side
       - Update `digests.json` generation in gemojione rake task to be more
         useful and  include `unicodeVersion`
      
      MR: !9437
      
      See issues
      
       - #26371
       - #27250
       - #22474
      e6fc0207
  7. Jul 18, 2016
  8. Jun 29, 2016
  9. May 04, 2016
  10. Apr 13, 2016
  11. Apr 12, 2016
  12. Apr 09, 2016
  13. Mar 30, 2016
    • Yorick Peterse's avatar
      Pre-calculate Emoji digests · 5830d80b
      Yorick Peterse authored
      By pre-calculating the digests we can manually construct the emoji URLs,
      removing the need for using Rails' asset URL helpers. The reason we
      don't want to use these helpers for Emojis is two-fold:
      
      1. Rails' image_url() method is slow, really slow. For one it _might_
         have to calculate digests but it also performs a lot of other
         intensive operations (judging by the source code and based on
         measuring timings).
      
      2. We have a lot of Emoji which coupled with the above can result in it
         taking minutes to load Emoji autocomplete data.
      
      Using this pre-calculation setup generating the digests takes around 7
      seconds (including the time it takes to start Rails/Rake), and only
      around 600 milliseconds to load _all_ the autocomplete data of a project
      (measured locally).
      
      This commit _does_ change the Emoji URLs from absolute to relative URLs
      as these are much easier to generate.
      
      To update the Emoji data simply run:
      
          rake gemojione:digests
      
      Then commit any changes.
      
      Fixes gitlab-org/gitlab-ce#14009
      5830d80b
  14. Mar 14, 2016
  15. Mar 11, 2016
  16. Mar 10, 2016
  17. Mar 09, 2016
  18. Feb 16, 2016
  19. Dec 24, 2015
Loading