76 Commits

Author SHA1 Message Date
ccd0
722635d722 Drop navigation between threads/boards with JSON 2014-06-01 17:40:23 -07:00
ccd0
5989c4b555 fix ThreadUpdater crash on /f/ threads with JSON Nav on 2014-06-01 13:55:13 -07:00
ccd0
bf1c3b4f01 make bottom QR and update links work with JSON Navigation 2014-05-16 19:44:44 -07:00
ccd0
624365806b make these single quotes 2014-05-16 03:45:10 -07:00
seaweedchan
42d99be128 Add update link to bottom nav links 2014-05-16 01:43:56 -07:00
ccd0
cb828fa9c4 quote all the attributes 2014-05-15 17:32:38 -07:00
ccd0
17ef291fde slight reformat 2014-05-15 09:41:04 -07:00
ccd0
1189b71029 this seems to be a common pattern 2014-05-14 14:16:16 -07:00
ccd0
75f639172b use single quotes when possible 2014-05-14 00:24:12 -07:00
ccd0
f3026041b4 slight change to UI.dialog to make searching for vulnerabilities easier 2014-05-13 17:19:09 -07:00
ccd0
a452b732fd change res -> thread in JSON API URLs 2014-04-13 01:46:18 -07: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
fc90fd45d9 Fix thread updater 2014-01-16 11:56:21 -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
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
3327c9cf36 Rearrange some stuff, fix ThreadUpdater.disconnect 2014-01-09 12:55:06 -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
8b6ea725e4 post.cb.call(post) > post.cb()
heh, comprehension fail. this was this anyways.
2014-01-06 09:15:20 -07:00
Zixaphir
7b4c794729 Sometimes logic gets a little too logical for me. 2013-12-24 15:10:03 -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
7ad173c385 I am so dumb 2013-12-16 20:12:31 -07:00
Zixaphir
75b7804eda Fix and recomprehense the setInterval function 2013-12-16 20:07:27 -07:00
Zixaphir
038a2220e7 "fix" thread updater 2013-11-23 11:22:39 -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
985afb2a1a Support 4cdn. 2013-11-21 23:11:02 +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
4c00c6f9ae Add thread refresh shortcut. 2013-11-02 19:21:05 +01:00
Mayhem
bc72f0f763 Create importHTML function, and use it. 2013-11-02 19:21:05 +01:00
Mayhem
2f9e44a773 Update the threads sticky/closed status on each index refresh.
Also fix the position of the sticky/closed icon.
2013-11-02 19:21:05 +01:00
Mayhem
ef38269981 Initial work for index navigation improvements. 2013-11-02 19:21:02 +01:00
Zixaphir
078869679b ThreadUpdater 2013-10-13 17:32:45 -07:00
Zixaphir
d2af181dea I removed autoUpdate 2013-10-13 14:48:43 -07:00
Zixaphir
1c9db7536d Restore ThreadUpdater.count() 2013-10-13 14:44:09 -07:00
Zixaphir
0415de74c1 Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/html/Build/post.html
	src/Monitoring/ThreadUpdater.coffee
	src/Posting/QuickReply.coffee
2013-10-13 14:29:52 -07: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
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Zixaphir
847078db53 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	json/archives.json
	package.json
	src/Filtering/Anonymize.coffee
	src/General/Config.coffee
	src/General/lib/post.class
	src/Linkification/Linkify.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Posting/QuickReply.coffee
2013-09-20 05:45:04 -07:00
Mayhem
15309e7968 Tiny refactor in ThreadUpdater. 2013-09-06 02:43:29 +02:00
Zixaphir
720606d2e2 Trick thread updater into allowing 1 second
PROTIP: minimum seconds are now techically two, but it'll still
display one. Anyone pissed about this needs to get a life.
2013-09-03 21:41:00 -07:00
Zixaphir
ba2ecd8237 Try to fix thread updater. 2013-09-03 15:53:06 -07: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
a1efe855e2 Make use of xhr.timeout. 2013-08-28 00:12:36 +02: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