Commit Graph

919 Commits

Author SHA1 Message Date
Mathias Kresin
cfd03efc01 Fix database hijacking
Check if a requested database can be selected. Error out if not.
This prevents automatic fallbacks to the default database.

Remove the authorized information from the session if a new database
gets selected.

Factor out logout function to reuse existing code.
2015-01-17 21:14:44 +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
Frederic Guillot
b04b2104f1 Merge branch 'upstream' of https://github.com/mkresin/miniflux 2015-01-14 20:20:56 -05:00
Frederic Guillot
215cf3f881 Change navigation for feeds sub-menus 2015-01-14 20:18:24 -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
Mathias Kresin
cfaa25f667 minor improvements
- enable debug logging for image proxy
- show enclosure image only if no article content exists
- do not store empty favicons
- fix typo in get_item_favicons (worked anyway since get_favicons
  returned all known favicons instead)
2015-01-13 20:27:33 +01:00
Frederic Guillot
9c58f2235c Add contributor 2015-01-12 20:20:51 -05:00
Frederic Guillot
888c2c90cf Merge pull-request #305 2015-01-12 20:13:16 -05:00
Frederic Guillot
bea3c7a29a Minor css improvements 2015-01-12 19:59:17 -05:00
Frederic Guillot
84078bb2a5 Add left/right arrow as keyboard shortcuts 2015-01-12 19:46:21 -05:00
Kordian Bruck
cbc7a72065 Added some rules for comics and Austrian press 2015-01-13 00:49:03 +01:00
Frederic Guillot
6a1515c0cc Fix english typo 2015-01-12 18:07:09 -05:00
Frederic Guillot
16945c3649 Fix helper include 2015-01-11 11:26:55 -05:00
Frederic Guillot
0f62f81d9e Merge branch 'master' of https://github.com/Silvus/miniflux 2015-01-10 20:39:56 -05:00
Frederic Guillot
c2cbc00f22 Move condition 2015-01-10 19:51:27 -05:00
silvus
d3a275616e Fix favicons height 2015-01-11 01:48:25 +01:00
Frederic Guillot
8f9c957f2f Update hello theme with the patched version 2015-01-10 18:42:47 -05:00
Frederic Guillot
67d3beb5cc Improve release script 2015-01-10 18:16:03 -05:00
Mathias Kresin
8e78c77fc1 introduce release script
This script replaces make-archive.sh and make-tag.sh.

Switch to 'git archive' to create a ZIP file from the repo. Its way
more faster, automates a lot things and works with the GitHub download
HEAD/Release/Tag as ZIP functionality as well.

git archive reads the file .gitattributes to determine which files has
to be excluded from the zip file.

It replaces the following placeholders in common.php:

$Format:%d$": with the output of git log --pretty=format:%d which
contains the tag of the last commit (if tagged).

$Format:%H$": with the hash of the latest included commit.

If no tag can be found the hash is appended to "master" and shown as
version number.

The approach is kind of hackish since no distinct format option for the
tag exists.

Fixes #231, https://github.com/fguillot/miniflux/issues/213#issuecomment-65631765
2015-01-10 09:37:52 +01:00
Mathias Kresin
ad7d1ae7bc Add script to find missing locales
from fguillot/kanboard#393 and adjusted for miniflux usage
2015-01-08 23:54:24 +01:00
Mathias Kresin
cd15eeb92a make-js: use https 2015-01-08 23:54:24 +01:00
Frederic Guillot
a45d69dee4 Update Hello skin 2015-01-06 22:59:56 -05:00
Frederic Guillot
34def70106 Add relaed projects seection to the readme 2015-01-06 21:25:14 -05:00
Frederic Guillot
75b7511f5f Add grabber rule for allgemeine-zeitung.de 2015-01-06 20:56:52 -05:00
Frederic Guillot
0da3a8dfa3 Fix bug proxy (bad url encoding) + update depencies 2015-01-06 19:08:10 -05:00
Frederic Guillot
9f3d19bfc2 Update README 2015-01-04 16:36:56 -05:00
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