104 Commits

Author SHA1 Message Date
ccd0
3731d49cef Adjust gallery 'Stretch to Fit' height when window is resized. 2016-02-14 23:31:51 -08:00
ccd0
34c8da43c4 Reorganization: Move stuff out of src/General. 2015-11-15 11:57:19 -08:00
ccd0
257aa767f0 Don't unpause before contracting WebM / advancing in gallery unless Autoplay is off. 2015-10-26 23:03:08 -07:00
ccd0
4ec63c7cd2 Move variable init to make code clearer. 2015-10-17 22:41:09 -07:00
ccd0
f48b79c2cf Disable gallery preloading unless moving forward by one.
Otherwise it can cause more performance problems than it fixes.
2015-10-17 22:34:30 -07:00
ccd0
9a60537365 Fix issue with FF41 not updating width when height was changed.
With Fit Width on, Fit Height off, Stretch to Fit on.
Needs to be investigated more but this fixes it for now.
2015-10-17 22:02:53 -07:00
ccd0
81712c5cd9 Implement 'Stretch to Fit' option. 2015-06-13 18:30:53 -07:00
ccd0
3da37b28a3 No need to search for old selected thumbnail. 2015-06-13 15:39:20 -07:00
ccd0
0bfbfc6b18 Preload next image in gallery. #353 2015-06-12 22:29:13 -07:00
ccd0
d7b84817b0 Fix do-nothing assignment to post. 2015-06-05 12:20:18 -07:00
ccd0
c2080e8629 file.URL -> file.url 2015-04-12 22:45:36 -07:00
ccd0
d6f2d9492e Parse /f/ files. 2015-03-14 17:50:37 -07:00
ccd0
2b8ce2c1a8 Extend Mouse Wheel Volume to expanded videos and gallery. 2015-02-15 00:29:59 -08:00
ccd0
fd90b642bf Rewrite gallery condition correctly. 2015-02-06 19:22:16 -08:00
ccd0
1aba932f8b Revert change to gallery condition.
Thumbnails should not be excluded from the gallery unless they were
already deleted when we loaded the page.
2015-02-06 10:03:25 -08:00
ccd0
b74cf487f6 Pause and mute videos when removing them from the document. 2015-02-04 01:33:21 -08:00
ccd0
a59a036a07 Fix Gallery.error so it can be removed from the image/video. 2015-02-04 01:11:34 -08:00
ccd0
e1b63d4a99 Follow Zixaphir in adding space to label in UI.checkbox.
Change settings checkbox (where space was unwanted) to HTML template.
2015-02-03 00:23:44 -08:00
ccd0
0fa2498d71 Remember mute/volume settings of last video adjusted.
Also put mute/volume controls in the header menu.
2015-01-31 17:56:45 -08:00
ccd0
c0f4a85a28 Merge from Appchan X: src/Images 2015-01-31 02:57:01 -08:00
ccd0
8df52a0b24 Merge from Appchan X: Whitespace and other changes not affecting compiled script. 2015-01-31 02:50:38 -08:00
ccd0
43454eae88 WebMs with sound sighted on /wsg/! 2015-01-30 22:00:08 -08:00
ccd0
d65dc2ca97 Fix a bunch of feature initialization conditions.
Conflicts:
	LICENSE
	builds/appchan-x.user.js
	builds/crx/script.js
	src/Filtering/PostHiding.coffee
	src/General/Index.coffee
	src/General/Navigate.coffee
	src/Images/FappeTyme.coffee
	src/Images/Gallery.coffee
	src/Images/ImageExpand.coffee
	src/Images/ImageLoader.coffee
	src/Menu/Labels.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Monitoring/ThreadWatcher.coffee
2015-01-26 02:57:55 -08:00
Zixaphir
29fd66898e Move download function in ImageCommon
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
	src/Images/ImageCommon.coffee
2015-01-25 10:24:49 -08:00
Zixaphir
c84a8abd55 Add download functionality to Gallery, as originally intended.
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
2015-01-25 10:03:54 -08:00
ccd0
bed88c3324 Remove contract button; work around controls by estimating their position. 2015-01-25 09:41:48 -08:00
ccd0
4fb30a4d8f Support archived thread list page. 2015-01-04 09:47:03 -08:00
ccd0
f109440e96 Fix gallery enabling keybinds when they are disabled. 2014-12-26 02:15:01 -08:00
ccd0
0e1f76c6a7 Move fullscreen request to beginning of Gallery.build. 2014-11-25 23:47:28 -08:00
ccd0
d08583e2e6 Exit gallery on fullscreen exit. 2014-11-22 19:52:26 -08:00
ccd0
ff7793bb96 Make some of the gallery keybinds configurable. 2014-11-22 19:16:22 -08:00
ccd0
e9802b3458 Implement Fullscreen Gallery option. 2014-11-22 18:13:55 -08:00
ccd0
0de0ab9690 Fix gallery slideshow bug. 2014-11-22 12:25:03 -08:00
ccd0
f5c4bf379f Revert "Revert "Fix error notifications in gallery another way.""
This reverts commit d71d2e6edcf32edc47d7d01c154bac68c19f10b2.
2014-10-12 10:43:26 -07:00
ccd0
d71d2e6edc Revert "Fix error notifications in gallery another way."
This reverts commit 235e9199c2f90c4df76f2f02e13d603679a64590.
2014-10-11 13:24:39 -07:00
ccd0
235e9199c2 Fix error notifications in gallery another way. 2014-10-09 08:35:53 -07:00
ccd0
2144430d71 Fix gallery opening
- when there are no images
- when we have scrolled past the last image
2014-09-16 15:25:34 -07:00
ccd0
ff273d7ac0 this seems to fix the anomalous scrolling in Firefox 2014-08-16 14:15:19 -07:00
ccd0
6bab577e14 Revert "don't scroll to post when initially opening gallery"
This reverts commit 432f1c4b36b16e121cdb416890a12a9f0db6e2f7.
2014-08-16 13:47:13 -07:00
ccd0
0fa82353f4 fix bug in opening gallery to current image when image was expanded 2014-08-16 13:16:00 -07:00
ccd0
432f1c4b36 don't scroll to post when initially opening gallery 2014-08-16 13:06:57 -07:00
ccd0
37651b50b9 move some stuff out of Gallery.cb 2014-08-16 12:50:14 -07:00
ccd0
c9d2f66d42 Make gallery open at the image we've scrolled to.
Also fixes a bug with spoilered image file names.
2014-08-13 00:38:36 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
ccd0
546f734ce0 use archive when 4chan unreachable, but don't mark post deleted 2014-08-01 22:21:32 -07:00
ccd0
f80fe44aea fix image 404 redirect 2014-07-28 00:12:21 -07:00
ccd0
c5e2b2ee78 this fixes the extra errors in the gallery (when leaving an unplayable video) 2014-07-27 17:17:42 -07:00
ccd0
09dee74ca5 unexpanded images still being retried should be shown as expanding 2014-07-27 03:00:23 -07:00
ccd0
b224d20896 don't show controls on videos until the mouse is moved over them 2014-07-26 23:15:16 -07:00
ccd0
3aa96b32f0 improve error handling 2014-07-26 19:00:57 -07:00