Commit graph

26 commits

Author SHA1 Message Date
kurros
dfffbeec46 optimize what gets passed to emojione.unicodeToImage 2016-01-02 12:14:48 -05:00
Hannu Hartikainen
b0f4ee4413 fix #688 and provide a unit test 2015-12-01 21:31:12 +02:00
Hannu Hartikainen
d1176a5b2b disallow nested links in DOMfilter (fixes #680) 2015-11-28 17:04:57 +02:00
Peter Elmers
febbb3ffdb Re-implement click to join functionality.
Clicking channel names to join broke because of angular issue 9515.
Reimplement the functionality by binding the scope.openBuffer method to
the window and calling it from an onclick handler for channel name
anchors.
2015-06-11 09:10:23 -07:00
Lorenz Hübschle-Schneider
cfad82ec3e Properly fix #622 by escaping input into DOM filters 2015-06-08 23:35:18 +02:00
Lorenz Hübschle-Schneider
bdb968d3af More strict escaping
Thanks, @nathan0!

Fixes #622
2015-06-08 22:19:11 +02:00
Tor Hveem
9b2a527cb7 Limit prefix parts to at most 25 chars 2015-03-26 14:41:19 +01:00
Tor Hveem
36ae273460 check that emojione is defined before usage 2015-03-23 15:09:02 +01:00
Tor Hveem
f042f729e1 switch from twitter's emoji lib to emojione 2015-03-21 16:43:46 +01:00
Lorenz Hübschle-Schneider
be8ab42b7c Make MathJax a setting and load it only if enabled 2015-03-21 12:45:45 +01:00
Lorenz Hübschle-Schneider
5740c647d6 Basic MathJax hackery 2015-03-21 12:45:45 +01:00
Lorenz Hübschle-Schneider
f125c43ccb Adds emoji support using Twitter's twemoji 2015-01-03 18:29:59 +01:00
David Cormier
8eda79e2f3 Merge pull request #527 from glowing-bear/inline-colour-rgb
Add inline colour support for rgb(12,34,56) / rgba(1,2,3,0.4) colours
2015-01-03 10:41:04 -05:00
Lorenz Hübschle-Schneider
0c20484b5a Add inline colour support for rgb(12,34,56) / rgba(1,2,3,0.4) colours
Also improve the regexes
2014-12-30 21:06:17 +01:00
Lorenz Hübschle-Schneider
8a740b765a Fix DOMfilter when replacing multiple occasions
Previously, it would sometimes forget things at the end
2014-12-30 20:23:32 +01:00
Lorenz Hübschle-Schneider
1478b611da Properly escape HTML entities in irclinky filter
Fixes #525
2014-12-30 18:22:20 +01:00
Lorenz Hübschle-Schneider
82fc20ed0d Allow % and ~ in front of channel names as well (irclinky)
Those are IRC modifiers, we want /whois output to be clickable
2014-12-20 20:10:33 +01:00
Lorenz Hübschle-Schneider
1f601e56c8 Fix linkification target
The target attribute was passed to the wrong filter
2014-11-06 16:31:31 +01:00
Lorenz Hübschle-Schneider
0bc7571217 Fix conflicts between URL/email and irc channel linkification
URL/email links take priority over IRC channel links with this filter order.
2014-11-06 13:55:33 +01:00
Tor Hveem
1dc32fd847 Merge pull request #483 from glowing-bear/key-overlays
Show quick access keys on Alt keypress
2014-10-28 01:24:11 +01:00
Lorenz Hübschle-Schneider
d95abdd0df Fix inline colour filter by applying to text nodes only
this requires traversing the line's DOM and manipulating things there
2014-10-27 21:54:38 +01:00
Ailin Nemui
9827710736 Support narrowing buffer selection with Alt+0-9 after using Alt+g or when onlyUnread is enabled, and show numeric overlays for Alt+0-9 keys on the buffers 2014-10-20 11:45:56 +02:00
Lorenz Hübschle-Schneider
68adfb6cc2 Hotfix irclinky filter: only #channels
&channels match HTML-escaped special chars like " m(
2014-09-28 20:45:29 +02:00
Lorenz Hübschle-Schneider
565ee16990 Fix linkification of IRC channels
Closes #451
2014-09-25 17:26:18 +02:00
Lorenz Hübschle-Schneider
a80db339f8 Use strict
Requires turning IrcUtils into an Angular service, because the global variable
trick won't work with use strict.
Reuse is still easily possible by removing the angular wrapping around it.
2014-09-07 16:55:18 +01:00
Lorenz Hübschle-Schneider
21f8f47efe Split things up into logical blocks 2014-08-31 15:57:36 +01:00