552 Commits

Author SHA1 Message Date
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
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
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