119 Commits

Author SHA1 Message Date
ccd0
3b3ec60dbe get rid of unwanted style on embeds 2014-04-13 00:39:34 -07:00
ccd0
c5733e47bc change vocaroo embed to HTML5 2014-04-13 00:29:37 -07:00
ccd0
568da4ba53 minor fix 2014-04-13 00:06:55 -07:00
ccd0
9193c3e0f1 fix wrongly embedded links with dummy types 2014-03-31 21:20:12 -07:00
ccd0
4f260137f1 embed direct video links 2014-03-25 00:50:41 -07:00
ccd0
42069ff693 test for embed types in deterministic order 2014-03-24 22:08:39 -07:00
Zixaphir
32b020c701 Fix titlelink. 2014-02-16 02:27:26 -07:00
Zixaphir
6dd0cac797 Merge branch 'master' of https://github.com/Spittie/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/Monitoring/Favicon.coffee
2014-02-16 01:00:41 -07:00
Kabir Sala
017502e0dd Twitter embedding 2014-02-15 22:26:12 +01:00
Kabir Sala
cff413769e cleanup 2014-02-12 23:56:30 +01:00
Zixaphir
b62d82bed0 Mayhem made responseType JSON default for any URL containing .json. 2014-01-24 14:48:39 -07:00
Zixaphir
91233b8d61 remove [].contains. It was a bad idea.
I shouldn't be messing with stuff like this without a really good
reason for doing so, and the longer I thought about it, the more
it occurred to me that I didn't have one.
2013-12-24 14:41:21 -07:00
Zixaphir
0e1b8c099c Forgot a return
Also consistency.
2013-12-16 14:03:30 -07:00
Zixaphir
0cafd9ae61 Merge @mahkoh's embedding fixes 2013-12-16 13:45:56 -07:00
Jordan Bates
2094164ff3 Strawpoll embedding, close #206 2013-11-10 23:35:32 -07:00
Zixaphir
9fb8ab50e1 MediaCrush embedding (the right way?) 2013-10-16 14:31:18 -07:00
Zixaphir
91cedb3b89 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	html/General/Settings-section-Rice.html
	img/changelog/3.9.0/0.png
	package.json
	src/Images/AutoGIF.coffee
	src/Images/RevealSpoilers.coffee
	src/Miscellaneous/ExpandComment.coffee
	src/Miscellaneous/IDColor.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteInline.coffee
	src/Quotelinks/QuotePreview.coffee
	src/Quotelinks/QuoteYou.coffee
	src/Quotelinks/Quotify.coffee
2013-10-13 13:53:38 -07:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Mayhem
fff4de5fa4 Take <br>s into account when walking down the nodes. 2013-09-05 18:37:44 +02:00
Mayhem
2ee7a064ca Only allow specific protocols to avoid matching random stuff like fma:brotherhood. 2013-09-05 18:20:25 +02:00
Mayhem
f28ea1833a Deconstruction of a URL-matching regular expression. 2013-09-05 18:05:22 +02:00
Mayhem
fde52b4402 Uncomment that for xtra stability. 2013-08-30 22:19:27 +02:00
Mayhem
386888e4d1 Tiny linkifier fix. 2013-08-25 22:18:17 +02:00
Zixaphir
04d968d6f1 Lets not hold onto our ranges after we linkify them 2013-08-22 14:37:39 -07:00
Zixaphir
ccc0335b79 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	css/style.css
	html/Monitoring/ThreadWatcher.html
	json/archives.json
	package.json
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/img/favicons/empty.gif
	src/Linkification/Linkify.coffee
	src/Miscellaneous/ExpandComment.coffee
	src/Monitoring/Favicon.coffee
	src/Monitoring/ThreadWatcher.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
2013-08-22 12:10:33 -07:00
Mayhem
3f04351e48 Mention Gruber's regexp in the LICENSE. 2013-08-20 17:19:04 +02:00
Mayhem
4196ce2600 Clean links from spoiler and code tags. 2013-08-20 00:33:56 +02:00
Mayhem
abfbd734aa Add a 'linkified' class. 2013-08-20 00:05:41 +02:00
Mayhem
fc745767c4 Replace already-linkified links. 2013-08-19 23:15:54 +02:00
Mayhem
7ee6b24606 Handle a Chrome/WebKit/Blink bug. 2013-08-19 22:09:52 +02:00
Mayhem
19524d26b6 Fix endOffset when relocating. 2013-08-19 17:41:31 +02:00
Mayhem
b378db78f5 Linkify: Attempt to handle un-surroundable contents. 2013-08-19 17:18:13 +02:00
Mayhem
27c1a77b86 Create a single range per post, and detach it when we're done. 2013-08-19 12:32:15 +02:00
Mayhem
6d5f422c3f Tweak/rewrite Linkify. 2013-08-19 12:21:49 +02:00
Mayhem
58531319ca sourround -> surround 2013-08-18 20:55:23 +02:00
noface
7b842c01be Fix spoiler issue. 2013-08-18 20:53:08 +02:00
noface
202d7617e3 Add Linkification. 2013-08-18 20:53:08 +02:00
Zixaphir
d15f8ee728 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	LICENSE
	css/style.css
	html/Posting/QR.html
	img/changelog/3.2.0/0.png
	package.json
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Notice.coffee
	src/General/Notification.coffee
	src/General/Settings.coffee
	src/General/img/icon.gif
	src/General/lib/notification.class
	src/Monitoring/Favicon.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteOP.coffee
2013-08-17 20:33:48 -07:00
Zixaphir
6692dd329b And now that's gone. 2013-08-17 05:41:27 -07:00
Zixaphir
c2bf431df6 Forgot to amend 2013-08-17 02:49:47 -07:00
Zixaphir
8429c60d30 Some Linkify refactoring 2013-08-17 02:44:33 -07:00
Zixaphir
2f497d700a Fix a small linkifier oversight 2013-08-16 00:48:27 -07:00
seaweedchan
2a8e03dc21 Fix linkifier regex to not accept ellipses as links 2013-08-15 01:43:51 -07:00
Zixaphir
b9581dd428 Separate out IPv4 again 2013-08-14 19:15:46 -07:00
Zixaphir
9715424f1f Slash or NOTHING 2013-08-14 19:09:51 -07:00
Zixaphir
91ff46718d comment 2013-08-14 18:41:59 -07:00
Zixaphir
dd2a5bb6e9 Simplify 2013-08-14 18:36:22 -07:00
Zixaphir
34ece16aaa This should match *all* top level domains 2013-08-14 18:32:34 -07:00
Zixaphir
441f9eac66 Remove the possibility of accidentally matching .jpg with .jp 2013-08-14 15:58:13 -07:00
Zixaphir
521511cd3a Well that was dumb. 2013-08-14 15:43:38 -07:00