Commit Graph

585 Commits

Author SHA1 Message Date
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
60fe7a4a17 Improve marke-archive script 2014-11-18 20:45:56 -05:00
Frédéric Guillot
fa5bda49db Add a database page 2014-11-18 19:16:14 -05:00
Frédéric Guillot
e9685cf6d5 Check if the session username and database username are the same 2014-11-18 19:00:53 -05:00
Frédéric Guillot
4fa894925e Fix bug items sync for the Fever api 2014-11-08 22:33:50 -05:00
Frédéric Guillot
906f99cf1c Fix php notice 2014-11-08 17:14:18 -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
d8c0d9dc4c Remove useless file 2014-11-08 10:24:53 -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
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
Frédéric Guillot
e26a1873ef Update documentation 2014-11-07 20:41:09 -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
b761e8f17c Prefix custom config with __DIR__ 2014-11-06 21:15:37 -05:00
Mathias Kresin
b5b5e91bb0 Fever API - Fix Mark all as read for feed unread
Zero is a valid super group id according to the "mark the Kindling super group
as read" example in the Fever API docs. But the php function empty considers 0
as an empty value and the condition is never true.

The condition has been changed to accept -1 for the "Sparks" super group,
0 for the "Kindling" super group and any other positive integer (feed and
item id must be positive integers).

The group id Zero is used by Reeder for iOS for the virtual feed "unread".
2014-11-06 19:54:12 +01:00
Mathias Kresin
5a6cc4708a Hello Theme: do not depend on language specific labels 2014-11-05 17:10:10 +01:00
Mathias Kresin
b0ca5e8aa0 remove abandoned file
The file confirm_disable_feed isn't used anymore and the action disable-feed
does't exists.
2014-11-05 14:45:42 +01: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
fa3ac81374 Add grabber rule for undeadly.org 2014-11-02 08:55:20 -05:00
Frédéric Guillot
ef3a8bd63b Move Docker files 2014-11-01 12:14:33 -04:00
Frédéric Guillot
f228de4915 Merge branch 'master' of https://github.com/c0ding/miniflux 2014-11-01 12:08:52 -04:00
Frédéric Guillot
43790e0fbc Improve documentation 2014-10-30 22:10:59 -04:00
Frédéric Guillot
eda790dc2b Update default config 2014-10-30 22:01:17 -04:00
Frédéric Guillot
fa40424e68 Add Json-RPC API documentation 2014-10-30 21:56:29 -04:00
Frédéric Guillot
e862bdca5c Update OVH .htaccess 2014-10-30 20:36:48 -04:00
Frédéric Guillot
25a41cc7ff Rename file 2014-10-29 21:36:38 -04:00
Frédéric Guillot
afef2adb54 Improve readme 2014-10-29 21:35:00 -04:00
Frédéric Guillot
5801258ace Add Fever API support 2014-10-29 21:28:23 -04:00
Frédéric Guillot
ab406e8eaa Add new grabber rules: degroupnews.com and sitepoint.com 2014-10-28 18:40:13 -04:00
c0ding
1ac4bf48ea added Dockerfile 2014-10-27 12:58:42 +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
6efd1ff538 Implements a fallback url for broken feeds 2014-10-22 22:10:17 -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
e2280f1b7b Update PicoFeed and PicoDb 2014-10-19 14:42:31 -04:00
Frédéric Guillot
e1b22f2d35 Redirect to the feed page after adding a subscription 2014-10-19 09:52:59 -04:00
Frédéric Guillot
e732e80dee Update the Json-RPC library and improve make-archive.sh 2014-09-19 18:54:48 +02:00
Frédéric Guillot
77f3c7c57a Update PicoDb 2014-09-16 11:50:39 +02:00
Frédéric Guillot
871f1d1d64 Update PicoDb and improve schema migration error handling 2014-09-15 13:23:55 +02:00
Frédéric Guillot
e29a22442d Update hello theme with sass sources included 2014-09-15 12:15:56 +02:00
Frédéric Guillot
9a686c0c1b Add contributor 2014-09-11 20:55:14 +02:00
Frédéric Guillot
f2720a3cb5 Merge branch 'keyboard-shortcut-modifier-keys' of https://github.com/jarek/miniflux 2014-09-11 20:51:17 +02:00
Frédéric Guillot
bf202b6d83 Fix 404 errors for the Hello theme 2014-09-11 14:32:15 +02:00
Frédéric Guillot
fe95890e6f Minor fix for Hello theme 2014-09-11 14:27:39 +02: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