Commit Graph

91 Commits (04ad631a08e33c30ba506ed07e93f1815434018d)

Author SHA1 Message Date
Andrew Dolgov ab688e963d viewfeed: remove force_nocache (unused) 7 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 7 years ago
Andrew Dolgov fa3bcfa379 queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
7 years ago
Andrew Dolgov 7c0eb1b621 add defaultPasswordWarning nag dialog 7 years ago
Andrew Dolgov 03c56b041f force-request counters on load once if bw_limit option is enabled (because there's no timeout()) 7 years ago
Andrew Dolgov 22adcd7466 request counters less times during startup, delay initial request in feedlist_init() a bit 7 years ago
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 10 years ago
Andrew Dolgov 48fefe2f6b fixes for first_id stuff 10 years ago
Andrew Dolgov 15ae8cd084 js: remove current_top_id global 10 years ago
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 10 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 12 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