100 Commits

Author SHA1 Message Date
ccd0
3fa001636d %% in format string = literal % 2014-06-29 02:47:06 -07:00
ccd0
335ef45af3 Merge branch 'email-fix-reverted' into tests 2014-06-27 14:29:05 -07:00
ccd0
cdb83f744a cleanup menu code 2014-06-18 22:39:19 -07:00
ccd0
e810af22ca remove dead feature disconnection code 2014-06-17 22:54:51 -07:00
ccd0
efc852464f don't use event for adding to menu internally 2014-06-17 21:12:07 -07:00
ccd0
0786f023f3 make all quote links stub-tolerant 2014-06-17 02:25:09 -07:00
ccd0
0de728e5a6 get quote threading + quote notifications partially working 2014-06-01 20:48:43 -07:00
ccd0
722635d722 Drop navigation between threads/boards with JSON 2014-06-01 17:40:23 -07:00
ccd0
cb828fa9c4 quote all the attributes 2014-05-15 17:32:38 -07:00
ccd0
57ed5e8055 fix privilege escalation vulnerability 2014-05-12 21:46:18 -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
ccd0
6fb54490c2 fix bug in quote threading 2014-04-20 00:40:10 -07:00
ccd0
bf45917000 Merge branch 'newnames'
Conflicts:
	src/General/lib/post.class
2014-04-19 16:57:17 -07:00
ccd0
626d701756 fix (You) in backlinks 2014-04-15 01:05:39 -07:00
ccd0
4ecd6f8cfe res -> thread 2014-04-12 21:16:01 -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
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
6c1eef61c0 Fix "Mark Quotes of You"
God, that option name is dumb
2014-01-13 19:09:41 -07:00
Zixaphir
d41448a403 Work around a small issue
causing the space after a quotelink to disappear after inlining a
post and uninlining it.

Seriously.
2014-01-13 00:23:40 -07:00
Zixaphir
7b0b3d23e3 Does it matter? Probably not. 2014-01-13 00:20:27 -07:00
Zixaphir
971b7d971e Better QuoteInline process 2014-01-13 00:09:43 -07:00
Zixaphir
495567682b Fix duplicate backlinks 2014-01-11 19:34:07 -07:00
Zixaphir
2b1a49b02e That didn't work as expected. 2014-01-11 16:14:16 -07:00
Zixaphir
dcb734afff Small fix to backlinks code 2014-01-11 14:54:41 -07:00
Zixaphir
a20e85d30f Features can *and should* handle under what context they disconnect 2014-01-11 12:03:50 -07:00
Zixaphir
bc9f094a77 Turns out I never finished my Thread Title magic...
because @MayhemYDG had already done it and done it better. So I
thought mine was working when it was just his... and then
realized when I didn't disconnect it and the index was getting a
title from a thread that it wasn't working and his was.

So let's just use his code.
2014-01-10 18:07:14 -07:00
Zixaphir
79cf8713a4 Add some stuff, hopefully should reduce errors 2014-01-09 23:10:32 -07:00
Zixaphir
c47b14f0bf Now I need to figure out how to get the Feature.ready code to run 2014-01-09 20:15:48 -07:00
Zixaphir
0d29b42a02 This kills the script
No, seriously, this commit breaks everything if you open a reply.
It's k, though, that's why this branch exists: so I can break it
all without harming end users and stable development.

Holy carp, though, the amount of errors thrown!
2014-01-09 18:51:49 -07:00
Zixaphir
41e3fa05ad Start working on getting index navigation from a thread working 2014-01-08 09:30:23 -07:00
Zixaphir
51c41f563c Shave off a couple lines 2014-01-07 10:28:37 -07:00
Zixaphir
898cfda2fd That translates to leaner JS 2014-01-07 10:23:48 -07:00
Zixaphir
420a5ad432 Why bother assigning variables to do nothing with them? 2014-01-07 10:20:13 -07:00
Zixaphir
80dd30def0 Optimizations to QuoteThreading (again) 2014-01-07 10:17:46 -07:00
Zixaphir
a7ce01cb61 Fix toggle 2014-01-06 09:37:23 -07:00
Zixaphir
3a776fb5e1 Missed one. 2014-01-06 09:17:54 -07:00
Zixaphir
8b6ea725e4 post.cb.call(post) > post.cb()
heh, comprehension fail. this was this anyways.
2014-01-06 09:15:20 -07:00
Zixaphir
77d97277c9 Minor optimizations 2014-01-06 09:04:45 -07:00
Zixaphir
b9f2702daf Consolidate and cleanup 2014-01-06 08:55:26 -07:00
Zixaphir
1c5c542ca1 And that should fix everything. Woo. 2014-01-06 08:45:17 -07:00
Zixaphir
5a080e7f60 D: 2014-01-05 17:47:40 -07:00
Zixaphir
4f8e304ee8 So terrible~ 2014-01-05 13:57:26 -07:00
Zixaphir
3f60a05edc I was wrong. Still broken, but getting there 2014-01-05 13:12:06 -07:00
Zixaphir
c1427e4494 And... I think that's done. Well, that wasn't hard. 2014-01-05 10:52:58 -07:00
Zixaphir
6574746e90 Start working on putting in aeosynth's RandomAccessList
For performance, obviously.
2014-01-04 13:38:09 -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
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
Mayhem
abdb3acdca Fix #1292. 2013-10-06 15:14:43 +02:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00