* Make the 'Recently read' max age configurable via preference.
Also: don't attempt to filter by unread articles when using the 'Unread' view mode in the 'Recently read' feed.
* Rebase translations.
In the Preferences page, in the Feeds tab, in "Feeds with errors" page, one can select a feed, and click on the button "Debug selected feeds".
This opens a new web browser tab, and also adds a yellow message "Opening debugger for selected feeds...". However, when we come back to the Preferences page, we have to manually close this yellow message, which becomes useless.
This patch automatically closes the message after 5 seconds, by setting the second parameter of Notify.progress() to false.
This patch also opens the confirm() only when there are several selected feeds. There is not need for a confirmation for one feed only.
The second parameter "keep" of Notify.progress() and Notify.error() indicates if the windows is kept open or automatically closed.
The developer intent was to have keep=true when unset.
However, the code contained:
keep = keep || true;
If keep was unset the result was true, but if keep was false the result was also true.
If all cases (undef, false, true), this parameter was thus true, and it was impossible to automatically close this window.
It can be noted that a "grep -rs 'Notify.progress.*true' " finds 27 places where the second parameter true could be removed because this is the default value.
This is needed to provide consistency in CSS rule evaluation between default and user-specified themes.
Before this change 'default' would result in the base theme applying after other style elements-- whereas a user-selected base theme would (correctly) get applied first.
Closestt-rss/tt-rss#140.
If someone has only a few feeds to follow, his tt-rss instance may only be used 10 minutes a day. Previously the check for update was done only after one hour. So this people with small usage might never see the update icon.
Now, a check for updates is done after one minute, and then every hour?
When "Create label" menu is clicked, a popup asks for the label name. If the Cancel button is immediately entered, an error message is displayed: TypeError: can't access property "trim", caption is null.
Indeed, the JavaScript prompt() message returns null when Cancel is pressed. The test "caption !== undefined" is thus true, and the trim() is tried on null, which fails.
The fix is to only check for "caption" or "caption != null".