226 Commits

Author SHA1 Message Date
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
bcd7ab21e3 Make the JSON Navigation / Index features optional 2014-01-13 19:33:42 -07:00
Zixaphir
d8154e8ae2 Lets not push states for infinite scrolling. :) 2014-01-13 19:25:36 -07:00
Zixaphir
3f849a95d8 Use brackets-wrap
This also should make things easier for people who use userstyles
who would want to hide brackets or otherwise change their content
without resorting to weird hacks, like changing the font size of
the parent element to 0 and making text invisible, and then
reverting it in child elements.
2014-01-12 23:49:25 -07:00
Zixaphir
251eaf802f Fix Favicon on Catalog 2014-01-12 19:44:47 -07:00
Zixaphir
2c6a26ca89 Fix catalog link, fix Index on catalog.
It should have never ran on catalog, honestly.
2014-01-12 19:21:21 -07:00
Zixaphir
678e4d1116 I guess that got reverted in a merge. 2014-01-12 18:03:54 -07:00
Zixaphir
1b368e4edc Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Archive/Redirect.coffee
	src/General/Index.coffee
2014-01-12 14:52:47 -07:00
seaweedchan
e5fd95158b Start work on infinite scrolling 2014-01-12 01:15:31 -07:00
Zixaphir
b3c33bb39b Merge branch 'v3' into json
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Archive/Redirect.coffee
2014-01-11 12:09:33 -07:00
Zixaphir
de16671c49 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	LICENSE
	json/archives.json
2014-01-11 12:07:46 -07:00
Zixaphir
1277d32161 The previous behavior was causing multiple notifications
on if you switched between boards too quickly
2014-01-11 11:33:51 -07:00
Zixaphir
4ae16f4131 Set a close timeout on the Index.notify 2014-01-11 11:31:15 -07:00
Zixaphir
3a76018fe4 Add return buttons and the like to the Index.navLinks
We need to generate these now because the Index features always
will remove them.
2014-01-11 00:04:44 -07:00
Zixaphir
d0e0a21e2f Prevent Index.scroll() from firing while loading the Index 2014-01-10 22:56:26 -07:00
Jordan
a418ba15e1 Add in Zixaphirs infinite scrolling 2014-01-10 22:35:27 -07:00
Zixaphir
4957eca880 That appears to work 2014-01-10 21:49:07 -07:00
Zixaphir
1d8546dd74 That's right, we init in thread now, too. 2014-01-10 21:44:19 -07:00
Zixaphir
f0a90a12c5 While we're here, restore infinite scrolling functionality. 2014-01-10 21:39:36 -07:00
Zixaphir
55453f02e4 The refresh button behavior should be dependent on the view 2014-01-10 20:19:28 -07:00
Zixaphir
b5f357bcfe It's more efficient for us for this to be where it was
But it doesn't help anyone else. IndexBuild shouldn't be thrown
until the Index is actually build so people can deal with the nodes
2014-01-10 19:52:38 -07:00
Zixaphir
ab8607710b Switch document class names when switching between views 2014-01-09 14:49:05 -07:00
Zixaphir
e7e411142f Better 2014-01-09 14:16:16 -07:00
Zixaphir
b3da171392 ...and how about not breaking the Index features in the process? 2014-01-09 14:11:57 -07:00
Zixaphir
22c244ce69 Finally fix Index from Thread navigation 2014-01-09 14:09:19 -07:00
Zixaphir
18d3d6b6e9 Merge branch 'v3' into json
Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Index.coffee
	src/General/Main.coffee
2014-01-09 12:32:59 -07:00
Jordan
5779893f7f Who needs redundancies anyway 2014-01-08 22:01:17 -07:00
Jordan
82cc82c30d The most autistic commit ever 2014-01-08 21:51:37 -07:00
Jordan
6f45d41823 Change .current click behavior 2014-01-08 21:49:35 -07:00
Jordan
875a546668 Remove index refresh notifications, re-order some menus 2014-01-08 21:03:10 -07:00
Zixaphir
1e7fc8ea65 Reflows. 2014-01-08 15:40:57 -07:00
Zixaphir
fca2645787 Improve navigation between boards
Also allow navigation to indexes from boards.
2014-01-08 11:40:58 -07:00
Zixaphir
41e3fa05ad Start working on getting index navigation from a thread working 2014-01-08 09:30:23 -07:00
Zixaphir
9368cbb232 Reorder Index menu entries 2014-01-07 22:35:06 -07:00
Zixaphir
456c9af18d Bind an index refresh to the current board's link
I mean, this makes sense, right?
2014-01-07 11:52:07 -07:00
Mayhem
60f3f88178 Notify users when index refresh failed due to a server/network error. 2014-01-06 12:24:57 +01:00
Zixaphir
cfb883d8da Alternative text for Refresh Shortcut. seaweedchan/4chan-x#212
DUH, I DUMB
2013-12-21 19:29:22 -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
1f411efb1e Refactor Index.sort and fix hidden+highlighted threads should be at the end. 2013-12-14 18:00:57 +01:00
Mayhem
f34288511b Use the Last-Modified header's date for the index refresh timer.
Instead of showing how long has it been since we refreshed the index,
we show how long has it been since the index has changed on 4chan's side.
That'll be a more meaningful timer when 4chan freezes for example.
2013-12-12 02:18:53 +01:00
Mayhem
3928ae08e0 Fix #1365. 2013-12-12 02:10:53 +01:00
Mayhem
ceff7c5d5f Add Refreshed Navigation setting.
Close #1323, #1332.
2013-12-12 02:03:18 +01:00
Mayhem
f17f9fd441 Anchor hidden threads on the index. 2013-12-12 02:03:18 +01: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
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
06e83cc5f6 Fix relative index refresh date on Firefox. 2013-11-16 15:57:48 +01:00
Mayhem
e7dfbf776b Add a page indicator on OPs in the index. 2013-11-16 15:57:47 +01:00