Commit Graph

159 Commits

Author SHA1 Message Date
Mathias Kresin
cd13efeabf implement frontend autoupdate
Only the unread counter is updated right know.

The AutoUpdate Feature is designed on the premise of don't wasting resources. A
distinction is made between updates when Miniflux is visible or hidden.

To determine the visibility status, the Page Visibility API is used. The API is
available starting with Chrome 33, Firefox 18 and IE10. [https://developer.mozilla.org/en-US/docs/Web/Guide/User_experience/Using_the_Page_Visibility_API]
As IE9 returns an undefined, it doesn't break the compatibility at least.

If Miniflux is visible, the unread counter on the web page is updated as soon as
a mismatch between the counter and the number of unread articles in the database
is found.

If Miniflux is hidden, the timestamp of the most recent article from each feed
is compared with the value from the last run. We have an update If the timestamp
of the latest article is greater than the stored one and the latest article is
unread. The web page title is updated with a ? symbol to notify the user and the
update check pauses till Miniflux gets visible again. If Miniflux gets visible
again, the number of unread articles is queried from the database, the unread
counter on the web page is updated and finally the ? symbol is removed from the
web page title.

This way I can use my fever API client to read new articles (or at least the
latest article) while Miniflux is hidden and as I've seen the new articles
already a new articles notification is prevented.

It's intentionally that the page does not reload automatically as long as
articles are visible. If I'm in hurry, I only scroll through the articles to
spot something interesting. Most of the time I don't reach the last article.
If the page is reloaded while I'm away, I would have to scan from the top again.

If we're on a nothing_to_read page and have unread articles in the database, a
redirect to the unread page will be done.

The default update check interval is 10 minutes and can be changed on the
settings page. A zero value disables the update check entirely.

fixes #213
2015-01-28 05:26:55 +01:00
Mathias Kresin
1c68dd4727 remove html tags from translations 2015-01-18 14:33:19 +01:00
Frederic Guillot
32393d17af Change the color of the feed errors box and update the french translation 2015-01-14 20:27:38 -05:00
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
Mathias Kresin
360fc9076e improve sub navigation on config page
Don't hide the active element, it annoying to use the navigation if the
menu items changing there position with every click. Indicate the active
menu item instead, similar to the header navigation.

May I've worked to long with windows systems, but help and about have to
be the last menu items :-). I've reorderd the menu items to what I think
user need more often.

A sub-navigation should not change its parent heading. Changed that as
well.
2015-01-13 22:50:59 +01:00
Frederic Guillot
6a1515c0cc Fix english typo 2015-01-12 18:07:09 -05:00
Frédéric Guillot
da174a10cc Display the bookmarklet in a text box to be easy to copy and paste 2015-01-02 12:43:17 -05:00
Frédéric Guillot
563caa477d Add new contributor 2015-01-02 12:17:04 -05:00
Frédéric Guillot
aa18c0d86f Merge pull-request #285, (pt_BR translations) 2015-01-02 12:10:43 -05:00
Kaminary
e75db0ce4f Better pt_BR translation 2015-01-02 14:56:16 -02:00
Tobi
d2bbe91630 Update translations.php
Fixed another typo and changed a few points initiated by suggestions from mkresin
2015-01-02 17:01:00 +01:00
Tobi
f5c5f6a2db Update translations.php
Completed the missing translations.
Fixed some typos, mostly lower/upper-case.
Native speaker.
2014-12-31 12:43:52 +01:00
Frédéric Guillot
c1d74b8332 Add favicon support 2014-12-24 17:54:27 -05:00
Frédéric Guillot
7d4d4e0193 Add image proxy to avoid https mixed content warnings 2014-12-24 15:58:24 -05:00
Frédéric Guillot
b2e3116350 Add Instapaper support 2014-12-24 13:50:20 -05:00
Frédéric Guillot
635e3bb813 Add Pinboard bookmark sync 2014-12-24 10:47:24 -05:00
Frédéric Guillot
5690f91fb7 Add keyboard shortcut to toggle RTL mode 2014-12-23 22:13:23 -05:00
Frédéric Guillot
4313909052 Add option to flush all unread items after X days, default 45 days (avoid very large database) 2014-12-15 20:38:35 -05:00
Mathias Kresin
1813c266b7 Update german translation 2014-11-20 18:49:24 +01: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
fa5bda49db Add a database page 2014-11-18 19:16:14 -05:00
Frédéric Guillot
d17b418328 Add confirmation box for auto-update 2014-11-08 10:07:24 -05:00
Frédéric Guillot
f4efaadad1 Remove Google auth (openid is deprecated) and Persona auth (useless) 2014-11-07 20:53:50 -05:00
Frédéric Guillot
1ac40097ed Split settings page into mutliple pages 2014-11-07 20:37:12 -05:00
Frédéric Guillot
5801258ace Add Fever API support 2014-10-29 21:28:23 -04:00
Frédéric Guillot
85d4e9231d Allow the translation of the application name 2014-10-19 19:22:22 -04: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
8d93fbc48c Remove items via ajax requests (merge pull-request #227) 2014-07-26 08:01:25 -04:00
Frédéric Guillot
3453a9f1d4 Improve usability (merge pull-request #226) 2014-07-26 07:33:15 -04:00
Frédéric Guillot
431c618256 Merge branch 'master' of https://github.com/fguillot/miniflux 2014-07-23 11:38:43 -03:00
Frédéric Guillot
1a4feb228d Sync translations files 2014-07-23 07:43:48 -03:00
Julian Oster
37fb6480e7 Fixed little mistake in de_DE translation 2014-07-05 22:41:18 +02:00
Julian Oster
615a037122 Translated the MISSING strings. 2014-06-09 12:07:03 +02:00
Julian Oster
5250926e5d Changed translations for German. 2014-06-09 11:48:52 +02:00
silvus
655e8fda68 Add option to select display mode on lists (summaries or full contents) 2014-05-29 16:57:23 +02:00
Frédéric Guillot
da8351ec5c Fix #208 and #209 2014-05-28 16:10:41 -04:00
Frédéric Guillot
7e553f72fd Add RememberMe authentication 2014-05-26 20:47:40 -04:00
Frédéric Guillot
71f391ed7a Add 'mark as unread' link on item (merge pull-request #200) 2014-05-17 09:42:24 -04:00
Frédéric Guillot
eab942537f Add support for multiple users/databases 2014-04-05 20:24:13 -04:00
Frédéric Guillot
c1221de62c Add Miniflux auto-update feature 2014-03-30 15:59:26 -04:00
Frédéric Guillot
e04112a00a Add missing french translation 2014-03-19 18:16:58 -04:00
Frédéric Guillot
3bc7f019c5 Add timezone configuration option 2014-02-25 19:03:46 -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
74d8d361ee Improve enclosure support 2014-02-17 22:04:49 -05:00
Luca Marra
f4786bd867 Updated italian translation 2014-02-06 09:54:07 +01:00
Frédéric Guillot
541e9e5afb Fix text typo 2014-01-12 18:35:46 -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
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
a742484796 Update french translation 2013-12-22 22:09:58 -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
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
81819691c1 Update Spanish translation 2013-10-21 21:36:01 -04:00
Frédéric Guillot
4d78a22684 Update readme and merge Portuguese translation 2013-10-01 18:47:33 -04:00
Geriel Castro
1664d6edac Add portuguese translation 2013-10-01 01:49:15 -03:00
Frédéric Guillot
accf789395 Add spanish translation (contribution of Vincent O.) 2013-09-30 21:30:23 -04:00
Frédéric Guillot
9e437c1a93 Add a preference parameter to save default items sorting order 2013-09-18 21:02:46 -04:00
Frédéric Guillot
fe0a5f4a55 Add link "mark all as read" in the footer 2013-09-14 20:22:14 -04:00
Frédéric Guillot
c2ce24a427 Add items sorting by date 2013-09-14 19:05:52 -04:00
Frederic Guillot
cc0adbb750 Improve app.js and update french translation 2013-09-14 12:10:38 -04:00
Frédéric Guillot
517ac8dcf0 Add the possibility to link a Google Account or a Mozilla Account to Miniflux 2013-09-06 22:57:09 -04:00
Frédéric Guillot
2ec5d4ffb0 Add bookmarklet link (add a subscription directly from any browsers) 2013-09-04 20:45:06 -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
Frédéric Guillot
509d36c4b8 Update french translation and typo fix 2013-08-29 19:54:37 -04:00
Frédéric Guillot
b6adfb7168 Add console to display debug messages 2013-08-29 19:34:11 -04:00
Frédéric Guillot
06b4d87a06 Update french translations 2013-08-14 21:25:09 -04:00
Frédéric Guillot
a79228195f Add RSS feed for bookmarks 2013-08-09 22:23:57 -04:00
Ing. Jan Kaláb
5b4bbaa2d1 Update translations.php 2013-08-05 14:42:48 +02: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
5096c3bd6c Add bottom item naviguation everywhere 2013-08-04 14:15:32 -04:00
Frederic Guillot
985054a750 Merge branch 'single_item' of https://github.com/bjauy/miniflux 2013-07-30 19:51:11 -04:00
Frederic Guillot
01f7dd9802 Download full content of articles (like Readability) 2013-07-28 20:10:07 -04:00
maciej
06f002930f Updated translations in locales 2013-07-27 21:51:10 +02:00
Frederic Guillot
f42522c2a1 Improve the feed title and feed domain display 2013-07-21 12:32:00 -04:00
Frederic Guillot
bf5571fbe1 Improve help popup (pull-request) 2013-07-21 11:11:41 -04:00
Frederic Guillot
a629ff477b Merge branch 'master' of git://github.com/jamesscottbrown/miniflux into popup 2013-07-21 10:23:05 -04:00
Luca Marra
f4634695d8 updated translation 2013-07-19 11:51:01 +02:00
James Scott-Brown
eaa44052fd Provide pop-up lisitng keyboard shortcuts
Pressing the question-mark key (?) produces a pop-up listing the
keyboard shortcuts. Pressing q whilst this window has focus closes it.

I've provided crude translations for the additional ? and q shortcuts,
obtained from Google Translate, but they should be checked by native
speakers.
2013-07-17 22:16:07 +01:00
Frederic Guillot
a30c21dd50 First version of the theme system 2013-07-16 21:58:11 -04:00
Frederic Guillot
466bb0a51a Bugfix on empty feeds detection 2013-07-16 20:43:10 -04:00
Frederic Guillot
1f30feb236 Update translations (adding Czech) 2013-07-14 12:34:47 -04:00
Ing. Jan Kaláb
b36a04ab23 Translation
First try
2013-07-13 10:55:47 +02:00
Ing. Jan Kaláb
ed9c8cc6c1 Basics 2013-07-13 10:36:21 +02:00
Frederic Guillot
e2121cc72d Add a page to display all items by subscription 2013-07-12 22:16:40 -04:00
Frederic Guillot
69a37f02d7 Improve empty feeds detection 2013-07-12 20:26:47 -04:00
doubleface
bfa5709c07 Display an error message listing empty feeds (no read/unread items) 2013-07-11 08:27:59 -04:00
Frederic Guillot
34e334385a Integrate translations: Italian and Simplified Chinese 2013-07-08 18:16:01 -04:00
Luca Marra
2b4ef3a49d added italian locale 2013-07-08 20:56:26 +02:00
horsley
291e3c167d fix utf8 encoding 2013-07-08 14:35:09 +08:00
horsley
73e389d0c7 add simplified chinese translation 2013-07-08 14:30:27 +08: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
667f3f0773 Add items paging 2013-07-05 22:37:19 -04:00
Frederic Guillot
14745a3474 Add french translation for German 2013-07-01 18:33:58 -04:00
derjus
2c26635d38 Add german translation 2013-07-02 00:13:56 +02:00
Frederic Guillot
01aaa8f1c1 Change text translation 2013-06-15 08:39:16 -04:00
Frederic Guillot
17fbb3de91 Refactoring of bookmarks 2013-06-14 23:12:08 -04:00
Frederic Guillot
48fbe24c9b Rename update button to save 2013-06-14 20:42:09 -04:00
Frederic Guillot
f9146f078a Update dynamically unread counter in multiple places 2013-06-14 20:37:45 -04:00