297 Commits

Author SHA1 Message Date
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
e2f26cfa66 Keep the title in 404'd tabs. 2014-02-13 15:04:12 +01:00
Mayhem
cbc85407df Optimize setting data operations.
Setting local data on Chrome is not throttled, only debounce sync.
Don't make DBs save data on every page load, don't save cleaning operations if nothing's changed.
Debounce Unread.saveLastReadPost() on Chrome to every 5 seconds.
2014-02-13 14:41:24 +01:00
Kabir Sala
d22dceea5a Add Metro favicon (why not?) 2014-02-10 18:00:34 +01:00
Mayhem
3d7097fffb Screw supporting 4chan's inline features. 2014-02-05 16:11:04 +01:00
Mayhem
509156a956 Don't use the IndexBuild event for hiding threads. 2014-01-26 20:29:21 +01:00
Zixaphir
1f49ef2212 Merge branch 'v3'
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/appchan-x.user.js
	builds/crx/script.js
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/html/Settings/Settings.html
	src/Miscellaneous/AnnouncementHiding.coffee
2014-01-26 11:40:50 -07:00
Mayhem
f27123d04c Remove Chrome workaround in Unread.update() function. 2014-01-23 17:15:27 +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
Zixaphir
cc7decfd34 Merge branch 'v3' 2014-01-17 13:23:36 -07:00
Zixaphir
8454ed099c There is always a QR.db in appchan. 2014-01-16 16:52:21 -07:00
Zixaphir
7eb2d0aa34 Mostly fix everything broken. Mostly. 2014-01-16 16:44:18 -07:00
Zixaphir
fc90fd45d9 Fix thread updater 2014-01-16 11:56:21 -07:00
Zixaphir
8135493359 Fix unread count for your posts, among other things 2014-01-16 11:19:37 -07:00
Zixaphir
6095a97921 More of a proof of concept than anything. May revert? 2014-01-16 11:07:19 -07:00
Zixaphir
30f4d0922b Don't change titles until we've successfully navigated. 2014-01-15 17:09:25 -07:00
Zixaphir
56397d7ba2 Oops. 2014-01-14 20:25:18 -07:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
251eaf802f Fix Favicon on Catalog 2014-01-12 19:44:47 -07:00
Zixaphir
5ca10fc248 Less hard-coded NSFW boards
Let's let 4chan tell us if a board is NSFW or not.
2014-01-12 16:38:34 -07:00
Zixaphir
966882c11d Merge branch 'v3'
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
	src/General/html/Settings/Advanced.html
2014-01-12 15:26:45 -07:00
Zixaphir
36826cac3e Merge some old favicon changes from appchan that never made it back
to v3
2014-01-12 15:20:39 -07:00
Zixaphir
525a3ebb79 This is safe
d.head is available at document-start in everything but Scriptish.
Which we don't support
2014-01-12 15:11:05 -07:00
Zixaphir
bd08bd964d Merge branch 'json' into ajson
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	LICENSE
	builds/4chan-X.meta.js
	builds/appchan-x.user.js
	builds/crx/manifest.json
	builds/crx/script.js
	latest.js
	package.json
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Index.coffee
	src/General/Main.coffee
	src/General/css/font-awesome.css
	src/General/css/futaba.css
	src/General/css/photon.css
	src/General/css/tomorrow.css
	src/General/css/yotsuba-b.css
	src/General/css/yotsuba.css
	src/General/html/Features/Index-navlinks.html
	src/General/html/Monitoring/ThreadWatcher.html
	src/Images/Gallery.coffee
	src/Menu/Menu.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadWatcher.coffee
	src/Posting/QR.coffee
2014-01-11 15:55:46 -07:00
Zixaphir
a20e85d30f Features can *and should* handle under what context they disconnect 2014-01-11 12:03:50 -07:00
Zixaphir
6bd1d44b68 Unread Count actually requires the nodes to be on the page
Unfortunately
2014-01-10 18:55:33 -07:00
Zixaphir
bc9f094a77 Turns out I never finished my Thread Title magic...
because @MayhemYDG had already done it and done it better. So I
thought mine was working when it was just his... and then
realized when I didn't disconnect it and the index was getting a
title from a thread that it wasn't working and his was.

So let's just use his code.
2014-01-10 18:07:14 -07:00
Zixaphir
c47b14f0bf Now I need to figure out how to get the Feature.ready code to run 2014-01-09 20:15:48 -07:00
Zixaphir
0d29b42a02 This kills the script
No, seriously, this commit breaks everything if you open a reply.
It's k, though, that's why this branch exists: so I can break it
all without harming end users and stable development.

Holy carp, though, the amount of errors thrown!
2014-01-09 18:51:49 -07:00
Zixaphir
84cbff8a77 ThreadStats.disconnect() 2014-01-09 15:37:01 -07:00
Zixaphir
3327c9cf36 Rearrange some stuff, fix ThreadUpdater.disconnect 2014-01-09 12:55:06 -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
4d0b83941c eye.open -> eye 2014-01-09 00:27:55 -07:00
Jordan
f217d94299 Menu button changes, close #223 2014-01-09 00:23:43 -07:00
Jordan
26ee14e688 Update font-awesome 2014-01-08 23:33:52 -07:00
Zixaphir
fca2645787 Improve navigation between boards
Also allow navigation to indexes from boards.
2014-01-08 11:40:58 -07:00
Zixaphir
b8dc8041f5 More work on ThreadUpdater.disconnect() 2014-01-07 21:26:13 -07:00
Zixaphir
497c231003 Merge branch 'v3' into json
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-01-07 20:29:32 -07:00
Zixaphir
27f642c3b8 Whoopse 2014-01-07 16:34:01 -07:00
Zixaphir
798ab20f35 ThreadUpdater.disconnect() 2014-01-07 16:30:18 -07:00
Zixaphir
32641549f2 Unread.disconnect() 2014-01-07 16:03:31 -07:00
Zixaphir
e22390fae7 Merge branch 'v3'
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
2014-01-07 11:46:54 -07:00
Zixaphir
a980c540a9 Lets not waste a perfectly good assignment. 2014-01-07 10:52:22 -07:00
Zixaphir
87d1f7b454 Merge branch 'v3'
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
2014-01-07 10:50:03 -07:00
Zixaphir
ef34200fdb It occurs to me you can't disable our Quick Reply. 2014-01-07 10:49:08 -07:00
Zixaphir
7cf2bfc607 Merge branch 'v3'
Conflicts:
	builds/appchan-x.user.js
	builds/crx/script.js
	src/General/Main.coffee
2014-01-07 10:26:51 -07:00
Zixaphir
80dd30def0 Optimizations to QuoteThreading (again) 2014-01-07 10:17:46 -07:00
Zixaphir
bde16c1a64 Merge branch 'v3'
Conflicts:
	LICENSE
	builds/appchan-x.user.js
	builds/crx/script.js
2014-01-06 11:11:12 -07:00
Zixaphir
6d858de604 Why not? 2014-01-06 09:55:16 -07:00