798 Commits

Author SHA1 Message Date
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
Mayhem
c2984275e5 Add index refresh shortcut in the header bar.
Also fix lazy/lame implementation of Header.addShortcut()
2013-11-02 19:21:04 +01:00
Mayhem
66ebbd87f0 Fix thread hiding after an index refresh. 2013-11-02 19:21:04 +01:00
Mayhem
df62c78ed9 After an index refresh, only scroll down if needed. 2013-11-02 19:21:03 +01:00
Mayhem
f0d19e6a5c Fix threads highlighted by the filter not being put on top. 2013-11-02 19:21:03 +01:00
Mayhem
11c3b0018a Fix thread watcher/expansion/hiding buttons after an index refresh. 2013-11-02 19:21:03 +01:00
Mayhem
43567173fc Use a sub-entry instead of a <select> for the index mode switcher. 2013-11-02 19:21:03 +01:00
Mayhem
6918d67d5d Disable next/previous page keybinds in non-paged mode. 2013-11-02 19:21:03 +01:00
Mayhem
e012cc4d64 Hide the page list in non-paged mode. 2013-11-02 19:21:03 +01:00
Mayhem
1996fc4351 Add all-pages index navigation. Close #1133 2013-11-02 19:21:03 +01:00
Mayhem
a5d72fe515 Build missing [Reply] button. 2013-11-02 19:21:03 +01:00
Mayhem
fecf286d26 Make index page refreshing work. 2013-11-02 19:21:03 +01:00
Mayhem
ef38269981 Initial work for index navigation improvements. 2013-11-02 19:21:02 +01:00
Mayhem
a22bce79ab Warn users about outdated versions of Greasemonkey. 2013-11-02 19:20:28 +01:00
Mayhem
db29673648 Nuke 404ing boards in DataBoards again.
See 667abe7480b04161ec10cf00fffad17accdf23a0
2013-11-02 16:52:22 +01:00
Mayhem
5157954b09 Sync keybinds across tabs. 2013-10-24 02:00:09 +02:00
Mayhem
4ff5fd287a Update FontAwesome. 2013-10-23 21:13:10 +02:00