534 Commits

Author SHA1 Message Date
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
ccd0
f3c80c7a48 Fix regression that broke favicon turning red on thread archival/404. #2190 2019-01-25 22:20:28 -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
86dcb44a4e Don't re-insert unread line unless it needs to move. #2214 2019-01-24 15:38:34 -08:00
ccd0
9fd5a88242 Quick fix for issues on lainchan due to not accounting for post container. 2018-12-13 20:44:02 -08:00
ccd0
70bcd9dc1b Let UnreadIndex handle removing unread line on contraction using PostsRemoved event. 2018-12-07 13:02:45 -08:00
ccd0
0ca735c200 Process posts added by thread updating or expansion scripts. 2018-12-07 11:16:38 -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
b4ffb42a33 Make features in Unread work on tinyboard with exception of Unread Favicon. 2018-12-06 12:27:13 -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
6969f4a8cf Don't show unread line in index when last read post is OP and some posts are omitted. 2018-11-05 13:01:48 -08:00
ccd0
78f0cf9e78 Revert "Let pressing Mark Read link contract an expanded thread." and "Here it's more appropriate to maintain the position of the bottom of the thread than to scroll up to the top."
This reverts commits dbcf588befff831267cad1eed5fa3c6777efe95d and 23b8523cd7b77bfc00b08c5be3ee70170b7d71a9.
2018-11-03 21:43:08 -07:00
ccd0
dbcf588bef Here it's more appropriate to maintain the position of the bottom of the thread than to scroll up to the top. 2018-11-03 20:47:54 -07:00
ccd0
23b8523cd7 Let pressing Mark Read link contract an expanded thread. 2018-11-03 04:02:08 -07:00
ccd0
50dad6006e Make Scroll to Last Read Post operate in index if Unread Line in Index enabled. 2018-11-03 03:51:28 -07:00
ccd0
ce5d40cfb7 Consistent with update, remove class on thread instead of removing link. 2018-11-03 02:18:50 -07:00
ccd0
c66529d4c5 Add keybind to mark thread read from index (if Unread Line in Index enabled). 2018-11-01 23:17:06 -07:00
ccd0
481a775a80 Add Unread Line in Index option, combined with previous work on Mark Read button. #625
Also fix various bugs with the old implementation.
2018-10-20 22:43:34 -07:00
ccd0
96cae8339a Fire PostsInserted event on common ancestor of inserted posts. 2018-10-20 12:40:52 -07: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