Commit Graph

409 Commits

Author SHA1 Message Date
Frédéric Guillot
01c3175c1b Merge pull-request and improve relative_time() to support translations 2014-02-25 18:49:38 -05:00
Frédéric Guillot
99c933e283 Improve HTML escaping for translations 2014-02-25 18:00:36 -05:00
chrislemonier
e554be6d22 Add relative date support
Changed Date display to be relative.  If the relative date is hovered over it shows the actual date and time.
2014-02-25 12:14:25 -08:00
chrislemonier
1c224eb08a Add relative date support
Changed Date display to be relative.  If the relative date is hovered over it shows the actual date and time.
2014-02-25 12:12:57 -08:00
chrislemonier
c242998e29 Add relative date support
Changed Date display to be relative.  If the relative date is hovered over it shows the actual date and time.
2014-02-25 12:11:29 -08:00
chrislemonier
a32b1da684 Added new function for Relative Dates 2014-02-25 12:08:58 -08:00
chrislemonier
e9898ba6bb Create treehugger.com.php
New grabber rules file
2014-02-25 12:05:20 -08:00
chrislemonier
e2de759cfa Create huffingtonpost.com.php
New grabber rules file
2014-02-25 12:04:49 -08:00
chrislemonier
913777cd8a Create fastcompany.com.php
New grabber rules file
2014-02-25 12:04:22 -08:00
chrislemonier
816491748b Create fastcoexist.com.php
New grabber rules file
2014-02-25 12:03:46 -08:00
chrislemonier
f611e498f3 Create fastcodesign.com.php
New Grabber Rules File
2014-02-25 12:02:48 -08:00
Frédéric Guillot
dfcc574530 Improve igen.fr grabber rule 2014-02-23 22:37:10 -05:00
Frédéric Guillot
028bfb7499 Improve css for oversized images 2014-02-23 10:56:46 -05:00
Frédéric Guillot
99ee87a771 Improve css/img size 2014-02-22 22:28:32 -05:00
Frédéric Guillot
c13dd083cc Fix php notice 2014-02-22 21:52:18 -05:00
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