Commit Graph

85 Commits (f5d174bda96ddc41aa3828bf372a2a3d99cc4460)

Author SHA1 Message Date
Andrew Dolgov 337535416f filter by search results while marking feed as read 8 years ago
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
8 years ago
Andrew Dolgov 23c8ef7e36 parse_counters: skip subscribed-feeds id properly 8 years ago
Andrew Dolgov 6358d70d5e reset local counter cache when feed count changes 8 years ago
Andrew Dolgov d5f74019ac parse_counters: cache previous reply and skip processing of unchanged rows (better implementation) 8 years ago
Andrew Dolgov a4e04c498f parse_counters: cache previous reply and skip processing of unchanged rows 8 years ago
Anders Kaseorg 88946d331a Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov b6b5554db4 normalize some html5 custom attributes 9 years ago
Andrew Dolgov 2d052e42b5 getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats
9 years ago
Andrew Dolgov 63c7446a79 headlines scroll handler: add a rate limit 9 years ago
Andrew Dolgov a51bc3dfa5 catchupfeedingroup: do not remove elements 9 years ago
Andrew Dolgov 6056d164fa cleanup dismissArticle functions 9 years ago
Andrew Dolgov 11514d576f catchupFeedInGroup: dismiss elements on catchup 9 years ago
Andrew Dolgov dfaf806a7a catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed 9 years ago
Andrew Dolgov 701de97ebb improvements for catchupFeedInGroup() 9 years ago
Andrew Dolgov 0b41bd3414 add some hacks to hopefully mitigate headlines memory leaks 9 years ago
Andrew Dolgov 9842b51c71 getfeedname: fix for non-numeric feeds (tags) 9 years ago
Andrew Dolgov d38cd41253 loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode 9 years ago
Andrew Dolgov b717c65e4e update previous 9 years ago
Andrew Dolgov 791877c39d fix catching up for grouped feeds 9 years ago
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
9 years ago
Andrew Dolgov eaec06f950 prevent cyclical scrolling in headlines if next offset requested by infscroll is zero
a bunch of other related fixes
9 years ago
Andrew Dolgov 8292123ebc assorted fixes for keyboard navigation which hopefully don't break everything else 9 years ago
Andrew Dolgov e7a66d1230 (experimental) disable infscroll requests while marking auto catched up articles as read 9 years ago
Andrew Dolgov 48fefe2f6b fixes for first_id stuff 9 years ago
Andrew Dolgov 15ae8cd084 js: remove current_top_id global 9 years ago
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 9 years ago
Andrew Dolgov 07734eee5a loadMoreHeadlines: use shorter syntax for adaptive offset calculation 11 years ago
Andrew Dolgov d9e78984fb viewfeed: properly escape feed in ajax query 11 years ago
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.
12 years ago
Andrew Dolgov f6ba763d6b Revert "Load selected feed after a short timeout"
This reverts commit 17c5d44cf4.
12 years ago
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.
12 years ago
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 12 years ago
Andrew Dolgov 7b32ee7e40 mark older than two weeks: fix typo 12 years ago
Andrew Dolgov ea18cceaca remove splash before freshfeed is loaded 12 years ago
Andrew Dolgov 8d388f321b add a simple JS-based hook host 12 years ago
Andrew Dolgov ba1c7d7cc9 do not set active feed id in headlines callback, bailout if received data for currently deselected feed 12 years ago
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 12 years ago
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 12 years ago
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 12 years ago
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 12 years ago
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
12 years ago
Andrew Dolgov f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 12 years ago
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
12 years ago
Andrew Dolgov d5a8e86417 show loading indicator when appending headlines 12 years ago
Andrew Dolgov 6cf60c881f add little loading indicator for feed categories 12 years ago
Andrew Dolgov 4b74648909 remove two unnecessary hideOrShowFeeds calls 12 years ago
Andrew Dolgov 2bee32ffa7 remove headline precaching stuff, conflicts with dijit widgets in
headlines buffer
12 years ago
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
12 years ago
Andrew Dolgov 1b04a298ef store active feed id in url hash and restore on reload 12 years ago