166 Commits

Author SHA1 Message Date
Zixaphir
7e4af880e1 I'm just replacing my Linkifier with ccd0/4chan-x's
Instead of manually merging like I've done every other file that
wasn't completely new.
2015-01-09 19:03:16 -07:00
Zixaphir
ceef9f9edc Fix a bunch of Unread features. 2014-08-17 18:50:21 -07:00
Zixaphir
6a2b382be4 Fix Title Link
Fix zixaphir/appchan-x#733, Fix zixaphir/appchan-x#732
2014-05-29 10:31:01 -07:00
Zixaphir
f4adf7b72b Linkify fix 2014-05-27 18:45:23 -07:00
Zixaphir
37a3b05e39 Merge branch 'ccd0' into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.user.js
	builds/crx.crx
	builds/crx/script.js
	package.json
	src/Archive/archives.json
	src/General/Get.coffee
	src/General/Navigate.coffee
	src/Images/Gallery.coffee
	src/Linkification/Linkify.coffee
	src/Posting/QR.coffee
	src/Posting/QR.post.coffee
2014-05-11 16:04:14 -07:00
ccd0
00b012b1db prefer vorbis over mp3 2014-05-10 00:49:12 -07:00
ccd0
a7f20420fe Set title in any clones already created
This fixes a bug where titles would sometimes not show up in posts
retrieved from another thread or the archive.
2014-05-10 00:34:18 -07:00
ccd0
989ed8e787 improve SoundCloud embed 2014-05-09 22:40:09 -07:00
ccd0
24db78a734 Support twitch archive links
Also drop <param name=movie> which should only be needed for IE.
2014-05-09 20:31:56 -07:00
ccd0
2e3aa93ef2 rewrite innerHTML for twitch.tv 2014-05-09 19:37:19 -07:00
ccd0
90149c3b9c Revert "twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code"
This reverts commit 6002d118d6fe6cf21955a1ed16d56d2eaad40471.
2014-05-09 17:29:12 -07:00
ccd0
dd204d95f1 easier to see safety of innerHTML use from one line 2014-05-09 02:46:16 -07:00
ccd0
589b462f84 hide links on embed instead of recreating them on unembed 2014-05-09 02:39:58 -07:00
ccd0
c06a24742f one less innerHTML to check 2014-05-09 01:40:24 -07:00
ccd0
14138de371 fix stray quote mark 2014-05-09 01:21:20 -07:00
ccd0
546c5d3297 soundcloud doesn't need to inject their own HTML 2014-05-09 01:15:29 -07:00
ccd0
0110186caa update mediacru.sh filetypes 2014-05-09 00:51:09 -07:00
ccd0
2a9f2cc196 switch to template approach 2014-05-09 00:31:37 -07:00
ccd0
6002d118d6 twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code 2014-05-08 23:35:03 -07:00
ccd0
ba9f2c65a3 remove semicolon 2014-05-08 23:15:57 -07:00
Zixaphir
40d550ab4e Fuck protocols. 2014-05-08 23:12:14 -07:00
Zixaphir
e767f77bce Clean reserved words 2014-05-08 23:05:05 -07:00
Zixaphir
a2e5d07976 Small Linkifier miss involving hostname.com:port 2014-05-08 22:37:08 -07:00
ccd0
9eabd7a4dc remove leftover cached title stuff 2014-05-08 22:31:25 -07:00
Zixaphir
af62b44df1 Eliminate title cacheing for the time being.
Causing too many problems.
Also attempt to optimize Linkify.
2014-05-08 22:22:04 -07:00
Zixaphir
83cfa3fea9 Lets not even bother linkifying a comment with no links.
ccd0: not committing this part for now:
Also switch out some loops.
2014-05-08 21:59:01 -07:00
ccd0
b149071d67 fix embedding in inline quotes 2014-05-08 21:36:22 -07:00
ccd0
191aee4a5d move regString definition 2014-05-08 19:57:08 -07:00
ccd0
abf8459325 small fixes to mediacrush embedding 2014-05-08 01:51:34 -07:00
ccd0
1ddca2a236 I don't think these are exploitable, but better to be safe 2014-05-08 01:44:36 -07:00
ccd0
d3c42c25cc this should be textContent 2014-05-08 01:31:51 -07:00
ccd0
8d9d230a60 don't execute SVG javascript 2014-05-08 00:59:06 -07:00
Zixaphir
523d6bd9c4 Merge branch 'ccd0' into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.user.js
	builds/crx.crx
	builds/crx/script.js
	src/General/Build.coffee
	src/General/Index.coffee
	src/General/Main.coffee
	src/General/Navigate.coffee
	src/General/css/style.css
	src/General/html/Build/post.html
	src/General/html/Features/Index-navlinks.html
	src/General/lib/post.class
	src/Images/Gallery.coffee
	src/Images/ImageExpand.coffee
	src/Images/ImageHover.coffee
	src/Miscellaneous/Banner.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Posting/QR.captcha.coffee
	src/Posting/QR.coffee
	src/Posting/QR.post.coffee
	src/Quotelinks/QuoteBacklink.coffee
	src/Quotelinks/Quotify.coffee
2014-05-03 02:03:35 -07:00
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
Zixaphir
523482cfcd Fix Link Title 2014-04-03 16:25:07 -07:00
Zixaphir
46478eb4d0 Merge branch 'duckness' into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Linkification/Linkify.coffee
	src/Posting/QR.captcha.coffee
	src/Posting/QR.coffee
2014-04-03 14:52:55 -07:00
ccd0
9193c3e0f1 fix wrongly embedded links with dummy types 2014-03-31 21:20:12 -07:00
Zixaphir
bbc8899cf1 Lets just build that so that we don't have to do so many logic checks 2014-03-30 18:24:42 -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
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