Hannu Hartikainen
b0f4ee4413
fix #688 and provide a unit test
10 years ago
Hannu Hartikainen
d1176a5b2b
disallow nested links in DOMfilter ( fixes #680 )
10 years ago
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.
10 years ago
Lorenz Hübschle-Schneider
cfad82ec3e
Properly fix #622 by escaping input into DOM filters
10 years ago
Lorenz Hübschle-Schneider
bdb968d3af
More strict escaping
...
Thanks, @nathan0 !
Fixes #622
10 years ago
Tor Hveem
9b2a527cb7
Limit prefix parts to at most 25 chars
10 years ago
Tor Hveem
36ae273460
check that emojione is defined before usage
10 years ago
Tor Hveem
f042f729e1
switch from twitter's emoji lib to emojione
10 years ago
Lorenz Hübschle-Schneider
be8ab42b7c
Make MathJax a setting and load it only if enabled
10 years ago
Lorenz Hübschle-Schneider
5740c647d6
Basic MathJax hackery
10 years ago
Lorenz Hübschle-Schneider
f125c43ccb
Adds emoji support using Twitter's twemoji
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
8a740b765a
Fix DOMfilter when replacing multiple occasions
...
Previously, it would sometimes forget things at the end
11 years ago
Lorenz Hübschle-Schneider
1478b611da
Properly escape HTML entities in irclinky filter
...
Fixes #525
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
1f601e56c8
Fix linkification target
...
The target attribute was passed to the wrong filter
11 years ago
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.
11 years ago
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
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
68adfb6cc2
Hotfix irclinky filter: only #channels
...
&channels match HTML-escaped special chars like " m(
11 years ago
Lorenz Hübschle-Schneider
565ee16990
Fix linkification of IRC channels
...
Closes #451
11 years ago
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.
11 years ago
Lorenz Hübschle-Schneider
21f8f47efe
Split things up into logical blocks
11 years ago