diff options
author | jomo <github@jomo.tv> | 2015-01-25 23:47:38 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-01-25 23:47:38 +0100 |
commit | 75a7f4499ae5591b7216cb91c27310d40d1d4c12 (patch) | |
tree | 2fb4832aa3d1e3565001b76c957c9cecee151ded /Gemfile | |
parent | 31dcf02083bd40879ba44bfe8f21d7c98026112b (diff) |
big @mentions update
1. switched from autocomplete.js to jquery-textcomplete
2. style update
3. Allow mentioning by ign OR display name
4. display names can be two words and separated by a space
5. display names can be all characters, except a few special ones (punctuation etc)
6. Wildcard characters are escaped in SQL
7. Suggestions are html escaped
8. Suggestions have a timeout of 300ms, so the query is made after you stopped typing
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,8 +11,9 @@ gem 'hirb' # pretty console output gem 'rb-readline' gem 'rest-client' gem 'activerecord-session_store' -gem 'highlight_js-rails', :git => 'git://github.com/RedstonerServer/highlight_js-rails.git' +gem 'highlight_js-rails', github: 'RedstonerServer/highlight_js-rails' gem 'kaminari', github: 'jomo/kaminari', branch: 'patch-2' # pagination +gem 'jquery-textcomplete-rails', github: 'RedstonerServer/jquery-textcomplete-rails' # @mentions # Gems used only for assets and not required # in production environments by default. |