1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-23 11:46:37 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
Andrew Dolgov
337535416f filter by search results while marking feed as read 2017-03-31 11:21:35 +03:00
Andrew Dolgov
1bfe1d7b31 simplify error handling
* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations
2017-03-04 14:34:44 +03:00
Andrew Dolgov
23c8ef7e36 parse_counters: skip subscribed-feeds id properly 2017-02-04 14:50:50 +03:00
Andrew Dolgov
6358d70d5e reset local counter cache when feed count changes 2017-02-04 11:57:31 +03:00
Andrew Dolgov
d5f74019ac parse_counters: cache previous reply and skip processing of unchanged rows (better implementation) 2017-01-22 19:38:07 +03:00
Andrew Dolgov
a4e04c498f parse_counters: cache previous reply and skip processing of unchanged rows 2017-01-22 19:29:14 +03:00
Anders Kaseorg
88946d331a Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 16:52:27 -05:00
Andrew Dolgov
b6b5554db4 normalize some html5 custom attributes 2016-03-22 23:43:32 +03:00
Andrew Dolgov
2d052e42b5 getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats
2016-03-22 23:22:28 +03:00
Andrew Dolgov
63c7446a79 headlines scroll handler: add a rate limit 2016-03-22 12:43:18 +03:00
Andrew Dolgov
a51bc3dfa5 catchupfeedingroup: do not remove elements 2016-03-22 10:23:57 +03:00
Andrew Dolgov
6056d164fa cleanup dismissArticle functions 2016-03-22 10:11:11 +03:00
Andrew Dolgov
11514d576f catchupFeedInGroup: dismiss elements on catchup 2016-03-22 09:42:00 +03:00
Andrew Dolgov
dfaf806a7a catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed 2016-03-21 21:43:54 +03:00
Andrew Dolgov
701de97ebb improvements for catchupFeedInGroup() 2016-03-21 21:40:40 +03:00
Andrew Dolgov
0b41bd3414 add some hacks to hopefully mitigate headlines memory leaks 2016-01-11 01:11:26 +03:00
Andrew Dolgov
9842b51c71 getfeedname: fix for non-numeric feeds (tags) 2015-12-30 15:11:39 +03:00
Andrew Dolgov
d38cd41253 loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode 2015-10-27 15:36:51 +03:00
Andrew Dolgov
b717c65e4e update previous 2015-09-03 16:54:09 +03:00
Andrew Dolgov
791877c39d fix catching up for grouped feeds 2015-09-03 16:41:04 +03:00
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