83 Commits

Author SHA1 Message Date
ccd0
f5047e8fdd remove workaround for fixed Chrome bug 2014-05-26 14:40:56 -07:00
ccd0
c3f04314cc make things work with Quick Reply and Thread Updater disabled 2014-05-11 17:36:13 -07: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
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
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
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -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
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
798ab20f35 ThreadUpdater.disconnect() 2014-01-07 16:30:18 -07:00
Zixaphir
32641549f2 Unread.disconnect() 2014-01-07 16:03:31 -07:00
Zixaphir
a980c540a9 Lets not waste a perfectly good assignment. 2014-01-07 10:52:22 -07:00
Zixaphir
ef34200fdb It occurs to me you can't disable our Quick Reply. 2014-01-07 10:49:08 -07:00
Zixaphir
80dd30def0 Optimizations to QuoteThreading (again) 2014-01-07 10:17:46 -07:00
Zixaphir
6d858de604 Why not? 2014-01-06 09:55:16 -07:00
Zixaphir
b1ca573935 Just a couple silly things 2014-01-06 09:50:04 -07:00
Zixaphir
f782b0d3c0 Throw a debounce back in for performance
A scroll-event-based function every tenth of a second is better
than whatever arbitrary timer scroll events can have.
2014-01-06 09:42:15 -07:00
Zixaphir
a569565cff Remove debug code 2014-01-06 09:08:44 -07:00
Zixaphir
5a080e7f60 D: 2014-01-05 17:47:40 -07:00
Zixaphir
4f8e304ee8 So terrible~ 2014-01-05 13:57:26 -07:00
Zixaphir
3f60a05edc I was wrong. Still broken, but getting there 2014-01-05 13:12:06 -07:00
Zixaphir
af30942d60 Reduce unnecessary usage of RAL.splice 2014-01-05 10:43:27 -07:00
Zixaphir
6b3443c12a Continue implementing the random access list and generally
just optimizing Unread
2014-01-05 10:02:05 -07:00
Zixaphir
a1d0bf1474 Merge branch 'v3' into RAL 2014-01-05 09:36:25 -07:00
Zixaphir
c979f44028 As far as I can tell, this wasn't working at all. 2014-01-04 19:51:28 -07:00
Zixaphir
6574746e90 Start working on putting in aeosynth's RandomAccessList
For performance, obviously.
2014-01-04 13:38:09 -07:00
Zixaphir
91233b8d61 remove [].contains. It was a bad idea.
I shouldn't be messing with stuff like this without a really good
reason for doing so, and the longer I thought about it, the more
it occurred to me that I didn't have one.
2013-12-24 14:41:21 -07: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
a1a12aaf23 Make sure posts are read when scrolling via next reply keybind. 2013-11-03 13:57:55 +01:00
Mayhem
81a2b096a1 Introduce Header.{scrollToIfNeeded,getTopOf,getBottomOf}() and use them.
4chan X - now with proper bottom header support.
2013-11-03 01:27:23 +01:00
Mayhem
ef38269981 Initial work for index navigation improvements. 2013-11-02 19:21:02 +01:00
Zixaphir
91cedb3b89 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	html/General/Settings-section-Rice.html
	img/changelog/3.9.0/0.png
	package.json
	src/Images/AutoGIF.coffee
	src/Images/RevealSpoilers.coffee
	src/Miscellaneous/ExpandComment.coffee
	src/Miscellaneous/IDColor.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteInline.coffee
	src/Quotelinks/QuotePreview.coffee
	src/Quotelinks/QuoteYou.coffee
	src/Quotelinks/Quotify.coffee
2013-10-13 13:53:38 -07:00
Mayhem
2aec18ab49 Return early. 2013-10-06 21:28:02 +02:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Zixaphir
47bdc73f4c Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	css/style.css
	src/Images/ImageExpand.coffee
	src/Linkification/Linkify.coffee
	src/Monitoring/ThreadUpdater.coffee
2013-08-30 18:15:47 -07:00
Mayhem
5c36d646a5 Start desktop notification closing timeout only after they appeared. 2013-08-26 21:31:30 +02:00
Zixaphir
ccc0335b79 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	css/style.css
	html/Monitoring/ThreadWatcher.html
	json/archives.json
	package.json
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/img/favicons/empty.gif
	src/Linkification/Linkify.coffee
	src/Miscellaneous/ExpandComment.coffee
	src/Monitoring/Favicon.coffee
	src/Monitoring/ThreadWatcher.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
2013-08-22 12:10:33 -07:00
Mayhem
6454090cfd Warn with a desktop notification when we're running low on cached captchas. Close #1253.
Also increase delay to close the notifications from 5 to 7 seconds. #1252
2013-08-21 16:24:48 +02:00
Mayhem
08ea3cf7d0 Count unread posts if desktop notifications are enabled.
Also fix missing Conf check, and return too early in counting replies to you.
Minor tweaks here and there.
2013-08-21 15:45:32 +02:00
Mayhem
606cbcc1c1 Shave a few lines. 2013-08-21 03:25:56 +02:00
Zixaphir
110f9fe9aa Fix Notifications 2013-08-18 05:18:25 -07:00
Zixaphir
ec32e54ef5 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	css/style.css
	src/General/Config.coffee
	src/General/meta/manifest.json
	src/Posting/QuickReply.coffee
2013-08-17 21:00:31 -07:00
Zixaphir
d15f8ee728 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	LICENSE
	css/style.css
	html/Posting/QR.html
	img/changelog/3.2.0/0.png
	package.json
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Notice.coffee
	src/General/Notification.coffee
	src/General/Settings.coffee
	src/General/img/icon.gif
	src/General/lib/notification.class
	src/Monitoring/Favicon.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteOP.coffee
2013-08-17 20:33:48 -07:00
Mayhem
8e98e030c2 document.hasFocus() doesn't always work as intended in Chrome stable.
See crbug.com/64846
2013-08-18 03:38:13 +02:00
Mayhem
a088db9ee2 Use document.hasFocus() instead. 2013-08-18 00:28:48 +02:00
Mayhem
346010e188 Show a desktop notification even if the tab is visible. 2013-08-18 00:20:07 +02:00