568 Commits

Author SHA1 Message Date
ccd0
ca11d70ef6 Prevent filtered posts from counting in Thread Watcher unread count regardless if they are quoting you. 2019-07-14 10:49:50 -07:00
ccd0
a8264df928 Merge branch 'bstable' 2019-07-13 11:05:14 -07:00
ccd0
473cbf1228 Fix excessive thread watcher checking when switching tabs if cookies disabled. 2019-07-13 10:58:18 -07:00
ccd0
8091065f03 Make Thread Stats work on Tinyboard/vichan sites. #2171 2019-07-13 05:09:54 -07:00
ccd0
a650efe9ab Change this test to test a property. 2019-07-13 03:15:22 -07:00
ccd0
393ee447d7 Implement thread.lastPost. 2019-07-13 03:14:03 -07:00
ccd0
fa7f2cb20b These features are 4chan-specific. 2019-07-11 05:54:22 -07:00
ccd0
3a379000cb Fix your posts appearing to the side of the last post on Tinyboard/vichan. #2217 2019-07-11 05:31:47 -07:00
ccd0
a6ab951170 Fix Tinyboard/vichan post form redirecting before your posts can be recorded as yours. #2171 2019-07-11 00:29:48 -07:00
ccd0
57a5509765 Merge branch 'next' into next2 2019-07-10 12:41:05 -07:00
ccd0
6f1165da9f Merge commit '794027e355ba117ae533d15907a45e1e5e85173a' into next2 2019-07-10 12:30:49 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
2d64d48ac8 Only update thread last modified time if thread data fetch succeeds. 2019-07-10 07:59:20 -07:00
ccd0
5660b8701c Add link to header menu to mark all posts in a thread as unread. #1299 2019-06-29 23:11:49 -07:00
ccd0
a214f51755 Move Build to SW.yotsuba.Build. 2019-04-09 06:49:13 -07:00
ccd0
ca373dcf36 Use g.sites instead of parsing Conf['siteProperties'] everywhere. 2019-04-09 04:22:59 -07:00
ccd0
38f63e6aa8 Move most stuff from Site to g.SITE; Site.hostname -> g.SITE.ID; put data for other sites in g.sites. 2019-04-09 03:30:58 -07:00
ccd0
6caca656dc Fix thread watcher sometimes using a 304 response on re-added thread if 'Show Page' is on. 2019-04-06 06:37:38 -07:00
ccd0
28093b2348 Revert most of "Also avoid full Thread Watcher rebuild on removing entry."
This reverts most of commit 4fe17ac6efd669d2bfee09adfd44951bbf612732.
Keep consolidation of duplicated code.
2019-04-06 06:29:44 -07:00
ccd0
f3ed76f32f Support specifying the sites that filters apply to. #2171 2019-04-06 05:57:16 -07:00
ccd0
c72f09feed Force an unconditional request for threads.json if we need a thread's page number. 2019-04-04 22:14:06 -07:00
ccd0
574d1ad0d3 Show what pages watched threads are on. #1030 2019-04-04 17:36:01 -07:00
ccd0
ccf3692944 Merge branch 'master' into next 2019-04-04 07:00:32 -07:00
ccd0
f61fc5f1ee Fix Thread Watcher bug that in certain circumstances caused the last check of an archived thread for new replies to be skipped. 2019-04-04 06:59:41 -07:00
ccd0
4fe17ac6ef Also avoid full Thread Watcher rebuild on removing entry. 2019-04-04 01:48:38 -07:00
ccd0
af00c711ff Avoid needless Thread Watcher rebuild by using ThreadWatcher.update when possible. 2019-04-04 01:39:40 -07:00
ccd0
35b3275259 Simplify Thread Watcher menu code. 2019-04-04 01:02:35 -07:00
ccd0
71d4d2a2ec Move Thread Watcher settings out of submenu. 2019-04-04 00:57:59 -07:00
ccd0
296457a79f Get rid of ThreadWatcher.menu.refreshers hook and set menu content when menu is opened. 2019-04-04 00:41:30 -07:00
ccd0
86909be300 Add siteID parameter to ThreadWatcher.update 2019-04-04 00:13:37 -07:00
ccd0
9ab1c94e31 Replace rm in DataBoard.extend with properties of val set to undefined. 2019-04-03 23:35:33 -07:00
ccd0
a48e3c5b04 Account for posts added by thread expansion when marking read from index. 2019-04-02 01:30:07 -07:00
ccd0
19c7e73d14 Get rid of more API URLs spread about the codebase. 2019-03-24 04:42:43 -07:00
ccd0
3da684a08c Fix loophole in Thread Watcher aborting. 2019-03-24 04:22:14 -07:00
ccd0
695e995dce Let abort always exist, but we can't guarantee it will do anything. 2019-03-24 03:41:01 -07:00
ccd0
14a7f55e1a Handle aborts in Thread Updater similarly. 2019-03-24 02:56:24 -07:00
ccd0
d6a6b5d2ac Store Last-Modified dates so Thread Watcher can receive 304 responses on first request. 2019-03-23 20:21:15 -07:00
ccd0
4b7b139311 Support If-Modified-Since in cross-site thread watcher requests. 2019-03-23 19:19:33 -07:00
ccd0
e77fa69c53 Move If-Modified-Since code to separate function $.whenModified 2019-03-23 13:03:45 -07:00
ccd0
5a49280be4 Occasionally check catalog.json on vichan boards due to last_modified API bug.
Also let manual thread watcher checks set lastChecked.
2019-03-22 23:20:10 -07:00
ccd0
b102e95613 Restore fake abort in thread watcher if real abort not available or doesn't go through; needed to retry. 2019-03-20 19:41:34 -07:00
ccd0
6ea1d4ca13 Offer cross-origin abort in userscripts if available. 2019-03-20 19:08:46 -07:00
ccd0
725d7d458e Use threads.json in thread watcher to reduce number of thread JSON checks. 2019-03-20 18:30:05 -07:00
ccd0
35213df61e Merge commit 'ef89d9324' (notification filters) 2019-03-18 22:04:15 -07:00
ccd0
24f1458a73 Fix issues from https://github.com/ccd0/4chan-x/pull/2231#issuecomment-467247167 #2231 2019-03-18 21:57:47 -07:00
ccd0
cafb7250c7 Simplify duplicated code for thread watcher requests. 2019-03-11 00:49:21 -07:00
ccd0
74268f78d5 Thread Watcher: Remove fake abort for cross-site requests. 2019-03-11 00:33:46 -07:00
ccd0
188422f1ae Replace CrossOrigin.json with simpler CrossOrigin.ajax and a CrossOrigin.cache making use of $.cache. 2019-03-10 21:11:43 -07:00
ccd0
52128775e1 Restore forced If-Modified-Since for intra-site thread watcher requests. 2019-03-08 03:30:01 -08:00
ccd0
4ca1b1450c Fix thread watcher highlighting when quoted on boards with unusual characters in name (e.g. some lainchan boards). 2019-03-01 10:13:21 -08:00