832 Commits

Author SHA1 Message Date
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
Zixaphir
9e6e9686e6 We don't need an entire method for a set of code we only use once 2014-01-15 15:25:57 -07:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
481ca6af72 Fix and use thread.collect for GC
Also merge appchan's JSON option fixes
2014-01-14 17:18:30 -07:00
Mayhem
d991e6e0cb Typo 2014-01-15 01:06:21 +01:00
Zixaphir
bcd7ab21e3 Make the JSON Navigation / Index features optional 2014-01-13 19:33:42 -07:00
Zixaphir
d8154e8ae2 Lets not push states for infinite scrolling. :) 2014-01-13 19:25:36 -07:00
Zixaphir
6c1eef61c0 Fix "Mark Quotes of You"
God, that option name is dumb
2014-01-13 19:09:41 -07:00
Zixaphir
4da7bd827d Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
2014-01-13 13:11:19 -07:00
Zixaphir
a5126923b1 Switch out for my more optimized PNGs 2014-01-13 12:57:47 -07:00
Zixaphir
63f6f5f3c2 Rethink our indexOf implementation 2014-01-13 12:08:53 -07:00
Zixaphir
99343e8fc0 Eep, missed a very small, very important detail
I'm not going to lie, I'm kinda tired right now.
2014-01-13 01:16:53 -07:00
Zixaphir
c879594909 And that, honestly, feel best anyways. 2014-01-13 01:07:38 -07:00
Zixaphir
8d54c13d5f There's a splat for that. 2014-01-13 01:06:21 -07:00
Zixaphir
2e1dc0088d Sometimes we can just do it better when we give it a second look. 2014-01-13 01:01:02 -07:00
Zixaphir
6a1223ef04 CoffeeScript syntax is convenient. 2014-01-13 00:52:28 -07:00
Zixaphir
0f058432e4 Return 2014-01-13 00:47:21 -07:00
Zixaphir
56c7288d8d [].push.appy and [].concat? Lets... comprehend that code better. 2014-01-13 00:44:20 -07:00