Commit Graph

160 Commits

Author SHA1 Message Date
Mathias Kresin
3fe424999f fix RTL toggling
H2 within an item preview was toggled to rtl and back to ltr
immediately.
2014-12-27 10:21:22 +01:00
Mathias Kresin
0aa5252c85 remove multiple definition of data-item-page 2014-12-26 23:01:05 +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
bb21b9aa02 Change css for the bookmarklet link 2014-12-26 10:43:27 -05:00
Frédéric Guillot
c1d74b8332 Add favicon support 2014-12-24 17:54:27 -05:00
Frédéric Guillot
b2e3116350 Add Instapaper support 2014-12-24 13:50:20 -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
04749a4aba Replace mark as read link by an icon 2014-12-10 21:12:42 -05:00
Mathias Kresin
0455d14d73 Update Bookmark Icon title within the article view when toggling bookmark status 2014-12-10 17:08:07 +01:00
Mathias Kresin
8194a18ae9 remove hardcoded bracket 2014-12-10 16:50:35 +01:00
Frédéric Guillot
f398694a45 Fix broken keyboard shortcut to display the help 2014-11-23 10:23:28 -05:00
Mathias Kresin
c3b3d51365 Bookmark page: hide article if bookmark is removed
As i can't imagine any other site than the bookmarks page where an article needs
to be hidden based on the bookmark status, I've hardwired it into the javascript
function.
2014-11-20 18:49:16 +01:00
Mathias Kresin
a1b8c5b160 do not deselect the current item if no successor/predecessors exists
When using the previous shortcut with the first article selected, the selection
is removed and no article is the current-item. Using the shortcut again, the
last article is the current-item (as expected on a new loaded page).

The same applies to the combination of last article and next shortcut.
2014-11-20 10:46:34 +01:00
Mathias Kresin
3dae99ac27 remove multiple definition of item id
The item id exists as data attribute or as element.id postfix on multiple
elements in an article.

The basic idea is to traverse the DOM tree - starting from the event firing
element - in reverse order till an article element is found.

This article element is passed to the JavaScript functions. These JavaScript
functions are getting the elements which they want to manipulate starting from
the article utilizing the JavaScript querySelector function.

The bootstrap themes had a conflicting and unused class style definied, which is
removed by now.
2014-11-20 10:43:29 +01:00
Mathias Kresin
e9762e7ea0 Move bookmark/read/unread display style completely to CSS 2014-11-19 20:19:45 +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
3b2db03597 Minor css fix 2014-11-08 16:59:52 -05:00
Frédéric Guillot
7ae86d2d41 Remove duplicate body padding for mobile 2014-11-08 13:10:24 -05:00
Frédéric Guillot
ca72433299 Improve layout (always show prev/next) 2014-11-08 12:55:30 -05:00
Frédéric Guillot
e5947db7f1 Add CSRF protections 2014-11-07 21:44:20 -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
Mathias Kresin
c18ddc3ddc HTML Cleanup
Remove line breaks and indentation around links text: At least Chrome/Firefox on
Windows add the white space(s) from the HTML Code to the link text, which
results in "jumping" labels. The behaviour can be observed with the Hello Theme
while toggling the bookmark status.
2014-11-05 14:45:10 +01:00
Frédéric Guillot
c0ce32094e Do not handle keyboard events for form fields 2014-10-26 10:27:27 -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
Jarek Piórkowski
7bf2bab92c keyboard shortcuts won't fire with modifier keys
I had particular problems with Ctrl-N (open new window/tab)
interfering with N (go to next unread item). This change
disregards keyboard shortcuts if Alt, Shift, or Ctrl are used.
It also tries to disregard Win/Super/Meta, though this didn't
work for me in Firefox. Still, just the Ctrl is an improvement
for me.
2014-09-05 02:30:40 -07:00
Frédéric Guillot
9b2eaa2602 Various bugfixes (merge pull-request #235) 2014-08-10 15:03:48 -07:00
Frédéric Guillot
8d93fbc48c Remove items via ajax requests (merge pull-request #227) 2014-07-26 08:01:25 -04:00
Julian Oster
e1c2f63375 Responsive layout for IE 10 and above (more information: bit.ly/UxwqCg) 2014-07-05 22:47:19 +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
c6f5606070 Bug fixes: charset encoding/decoding 2014-05-25 08:47:03 -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
555fd9279d Fix bug: open original link doesn't mark item as read 2014-04-04 18:41:24 -04:00
Frédéric Guillot
400b4272b0 Items can be bookmarked only if they have the status read or unread 2014-03-29 21:03:05 -04:00
Frédéric Guillot
c868db1c1e Improve css for inline image 2014-03-29 19:48:49 -04:00
Frédéric Guillot
0c9c643da5 Display blockquote border on the right for RTL content 2014-03-19 18:14:41 -04:00
Frédéric Guillot
b74b8dd784 Remove PicoTools 2014-03-16 21:56:43 -04: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
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
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
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
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
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
7648191239 Fix Mozilla Persona login 2013-12-22 21:43:29 -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
chrislemonier
596d69953b Added "r" keyboard shortcut for "Update all subscriptions" 2013-10-31 12:27:33 -07:00
Frédéric Guillot
b3b1e8bef7 Code refactoring (JS and templates) 2013-10-14 22:38:07 -04:00
Frédéric Guillot
14516ea63b Add item links for the feed-items page 2013-10-10 22:18:12 -04:00
Frédéric Guillot
b905de3a91 Add an icon for read items inside the view feed-items 2013-10-07 22:17:46 -04:00
Frédéric Guillot
1fc71c3a6d Minor css improvements 2013-09-19 17:54:50 -04:00
Frédéric Guillot
f3838f0fc5 Minors cosmetic changes (footer menu) 2013-09-18 19:55:18 -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
Frederic Guillot
a221fdbf8b Merge branch 'master' of https://github.com/chrislemonier/miniflux 2013-09-14 11:34:08 -04:00
chrislemonier
95fb7882dc Add Google Style 2 key shortcuts for main pages 2013-09-11 15:00:00 -07:00
Frédéric Guillot
2348f316f4 Add content grabber rules and improve filtering 2013-09-08 18:29:27 -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
67d9fbd944 Improve content dowloader and add Github rule 2013-09-02 14:04:10 -04:00
Frédéric Guillot
b6adfb7168 Add console to display debug messages 2013-08-29 19:34:11 -04:00
Frederic Guillot
f1dafc5f57 Improve CSS (code/pre tags) 2013-08-07 20:18:48 -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
f6ea4c419d Improve CSS for downloaded content 2013-08-04 12:17:10 -04:00
Frederic Guillot
3f896ec4e5 Improve CSS 2013-08-03 21:06:08 -04:00
Frederic Guillot
01f7dd9802 Download full content of articles (like Readability) 2013-07-28 20:10:07 -04:00
Frederic Guillot
00823c90d6 Add support for HTML5 video inside feeds 2013-07-22 20:23:57 -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
Frederic Guillot
3a79a96b5a Improve mobile version of Green theme 2013-07-20 09:10:55 -04:00
Frederic Guillot
b3848b771e Improve dark Theme 2013-07-19 20:53:15 -04:00
Frederic Guillot
215ddaea10 Improve css for mobile version 2013-07-19 20:39:49 -04:00
Frederic Guillot
c9eb6a47a6 Improve mark items as read 2013-07-17 18:55:28 -04: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
doubleface
66a27f5866 Only mark as read items displayed on the page 2013-07-16 09:00:14 -04:00
Frederic Guillot
7de72b41e4 Click on "mark as unread" use an ajax request now 2013-07-14 13:01:45 -04:00
Thririot Christophe
8926a7f6c8 Mark as read does not reload the page anymore 2013-07-13 16:29:30 -04:00
Frederic Guillot
a5e9d41561 Add keyboard shortcuts to the bookmarks page 2013-07-11 23:41:45 -04:00
Frederic Guillot
a89d8c0005 Minor cleanup 2013-07-10 22:33:23 -04:00
Luca Marra
ac76db0052 restore empty line at the end of file 2013-07-10 16:47:54 +02:00
Luca Marra
c619cc35d2 added scrollTo on keyboard navigation fixes #73 and #45 2013-07-10 16:44:53 +02:00
Frederic Guillot
147c92250b Change color of the preview for the selected item 2013-07-07 11:45:48 -04:00
Frederic Guillot
150f0c30ec Merge branch 'master' of git://github.com/ayodio/miniflux into ayodio-master 2013-07-07 11:32:14 -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
3af0f43207 Change count_bookmarks() to include only read/unread items and remove opacity 2013-07-06 08:57:06 -04:00
Frederic Guillot
667f3f0773 Add items paging 2013-07-05 22:37:19 -04:00
Frederic Guillot
e4c6f27767 Minor CSS improvements 2013-07-05 20:59:34 -04:00
ayodio
c2a1a1101c css fix for keyboard navigatin
light base css update (border + padding) in order to improve keyboard
navigation behaviour (article doesn't move when selected).
2013-07-06 00:37:12 +02:00
Frederic Guillot
4bf0c7a4ef Add vim shortcuts to the help page 2013-07-02 21:50:53 -04:00
ayodio
1db5e12469 Revert "improved key navigation display"
This reverts commit 33f6d15234.
2013-07-02 13:27:51 +02:00
ayodio
33f6d15234 improved key navigation display
this smooths the navigation via key.
2013-07-02 13:23:36 +02:00