46 Commits

Author SHA1 Message Date
ccd0
c95feb8206 fix gallery 404 handling 2014-07-10 23:03:21 -07:00
ccd0
45eac0f77f use ended event for end of video detection; stop slideshow on manual pauses 2014-07-05 23:31:10 -07:00
ccd0
3a95789a7e better: selecting anything but a subsequent image ends the slideshow 2014-07-05 18:46:18 -07:00
ccd0
ac9b152a64 clicking the image stops the slideshow 2014-07-05 17:40:42 -07:00
ccd0
045260362d add Slide Delay setting 2014-07-05 14:43:06 -07:00
ccd0
815f58be8b add keybinds for toggling slideshow and video pausing 2014-07-05 12:56:58 -07:00
ccd0
a5494c8a2e Guard against double insertion.
This was a problem when the gallery was opened before the page was
done parsing.
2014-07-05 12:32:32 -07:00
ccd0
ea5d27a502 center selected gallery thumbnail 2014-07-05 12:27:13 -07:00
ccd0
c8b38a5d11 add error handler before setting file.src 2014-07-05 12:11:15 -07:00
ccd0
642fe1b2d5 implement slideshow mode for gallery 2014-07-05 07:47:45 -07:00
ccd0
109bcebf3f controls need not prevent the keybinds from working 2014-07-04 20:51:44 -07:00
ccd0
9ce0d0e209 fix gallery count 2014-07-04 20:45:05 -07:00
ccd0
d9ab0854ae this should be nodes.thumbs 2014-07-04 20:18:30 -07:00
Zixaphir
67dab205d3 Enable video controls! 2014-07-04 19:50:11 -07:00
ccd0
cabbd58918 fix PDF in gallery 2014-07-04 19:47:24 -07:00
Zixaphir
6abb88a11f Gallery reflows.
Conflicts:
	builds/4chan-X-beta.user.js
	builds/4chan-X.user.js
	src/Images/Gallery.coffee
2014-07-04 19:32:38 -07:00
ccd0
9324572a5e img -> file in Gallery 2014-07-04 19:13:33 -07:00
ccd0
cdb83f744a cleanup menu code 2014-06-18 22:39:19 -07:00
ccd0
efc852464f don't use event for adding to menu internally 2014-06-17 21:12:07 -07:00
ccd0
bca59889c7 drop sound option until we actually get sound somewhere 2014-05-16 19:52:18 -07:00
ccd0
9773307a9a move gallery HTML into its own file 2014-05-15 02:36:42 -07:00
ccd0
1189b71029 this seems to be a common pattern 2014-05-14 14:16:16 -07:00
ccd0
75f639172b use single quotes when possible 2014-05-14 00:24:12 -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
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
e69d6b2e7c gallery thumbnail shouldn't clone contracted image/video 2014-04-07 13:30:12 -07:00
Zixaphir
b62d82bed0 Mayhem made responseType JSON default for any URL containing .json. 2014-01-24 14:48:39 -07:00
Jordan
26ee14e688 Update font-awesome 2014-01-08 23:33:52 -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
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
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
Jordan Bates
a62323915d Gallery tweaks
Also fix hide thumbnails
2013-08-25 17:12:00 -07:00
Zixaphir
4435b84f3f Sometimes, I'm dumb 2013-08-25 09:13:05 -07:00
Zixaphir
9353bcd50d Separate Gallery and Image Expansion fit width / height 2013-08-25 08:47:09 -07:00
Zixaphir
5c43ffb272 Get some rudimentary error handling setup in the gallery
This is mostly just Mayhem's ImageExpand error code, refactored
for the context of the gallery.
2013-08-25 08:31:34 -07:00
seaweedchan
6598b5a45e Merge Zixaphir X 2013-08-25 01:15:47 -07:00
Zixaphir
c6b3f0b9b6 Focus a focusable element instead of trying to focus the image 2013-08-24 22:23:07 -07:00
Zixaphir
209154d905 Add some scrolling to the Thumbnail bar. 2013-08-24 22:19:30 -07:00
Zixaphir
f07a0a1694 Gallery.thumbs > Gallery.nodes.thumbs 2013-08-24 14:04:50 -07:00
Zixaphir
8c1ac1710a Gallery stuff. 2013-08-23 14:37:20 -07:00
seaweedchan
9a43535675 Some small gallery tweaks 2013-08-23 03:01:13 -07:00
Zixaphir
8e4d88eb16 Port Appchan's Gallery 2013-08-22 12:28:55 -07:00