Commit graph

29 commits

Author SHA1 Message Date
Tor Hveem
1615f3016b Use angular function to linkify text.
Fixes bugs with HTML escaping in text
2013-10-28 14:37:21 +01:00
Tor Hveem
d57127cc84 make class for embedded image, and fix its height parameter so its
better for small images
2013-10-28 13:32:48 +01:00
Tor Hveem
6258303465 New user setting for display embedded content by default 2013-10-28 13:32:47 +01:00
Vivien Didelot
15e267a9ee plugins: add AlloCine support 2013-10-23 09:44:21 -04:00
Vivien Didelot
98ad8d152d plugins: add Dailymotion support 2013-10-22 10:48:05 -04:00
Tor Hveem
453a8d5ef3 Make images clickable so you can get full size 2013-10-19 13:10:35 +02:00
Vivien Didelot
10480843c2 plugins: add Google Maps support 2013-10-18 17:32:39 -04:00
Vivien Didelot
4eddc8bf57 plugins: add SoundCloud and MixCloud support 2013-10-18 11:13:36 -04:00
Tor Hveem
5923093071 New plugin: spotify 2013-10-18 16:47:53 +02:00
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/.
2013-10-17 18:25:01 -04:00
Vivien Didelot
ea65c5dc44 plugins: (youtube) make video preview slicker 2013-10-17 16:52:26 -04:00
Tor Hveem
fba78d490e Support more URLs for youtube and request html5 player to improve
performance of embedding
2013-10-17 13:36:54 +02:00
Tor Hveem
b2174db197 Remove URLplugin, replace URLs inline with a hrefs 2013-10-15 18:58:00 +02:00
Vivien Didelot
8fea1c072e plugins: (url) do not return the whole message 2013-10-14 15:18:00 -04:00
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
2013-10-14 12:01:25 -04:00
David Cormier
2377253676 plugins: fix imagePlugin 2013-10-13 15:14:43 -04:00
David Cormier
741416cb79 plugins: provide names for plugins 2013-10-13 15:00:00 -04:00
David Cormier
b2ee67707b plugins: let plugins name their content 2013-10-13 14:57:54 -04:00
David Cormier
3f56c80f56 plugins: warn the user that content may not be safe for work 2013-10-13 14:49:38 -04:00
David Cormier
a1123ddad0 plugins: automatically hide lines that ends with nsfw 2013-10-13 14:44:37 -04:00
David Cormier
1f7cb5c3ba plugins: use to explicitely trust html 2013-10-13 14:33:09 -04:00
Tor Hveem
6e1ec22fe4 Add target=_blank on links again, it got lost in earlier merge 2013-10-12 17:23:04 +02:00
Tor Hveem
5ea276f648 Show content by default 2013-10-11 23:26:19 +02:00
David Cormier
51221d4a44 plugins: add documentation 2013-10-08 19:08:20 -04:00
David Cormier
7b701079f4 plugins: make PluginManager dependent of userPlugins and register them at runtime 2013-10-08 19:08:20 -04:00
David Cormier
e457e96cd6 plugins: define plugins as Plugin objects 2013-10-08 19:08:20 -04:00
David Cormier
cc2eda7057 plugins: create PluginManager service 2013-10-08 19:08:20 -04:00
David Cormier
1fd6e1b0b6 plugins: Create a plugins service with a Plugin definition 2013-10-08 19:08:17 -04:00
David Cormier
7db8e31a7f plugins: Move plugins to external module 2013-10-08 19:08:13 -04:00