180 Commits

Author SHA1 Message Date
Zixaphir
523d6bd9c4 Merge branch 'ccd0' into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.user.js
	builds/crx.crx
	builds/crx/script.js
	src/General/Build.coffee
	src/General/Index.coffee
	src/General/Main.coffee
	src/General/Navigate.coffee
	src/General/css/style.css
	src/General/html/Build/post.html
	src/General/html/Features/Index-navlinks.html
	src/General/lib/post.class
	src/Images/Gallery.coffee
	src/Images/ImageExpand.coffee
	src/Images/ImageHover.coffee
	src/Miscellaneous/Banner.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Posting/QR.captcha.coffee
	src/Posting/QR.coffee
	src/Posting/QR.post.coffee
	src/Quotelinks/QuoteBacklink.coffee
	src/Quotelinks/Quotify.coffee
2014-05-03 02:03:35 -07:00
ccd0
ec03ab524d Merge branch 'page1' 2014-04-19 15:28:56 -07:00
ccd0
7aeb46abb9 transition to new HTML 2014-04-19 00:28:19 -07:00
ccd0
bb08d503a9 Merge branch 'master' into page1
Conflicts:
	src/General/Index.coffee
	src/Monitoring/ThreadStats.coffee
2014-04-12 20:39:12 -07:00
ccd0
3206724aea fix nonrebuilding of index
Also hide page list in threads instead of deleting.
2014-04-12 20:22:49 -07:00
ccd0
1d29f64451 indexing bugfixes 2014-04-12 18:52:37 -07:00
ccd0
102e5de01e Merge branch 'master' into page1
Conflicts:
	src/General/Index.coffee
2014-04-12 18:40:07 -07:00
Zixaphir
4b3f4d1baf Merge branch 'ccd0' into v3
Conflicts:
	builds/crx.crx
	src/General/Index.coffee
	src/Miscellaneous/Keybinds.coffee
2014-04-12 18:02:25 -07:00
ccd0
5ab31d5e75 fix JSON navigation history bugs 2014-04-12 17:02:08 -07:00
ccd0
b6e5d206f1 update page numbering in Index.coffee 2014-04-12 12:02:28 -07:00
Zixaphir
23cc92d7cc Sort that shit, yo 2014-04-06 21:58:12 -07:00
Zixaphir
46f29fd094 Fix an endless recursion loop 2014-04-06 21:20:58 -07:00
Zixaphir
7818dec073 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	package.json
	src/General/Index.coffee
	src/Images/ImageHover.coffee
2014-04-06 11:49:45 -07:00
Mayhem
a65c724cfb Fix #1536 2014-04-05 14:03:32 +02:00
Zixaphir
55e43147ed Redundant 2014-03-23 12:32:40 -07:00
Zixaphir
4c09eed4cd Holy shit loops 2014-03-21 16:35:27 -07:00
Zixaphir
ca9abdc4e7 Remove Main.callbacknodes 2014-03-14 16:02:19 -07:00
Zixaphir
91a63d1bc2 Fix an issue causing a blank index when navigating
Status 304 a bitch.
2014-03-13 15:15:58 -07:00
Zixaphir
f81c03f5a2 Eliminate Index.liveThreadIDs 2014-03-13 13:56:48 -07:00
Zixaphir
60b3d447c5 Allow searching from URL bar without refreshing the page (add #s=search)
Reduce loops. Because we build threads in a loop, we can build replies
as we're building threads.

Go us.
2014-03-13 13:25:04 -07:00
Zixaphir
4fd7f628f5 Eh, the debounce is kinda pointless. 2014-03-13 02:13:41 -07:00
Zixaphir
b46dc96b52 window.scrollY works in Chrome and Firefox. 2014-03-13 02:07:26 -07:00
Zixaphir
61e1447a5f Lets not even bother linkifying a comment with no links.
Also switch out some loops.
2014-03-12 23:42:32 -07:00
Zixaphir
5cbe5753e8 Use while loops for consistency and also get rid of Array::filter 2014-03-11 14:14:24 -07:00
Zixaphir
dec9775f80 Less Array::map, more manual loops.
Map is slow. http://jsperf.com/arraymap
2014-03-11 13:43:23 -07:00
Zixaphir
a821a01fbe Make the return button work on Catalog view. 2014-03-10 08:04:24 -07:00
Zixaphir
a8baffa972 Disable CatalogSwitch without JSON Navigation 2014-03-10 07:28:40 -07:00
Zixaphir
cf1a4c1cc4 Phase out vanilla catalog 2014-03-08 16:14:16 -07:00
Zixaphir
b7585d9cd4 Lets abandon nesting 2014-03-03 02:37:31 -07:00
Zixaphir
2814818e9b Let's just wrap this all up into some nice, nested loops 2014-03-03 02:32:29 -07:00
Zixaphir
53258c59ae Reduce reduce. 2014-03-03 02:18:37 -07:00
Zixaphir
6760d4b948 Fix some issues causing Navigation functions to fail. 2014-03-03 00:03:55 -07:00
Zixaphir
7677f6bb35 Forgot an if. 2014-03-02 23:23:28 -07:00
Zixaphir
7a7a7facf7 Reflow a ton of navigate and index shit to fix broken shit 2014-03-02 21:04:14 -07:00
Zixaphir
a0c24fd06d Fix some stupid threadupdater issues, more navigate from catalog js 2014-03-01 14:46:37 -07:00
Zixaphir
db5cccc70f Merge branch 'mayhem' into v3 (Bugtesting time... yey... ;__;)
Conflicts:
	css/burichan.css
	css/futaba.css
	css/photon.css
	css/tomorrow.css
	css/yotsuba-b.css
	css/yotsuba.css
	html/General/Settings-section-Main.html
	html/General/Settings.html
	src/Filtering/PostHiding.coffee
	src/General/Build.coffee
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Index.coffee
	src/General/Settings.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadUpdater.coffee
2014-02-28 19:59:04 -07:00
Zixaphir
553a5a9133 Merge branch 'master' of https://github.com/Spittie/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Index.coffee
	src/Posting/QR.coffee
2014-02-28 19:37:26 -07:00
Zixaphir
0d7f5ab78c Lets use our "dialog" class for shit we don't need to fuck around with 2014-02-28 19:22:38 -07:00
Zixaphir
811e3ccaf3 Use our implementation of Navigating between boards
Our custom navigation should now behave similar to Mayhem's, but
with JSON.
2014-02-28 18:56:02 -07:00
Zixaphir
5a76a9109c Cache boards.json 2014-02-28 18:29:52 -07:00
Zixaphir
6ba92efcd4 Start working on fixing things after the last merge 2014-02-28 14:48:24 -07:00
Mayhem
2924711db4 Get rid of Index.nodes, -1 Get.threadFromRoot call. 2014-02-27 17:42:52 +01:00
Kabir Sala
66e1e23e6a Partially fix #19 2014-02-27 16:37:18 +01:00
Mayhem
397e936765 Wait for the pagelist to be replaced before removing .index-loading. 2014-02-24 15:27:00 +01:00
Zixaphir
9d95bbea35 Merge branch 'mayhem' into v3 -- Still broken, do not merge (yet)
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	css/burichan.css
	css/futaba.css
	css/photon.css
	css/style.css
	css/tomorrow.css
	css/yotsuba-b.css
	css/yotsuba.css
	html/General/Index-navlinks.html
	html/General/Settings-section-Rice.html
	html/General/Settings.html
	html/Posting/QR.html
	json/archives.json
	package.json
	src/Filtering/PostHiding.coffee
	src/Filtering/Recursive.coffee
	src/Filtering/ThreadHiding.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Index.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/UI.coffee
	src/General/lib/$.coffee
	src/General/lib/databoard.class
	src/General/lib/post.class
	src/General/lib/thread.class
	src/Images/ImageExpand.coffee
	src/Images/RevealSpoilers.coffee
	src/Linkification/Linkify.coffee
	src/Menu/Menu.coffee
	src/Miscellaneous/ExpandThread.coffee
	src/Miscellaneous/IDColor.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QR.captcha.coffee
	src/Posting/QR.coffee
	src/Posting/QR.cooldown.coffee
	src/Quotelinks/QuoteBacklink.coffee
	src/Quotelinks/QuoteCT.coffee
	src/Quotelinks/QuoteOP.coffee
	src/Quotelinks/QuoteStrikeThrough.coffee
	src/Quotelinks/QuoteYou.coffee
	src/Quotelinks/Quotify.coffee
2014-02-23 14:04:45 -07:00
Mayhem
49c9156c30 Optimize the index by using a sorted list of threads instead of nodes.
Only one call to Get.threadFromRoot() per thread now.
2014-02-22 00:17:49 +01:00
Mayhem
27fa3f2bf7 Switching between the un/hidden thread index should navigate us to page 0. 2014-02-22 00:17:48 +01:00
Mayhem
8613e11bc2 Hiding threads will hide empty index pages too.
Rebuilding the paged index should navigate us to the last available page.
2014-02-22 00:17:48 +01:00
Mayhem
0ea3c733a4 Hide threads like we hide them in the catalog. 2014-02-22 00:17:48 +01:00
Mayhem
785f5b39dc Make Thread::{hide,show} handle the catalog view. 2014-02-22 00:17:48 +01:00