miniflux-legacy/models
Philip Walden 8422e62abc Fulfills enhnacement request fguillot/miniflux #155
Inserts a (unread/total)" items count in front of each subcription
on the feeds page.

models/feed.php adds two functions: get_feed_unread_counts(), get_all_w_counts().
get_feed_unread_counts - returns either an array of (unread/total) counts indexed
by feed id or a singl (unread/total) for a specific id.
get_all_w_counts() returns the same as get_all() but appends items_unread and
items_total columns.

controller/feed.php modifies Router\post_action('refresh-feed',function() to
retrun the (unread/total) count in the retruned ajax json array.
Router\get_action('feeds',function() was modified to call get_all_w_counts().

templates/feeds.php was modified to insert the (unread/total) count into the
span id="loading-feed-" such that is can be updated after a refresh.

assets/js/feed.js was modified to to have the Update and hideRefreshIcon
update the returned (unread/total) amounts in the "loading-feed" span.
2014-02-22 11:00:49 -08:00
..
.htaccess Add autoflush value 'immediately' and improve gitignore 2013-12-22 21:25:54 -05:00
config.php Provides enahncement fguillot/miniflux #162 "Provide original link to any audio/video enclosures". 2014-02-17 10:41:22 -08:00
feed.php Fulfills enhnacement request fguillot/miniflux #155 2014-02-22 11:00:49 -08:00
item.php Improve enclosure support 2014-02-17 22:04:49 -05:00
schema.php Improve enclosure support 2014-02-17 22:04:49 -05:00
user.php Improve files organization 2014-02-08 14:13:14 -05:00