1665 Commits

Author SHA1 Message Date
Jordan Bates
2094164ff3 Strawpoll embedding, close #206 2013-11-10 23:35:32 -07:00
Mayhem
61d55c2cba Thank feedbackers. 2013-11-10 01:37:21 +01:00
Mayhem
4d27a81888 Extra return to clean up transpiled code. 2013-11-09 18:37:09 +01:00
Mayhem
6975a766b9 Update font-awesome. 2013-11-07 22:34:41 +01:00
Mayhem
ab83d61171 Allow "Shift+[not a letter or number]" keybinds to work in inputs. 2013-11-05 10:49:09 +01:00
Mayhem
f09121ab2e More index tweaking/optimization and small thread hiding fix.
Most feature that need to be called on each index refresh don't need
to be called on every single page build, but only after building the
threads. ThreadHiding needs to be fired on each page build to ensure
that the stub summaries fit with the number of replies, so it has to
wait for the last replies to be added. This also fixes the bug where
ThreadHiding was creating one extra stub on each IndexRefresh event.
2013-11-05 01:21:26 +01:00
Mayhem
8f56d3e415 Remove some now useless code in ExpandThread and small cleanup in ThreadHiding. 2013-11-04 21:32:58 +01:00
Mayhem
5f1ce2d9ec Adjust initial index refresh notice delay, changelog. 2013-11-04 18:47:42 +01:00
Mayhem
293bf70aee Bring back Catalog link in the pagelist. 2013-11-04 18:41:23 +01:00
Mayhem
1c66c6a604 Don't display the index refreshing notice on intial page load for fast connections. #1322 2013-11-04 12:06:10 +01:00
Mayhem
66189e449c Update the number of replies in thread stubs after an index refresh. 2013-11-04 11:22:49 +01:00
Mayhem
451661077d Remove outdated temporary workarounds. 2013-11-04 10:48:35 +01:00
Mayhem
09daa29220 Fix some hasty copy-paste gone wrong. 2013-11-04 01:21:04 +01:00
Mayhem
b56a987600 Fix next/prev thread keybinds when encountering hidden threads with no stubs. 2013-11-04 00:05:59 +01:00
Mayhem
301d5d8a7a Typo. 2013-11-03 23:58:06 +01:00
Mayhem
94322e3dd8 Index optimization: only build/load last replies of visible threads. 2013-11-03 18:55:58 +01:00
Mayhem
bc0f5fcc3b Avoid creating new thread root+<hr> when they already exist. 2013-11-03 17:14:01 +01:00
Mayhem
aeea95564c Don't need to reprettyprint inside of threads. 2013-11-03 16:58:50 +01:00
Mayhem
bddb032dac We only have to look for one thread when visiting thread pages. 2013-11-03 16:47:22 +01:00
Mayhem
a1a12aaf23 Make sure posts are read when scrolling via next reply keybind. 2013-11-03 13:57:55 +01:00
Mayhem
81a2b096a1 Introduce Header.{scrollToIfNeeded,getTopOf,getBottomOf}() and use them.
4chan X - now with proper bottom header support.
2013-11-03 01:27:23 +01:00
Mayhem
54eaa9adea Disable enhanced index on /f/. 2013-11-02 20:29:06 +01:00
Mayhem
0eb224e077 Simpler summary creation, tiny Build.thread() optimization. 2013-11-02 19:21:06 +01:00
Mayhem
d00597f53d Remove comment expansion-related code. 2013-11-02 19:21:06 +01:00
Mayhem
a223568937 Fix pretty-printing on Chrome. 2013-11-02 19:21:06 +01:00
Mayhem
6460d5e0c1 Fix early notices. 2013-11-02 19:21:06 +01:00
Mayhem
61cd553a64 Fix/Refactor ExpandThread.coffee 2013-11-02 19:21:06 +01:00
Mayhem
a0d3694b61 Fix minor bugs with keybinds/pageload + index. 2013-11-02 19:21:06 +01:00
Mayhem
7fd72676cb Fix spoiler thumbnails when building threads. 2013-11-02 19:21:06 +01:00
Mayhem
4c00c6f9ae Add thread refresh shortcut. 2013-11-02 19:21:05 +01:00
Mayhem
6dcf11db66 Don't break Header.hashScroll() for #top and #bottom. 2013-11-02 19:21:05 +01:00
Mayhem
0540dcf30f Instantaneous index page navigation.
Also fix page navigation keybinds.
2013-11-02 19:21:05 +01:00
Mayhem
bc72f0f763 Create importHTML function, and use it. 2013-11-02 19:21:05 +01:00
Mayhem
47710a7c6e Build the pagelist dynamically. 2013-11-02 19:21:05 +01:00
Mayhem
feb8e09c5a Support hidpi post icons. 2013-11-02 19:21:05 +01:00
Mayhem
9c81b6e459 Put the stickies on top of the index. 2013-11-02 19:21:05 +01:00
Mayhem
2f9e44a773 Update the threads sticky/closed status on each index refresh.
Also fix the position of the sticky/closed icon.
2013-11-02 19:21:05 +01:00
Mayhem
c8f7eef912 Fix and tweak watcher updater after an index refresh. 2013-11-02 19:21:05 +01:00
Mayhem
7e8fd31733 Toggle the pagelist visibility via CSS to avoid a crash when the index update is done before the element exists.
Also only send the If-Modified-Since HTTP header when we have something significant to send.
2013-11-02 19:21:05 +01:00
Mayhem
855b7f0173 Add 3 index sorting options: reply count, file count, last reply. 2013-11-02 19:21:05 +01:00
Mayhem
5b6c1df083 Load the index asap on page load. 2013-11-02 19:21:04 +01:00
Mayhem
29b96a4a07 Make the index header shortcut spin while refreshing the index. 2013-11-02 19:21:04 +01:00
Mayhem
d2587e4bb2 Refactor index generation/sorting. 2013-11-02 19:21:04 +01:00
Mayhem
092d9317e0 Add sorting options by bump order and creation date. 2013-11-02 19:21:04 +01:00
Mayhem
0038f1f011 Slightly better consistency between "reload"/"refresh"/"update" usage. 2013-11-02 19:21:04 +01:00
Mayhem
22c561b796 Take into account dead threads in the watcher after an index refresh. 2013-11-02 19:21:04 +01:00
Mayhem
79644546ce Only listen to 'IndexRefresh' events when browsing the index. 2013-11-02 19:21:04 +01:00
Mayhem
72b38da3af Regenerate the QR threads list correctly after an index refresh. 2013-11-02 19:21:04 +01:00
Mayhem
553c475768 Reduce Index.sort() to 1 loop. 2013-11-02 19:21:04 +01:00
Mayhem
21e6902762 Dereference dead threads.
I wonder if this will be enough...
2013-11-02 19:21:04 +01:00