91 Commits

Author SHA1 Message Date
ccd0
0303c0ff53 fix label on button to open QR 2014-05-15 18:13:40 -07:00
ccd0
db486e360e fix style switching on navigate 2014-05-15 09:25:34 -07:00
ccd0
bd8623faed don't remove what isn't there 2014-05-12 00:40:56 -07:00
ccd0
7c80aedbdc update original post form 2014-05-11 21:27:17 -07:00
ccd0
94651ceeea Change thread on navigation for all QR posts 2014-05-11 20:35:35 -07:00
ccd0
f1818d0b13 fix index not loading with a 304 response 2014-05-11 19:20:03 -07:00
ccd0
c3f04314cc make things work with Quick Reply and Thread Updater disabled 2014-05-11 17:36:13 -07:00
ccd0
1f714bbac8 update [Return] link when navigating between boards 2014-05-11 14:49:59 -07:00
ccd0
9e99f7924e fix unwanted refresh/reload bugs 2014-05-11 13:40:03 -07:00
ccd0
a80cedbd3e Merge a few more things from Zixaphir 2014-05-11 01:26:23 -07:00
Zixaphir
b2614b5050 Status check 2014-05-10 19:29:11 -07:00
Zixaphir
d67db8f04e Backport fixes from master branch (ccd0: merging just Navigate.coffee part)
Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Main.coffee
	src/General/Navigate.coffee
	src/Linkification/Linkify.coffee
2014-05-10 19:09:07 -07:00
Zixaphir
3b04eb6e2a Reflow Navigate.node, allow navigation from backlinks and their hashes
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Navigate.coffee
	src/Quotelinks/QuoteBacklink.coffee
2014-05-10 18:45:33 -07:00
Zixaphir
635fbaa377 Handle current page links a bit more elegantly 2014-05-10 17:16:36 -07:00
Zixaphir
8d52da3a32 Move same-page check
ccd0:
Was a part of 1d56914bcb9f892ca341428067f8536971d06438
Implement a silly breadcrumb for JSON Navigation
2014-05-10 16:41:48 -07:00
Zixaphir
52303cfdc6 Fix an oopsie
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/lib/simpledict.class
2014-05-10 16:18:32 -07:00
Zixaphir
58c68316e3 Reflow Navigate.parse 2014-05-10 15:38:50 -07:00
Zixaphir
b29bee8869 Fix navigating between threads via quote hashes (Navigate.coffee part of d2511776419976b0496d1889d697fc86e4bd26fd) 2014-05-10 14:53:42 -07:00
Zixaphir
65671b2e2a Fix some issues causing Navigation functions to fail.
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Main.coffee
2014-05-10 13:04:58 -07:00
Zixaphir
298bed6336 Reflow a ton of navigate and index shit to fix broken shit
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/Index.coffee
	src/General/Navigate.coffee
	src/Posting/QR.coffee
2014-05-10 12:38:35 -07:00
Zixaphir
1e682f9306 Navigate.coffee refactoring
from commit a0c24fd06dc14e55908ea1531a8e967713131a7c
Fix some stupid threadupdater issues, more navigate from catalog js
2014-05-10 11:50:05 -07:00
Zixaphir
ee4ad9b86e Cache boards.json (ccd0: Navigate.coffee changes only) 2014-05-10 08:06:39 -07:00
ccd0
57f780ebfb apply Mayhem's quoting fix 2014-05-03 08:23:02 -07:00
ccd0
bf45917000 Merge branch 'newnames'
Conflicts:
	src/General/lib/post.class
2014-04-19 16:57:17 -07:00
ccd0
ec03ab524d Merge branch 'page1' 2014-04-19 15:28:56 -07:00
ccd0
7aeb46abb9 transition to new HTML 2014-04-19 00:28:19 -07:00
ccd0
a452b732fd change res -> thread in JSON API URLs 2014-04-13 01:46:18 -07:00
ccd0
9fe486d637 Merge branch 'master' into page1 2014-04-13 01:19:02 -07:00
ccd0
9b90698d59 move page list hiding to CSS 2014-04-12 23:58:57 -07:00
ccd0
bb08d503a9 Merge branch 'master' into page1
Conflicts:
	src/General/Index.coffee
	src/Monitoring/ThreadStats.coffee
2014-04-12 20:39:12 -07:00
ccd0
3206724aea fix nonrebuilding of index
Also hide page list in threads instead of deleting.
2014-04-12 20:22:49 -07:00
ccd0
67ddd00d7b stop page list from appearing in threads 2014-04-12 19:54:03 -07:00
ccd0
1182047357 more indexing changes 2014-04-12 18:41:05 -07:00
ccd0
5ab31d5e75 fix JSON navigation history bugs 2014-04-12 17:02:08 -07:00
Kabir Sala
66e1e23e6a Partially fix #19 2014-02-27 16:37:18 +01:00
Kabir Sala
9a4199d829 Fix #14 2014-02-25 13:20:19 +01:00
Zixaphir
b3f937f5c8 Fix JSON Navigation unread count 2014-02-16 03:11:27 -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
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
Zixaphir
3a61ecafff The good parts. 2014-01-18 16:53:48 -07: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
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
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00