68 Commits

Author SHA1 Message Date
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
Mayhem
5742405f67 Add desktop notification permission granting setting and notice. 2013-08-17 22:37:30 +02:00
Mayhem
43fbf62da0 Add the 4chan X logo to desktop notifications. 2013-08-17 19:02:04 +02:00
Mayhem
e539c35a53 Show a desktop notification for 5 seconds when someone replies to you.
Close #971.
2013-08-17 18:50:20 +02:00
seaweedchan
875f0cd4f8 Merge Zixaphir X 2013-08-12 00:07:39 -07:00
Zixaphir
6ba8d9ae8c Keybind to scroll to posts quoting you. 2013-08-08 23:53:48 -07:00
Zixaphir
3429708725 Undo some changes to Unread.read 2013-08-08 19:10:36 -07:00
Zixaphir
bcc68168b0 Fix Unread.read 2013-08-08 17:01:42 -07:00
Zixaphir
ce6e317c98 Time to stop being silly. 2013-08-07 21:02:10 -07:00
Zixaphir
80884e2bde Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	src/General/Main.coffee
	src/General/lib/$.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
2013-08-07 13:53:35 -07:00
Mayhem
bbe93eb475 Shave a line. 2013-08-07 15:24:21 +02:00
Zixaphir
1b89039977 I hate this. 2013-08-06 17:17:34 -07:00
Zixaphir
2fa674c782 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	Gruntfile.coffee
	json/archives.json
	src/Archive/Redirect.coffee
	src/General/lib/$.coffee
	src/Monitoring/Unread.coffee
2013-08-04 19:44:42 -07:00
Mayhem
b83e536c86 Don't save the unread count if the thread is dead. 2013-08-01 20:41:23 +02:00
Zixaphir
582d067a10 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	Gruntfile.js
	README.md
	changelog-old
	css/style.css
	html/Monitoring/ThreadStats.html
	html/Posting/QR.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/UI.coffee
	src/General/html/Settings/Filter-guide.html
	src/General/lib/$.coffee
	src/General/lib/clone.class
	src/General/lib/post.class
	src/Images/ImageHover.coffee
	src/Menu/Menu.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuotePreview.coffee
	src/Quotelinks/Quotify.coffee
2013-07-21 08:39:40 -07:00
Mayhem
39aa9d3cb5 Merge pull request #1183 from MayhemYDG/opera
Drop Opera <15 support.
2013-07-09 01:56:58 -07:00