214 Commits

Author SHA1 Message Date
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
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
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
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
ccd0
a47449c834 Fix 'Auto Watch Reply' in corner cases when not all thread info is available. 2019-01-25 00:36:10 -08:00
ccd0
fbb54b58f7 Support refreshing threads in Thread Watcher from any site with 4chan-compatible JSON API. 2018-12-06 20:08:22 -08:00
ccd0
4c139b3b0f Support refreshing 4chan threads in Thread Watcher from other sites. 2018-12-06 18:20:21 -08:00
ccd0
ad16e13b61 Leave caching and conditional requests to the browser. Store last fetched post to skip needless rescans. 2018-12-06 15:46:40 -08:00
ccd0
e0ae7daaac Make site prefix optional, behind 'Show Site Prefix' preference in thread watcher menu. 2018-12-05 13:22:36 -08:00
ccd0
ef430050c0 Add prefixes to distinguish sites. 2018-12-05 12:42:34 -08:00
ccd0
670302a947 Any unread data for Tinyboard sites is currently inaccurate and should not be displayed. 2018-12-05 11:51:24 -08:00
ccd0
929fac05ca Transition from siteSoftware to extensible siteProperties. 2018-12-05 05:56:38 -08:00
ccd0
2b59c9e380 Show threads from other sites in watcher. 2018-12-04 20:08:04 -08:00
ccd0
1fbe76e3cd Support access to DataBoard data of other sites. 2018-12-04 17:43:07 -08:00
ccd0
406029ce19 Make cross-domain quotes of you light up thread watcher. 2018-11-24 23:50:56 -08:00
ccd0
f30ef0e068 Make URLs in thread watcher point to appropriate domain. #2143 2018-11-24 23:29:15 -08:00
ccd0
8be6bd3898 Add optional link to mark threads read from index. #625 2018-10-17 05:57:37 -07:00
ccd0
6a00c9f757 Only autorefresh thread watcher from current tab. 2018-05-10 02:30:24 -07:00
ccd0
1ea6f14384 Fix Thread Watcher links on Tinyboard. 2018-01-24 12:11:00 -08:00
ccd0
faa9291606 Fix unwanted appearance of Watch in menu. 2018-01-24 06:42:15 -08:00
ccd0
4acfec4d12 Turn thread watcher refreshing off outside 4chan until working. 2018-01-24 00:02:00 -08:00
ccd0
06c1ae29e3 Turn off Unread and related features on Tinyboard until working. 2018-01-23 23:52:34 -08:00
ccd0
f24ebbd648 Revert reversion of DataBoard / forceSync changes.
This reverts commit ea08bc882230289d675c58c64572d6a7bd0c4a7a.
2018-01-23 22:17:31 -08:00
ccd0
ea08bc8822 Revert "Asynchronous version of DataBoard.forceSync."
This reverts commit fbee3c2df256b5152efd0682904837f0e13b6411.

Revert "Eliminate $.forceSync from QuoteYou."

This reverts commit f924beb2801b232dcbfa04e6d9d1abb2f6810ec3.

Revert "Better protection against race conditions that can lead to data loss in DataBoard."

This reverts commit 8d0a6cf97f263e0735b3002466328285e5a37454.
2018-01-23 11:03:48 -08:00
ccd0
fbee3c2df2 Asynchronous version of DataBoard.forceSync. 2017-12-10 22:26:43 -08:00
ccd0
8d0a6cf97f Better protection against race conditions that can lead to data loss in DataBoard. 2017-12-10 21:47:28 -08:00
ccd0
c41c6d412b WebExtensions doesn't like protocol relative URLs in AJAX requests. 2017-09-28 02:23:59 -07:00
ccd0
950f004ec9 Add Require OP Quote Link option (off by default) to Thread Watcher menu: For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP. 2017-02-06 00:24:16 -08:00
ccd0
2aca3b1986 Fix update of thread watcher highlight on scroll.
Fixes bug from b9dea6f93165f8d3f277177cf222111373d89e20.

Also make quotesYou proper boolean.
2017-01-29 18:33:12 -08:00
ccd0
b9dea6f931 Thread Watcher will now be highlighted on any unread reply to a thread in which you are OP. #913 2017-01-28 07:34:22 -08:00
ccd0
fc8684282f Activate appropriate features on previews shown in archive. #1256 2017-01-28 03:48:07 -08:00
ccd0
2dce5bedce This can execute between thread+post parsing and Thread Watcher callback being run. 2017-01-16 09:29:23 -08:00
ccd0
3dd9d4755f Fix race condition bug from v1.13.0.0 causing 'Watch thread' item to sometimes not appear in header menu. 2016-11-26 19:17:58 -08:00
ccd0
181ba93080 Merge branch 'bstable' 2016-11-13 14:01:12 -08:00
ccd0
313d8c9478 Don't prune threads on index refresh that have yet to appear in the index. 2016-11-13 12:51:50 -08:00
ccd0
9c9307bdd3 Merge branch 'bstable' 2016-11-12 00:17:53 -08:00