Commit Graph

394 Commits

Author SHA1 Message Date
Frédéric Guillot 6ed3ec788a Change loading icon to use an utf8 symbol 2014-02-22 21:50:54 -05:00
Frédéric Guillot 754dcdd274 Improve pull-request for unread count for each feed 2014-02-22 19:45:02 -05:00
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
Frédéric Guillot 74d8d361ee Improve enclosure support 2014-02-17 22:04:49 -05:00
Philip Walden 2874d16a5d Provides enahncement fguillot/miniflux #162 "Provide original link to any audio/video enclosures".
Essentially, if an enclosure tag exists in the item, then the item menu will contain
a link 'multimedia [speaker symbol]' to the media url. Otherwise, if there is no
enclosure tag, there is no menu item shown.

This feature required adding an enclosure column to the items table (models/schema.php)
and bumping the DB version to 21 (models/config.php). I also added enclosure tag logic
to the Rss20 parser, the model/item.php and template/item.php files.
2014-02-17 10:41:22 -08:00
Frédéric Guillot cead0305ca Update readme 2014-02-15 19:35:35 -05:00
Frédéric Guillot 2486498d67 Add new content grabber rules 2014-02-15 19:31:22 -05:00
Frédéric Guillot 33ab9d7fb6 Add new methods to the api item.get_all, item.get_all_since and item.get_all_status 2014-02-15 14:09:50 -05:00
Frédéric Guillot 88529c942d Update readme 2014-02-15 10:33:32 -05:00
Frédéric Guillot 8342686d75 Add grabber rules for Futura-Sciences, Mac4Ever and PcInpact 2014-02-15 10:25:33 -05:00
Frédéric Guillot 2d2afcd786 Do not select next item for mouse events only for keyboard shortcuts 2014-02-14 21:37:07 -05:00
Frédéric Guillot da61d38249 Improve mobile layout (Android phones) 2014-02-14 21:21:14 -05:00
Frédéric Guillot 7346686e9a Fix bug: Handle the case when there is a huge number of items to remove (sqlite limitation) 2014-02-11 21:26:55 -05:00
Frédéric Guillot 662c008edc Replace callable by Closure to be compatible with PHP 5.3 2014-02-09 15:13:36 -05:00
Frédéric Guillot e92dff0331 Add utility script to output changes in html 2014-02-09 14:26:02 -05:00
Frédéric Guillot 49140ef84a Update picoDb 2014-02-09 12:34:38 -05:00
Frédéric Guillot 5cb7d40838 Add a new theme with almost no css 'NoStyle' 2014-02-09 12:33:33 -05:00
Frédéric Guillot 2509de7f76 Improve others themes 2014-02-09 12:32:46 -05:00
Frédéric Guillot 49583f381f Improve files organization 2014-02-08 14:13:14 -05:00
Frédéric Guillot 93190949e8 Increase font size for the mobile version 2014-02-07 19:36:21 -05:00
Luca Marra f4786bd867 Updated italian translation 2014-02-06 09:54:07 +01:00
Frédéric Guillot fdc0298caf Change item nav 2014-02-04 22:12:27 -05:00
Frédéric Guillot 3ea7240849 Move some css outside of the mobile layout 2014-02-04 21:54:41 -05:00
Frédéric Guillot 4a17f614fe Improve mobile layout 2014-02-04 21:47:59 -05:00
Frédéric Guillot 232cf848b5 Add content parser rule for lesjoiesducode.fr 2014-02-04 20:04:53 -05:00
Frédéric Guillot cc2fbee172 Ignore items without url 2014-02-01 15:23:41 -05:00
Frédéric Guillot a843312fff Add some workarounds for broken feeds 2014-02-01 14:52:33 -05:00
Frédéric Guillot 541e9e5afb Fix text typo 2014-01-12 18:35:46 -05:00
Frédéric Guillot ad75a71a51 Bug fix: when the title is empty, use the url as title 2014-01-11 19:46:30 -05:00
Frédéric Guillot b7999ebf5d Update spanish translation (thanks to Vincent Ozanam) 2014-01-06 21:58:30 -05:00
Frédéric Guillot e709107075 Add a robots.txt to disallow all search bots 2014-01-05 13:31:06 -05:00
Frédéric Guillot 008ff549b9 Update readme (update instructions) 2014-01-05 13:28:38 -05:00
Frédéric Guillot 9a021ba43e Add an option to choose where to be redirected when there is nothing to read 2013-12-23 13:33:16 -05:00
Frédéric Guillot eb9f307da8 Fix error after refactoring 2013-12-22 22:30:49 -05:00
Frédéric Guillot cd671c60b7 Add autoflush() call to the cronjob 2013-12-22 22:19:27 -05:00
Frédéric Guillot a742484796 Update french translation 2013-12-22 22:09:58 -05:00
Frédéric Guillot 7648191239 Fix Mozilla Persona login 2013-12-22 21:43:29 -05:00
Frédéric Guillot 387600ca10 Add autoflush value 'immediately' and improve gitignore 2013-12-22 21:25:54 -05:00
Frédéric Guillot ee917419ad Set default value of autoflush to 15 days in not set to avoid large database 2013-12-22 21:11:50 -05:00
Frédéric Guillot 4fb68b9b80 Split models and controllers in different files 2013-12-22 20:55:53 -05:00
Frédéric Guillot 259ee098b3 Add contributor 2013-12-17 21:45:03 -05:00
Frédéric Guillot 61b12ab4d7 Bug fix date parsing (thanks to @skasi7) 2013-12-17 21:42:22 -05:00
Frédéric Guillot d92f201fdc Quick and dirty hack for id generation 2013-12-17 20:56:53 -05:00
Frédéric Guillot 9f699e46b5 Reset feed_parsing_error column when successful 2013-12-15 22:50:28 -05:00
Frédéric Guillot fab7b8b04b Bug fix for RSS2 detection 2013-12-15 22:38:06 -05:00
Frédéric Guillot 282c1cb5ad Display a message next to a feed when there is a parsing error 2013-12-15 19:24:51 -05:00
Frédéric Guillot 31645de31e Update grabber rule: smallhousebliss.com 2013-12-15 14:46:56 -05:00
Frédéric Guillot 5f7ca89496 Ability to edit a subscription 2013-12-05 21:23:46 -05:00
Frédéric Guillot 8291e7f64e Add content rules for ing.dk, jobfinder.dk and version2.dk 2013-11-30 17:05:41 -05:00
Frédéric Guillot c2039bcfc4 Add new content rules 2013-11-26 21:01:13 -05:00