122 Commits

Author SHA1 Message Date
ccd0
30e451f776 Fix header menu order. #339 2015-02-27 16:39:17 -08:00
ccd0
184141a5e0 When expanding threads, rebuild posts originally fetched for quote previews.
Fixes lack of post hiding buttons etc.
2015-02-08 00:27:49 -08:00
ccd0
1183dd8e2e Merge branch 'get-refactor'
Conflicts:
	src/General/Get.coffee
2015-02-06 22:51:41 -08:00
ccd0
b24ff9d282 Thread posts with multiple quotes provided all of them are ancestors of the last. 2015-02-03 11:45:38 -08:00
ccd0
136be3763f Turning off threading should hide the "Thread New Posts" link.
Also simplify a little.
2015-02-01 16:28:51 -08:00
ccd0
742184d2c0 Merge from Appchan X: src/Quotelinks
deferred: QuoteBacklinks.coffee, QuoteMarkers.coffee, and related changes (including change in QuoteInline.qiQuote)
2015-02-01 16:12:36 -08:00
ccd0
8df52a0b24 Merge from Appchan X: Whitespace and other changes not affecting compiled script. 2015-01-31 02:50:38 -08:00
ccd0
782fe3c690 Revert "Fix quotelinks on /pol/."
This reverts commit ae3e7eaef315e4beda88ef53bbb273c2cbd479be.

Conflicts:
	src/Quotelinks/Quotify.coffee
2015-01-08 19:35:24 -08:00
ccd0
53ad72ee9a Merge branch 'Stable' into Beta
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
	src/Quotelinks/Quotify.coffee
2015-01-04 10:42:27 -08:00
ccd0
4fb30a4d8f Support archived thread list page. 2015-01-04 09:47:03 -08:00
ccd0
ae3e7eaef3 Fix quotelinks on /pol/. 2015-01-03 10:46:55 -08:00
ccd0
bacfbb4e64 Move post fetching code into a class. 2015-01-03 08:42:47 -08:00
ccd0
c066a23aac Fix condition under which to disable thread/reply hiding. 2014-12-24 10:53:07 -08:00
ccd0
6589995e45 Fix treatment of fetched deleted posts. 2014-12-01 20:30:09 -08:00
ccd0
c38c37c720 Overhaul quote threading.
- Separate post order data from read/unread status.
- Make compatible with unread line and scroll to last read post.
- Implement [Thread New Posts] link.
2014-11-30 12:46:07 -08:00
ccd0
b618b760b8 Refactor adding of unread posts. 2014-11-28 20:26:22 -08:00
ccd0
85cdf666c6 This should have been removed in e74cd4e961c3d623e622dd9d56e66ed4992331e4, not made unconditional. 2014-11-23 19:16:45 -08:00
ccd0
e74cd4e961 Fix Unread.init condition. 2014-11-22 15:39:50 -08:00
ccd0
c903b3e80c fix scrolling to posts quoting you 2014-09-16 21:28:34 -07:00
ccd0
6228248c15 Fix "Allow post fetching to work if no archive is selected for thread redirection."
fixes commit c21a8b217f87336b71212169ed71db0c81cb63ee
2014-08-09 18:14:22 -07:00
ccd0
c21a8b217f Allow post fetching to work if no archive is selected for thread redirection. 2014-08-09 15:57:19 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
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