799 Commits

Author SHA1 Message Date
Mayhem
e95035a17f Get rid of useless alt attributes. 2014-01-29 15:38:20 +01:00
Mayhem
5383dbde05 Remove quotelinks in threads in the catalog. 2014-01-29 14:48:52 +01:00
Mayhem
a4ef601748 Refactor the catalog thread views business with a class. 2014-01-29 14:32:28 +01:00
Mayhem
9f682bea14 Alt+click to pin threads in the catalog. 2014-01-28 10:26:46 +01:00
Mayhem
1d43fbc498 Shift+click to hide threads in the catalog. 2014-01-28 09:59:49 +01:00
Zixaphir
2ac2286ad5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	src/General/lib/$.coffee
	src/Images/Sauce.coffee
2014-01-28 01:11:06 -07:00
Mayhem
a8002930f4 Warn users of the official catalog of the incoming support removal. 2014-01-26 22:18:29 +01:00
Mayhem
509156a956 Don't use the IndexBuild event for hiding threads. 2014-01-26 20:29:21 +01:00
Mayhem
7623040593 Add filter-highlight to threads on the catalog. 2014-01-26 18:19:23 +01:00
Mayhem
bdf2b4a6ba Update thread post/file count on index refresh in the catalog. 2014-01-26 17:20:29 +01:00
Mayhem
efd28e8ae4 Update page/sticky/closed status on index refresh for the catalog. 2014-01-26 17:02:55 +01:00
Mayhem
2024e0c50d Add sticky/closed status icons in the catalog. 2014-01-25 19:00:26 +01:00
Mayhem
154ad07cd7 Initial index catalog mode work. 2014-01-25 17:01:06 +01:00
Zixaphir
51ba83538a Better $.rmAll
I verified an issue with the previous benchmark and even wrote a
more efficient method based off el.cloneNode(false);, which I would
use if cloneNode could inherit eventListeners

Speaking of events. there is still no interface for gather all
eventListeners on a given element (or its children). Apparently the
issue is that the w3c doesn't think there is a legitimate use case
for it. Heh.
2014-01-24 16:10:04 -07:00
Zixaphir
b62d82bed0 Mayhem made responseType JSON default for any URL containing .json. 2014-01-24 14:48:39 -07:00
Zixaphir
f133da454d Fix settings dialog, customize reset button 2014-01-22 12:24:30 -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
c7c8ea9ec5 Add a Reset Settings button. 2014-01-22 16:33:08 +01:00
Mayhem
0b39d6d3f5 Simplify export settings code.
Firefox does let us download links now.
2014-01-22 15:50:00 +01:00
Mayhem
8a3af6f69f Toggling Header auto-hide on scroll should update the Conf too now. 2014-01-22 09:52:44 +01:00
Mayhem
5ef395cc8d Simplify code related to clear hidden posts/threads button in settings. 2014-01-21 16:19:57 +01:00
Mayhem
0fdf5c89bb mouseenter did not work as I expected, reverting to mouseover. 2014-01-21 15:37:28 +01:00
Mayhem
508ab4f884 Make $.addClass/rmClass use multiple classes at once. 2014-01-21 15:30:47 +01:00
Mayhem
e25fd080bc Foolfuuka's API URL does not end with .json so we must define the responseType manually. 2014-01-21 15:09:16 +01:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01:00
Mayhem
878b6afe5a Use mouseenter instead of mouseover for menu entries. 2014-01-21 14:22:58 +01:00
Mayhem
59fa428db5 Warn about Firefox versions <26. 2014-01-21 13:58:50 +01:00
Mayhem
a8068c083f Fix #1384. 2014-01-21 10:20:08 +01:00
Mayhem
0e10e3fd81 Fix index search going badly when inputing only spaces. 2014-01-20 22:45:34 +01:00
Mayhem
fdd6a20c87 rm useless code 2014-01-20 09:51:52 +01:00
Mayhem
5a10d5f75c Re-select archives when the archives list gets updated
or when we select an archive in the settings.
2014-01-20 09:04:32 +01:00
Zixaphir
11e5f348f0 Still hate switches. 2014-01-19 21:38:46 -07:00
Mayhem
bf51864823 Typo. 2014-01-19 13:00:56 +01:00
Mayhem
c47c3ddafe Move previous version check out of Setting and into Main.
Also halve the notice timeout.
2014-01-19 01:05:48 +01:00
Zixaphir
3a61ecafff The good parts. 2014-01-18 16:53:48 -07:00
Mayhem
da203ae76a Update the archives settings tab when manually updating the archives list. 2014-01-19 00:26:00 +01:00
Zixaphir
b0ca427207 Revert "Fix updating the context of threads and index"
This reverts commit e7b1c52dbf9f25aec32bea64c712ee4075f7ef6f.
2014-01-18 14:11:36 -07:00
Zixaphir
e7b1c52dbf Fix updating the context of threads and index 2014-01-18 14:07:56 -07:00
Zixaphir
7d4825dce0 Add word boundaries to the style switcher regex 2014-01-18 13:39:02 -07:00
Zixaphir
8ddf2b4e5f Start working on tightening our control of the Navigation context
Currently breaks posting.

TODO:
* Fix style switching from NSFW to SFW (SFW to NSFW works)
  - It is worth noting this used to work.
* Fix post form not updating its currently selected thread.
* Fix navigation between threads in different boards (same boards
  works? Maybe?)
* Handle race conditions due to pop states.
  - I'm having a lot of trouble wrapping my mind around this one.
    Mostly due to the fact that I have no idea where to begin with
    it. But this isn't a big issue unless you pop state multiple
    times within seconds.

    I just need some exceptions when we try to disconnect features
    that haven't even finished connecting due to threads not being
    available yet.

Most of the early issues, like double-backlinks, incorrect
thumbnails, etc, have been fixed, I think. Or at least I'm no
longer running into them all the time.
2014-01-18 02:34:18 -07:00
Zixaphir
7eb2d0aa34 Mostly fix everything broken. Mostly. 2014-01-16 16:44:18 -07:00
Zixaphir
6095a97921 More of a proof of concept than anything. May revert? 2014-01-16 11:07:19 -07:00
Zixaphir
c32390c437 Small oversights 2014-01-16 10:02:08 -07:00
Zixaphir
69288c7ebe More or less just trying to optimize this. 2014-01-16 09:56:20 -07:00
Zixaphir
ef99677f14 Consolidate things a little 2014-01-16 08:28:40 -07:00
Zixaphir
d34284a8d0 I misunderstood: we're not caching the result with lastmodified. 2014-01-16 04:31:27 -07:00
Zixaphir
3b7aa9f398 Deal with 304 status with board navigation 2014-01-16 04:27:33 -07:00
Zixaphir
879206219b Oops 2014-01-16 00:51:47 -07:00
Zixaphir
19c8ffe4d6 Cruft 2014-01-15 17:10:46 -07:00
Zixaphir
30f4d0922b Don't change titles until we've successfully navigated. 2014-01-15 17:09:25 -07:00