58 Commits

Author SHA1 Message Date
ccd0
70bcd9dc1b Let UnreadIndex handle removing unread line on contraction using PostsRemoved event. 2018-12-07 13:02:45 -08:00
ccd0
87fe975ac6 Implement PostsRemoved event. 2018-12-07 12:59:26 -08:00
ccd0
9085d28789 Add extra collapse link at bottom of expanded threads. 2018-11-03 21:42:11 -07:00
ccd0
481a775a80 Add Unread Line in Index option, combined with previous work on Mark Read button. #625
Also fix various bugs with the old implementation.
2018-10-20 22:43:34 -07:00
ccd0
96cae8339a Fire PostsInserted event on common ancestor of inserted posts. 2018-10-20 12:40:52 -07:00
ccd0
c41c6d412b WebExtensions doesn't like protocol relative URLs in AJAX requests. 2017-09-28 02:23:59 -07:00
ccd0
3b1bc9fcbc Minor fixes for new board /bant/. 2017-05-13 14:24:47 -07:00
ccd0
c2a2dafe7f Move repeated code into $.modifiedClick. 2016-11-06 21:25:06 -08:00
ccd0
7205ee37b9 Deal with thread.nodes.root not existing.
I don't think it's possible to trigger this case, but might as
well make it more robust (and consistent).
2016-10-04 03:24:12 -07:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
a18419a02f Thread Expansion only needs to run on the index. 2016-09-28 02:48:46 -07:00
ccd0
b8884818d5 Change IndexBuild to IndexRefresh. #1106 2016-09-27 02:42:53 -07:00
ccd0
8a6b6b5ec8 Add thread.nodes.root property. 2016-09-25 14:28:04 -07:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
f1b82d013f Remove dependency of Post, Thread, CatalogThread classes on Callbacks class. 2016-04-15 10:34:39 -07:00
ccd0
3590fa15f3 Consolidate summary text building code. 2016-04-02 20:27:20 -07:00
ccd0
3a9fa8d98f JSON Navigation -> JSON Index. #614 2016-01-27 00:07:44 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
dca84b6d2d More unused argument cleanup. 2015-02-15 01:21:57 -08:00
ccd0
184141a5e0 When expanding threads, rebuild posts originally fetched for quote previews.
Fixes lack of post hiding buttons etc.
2015-02-08 00:27:49 -08:00
ccd0
aaeff46c2b Fix ID highlighting. 2014-11-02 18:15:12 -08:00
ccd0
1d96255dd0 fix index settings affecting thread expansion when JSON Navigation is off 2014-09-19 15:51:20 -07:00
ccd0
15a56ec0ae implement PostsInserted and use it in ImageLoader 2014-09-08 10:31:30 -07:00
ccd0
a452b732fd change res -> thread in JSON API URLs 2014-04-13 01:46:18 -07:00
ccd0
aedaac2b24 get thread expansion working 2014-04-07 03:32:47 -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
7495a905dd Fix thread expanding.
Apparently an xhr's reponse is read-only.
2014-01-21 15:17:00 +01:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01: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
79cf8713a4 Add some stuff, hopefully should reduce errors 2014-01-09 23:10:32 -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
8afcac8d6f Add the Show replies index setting. 2013-11-16 15:57:47 +01:00
Mayhem
8f56d3e415 Remove some now useless code in ExpandThread and small cleanup in ThreadHiding. 2013-11-04 21:32:58 +01:00
Mayhem
0eb224e077 Simpler summary creation, tiny Build.thread() optimization. 2013-11-02 19:21:06 +01:00
Mayhem
d00597f53d Remove comment expansion-related code. 2013-11-02 19:21:06 +01:00
Mayhem
61cd553a64 Fix/Refactor ExpandThread.coffee 2013-11-02 19:21:06 +01:00
Mayhem
11c3b0018a Fix thread watcher/expansion/hiding buttons after an index refresh. 2013-11-02 19:21:03 +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
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Jordan Bates
3470929e05 Merge some mayhem changes 2013-09-19 07:27:53 -07:00
Mayhem
a56b6765cb Remove some /q/-only settings. 2013-09-19 09:22:24 +02:00
seaweedchan
2fcbe0bf30 Merge Zixaphir X 2013-08-14 03:12:10 -07:00
Zixaphir
1f011dfd02 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	html/General/Header.html
	package.json
	src/Filtering/PostHiding.coffee
	src/Filtering/ThreadHiding.coffee
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/UI.coffee
	src/Menu/Menu.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteOP.coffee
2013-08-14 03:02:03 -07:00
Mayhem
3581a235e7 Fix post menus in stubs.
Also removed some old arguments, fixed some semantics, added Get.threadFromNode, and used it.
2013-08-13 16:29:54 +02:00
seaweedchan
875f0cd4f8 Merge Zixaphir X 2013-08-12 00:07:39 -07:00
Zixaphir
9b5cb52619 Personal choices 2013-08-06 12:14:23 -07:00
Zixaphir
fe20262e5e Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	src/Miscellaneous/ExpandThread.coffee
2013-08-06 12:01:16 -07:00