147 Commits

Author SHA1 Message Date
Mayhem
b05fa8159f Remove [Catalog] links in threads. 2014-01-29 16:40:34 +01:00
Mayhem
1aa467b051 Remove all inline catalog-related code. 2014-01-29 16:25:52 +01:00
Mayhem
a4ef601748 Refactor the catalog thread views business with a class. 2014-01-29 14:32:28 +01:00
Mayhem
9f682bea14 Alt+click to pin threads in the catalog. 2014-01-28 10:26:46 +01:00
Mayhem
a8002930f4 Warn users of the official catalog of the incoming support removal. 2014-01-26 22:18:29 +01:00
Mayhem
509156a956 Don't use the IndexBuild event for hiding threads. 2014-01-26 20:29:21 +01:00
Mayhem
bdf2b4a6ba Update thread post/file count on index refresh in the catalog. 2014-01-26 17:20:29 +01:00
Mayhem
154ad07cd7 Initial index catalog mode work. 2014-01-25 17:01:06 +01:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01:00
Mayhem
0e10e3fd81 Fix index search going badly when inputing only spaces. 2014-01-20 22:45:34 +01:00
Zixaphir
b0ca427207 Revert "Fix updating the context of threads and index"
This reverts commit e7b1c52dbf9f25aec32bea64c712ee4075f7ef6f.
2014-01-18 14:11:36 -07:00
Zixaphir
e7b1c52dbf Fix updating the context of threads and index 2014-01-18 14:07:56 -07:00
Zixaphir
7eb2d0aa34 Mostly fix everything broken. Mostly. 2014-01-16 16:44:18 -07:00
Zixaphir
6095a97921 More of a proof of concept than anything. May revert? 2014-01-16 11:07:19 -07:00
Zixaphir
c32390c437 Small oversights 2014-01-16 10:02:08 -07:00
Zixaphir
69288c7ebe More or less just trying to optimize this. 2014-01-16 09:56:20 -07:00
Zixaphir
ef99677f14 Consolidate things a little 2014-01-16 08:28:40 -07:00
Zixaphir
d34284a8d0 I misunderstood: we're not caching the result with lastmodified. 2014-01-16 04:31:27 -07:00
Zixaphir
3b7aa9f398 Deal with 304 status with board navigation 2014-01-16 04:27:33 -07:00
Zixaphir
30f4d0922b Don't change titles until we've successfully navigated. 2014-01-15 17:09:25 -07:00
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