170 Commits

Author SHA1 Message Date
seaweedchan
e5fd95158b Start work on infinite scrolling 2014-01-12 01:15:31 -07:00
Jordan
64b13ef184 Board title and announcement tweaks
Close #232, close #233
2014-01-10 08:34:56 -07:00
Jordan
52a287f11f Announcement hiding button in font awesome
Close #231
2014-01-10 07:44:54 -07:00
Zixaphir
8bad58920a Fix not var in obj, var not in obj 2013-12-24 16:31:09 -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
3b1340433e Faster Catalog Links code
Ours is based on @ihavenoface's old catalog code, not @MayhemYDG's,
so we don't particularly benefit from advancements in his code, per
se, without rechecking and validating the quality of our own. This
happens to be a case where we were stuck in an inefficient paradigm
and never revisited.

We now appear much closer to Mayhem's code, but are still mostly
absent from being merged into the rest of the Header code. Whether
we decide to merge or not should probably be discussed at some
point.
2013-12-18 16:55:27 -07:00
Zixaphir
5d6b357135 Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/lib/post.class
2013-12-18 12:21:43 -07:00
Zixaphir
545a1f346f "Fix" Fappe/Werk Tyme and actually fix Werk Tyme. 2013-12-16 13:36:19 -07:00
Zixaphir
a719bbde38 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	package.json
	src/General/Config.coffee
2013-12-16 12:56:09 -07:00
Mayhem
ceff7c5d5f Add Refreshed Navigation setting.
Close #1323, #1332.
2013-12-12 02:03:18 +01:00
Zixaphir
bdba59eccc Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	Gruntfile.coffee
	package.json
	src/Miscellaneous/Keybinds.coffee
2013-12-09 19:00:56 -07:00
Mayhem
26f0fca675 Fix #1376. 2013-12-09 11:18:24 +01:00
Mayhem
e22aa713b3 axe -> axis 2013-12-07 13:58:44 +01:00
Mayhem
6441852793 Fix #1372. 2013-12-07 13:39:55 +01:00
Mayhem
1609e4996b Fix #1371.
Xpaths are fabulous.
2013-12-07 13:36:48 +01:00
Jordan Bates
16fc57ca2d Merge mayhems fix for #214 2013-12-06 17:02:56 -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
Mayhem
985afb2a1a Support 4cdn. 2013-11-21 23:11:02 +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
8afcac8d6f Add the Show replies index setting. 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
a8209eaa89 Add index searching. Close #1318 2013-11-16 15:57:46 +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
8f56d3e415 Remove some now useless code in ExpandThread and small cleanup in ThreadHiding. 2013-11-04 21:32:58 +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
aeea95564c Don't need to reprettyprint inside of threads. 2013-11-03 16:58:50 +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
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
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
0540dcf30f Instantaneous index page navigation.
Also fix page navigation keybinds.
2013-11-02 19:21:05 +01:00
Mayhem
47710a7c6e Build the pagelist dynamically. 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
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