Jeremy Mahieu
788acc8219
Use linkifyjs instead of autolinker
5 years ago
Lorenz Hübschle-Schneider
3858c0ff0c
Remove useless linksForCordova filter
...
We deprecated the cordova app long ago
5 years ago
Lorenz Hübschle-Schneider
724b2c6e93
Remove support for non-native emoji rendering
...
It's not 2014 anymore, every reasonable platform supports displaying
emoji natively these days. Let's remove a filter that has ceased to
provide value.
5 years ago
Lorenz Hübschle-Schneider
f10a97659d
codify: also match triple backticks
...
fixes issues with people using ```large code-blocks inline```
6 years ago
Lorenz Hübschle-Schneider
fd40cc1593
codify: only match if preceded by whitespace
...
(or at the start of the line).
Fixes #1058
6 years ago
Serafeim Papastefanos
94ad3b8b51
Improve regex to avoid slicing
6 years ago
Serafeim Papastefanos
1717587587
Small codify improvements
6 years ago
Serafeim Papastefanos
98cebb5b33
Improve behavior with links
6 years ago
Serafeim Papastefanos
8067e3973e
Fix linting errors
6 years ago
Serafeim Papastefanos
29c6cc1e82
Add a simple codify filter
6 years ago
Robert Scullin
2b4ca93cf9
Don't linkify hostnames in join/part messages.
6 years ago
Lorenz Hübschle-Schneider
56d190ab5c
Improve documentation & cordova checks
8 years ago
Lorenz Hübschle-Schneider
8ba2b1acf6
cordova integration: small fixups
8 years ago
Alice Jenkinson
d87f274c73
Hide some things on Cordova, fix links
8 years ago
Lorenz Hübschle-Schneider
22cb962e63
jumpkeys: filter on entry of first digit
...
not quite sure whether I like changing the sort order
8 years ago
Tobias Theuer
811e76d443
Jump to any buffer (up to 99) with Alt+J followed by 2 digits.
8 years ago
Lorenz Hübschle-Schneider
b8854a287a
Switch math rendering to KaTeX
9 years ago
kurros
dfffbeec46
optimize what gets passed to emojione.unicodeToImage
10 years ago
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