Commit Graph

43 Commits

Author SHA1 Message Date
Tor Hveem
23833dbab0
Revert "convert entire words as urls or do nothing" 2024-06-27 23:38:43 +02:00
Andrius Bentkus
bfa893fde9 fix test description 2024-04-06 10:27:52 +03:00
Andrius Bentkus
af2d12134d test if ) at the end of the link is also taken into url 2024-04-06 10:26:52 +03:00
Andrius Bentkus
543885a30e convert entire words as urls or do nothing 2024-04-06 10:15:38 +03:00
Lorenz Hübschle-Schneider
c2593c5fce Install linkify-string, which was split out 2023-07-09 14:22:47 +02:00
Yeiniel Suarez Sosa
bb7d3b7344
fix bug on plugins unit test, possibly introduced by previous squash 2020-12-05 18:45:19 -05:00
Yeiniel Suárez Sosa
a027ae6306
update travis to replace deprecated distro 2020-12-05 16:48:13 -05:00
Yeiniel Suárez Sosa
0a11e24c9c
fix karma browser settings 2020-12-05 16:48:07 -05:00
Yeiniel Suárez Sosa
9abeea6a78
replace deprecated browser on ci env 2020-12-05 16:47:44 -05:00
Yeiniel Suárez Sosa
30e89c0393
fix jshint issues 2020-12-05 16:47:09 -05:00
Yeiniel Suárez Sosa
d3901cc286
improve unit testing
currently the only problem is that phantomjs is unable to parse the js files

fix test exec on travis env
2020-12-05 16:45:11 -05:00
Yeiniel Suárez Sosa
b0675b1ad3
convert app to be built using webpack 2020-11-27 19:32:05 -05:00
Jeremy Mahieu
788acc8219 Use linkifyjs instead of autolinker 2020-07-21 15:26:18 +02:00
Jeremy Mahieu
79af5abe3f Add unit tests for tiktok plugin 2020-04-06 15:08:19 +02:00
Louis-Philippe Véronneau
9c78472f5a
Purge the Vine plugin, that platform died a while ago 2019-12-08 01:52:37 -05:00
Lorenz Hübschle-Schneider
49fac6440d codify: add more tests 2019-08-19 13:58:42 +02:00
Serafeim Papastefanos
2470192cf0 Fix tests for codify 2019-07-04 14:26:06 +03:00
Serafeim Papastefanos
aaa49b7f5b Add test for codify filter 2019-07-03 10:11:18 +03:00
Felix Eckhofer
1b6ba78acd
Recognize /raw/ pastebin URLs 2017-08-30 19:08:16 +02:00
Tor Hveem
b29dc42a4a Merge pull request #854 from lorenzhs/plugin-dedup
Plugins: don't show plugin repeatedly for same URL in same message
2016-11-11 12:56:33 +01:00
Lorenz Hübschle-Schneider
e1bdea4bdc Tests: include underscore (needed now) 2016-11-02 22:41:04 +01:00
Lorenz Hübschle-Schneider
7ba8ba202e Spotify: also match other types of embeds (playlists and artists) 2016-11-01 13:09:06 +01:00
Jake Stevenson
bc72e8952c Able to resume buffer 2016-09-06 16:35:16 -05:00
Peter Elmers
0b98f4c8f6 Write a test 2016-04-21 18:42:38 -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
Colin Arnott
03a6e391f6 added plugin support for giphy gifs as embedded content and created testcases 2015-09-26 05:06:11 +00: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
420836974e Fix irclinky test
irclinky no longer does escaping itself, that is now done by DOMfilter.
Adapt the test case to reflect this change.
2015-06-08 23:42:57 +02:00
David Cormier
0165e5e320 plugins: add tests for video plugin
Test ogv, webm and mp4 urls
2015-02-17 09:48:22 +01:00
Lorenz Hübschle-Schneider
4b65847b46 Rewrite youtube plugin with urlPlugin
Remove URL without protocol from tests
2015-02-08 11:23:32 +01:00
Vivien Didelot
ab260cb5a7 plugins: add Vine support
This commit adds support for Vine embeddable content.
2015-01-30 19:13:17 -05:00
David Cormier
e56acbc923 Merge pull request #528 from glowing-bear/add-filter-tests
Add some basic tests for filters
2015-01-24 12:32:46 -05:00
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.
2015-01-14 10:38:25 -05:00
Lorenz Hübschle-Schneider
de730a4505 Add some basic tests for filters 2015-01-03 11:20:04 -05:00
Lorenz Hübschle-Schneider
fe24302a73 Karma: Include files in the right order
glowing-bear.js needs to be loaded before the modules building upon it
2014-08-31 15:57:36 +01:00
David Cormier
9675909ab5 Add sample E2E test 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
92282e3a93 Test images with GET parameters as well (#414) 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
6d36bf1c82 Add tests for Gist & Tweet plugins 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
a46df4baab Use valid test URLs 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
230e33136c Don't fail failed tests by accessing undefined members
If a plugin didn't recognize something it should have recognized, don't fail in
checking whether it failed.

Also, semicolons.
2014-08-26 20:17:22 -04:00
David Cormier
4c3d481447 Add tests for all plugins 2014-08-26 20:17:22 -04:00
David Cormier
341fa9f616 Add unit test setup files and sample plugin unit test 2014-08-26 20:17:22 -04:00