701 Commits

Author SHA1 Message Date
Zixaphir
b3f937f5c8 Fix JSON Navigation unread count 2014-02-16 03:11:27 -07:00
Zixaphir
6dd0cac797 Merge branch 'master' of https://github.com/Spittie/4chan-x into v3
Conflicts:
	CHANGELOG.md
	LICENSE
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/Monitoring/Favicon.coffee
2014-02-16 01:00:41 -07:00
Kabir Sala
3ad3af5dd9 Pass the images on Trimage 2014-02-13 18:36:31 +01:00
Kabir Sala
cff413769e cleanup 2014-02-12 23:56:30 +01:00
Kabir Sala
c74d72d75e More font awesome 2014-02-11 23:38:36 +01:00
Kabir Sala
d8a168a549 More work on post from url 2014-02-11 23:37:52 +01:00
Kabir Sala
f0bd6b1b04 Start working on remote upload (Chrome-only so far) 2014-02-11 18:32:23 +01:00
Kabir Sala
d22dceea5a Add Metro favicon (why not?) 2014-02-10 18:00:34 +01:00
Kabir Sala
601312d9f6 Add OpenSUSE emoji 2014-02-10 15:44:48 +01:00
Kabir Sala
630396f638 Revert "Disabled Quote Threading by default, >>>/reddit/"
This reverts commit a087fe8fc85a6f2e797336a1f7c8777a41e07c69.
2014-02-10 15:33:27 +01:00
Kabir Sala
a087fe8fc8 Disabled Quote Threading by default, >>>/reddit/ 2014-02-10 15:26:15 +01:00
Kabir Sala
9c5ca585ed Add setting to load captcha when you open the thread, disabled by default 2014-02-10 15:22:56 +01:00
Kabir Sala
a7b2565e5b Copy more from Zixaphir and Mayhem, proper(?) fix for Chrome 2014-02-10 04:45:04 +01:00
Kabir Sala
6c2579449a Release 4chan X v1.3.4. 2014-02-10 01:57:43 +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
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