111 Commits

Author SHA1 Message Date
ccd0
12b0bdb8b0 Don't escape the text of sauce links
also add a '?' link instead of crashing when the host name can't be identified
2014-05-12 21:56:25 -07:00
ccd0
57ed5e8055 fix privilege escalation vulnerability 2014-05-12 21:46:18 -07:00
ccd0
57f780ebfb apply Mayhem's quoting fix 2014-05-03 08:23:02 -07:00
ccd0
a452b732fd change res -> thread in JSON API URLs 2014-04-13 01:46:18 -07:00
ccd0
814b64b31c update URLs to 4cdn.org 2014-04-12 22:37:27 -07:00
ccd0
9acdd4bd85 tolerate new image links 2014-04-12 22:14:35 -07:00
ccd0
43ff113fe9 forgot to add this file 2014-04-10 01:35:37 -07:00
ccd0
ff057d4f29 configure videos opened in new tab 2014-04-10 01:33:11 -07:00
ccd0
60f869d818 add .webm, .pdf support to gallery 2014-04-09 02:55:32 -07:00
ccd0
2af481a68e fix gallery 2014-04-08 20:04:58 -07:00
ccd0
be50e4b1f4 add 'Expand videos' setting 2014-04-07 21:17:19 -07:00
ccd0
f490aab2ab need to change it here too 2014-04-07 21:05:38 -07:00
ccd0
f64fa9e08a disable autoplay when expanding all images 2014-04-07 20:52:36 -07:00
ccd0
bf09a5d008 play clone if original is playing 2014-04-07 20:27:42 -07:00
ccd0
fe1b68a635 change UI for no autoplay, no controls 2014-04-07 18:23:33 -07:00
ccd0
1ef501fc91 set up clones of videos properly 2014-04-07 17:38:00 -07:00
ccd0
e69d6b2e7c gallery thumbnail shouldn't clone contracted image/video 2014-04-07 13:30:12 -07:00
ccd0
ddf202397c Allow drag left even when controls are off
Will be helpful if someone activates controls by right-clicking.
2014-04-06 21:54:20 -07:00
ccd0
98514dd986 this should get width fitting working again
hopefully it doesn't break anything else
2014-04-06 21:38:44 -07:00
ccd0
5361e39337 fix here too 2014-04-06 19:58:42 -07:00
ccd0
53f6aac3d7 fix brainfart 2014-04-06 19:45:57 -07:00
ccd0
5f95bf3e3c using el.videoHeight here does help
The whole thing appears to be a hack, though;
we should really be using the image dimensions
from the file info.
2014-04-06 19:17:58 -07:00
ccd0
81f1dbf0fb work around FF forever-loading bug, other tweaks
Conflicts:
	CHANGELOG.md
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:09:09 -07:00
ccd0
49d76b4177 fix video controls 2014-04-06 16:07:18 -07:00
ccd0
52949b545e fix hover/expand so it works when switching between catalog/paged modes
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:06:55 -07:00
ccd0
0f770459c0 get new hover working in catalog
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/UI.coffee
	src/Images/ImageHover.coffee
2014-04-06 16:06:11 -07:00
ccd0
74ef633fd7 better approach to hover css
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:04:36 -07:00
ccd0
113dde4eae remove listeners on contract 2014-04-06 16:03:47 -07:00
ccd0
342672bab3 implement length 1 queue of videos to be deleted 2014-04-04 22:11:17 -07:00
ccd0
07d5b9eeb8 global sound option 2014-04-04 15:35:16 -07:00
ccd0
26576b4420 video hover 2014-04-04 15:09:56 -07:00
ccd0
03c25ee34a add video expansion 2014-04-04 11:56:10 -07:00
Zixaphir
2ac2286ad5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	src/General/lib/$.coffee
	src/Images/Sauce.coffee
2014-01-28 01:11:06 -07:00
ParrotParrot
0aaa9af8cc changed to lowercase 2014-01-25 20:35:12 +01:00
ParrotParrot
dbd4de88b1 %NAME is indeed better 2014-01-25 20:31:27 +01:00
ParrotParrot
7a2faf861e Added %FNAME case to link.replace switch 2014-01-25 20:10:40 +01:00
Zixaphir
b62d82bed0 Mayhem made responseType JSON default for any URL containing .json. 2014-01-24 14:48:39 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00
Mayhem
1eaf43e39a Fetch the image's HEAD status to see if it's still available or not.
Chrome bypasses the lack of CORS because we've allowed `i.4cdn.org` in the manifest.
2014-01-22 16:52:46 +01:00
Zixaphir
702a343f5e Fix image expansion
DURR
2014-01-21 13:57:28 -07:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Jordan
26ee14e688 Update font-awesome 2014-01-08 23:33:52 -07:00
Zixaphir
6dd2e60e9a Element.contains was not Array.contains, lol 2013-12-25 10:10:51 -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
0033c5370f Don't make last minute changes without testing. ;__; 2013-12-16 14:11:15 -07:00
Zixaphir
545a1f346f "Fix" Fappe/Werk Tyme and actually fix Werk Tyme. 2013-12-16 13:36:19 -07:00
Zixaphir
adaa09aaaa Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Fix some issues with previous merge.

Conflicts:
	CHANGELOG.md
	package.json
	src/General/Header.coffee
	src/Linkification/Linkify.coffee
2013-12-06 17:11:36 -07:00
Mayhem
3efffe8a6e Fix 4chan X for markup change. 2013-12-07 00:03:55 +01:00
Zixaphir
a3c1afa5cd Merge -- probably bugged until I sort out everything
that's actually changed. Honestly, all I wanted was the
4cdn changes, but any excuse to merge was good enough, I guess.

Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3

Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	changelog-old
	css/style.css
	html/General/Settings.html
	html/Monitoring/ThreadUpdater.html
	html/Monitoring/ThreadWatcher.html
	html/Posting/QR.html
	package.json
	src/Filtering/ThreadHiding.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/post.class
	src/General/meta/manifest.json
	src/Images/ImageExpand.coffee
	src/Meta/banner.js
	src/Miscellaneous/ExpandComment.coffee
	src/Miscellaneous/ExpandThread.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Miscellaneous/Nav.coffee
	src/Monitoring/Favicon.coffee
	src/Monitoring/ThreadStats.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Monitoring/ThreadWatcher.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
2013-11-22 17:25:06 -07:00