Lorenz Hübschle-Schneider
4b65847b46
Rewrite youtube plugin with urlPlugin
...
Remove URL without protocol from tests
11 years ago
Lorenz Hübschle-Schneider
beaa3426dd
Rewrite vine plugin with urlPlugin
11 years ago
Lorenz Hübschle-Schneider
18c0db6c4f
Fix Asciinema plugin
11 years ago
Vivien Didelot
ab260cb5a7
plugins: add Vine support
...
This commit adds support for Vine embeddable content.
11 years ago
Vivien Didelot
b365272aa6
plugins: (image) support :size suffix
...
Some images URL (such as Twitter hosting site twimg.com) are suffixed
with :size where size can be small, medium or large.
11 years ago
Kenneth Chung
fdc598c00f
fix a typo and some grammar mistakes
11 years ago
Lorenz Hübschle-Schneider
bc037720bd
Fix plugin selectors after angular upgrade
...
The recent angular update changed the format of the hash keys.
They're now in the format 'object:123' (etc), which isn't a valid
CSS class name any more, but we used the $$hashKey as such.
I used this opportunity to introduce a bit of abstraction there as well
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
b939bc7ca8
Check GET parameters in image embedding
...
This is a great candidate for the tests!
11 years ago
Lorenz Hübschle-Schneider
1235a5e148
Embed Dropbox images
...
We need to pass a parameter, "?dl=1", to get the actual file
11 years ago
Lorenz Hübschle-Schneider
7d13f49dab
Add tweet embedding plugin
11 years ago
Lorenz Hübschle-Schneider
6d988069c7
Add asynchronous GitHub Gist embedding plugin
...
requires a few selectors to be more precise in our CSS
11 years ago
Lorenz Hübschle-Schneider
3d719f3671
Simplify plugins that detect URLs by eliminating redundancy
11 years ago
Lorenz Hübschle-Schneider
703fcb1668
Add support for asynchronous / lazy plugins
...
Fixes #253
11 years ago
Lorenz Hübschle-Schneider
ccf7b1c51e
Adapt common plugins to make use of multiple embeds per message
11 years ago
Lorenz Hübschle-Schneider
e962472414
Fix Google maps regex
11 years ago
Lorenz Hübschle-Schneider
ac31901d7d
Allow plugins to return an array of results and display each of them
...
Also fix the URL regex to match multiple URLs ('g' modifier)
11 years ago
David Cormier
ceb31c1947
contentForMessage doesn't have to care about content visibility
11 years ago
Lorenz Hübschle-Schneider
8e1e871411
Fix matching (#segments)
11 years ago
Lorenz Hübschle-Schneider
885b47eaaf
Add yr.no plugin
11 years ago
Lorenz Hübschle-Schneider
39b6d7a179
Fix URL regex
...
Old one doesn't match umlauts and other unicode stuff
New one is a lot more general and similar to what angular uses
11 years ago
Lorenz Hübschle-Schneider
86f4c7308b
Image plugin: case insensitive regex
...
Fixes #305
11 years ago
Lorenz Hübschle-Schneider
9f46e656cb
Improve youtube matching URL
...
closes #266
11 years ago
Lorenz Hübschle-Schneider
b91241744c
Improve youtube matching URL
...
closes #266
11 years ago
Felix Eckhofer
cd6ee96ae7
Use https for dailymotion
11 years ago
Lorenz Hübschle-Schneider
3c1bdfeb71
Improve plugin regular expressions, load imgur over https if enabled
11 years ago
Felix Eckhofer
18dd4eae1f
Replace tabs with spaces
12 years ago
Felix Eckhofer
b3b4651e33
Remove trailing spaces
12 years ago
David Cormier
fb5a477b73
Implement asciinema plugin
...
Close #66
12 years ago
Lorenz H-S
5ad01dac81
embed youtube over SSL
12 years ago
David Cormier
68f24554d1
Remove global for variables
12 years ago
David Cormier
c251c3b74c
Fix is already defined errors
12 years ago
David Cormier
0912a2b55b
Remove extra comma and unnecessary semicolons
12 years ago
David Cormier
e2a84470ce
Add missing semicolons
12 years ago
David Cormier
6d5573a148
Delete trailing whitespaces
12 years ago
Tor Hveem
1615f3016b
Use angular function to linkify text.
...
Fixes bugs with HTML escaping in text
12 years ago
Tor Hveem
d57127cc84
make class for embedded image, and fix its height parameter so its
...
better for small images
12 years ago
Tor Hveem
6258303465
New user setting for display embedded content by default
12 years ago
Vivien Didelot
15e267a9ee
plugins: add AlloCine support
12 years ago
Vivien Didelot
98ad8d152d
plugins: add Dailymotion support
12 years ago
Tor Hveem
453a8d5ef3
Make images clickable so you can get full size
12 years ago
Vivien Didelot
10480843c2
plugins: add Google Maps support
12 years ago
Vivien Didelot
4eddc8bf57
plugins: add SoundCloud and MixCloud support
12 years ago
Tor Hveem
5923093071
New plugin: spotify
12 years ago
Vivien Didelot
55b720466b
plugins: (image) support fukung.net
...
Links to http://fukung.net/v/foobar.gif end by the actual image
extensions, but the full image path is under
http://media.fukung.net/imgs/foobar.gif .
This commit replace the URL prefix if it matches fukung.net/v/.
12 years ago
Vivien Didelot
ea65c5dc44
plugins: (youtube) make video preview slicker
12 years ago
Tor Hveem
fba78d490e
Support more URLs for youtube and request html5 player to improve
...
performance of embedding
12 years ago
Tor Hveem
b2174db197
Remove URLplugin, replace URLs inline with a hrefs
12 years ago
Vivien Didelot
8fea1c072e
plugins: (url) do not return the whole message
12 years ago
Vivien Didelot
97da1928de
plugins: match /nsfw/i tag anywhere in the message
...
Sometimes you may have trailing whitespace or put this tag at the
beginning of the line.
Ref: #27
12 years ago