1967 Commits

Author SHA1 Message Date
Zixaphir
6c4e97b388 Restore CSS I accidentally deleted
This is Seaweed's stuff, and he kinda-sorta originally wrote the
stylesheets for a lot of these styles for 4chan (not 4chan X)
so it's probably best we leave them to his vision.
2014-02-28 19:12:13 -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
b4d28414df Fix OPs being built twice 2014-02-28 16:27:54 -07:00
Zixaphir
6ba92efcd4 Start working on fixing things after the last merge 2014-02-28 14:48:24 -07: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
Zixaphir
6884039627 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/Archive/Redirect.coffee
	src/Posting/QR.coffee
2014-02-23 08:49:32 -07:00
Zixaphir
58a3adeedb Small CustomCSS optimization 2014-02-23 08:33:31 -07:00
Zixaphir
8fa130c2df Backport @vampiricwulf's flash features 2014-02-23 08:32:06 -07:00
Mayhem
3f2aeff448 Fix #1473. 2014-02-23 02:08:51 +01: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
ab2ea29dd6 Hiding threads should be able to hide other posts recursively too. 2014-02-22 00:17:48 +01:00
Mayhem
498dfda2ef Update code related to hidden threads. 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
0e3f90fe4f Make use of Post::getNameBlock(). 2014-02-22 00:17:48 +01:00
Mayhem
463947820f Simpler code for stubs. 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
Mayhem
0d7190b4d6 regexp -> string 2014-02-22 00:17:47 +01:00
Mayhem
ce2b9ee170 Add post labelling. 2014-02-22 00:17:47 +01:00
Mayhem
d052bfc186 Optimize the index by dealing with HRs as little as possible. 2014-02-22 00:17:47 +01:00
Mayhem
61510ca272 Add {Post,Thread}::{hide,show}(). Merge reply hiding and thread hiding. 2014-02-22 00:17:47 +01:00
Mayhem
4860b59d1b Fix quoting on Firefox. 2014-02-22 00:17:22 +01:00
Mayhem
f456495160 Quoting now also includes the spoiler and code tags. 2014-02-21 17:45:39 +01:00
Mayhem
5ca21b1f4a Refresh the index when trying to navigate to the same board.
Close #1461.
2014-02-21 17:07:00 +01:00
Kabir Sala
ced84988e1 Fix my shit 2014-02-21 00:00:24 +01:00
Kabir Sala
a06862e858 Fix, I'm an idiot that doesn't understand scope, and can't even copy/paste from someone else 2014-02-20 21:32:04 +01:00
Zixaphir
87d3624442 Merge Mayhem's QR fix 2014-02-20 12:57:24 -07:00
Kabir Sala
3986298f4f Copy fix from Mayhem, hopefully I didn't break anything 2014-02-20 20:56:49 +01:00
Mayhem
cbf60059b8 Fix the QR. 2014-02-20 20:29:11 +01:00
Mayhem
756722e184 Merge branch 'v3' into cr32 2014-02-19 00:55:33 +01:00
Kabir Sala
3a1e1426af silly kate 2014-02-18 16:11:33 +01:00
Kabir Sala
fb7328ce82 Update builds 2014-02-18 16:10:42 +01:00
Kabir Sala
8a36b0bdbe Update archives 2014-02-17 18:55:31 +01:00
Kabir Sala
516fdb902b Update archives 2014-02-17 18:54:52 +01:00
Kabir Sala
a9460f0513 Fix Chrome 2014-02-17 18:53:30 +01:00
Mayhem
b9896b48d2 Add some default booleans to Posts and Threads.
Remove timeOfDeath as I won't get to use it anytime soon.
Fix #1456.
2014-02-17 18:07:51 +01:00
Zixaphir
6649e8519c Fix unread count + thread updater with quote threading enabled
See guys, fix one thing, break another!
2014-02-16 03:15:23 -07:00
Zixaphir
b3f937f5c8 Fix JSON Navigation unread count 2014-02-16 03:11:27 -07:00
Zixaphir
32b020c701 Fix titlelink. 2014-02-16 02:27:26 -07:00
Zixaphir
6536d5a2b3 Yeah, let's start the day with obviously erroneous code! 2014-02-16 01:07:32 -07:00
Zixaphir
6dd0cac797 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/Archive/Redirect.coffee
	src/General/Header.coffee
	src/Monitoring/Favicon.coffee
2014-02-16 01:00:41 -07:00
Mayhem
70fd543073 Hide the .page-num in archived posts. 2014-02-15 22:58:34 +01:00
Mayhem
8e423493ac Fix quote markers on backlinks in clones. 2014-02-15 22:43:03 +01:00
Mayhem
d8049013f5 Fix incorrect OP/cross-thread markers on some backlinks. 2014-02-15 22:35:15 +01:00
Kabir Sala
017502e0dd Twitter embedding 2014-02-15 22:26:12 +01:00
Mayhem
7df0fd1414 Simplify QuoteMarkers.parseQuotelink arguments. 2014-02-15 22:24:10 +01:00
Mayhem
004c3f74ed Re-think the Quote Backlink implementation.
Before this rewrite, containers and backlinks were created even if the relevant
post did not exist in the page. If the post would never end up existing, it
resulted in a waste of resources. QuoteBacklink's cache also prevented these
containers and backlinks from being garbage collected.
We now only store a map of fullIDs. This feature should be faster since less
elements gets allocated, although the difference is probably negligible.
2014-02-15 21:49:04 +01:00
Spittie
39b8dafc54 Add /biz/ 2014-02-15 17:25:01 +01:00