124 Commits

Author SHA1 Message Date
Zixaphir
642b1cd37d Small Linkifier miss involving hostname.com:port 2014-03-23 17:19:19 -07:00
Zixaphir
228eba30fb Fuck protocols.
Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
2014-03-22 12:33:52 -07:00
Zixaphir
18db3994b6 Backport fixes from master branch 2014-03-20 09:37:27 -07:00
Zixaphir
61e1447a5f Lets not even bother linkifying a comment with no links.
Also switch out some loops.
2014-03-12 23:42:32 -07:00
Zixaphir
a4ead91d65 Remove some accidental cruft left from incorrectly merging
Fix some QR bugs, remove references to the 'catalog' g.VIEW
And actually put in QuoteMarkers
2014-03-02 18:59:35 -07:00
Zixaphir
9d95bbea35 Merge branch 'mayhem' into v3 -- Still broken, do not merge (yet)
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	css/burichan.css
	css/futaba.css
	css/photon.css
	css/style.css
	css/tomorrow.css
	css/yotsuba-b.css
	css/yotsuba.css
	html/General/Index-navlinks.html
	html/General/Settings-section-Rice.html
	html/General/Settings.html
	html/Posting/QR.html
	json/archives.json
	package.json
	src/Filtering/PostHiding.coffee
	src/Filtering/Recursive.coffee
	src/Filtering/ThreadHiding.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Index.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/UI.coffee
	src/General/lib/$.coffee
	src/General/lib/databoard.class
	src/General/lib/post.class
	src/General/lib/thread.class
	src/Images/ImageExpand.coffee
	src/Images/RevealSpoilers.coffee
	src/Linkification/Linkify.coffee
	src/Menu/Menu.coffee
	src/Miscellaneous/ExpandThread.coffee
	src/Miscellaneous/IDColor.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QR.captcha.coffee
	src/Posting/QR.coffee
	src/Posting/QR.cooldown.coffee
	src/Quotelinks/QuoteBacklink.coffee
	src/Quotelinks/QuoteCT.coffee
	src/Quotelinks/QuoteOP.coffee
	src/Quotelinks/QuoteStrikeThrough.coffee
	src/Quotelinks/QuoteYou.coffee
	src/Quotelinks/Quotify.coffee
2014-02-23 14:04:45 -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
Mayhem
216f7c3abb rm Clean Links config. 2014-02-15 00:51:47 +01:00
Mayhem
e6198d4014 Remove <wbr>s in links, use CSS to break. 2014-02-15 00:37:39 +01:00
Kabir Sala
cff413769e cleanup 2014-02-12 23:56:30 +01:00
Mayhem
1aa467b051 Remove all inline catalog-related code. 2014-01-29 16:25:52 +01:00
Zixaphir
b62d82bed0 Mayhem made responseType JSON default for any URL containing .json. 2014-01-24 14:48:39 -07:00
Mayhem
2ed498813d Remove outdated Chrome workaround. 2014-01-21 14:26:06 +01: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
James Campos
089090d3c5 linkification: only 1 level of balanced parens 2013-12-02 04:03:38 -08: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