Commit Graph

65 Commits

Author SHA1 Message Date
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
2015-08-12 14:09:46 +03:00
Andrew Dolgov eaec06f950 prevent cyclical scrolling in headlines if next offset requested by infscroll is zero
a bunch of other related fixes
2015-08-11 12:00:08 +03:00
Andrew Dolgov 8292123ebc assorted fixes for keyboard navigation which hopefully don't break everything else 2015-08-11 10:06:30 +03:00
Andrew Dolgov e7a66d1230 (experimental) disable infscroll requests while marking auto catched up articles as read 2015-07-14 12:50:27 +03:00
Andrew Dolgov 48fefe2f6b fixes for first_id stuff 2015-07-12 18:08:02 +03:00
Andrew Dolgov 15ae8cd084 js: remove current_top_id global 2015-07-12 13:30:00 +03:00
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 2015-07-12 01:29:36 +03:00
Andrew Dolgov 07734eee5a loadMoreHeadlines: use shorter syntax for adaptive offset calculation 2013-09-01 14:07:31 +04:00
Andrew Dolgov d9e78984fb viewfeed: properly escape feed in ajax query 2013-07-12 14:15:03 +04:00
Matt Haley a95e14fb4c Load selected feed after a short timeout
Avoid firing multiple server requests if the user is navigating up/down
the tree list with the keyboard. Instead, wait till the user has stopped
navigating for at least 250ms.
2013-06-13 22:39:26 -07:00
Andrew Dolgov f6ba763d6b Revert "Load selected feed after a short timeout"
This reverts commit 17c5d44cf4.
2013-06-12 14:04:31 +04:00
Matt Haley 17c5d44cf4 Load selected feed after a short timeout
Avoid firing multiple server requests if the user quickly clicks another feed or is navigating up/down the tree list with the keyboard.
2013-06-11 22:54:32 -06:00
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 2013-05-16 01:08:04 +04:00
Andrew Dolgov 7b32ee7e40 mark older than two weeks: fix typo 2013-05-14 14:27:28 +04:00
Andrew Dolgov ea18cceaca remove splash before freshfeed is loaded 2013-05-02 09:48:38 +04:00
Andrew Dolgov 8d388f321b add a simple JS-based hook host 2013-04-24 19:49:37 +04:00
Andrew Dolgov ba1c7d7cc9 do not set active feed id in headlines callback, bailout if received data for currently deselected feed 2013-04-04 20:14:39 +04:00
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 2013-04-03 18:20:14 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 2013-03-31 12:37:42 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 2013-03-27 22:41:12 +04:00
Andrew Dolgov 2196b517cd manually find and expand all parent nodes of a selected feed in feedTree
because dojo is incapable of doing it itself in a situation where tree
persistence cookie is at initial state, bloody fucking hell
2013-03-26 16:32:06 +04:00
Andrew Dolgov d5a8e86417 show loading indicator when appending headlines 2013-03-23 09:30:57 +04:00
Andrew Dolgov 6cf60c881f add little loading indicator for feed categories 2013-03-19 20:29:20 +04:00
Andrew Dolgov 4b74648909 remove two unnecessary hideOrShowFeeds calls 2013-03-19 16:46:27 +04:00
Andrew Dolgov 2bee32ffa7 remove headline precaching stuff, conflicts with dijit widgets in
headlines buffer
2013-02-28 15:52:30 +04:00
Andrew Dolgov 18e1a773d1 change ctrl-arrow bindings to always keep current article on top
(previous behavior)
replace direct active_post_id references with get/set functions
2013-02-28 13:18:58 +04:00
Andrew Dolgov 1b04a298ef store active feed id in url hash and restore on reload 2013-02-28 13:06:54 +04:00
Andrew Dolgov 0a7b15207e remove previous counter hacks; force request counters when there's no
unread stuff left in current feed (e.g. finished reading)
2013-02-27 16:57:26 +04:00
Andrew Dolgov 5129d29d65 reduce counters request minimum interval 2013-02-27 16:47:25 +04:00
Andrew Dolgov bf40c12408 request_counters: force request 50% of the time to keep all counters updated 2013-02-27 16:11:44 +04:00
Andrew Dolgov d9013d8351 enable displayNewContentPrompt() for cats 2013-02-06 12:35:11 +04:00
Andrew Dolgov 38325ad6d1 remove tt-rss tabcontrol 2013-02-06 11:09:45 +04:00
Andrew Dolgov 5b55e9e25c js: simplify counter updating, remove some unused stuff 2013-02-01 13:09:43 +04:00
Andrew Dolgov 57e9729425 feedlist_init: do not wait before calling viewfeed(-3) 2012-12-24 16:54:24 +04:00
Andrew Dolgov 1e07a58a86 do not reset search query because of background requests 2012-10-27 13:18:58 +04:00
Andrew Dolgov c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov 32834a7412 viewfeed: better checking for reopening current feed 2012-10-10 16:31:33 +04:00
Andrew Dolgov c67cd7ab9d fix infinite scrolling for search results 2012-10-10 16:30:26 +04:00
Andrew Dolgov fe0a51ac83 loadMoreHeadlines: revert to old behaviour for adaptive 2012-08-28 16:07:02 +04:00
Andrew Dolgov 455e774a3a loadMoreHeadlines: fix for unread view
decrementFeedCounter: do not apply counter hacks when dealing with
subcategory entries
2012-08-28 16:02:44 +04:00
Andrew Dolgov 183ca8b940 parse_counters: properly delete category cache when child_unread changes 2012-08-24 23:23:03 +04:00
Andrew Dolgov 2c2cdaf7dc allow request_counters() in bw_limit mode 2012-08-23 10:37:08 +04:00
Andrew Dolgov 3d2c9f5adf small tweak for loadMoreHeadlines() algorithm 2012-08-16 19:11:39 +04:00
Andrew Dolgov 4d5eed551f only precache_headlines_idle() when actually idle 2012-08-14 19:30:49 +04:00
Andrew Dolgov 973c4a649f make precache_headlines_idle() start slower 2012-08-14 19:03:34 +04:00
Andrew Dolgov 854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00