Commit Graph

31 Commits

Author SHA1 Message Date
Mathias Kresin
db94d94de3 Improve user notice about failed feeds
Show feeds with errors always at the top and highlight them

Changes the feed order to:

1. failed
2. enabled
3. disabled

Order alphabetical within each group.

Show a warning message with a hin to the console if feeds have issues

Fixes #300, #303
2015-01-15 02:04:35 +01:00
Frédéric Guillot
aa18c0d86f Merge pull-request #285, (pt_BR translations) 2015-01-02 12:10:43 -05:00
Kaminary
8b571fee48 Fixed little typo in feed list 2015-01-02 14:56:01 -02:00
Mathias Kresin
49a905db4c RTL/LTR rendering engine hinting
This prevents UI glitches with RTL feeds.

Use the unicode LTR marker character to hint the rending engine which
part of a RTL/LTR mixed string is LTR. This prevents UI glitches with
RTL feeds like http://www.ynet.co.il/Integration/StoryRss544.xml.

The entity has to be outside of the span tag to prevent flickering when
the counter is update via javascript.
2014-12-31 17:15:51 +01:00
Mathias Kresin
9d31eb1a01 Fix feed-last-checked update after refresh-all
I've dropped it accidentally with my last commit. Furthermore I moved
the data-feed-id definition to the article element and dropped multiple
references of the feed id. That's similar to what I've done before with
the data-item-id in 3dae99ac.

The article element holds the information whether a feed is disabled now.

Now it is shown if a feed had errors while updating.
2014-12-31 17:14:19 +01:00
Mathias Kresin
a4d8abb631 Move update icon and update icon blinking to css
Use CSS3 Animation for the "loading icon" blinking and move the definition of
the loading icon to CSS as well.

CSS3 Animations are supported by IE10, Firefox and using the -webkit prefix by
Chrome and Safari.

I've dropped the usage of element.classList in favour of supporting refreshing/
article downloading in IE9 (again). The classList stuff isn't necessarily
needed, as the elements in question only get one or no class assigned.

I've dropped no longer supported css options like:

the appearance option isn't supported by any browser, the -webkit-appearance
doesn't change anything visible.

-webkit-font-smoothing support was dropped in chrome 22 and font-smoothing
isn't specified anywhere.
2014-12-26 23:01:05 +01:00
Frédéric Guillot
feb25c7552 Add favicons on the feeds page 2014-12-24 18:12:41 -05:00
Mathias Kresin
b62fb332b5 Translations: Remove unused, dedup and add missing entries 2014-11-20 18:49:23 +01:00
Mathias Kresin
8424b9bfb1 add brackets to unread, page and feed items counter via CSS
Unified the page-counters before.

This makes processing of counters in javascript way more easier. The minimum
required browser versions for the needed CSS3 selectors are IE9, Firefox 3.5
and Chrome 5. Confirmed working with IE9, Firefox 24.6, Chrome 36, Mobile Safari
on iOS6.

An unintended side effect of CSS brackets is that theme designers are able to
implement there idea of brackets.
2014-11-19 20:19:45 +01:00
Frédéric Guillot
53b94d8f7b Add option to force RTL mode per feed and improve feed modification 2014-10-19 19:14:33 -04:00
Frédéric Guillot
b5c20b93e5 Restore date/time in feeds page to fix translation 2014-02-25 20:02:55 -05:00
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
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
Frédéric Guillot
da61d38249 Improve mobile layout (Android phones) 2014-02-14 21:21:14 -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
5f7ca89496 Ability to edit a subscription 2013-12-05 21:23:46 -05:00
Frédéric Guillot
c2ce24a427 Add items sorting by date 2013-09-14 19:05:52 -04:00
Frédéric Guillot
e77b785263 Improve content grabber: add rules for specific websites and add automatic download for feeds 2013-08-31 11:05:45 -04:00
Frederic Guillot
dafa3c9a4c The bookmark link is now a star icon 2013-08-04 16:06:14 -04:00
Frederic Guillot
d12fa5b76b Add the last checked date to the feeds list 2013-08-04 15:37:56 -04:00
Frederic Guillot
e7be31c92c Add the possibility to disable/enable a feed 2013-08-04 15:15:12 -04:00
Frederic Guillot
f42522c2a1 Improve the feed title and feed domain display 2013-07-21 12:32:00 -04:00
Frederic Guillot
215ddaea10 Improve css for mobile version 2013-07-19 20:39:49 -04:00
Frederic Guillot
e2121cc72d Add a page to display all items by subscription 2013-07-12 22:16:40 -04:00
Frederic Guillot
a79211d47f Improve items paging, get config values, add option to set the number of items per page and add comments 2013-07-06 10:50:37 -04:00
Frederic Guillot
8fd7b18927 Move everything to the top-level directory 2013-05-21 12:34:39 +02:00