72 Commits

Author SHA1 Message Date
ccd0
f1b82d013f Remove dependency of Post, Thread, CatalogThread classes on Callbacks class. 2016-04-15 10:34:39 -07:00
ccd0
3a9fa8d98f JSON Navigation -> JSON Index. #614 2016-01-27 00:07:44 -08:00
ccd0
d53a1905b4 Shorten some more menu item names. 2015-11-22 18:09:27 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
7ad4645b81 Don't show errors from local storage being disabled, and only show warnings when needed. #465 2015-11-08 13:34:57 -08:00
ccd0
820192b653 Remove lists of pages not to run on containing hardcoded board names. #525 2015-11-07 14:54:15 -08:00
ccd0
b2659b91dd Use conditional to simplify some other HTML templates. 2015-03-28 15:33:18 -07:00
ccd0
ecead5f7e8 Index should also rebuild posts from quote fetching.
As was done for thread expansion in 184141a5e0c5c1da2ac85c8d0c550bfb24b02577.
2015-03-09 19:58:15 -07:00
ccd0
e1b63d4a99 Follow Zixaphir in adding space to label in UI.checkbox.
Change settings checkbox (where space was unwanted) to HTML template.
2015-02-03 00:23:44 -08:00
ccd0
4fb30a4d8f Support archived thread list page. 2015-01-04 09:47:03 -08:00
ccd0
c066a23aac Fix condition under which to disable thread/reply hiding. 2014-12-24 10:53:07 -08:00
ccd0
4ac31962a2 Move nameBlock into post class. 2014-11-15 20:41:32 -08:00
ccd0
fb30a59fe7 Better approach to catalog sync.
- 4chan X pushes everything
- catalog pushes only changes
2014-10-05 21:39:44 -07:00
ccd0
661033c948 Move to push-push design for hidden threads sync with catalog.
Only changes to the list are pushed.
Fails at syncing with catalog across http/https, but fixes
the issue where changes to the list would be reverted.
2014-10-05 20:11:08 -07:00
ccd0
fd153e7241 Merge branch 'cataloghiding2'
Conflicts:
	src/Filtering/ThreadHiding.coffee
2014-10-05 18:05:03 -07:00
ccd0
d3e4633b6a fix "Hide stub" 2014-09-21 16:17:40 -07:00
ccd0
b99ac6d53a menu bugfixes 2014-09-21 14:01:11 -07:00
ccd0
3e753bad21 fix stuff that should be conditional on 'JSON Navigation' setting 2014-09-19 14:51:18 -07:00
Mayhem
18b343671d Add pin/hide/show thread menu entries for the catalog.
Conflicts:
	src/General/Index.coffee
	src/General/Main.coffee
	src/Images/AutoGIF.coffee
2014-09-12 23:48:23 -07:00
Mayhem
b8bd58ceb8 Make the hidden label an integral part of the index.
Conflicts:
	html/General/Index-navlinks.html
	src/Filtering/ThreadHiding.coffee
2014-09-12 23:12:31 -07:00
Mayhem
d9e4dcda41 Refactor hidden threads count.
It concerns filtered threads too, not just manually hidden threads.

Conflicts:
	src/Filtering/ThreadHiding.coffee
	src/General/Index.coffee
2014-09-12 23:08:03 -07:00
Mayhem
3af338f23d Add hidden threads count on the index.
Conflicts:
	src/Filtering/ThreadHiding.coffee
2014-09-12 23:04:31 -07:00
ccd0
dfa66501ba Sync catalog hidden threads from catalog page.
Fixes HTTP/HTTPS issues, but introduces race condition issues.
2014-09-12 16:53:04 -07:00
Mayhem
ab42ad2409 Shift+click to hide threads in the catalog.
Conflicts:
	src/Filtering/ThreadHiding.coffee
2014-09-05 22:21:14 -07:00
ccd0
2a5da0a0a9 use Javascript snippets for code in HTML templates 2014-08-03 08:16:23 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
ccd0
cdb83f744a cleanup menu code 2014-06-18 22:39:19 -07:00
ccd0
5ad30ead3f remove IndexBuild event 2014-06-18 01:53:18 -07:00
ccd0
cec3479ab3 fix thread hiding bug 2014-06-18 01:34:59 -07:00
ccd0
efc852464f don't use event for adding to menu internally 2014-06-17 21:12:07 -07:00
ccd0
bd026cdcb7 missed some non-CSS <hr> hiding; remove it 2014-06-15 11:35:16 -07:00
ccd0
424922623c use CSS to hide <hr>s following hidden threads 2014-06-15 10:31:39 -07:00
ccd0
1189b71029 this seems to be a common pattern 2014-05-14 14:16:16 -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
Jordan
526783d273 Font-awesome hide buttons, close #226 2014-01-09 03:05:46 -07:00
Zixaphir
b38f63e313 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	Gruntfile.coffee
	src/Filtering/PostHiding.coffee
	src/General/Build.coffee
	src/General/lib/$.coffee
	src/Menu/Menu.coffee
	src/Posting/QuickReply.coffee
2013-12-25 10:54:21 -07:00
Zixaphir
6dd2e60e9a Element.contains was not Array.contains, lol 2013-12-25 10:10:51 -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
Mayhem
be8371d4c6 Optimize Menu.makeButton(). 2013-12-20 04:14:53 +01: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
f09121ab2e More index tweaking/optimization and small thread hiding fix.
Most feature that need to be called on each index refresh don't need
to be called on every single page build, but only after building the
threads. ThreadHiding needs to be fired on each page build to ensure
that the stub summaries fit with the number of replies, so it has to
wait for the last replies to be added. This also fixes the bug where
ThreadHiding was creating one extra stub on each IndexRefresh event.
2013-11-05 01:21:26 +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
66189e449c Update the number of replies in thread stubs after an index refresh. 2013-11-04 11:22:49 +01:00
Mayhem
301d5d8a7a Typo. 2013-11-03 23:58:06 +01:00
Mayhem
94322e3dd8 Index optimization: only build/load last replies of visible threads. 2013-11-03 18:55:58 +01:00
Mayhem
bc0f5fcc3b Avoid creating new thread root+<hr> when they already exist. 2013-11-03 17:14:01 +01:00
Mayhem
66ebbd87f0 Fix thread hiding after an index refresh. 2013-11-02 19:21:04 +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