Commit Graph

692 Commits

Author SHA1 Message Date
Mathias Kresin
bb51368f3a Tests: Fix PHP strict standards warnings 2015-01-04 22:26:14 +01:00
Mathias Kresin
71275eac2c display & update the number of unread items on every page with an "unread items" menu 2015-01-04 18:48:01 +01:00
Mathias Kresin
3b33544cae introduce integration tests 2015-01-04 18:47:59 +01:00
Mathias Kresin
f3f0881758 Move token regeneration to the advanced config section
And make clear which services get a new token.
2015-01-03 23:43:49 +01:00
Mathias Kresin
e349921322 remove orphaned functions
the functions are unused since f4efaad.
2015-01-03 23:17:13 +01:00
Mathias Kresin
b4a1d7782c Fix config page after invalid values 2015-01-03 23:17:13 +01:00
Mathias Kresin
80952f29b0 middle mouse button triggers event for all browser
This is a follow up to #1. The onclick event is triggered by different
mouse buttons across browsers:

Firefox
- all mouse buttons trigger document.onclick (https://bugzilla.mozilla.org/show_bug.cgi?id=430310)
- only left mouse button triggers document.body.onclick

Internet Explorer
- only left mouse button and without any modifier key triggers
  document.onclick

Chrome
- left & middle mouse button trigger document.onclick

Safari
- left mouse button triggers document.onclick
- middle click via mac os?

By switching to the onmouseup event this can be unified for all
mentioned browsers to:

- (CTRL+) left click triggers event
- middle click triggers event
- right click does nothing
2015-01-03 23:17:10 +01:00
Mathias Kresin
1e1e35e38c IE: 'open original' doesn't open article
The 'open original' link marks the item as read but doesn't open the
article.

After double clicking one 'open original' link, all other
'open original' links open the article as expected. Sounds like the IE
blocks the 'popup' silenty here.

The following in #196 reported issues are fixed by the change as well:
- a middle click on an 'open original' link triggers the popup blocker
- original link opened via middle click is always a foreground tab
2015-01-03 23:02:59 +01:00
Frédéric Guillot
372066fa04 Add grabber rule for marc.info 2015-01-02 15:25:33 -05:00
Frédéric Guillot
b7ca07b9c0 Update PicoFeed (improve grabber and bug fixes) 2015-01-02 15:25:11 -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
Frédéric Guillot
9a980e076d Add icons for the Hello theme (settings page) 2015-01-02 12:07:57 -05:00
Kaminary
e75db0ce4f Better pt_BR translation 2015-01-02 14:56:16 -02:00
Kaminary
8b571fee48 Fixed little typo in feed list 2015-01-02 14:56:01 -02:00
Frédéric Guillot
ab23ca816e Update dependencies 2015-01-02 11:54:40 -05:00
Frédéric Guillot
6bc9c481c7 Merge pull-request #283, (German translations) 2015-01-02 11:48:30 -05: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
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
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
800026484c Revert commit (Do not disable feed if download failed) 2014-12-29 18:49:49 -05:00
Frédéric Guillot
5a86491a9f Typo 2014-12-29 17:13:20 -05:00
Frédéric Guillot
f48a1a2546 Update docs 2014-12-29 17:10:37 -05:00
Frédéric Guillot
c43d9dd773 Fix a bug for image proxy and update dependencies 2014-12-29 16:52:36 -05:00
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
df4f3b2a52 Fever API: Allow to select the database
Utilize apaches mod_rewrite to append a database parameter to the fever
api script based on the requested URL. Basically everything after
/fever/ is treated as the desired database. E.g. using
https://www.miniflux.net/fever/custom.sqlite/ as server url selects this
database as sync source/target.

The user supplied database parameter is compared with the output of
Model\Database\get_all(), which ensures that only files within the
DATA_DIRECTORY can be referenced (prevents File Inclusion/Directory
Traversal vulnerabilities).

I've tested it against Reeder on iOS. Note that Reeder does not allow
the same user name to be used multiple times within the same domain
name, even if the used URLs are different.
2014-12-26 23:01:05 +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
c9a3b5117a Update PicoFeed (avoid some PHP warnings) 2014-12-26 10:56:50 -05:00
Frédéric Guillot
75601d173c Disable invalid feeds on refresh (not found, domain inexistent...) 2014-12-26 10:50:58 -05:00
Frédéric Guillot
3f5cbcb3c9 Fix broken bookmarks feed 2014-12-26 10:43:59 -05:00
Frédéric Guillot
bb21b9aa02 Change css for the bookmarklet link 2014-12-26 10:43:27 -05:00
Frédéric Guillot
feb25c7552 Add favicons on the feeds page 2014-12-24 18:12:41 -05: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
a648b06a68 Update readme 2014-12-24 14:44:40 -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
c6ed11c116 Move to Composer and update to the last version of PicoFeed 2014-12-23 21:28:26 -05:00
Frédéric Guillot
86743febf6 Fix bug about date parsing 2014-12-15 21:51:17 -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
Frédéric Guillot
5e0e079afa Add refresh link to the feed page items 2014-12-10 21:26:07 -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
87deca2c54 Fix PHP Notice: Undefined variable: menu 2014-12-10 16:51:00 +01:00
Mathias Kresin
8194a18ae9 remove hardcoded bracket 2014-12-10 16:50:35 +01:00
Mathias Kresin
4641b5c66b strftime workaround for php on windows
The %e and %k modifiers are not supported in the Windows implementation of the
strftime function.

The workaround is from the strftime documention (Example #3).
2014-12-02 18:55:33 +01:00