Commit graph

15 commits

Author SHA1 Message Date
Douwe Maan
4f2d6b3e21 Refactor MarkupHelper 2017-04-27 13:22:17 +02:00
Sean McGivern
54439315fa Merge branch 'snippets-search' into 'master'
Fixed alignment of snippet search results

Closes #26832

See merge request !9228
2017-02-21 15:30:54 +00:00
Phil Hughes
2a60f4dea8 Reduce query count for snippet search
Recudes the number of queries within the snippet search from approx. 50
to approx. 14 by preloading the authors

Part of #27392
2017-02-16 08:47:48 +00:00
Phil Hughes
41d05fa85a Fixed alignment of snippet search results
Also enabled syntaax highlight on the search results

Closes #26832
2017-02-14 14:08:20 +00:00
Filipa Lacerda
b57027f2a5 Use a new class to keep old behavior 2017-02-08 20:52:08 -06:00
Kushal Pandya
fa21471af6 HAMLLint: Fix UnnecessaryInterpolation offences 2017-01-24 10:09:28 -08:00
Jacob Vosmaer
1764e1b7cb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
Valery Sizov
94af78ac4a Faster snippet search 2016-02-05 18:20:29 +02:00
Douwe Maan
21facf5353 Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets 2016-01-21 14:23:53 +01:00
Robert Speicher
ce0a0feff4 Make snippet_blob highlight server-side as well 2015-08-26 11:43:25 -07:00
Robert Speicher
2c3e42e4a4 Remove user_color_scheme_class
Instead of rendering this value server-side, we use Javascript and Gon
to apply the user's color scheme (or the default) to any syntax
highlighted code blocks.

This will make it easier to cache these blocks in the future because
they're no longer state-dependent.
2015-08-25 15:32:38 -07:00
Jakub Jirutka
b0659c1b07 Simplify and unify helpers for rendering markup 2015-05-18 22:52:13 +02:00
Dmitriy Zaporozhets
2da2720584 Improve css for file actions 2015-03-13 19:20:25 -07:00
Sullivan SENECHAL
5d8be4438a Upgrade to Font Awesome v4.2 2014-10-03 12:19:24 +02:00
Charles Bushong
4cca1b050a Adding in snippet search functionality
http://feedback.gitlab.com/forums/176466-general/suggestions/5529795-search-though-snippets
2014-08-29 15:32:07 -04:00