442 Commits

Author SHA1 Message Date
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
Mayhem
985afb2a1a Support 4cdn. 2013-11-21 23:11:02 +01:00
Mayhem
16a21fd087 Merge pull request #1339 from ihavenoface/v3
Add hide header on scroll. Close #1138
2013-11-20 17:23:14 -08:00
noface
216dca44ae Add hide header on scroll. Close #1138 2013-11-21 02:10:23 +01:00
Mayhem
a6d41a0de0 Refactor RelativeDates, and fix the last index refresh timer not being always updated. 2013-11-19 11:55:39 +01:00
Mayhem
7118c71695 Index sort tweak: search before sorting sticky/pinned threads.
That way we only have to sort the matched threads when searching.
2013-11-18 12:06:03 +01:00
Mayhem
06a06686b4 Add link to download-canceller bug. 2013-11-18 12:00:52 +01:00
Mayhem
b2b4197249 Change the OP page indicator. 2013-11-16 20:19:17 +01:00
Mayhem
06e83cc5f6 Fix relative index refresh date on Firefox. 2013-11-16 15:57:48 +01:00
Mayhem
ffc625259e Replace the times symbol with fa-times. #1338 2013-11-16 15:57:47 +01:00
Mayhem
e7dfbf776b Add a page indicator on OPs in the index. 2013-11-16 15:57:47 +01:00
Mayhem
8afcac8d6f Add the Show replies index setting. 2013-11-16 15:57:47 +01:00
Mayhem
07bca42d63 Rebuild the pagelist when searching. 2013-11-16 15:57:47 +01:00
Mayhem
ac7b7661ca Jump to page zero when starting to search.
Jump back to the previous page when clearing the search.
2013-11-16 15:57:47 +01:00
Mayhem
2248e4de16 Fix the index search clear button appearance on Firefox. 2013-11-16 15:57:47 +01:00
Mayhem
67e75bd2fb Prevent content inside of .board from being downloaded on intial page load.
See comments in the code.
2013-11-16 15:57:47 +01:00
Mayhem
91dd12213e Focus the index search input after clearing it. 2013-11-16 15:57:47 +01:00
Mayhem
e9a128da70 Add search-clearing button. 2013-11-16 15:57:47 +01:00
Mayhem
564e799d31 Indicate the elapsed time since the last index refresh at the top of the index. 2013-11-16 15:57:46 +01:00
Mayhem
bd2fe915eb Fix position of navlinks on Firefox. 2013-11-16 15:57:46 +01:00
Mayhem
dcdb530d19 Searches should match all keywords. 2013-11-16 15:57:46 +01:00
Mayhem
a8209eaa89 Add index searching. Close #1318 2013-11-16 15:57:46 +01:00
Mayhem
d20e62dda2 Remove sending error logs.
I don't have the time to look into them actively,
and the majority of logs were not useful.
2013-11-15 21:11:32 +01:00
Mayhem
c762a7c1a1 Fix file deleted icons for OPs.
Class attribute was wrong.
2013-11-15 02:10:23 +01:00
Mayhem
6975a766b9 Update font-awesome. 2013-11-07 22:34:41 +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
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
09daa29220 Fix some hasty copy-paste gone wrong. 2013-11-04 01:21:04 +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
bddb032dac We only have to look for one thread when visiting thread pages. 2013-11-03 16:47:22 +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
6460d5e0c1 Fix early notices. 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
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
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
5b6c1df083 Load the index asap on page load. 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