Commit Graph

95 Commits

Author SHA1 Message Date
Frederic Guillot
9b08fc9160 Fix cosmetic errors 2015-10-19 21:21:18 -04:00
Frederic Guillot
c40640e582 Change website url to HTTPS 2015-09-14 18:47:59 -04:00
Frederic Guillot
1c0d14bc94 Include PicoFarad into Miniflux 2015-08-28 21:34:34 -04:00
Frederic Guillot
33a4bf2202 Remove some code duplication and fix some minor issues 2015-08-14 22:08:04 -04:00
Frederic Guillot
4f7ea89925 Update dependencies 2015-08-14 21:33:39 -04:00
Kordian Bruck
dd47b3f82e Add feed group feature
- each feed can have multiple groups assigned
- group assignments are done on the add or edit feed page
- groups are only visible on the unread page
- groups are exported via the fever api
- it's not possible do delete a group manually from the database (the group will be removed automatically, as soon as the last association of a group to a feed is removed)
- if you try to create an already existing group, the existing group is used to prevent duplicates
2015-08-05 01:01:21 +02:00
Mathias Kresin
17113779ff Allow to override the maximum feed size limit 2015-08-04 18:41:23 +02:00
Kordian Bruck
6e10b01d4a Changed setting from a database value to be stored as a constant in the config.php 2015-08-02 18:20:38 +02:00
Kordian Bruck
2c3fd54774 Added a config option to select how many concurrent refreshes are done on the subscription page 2015-08-02 02:23:21 +02:00
denfil
b8832a4049 Add russian translation 2015-06-11 16:35:25 +03:00
Frederic Guillot
72a7d43b0f Rename proxy functions 2015-05-17 13:33:13 -04:00
Frederic Guillot
a1e4432881 Catch exceptions for image proxy 2015-05-17 13:26:51 -04:00
Mathias Kresin
f89ed85a83 update libraries
fixes #365, #367
2015-04-28 18:08:42 +02:00
Mathias Kresin
30a2852bad remove unused namespace imports and functions 2015-04-23 23:37:33 +02:00
Mathias Kresin
9f21a2fe91 rename functions to match their purpose
Item\get_all() -> Item\get_all_by_status()
Item\get_everything() -> Item\get_all()
Item\get_everything_since() -> Item\get_all_since()
2015-04-23 23:37:33 +02:00
Mathias Kresin
f002723654 move write_debug to the right position
write_debug isn't executed if an exception is catched.
2015-04-23 23:37:33 +02:00
Mathias Kresin
46d69b15f6 minor feed edit dialog improvments
- redirect to feed edit dialog if the changed feed settings couldn't be saved
- add default values and drop isset (similar to the feed add dialog)
2015-04-11 23:26:28 +02:00
Frederic Guillot
07a930cac3 Update French translation 2015-04-11 10:42:23 -04:00
Mathias Kresin
1afb73b82d Expose all picoFeed errors to the Frontend when adding a subscription 2015-04-11 16:01:15 +02:00
Frederic Guillot
dd47b7ae48 Improve doc and remove useless config parameters 2015-04-11 09:39:22 -04:00
Frederic Guillot
fa1ddb486a Normalize helper functions 2015-04-10 20:57:44 -04:00
Frederic Guillot
892fb517ae Display an error message if the feed already exists + sync locales 2015-04-10 20:48:09 -04:00
Frederic Guillot
578f9cbf14 Add custom rules directory support 2015-04-10 20:34:48 -04:00
Mathias Kresin
ee98a62519 mark items on page 2+ read as well, update tests
Update integration tests, to ensure that all articles are marked read,
instead of only visible.
2015-04-07 22:46:50 +02:00
Frederic Guillot
8c47ae3750 Fix bug remember me with multiple dbs disabled 2015-03-30 20:29:48 -04:00
Frederic Guillot
401a60c7a7 Improve remember me + update vendor 2015-03-30 20:13:07 -04:00
Frederic Guillot
c81b728d69 Merge Arabic translation #348 and improve user interface for RTL languages 2015-03-20 18:53:15 -04:00
Miloš Jovanović
dc7a42aa23 Updated translations.php and added latin script version 2015-03-03 01:29:17 -06:00
Ing. Jan Kaláb
1e7201add4 new file: locales/sr_RS/translations.php
new file:   locales/sr_RS@latin/translations.php
	modified:   models/config.php

Updated Serbian translation in cyrillic and latin script
2015-03-03 01:28:05 -06:00
Mathias Kresin
7f335a533d update dependencies
- fixes #336
2015-03-01 19:56:11 +01:00
Frederic Guillot
6e13e1519a Change repo url 2015-02-07 11:49:55 -05:00
Frederic Guillot
5c8b01ac96 Move Proxy\isSecureConnection() to helpers 2015-02-07 11:19:25 -05:00
Frederic Guillot
ba4aa5173d Enable logging for image proxy 2015-02-07 11:09:43 -05:00
Frederic Guillot
3a80fccbab Merge pull-request #330 2015-02-07 10:28:38 -05:00
Mathias Kresin
f3e9b4d9b5 improve image-proxy
- use passthrough mode for image proxy (fixes #295)
- add image proxy when rendering an article (fixes #314)
- add referrer cloaking option to feed options (fixes #319)
2015-02-06 07:11:21 +01:00
Mathias Kresin
ddcae31d48 add multiple plural support for translations
fixes #242
2015-01-30 19:45:23 +01:00
Mathias Kresin
a2686ae21d add option to disable mark as read for original link
fixes #196
2015-01-30 00:14:01 +01:00
Frederic Guillot
33a6e50c96 Add debug_mode config option and update vendor 2015-01-28 21:57:34 -05:00
Mathias Kresin
cd13efeabf implement frontend autoupdate
Only the unread counter is updated right know.

The AutoUpdate Feature is designed on the premise of don't wasting resources. A
distinction is made between updates when Miniflux is visible or hidden.

To determine the visibility status, the Page Visibility API is used. The API is
available starting with Chrome 33, Firefox 18 and IE10. [https://developer.mozilla.org/en-US/docs/Web/Guide/User_experience/Using_the_Page_Visibility_API]
As IE9 returns an undefined, it doesn't break the compatibility at least.

If Miniflux is visible, the unread counter on the web page is updated as soon as
a mismatch between the counter and the number of unread articles in the database
is found.

If Miniflux is hidden, the timestamp of the most recent article from each feed
is compared with the value from the last run. We have an update If the timestamp
of the latest article is greater than the stored one and the latest article is
unread. The web page title is updated with a ? symbol to notify the user and the
update check pauses till Miniflux gets visible again. If Miniflux gets visible
again, the number of unread articles is queried from the database, the unread
counter on the web page is updated and finally the ? symbol is removed from the
web page title.

This way I can use my fever API client to read new articles (or at least the
latest article) while Miniflux is hidden and as I've seen the new articles
already a new articles notification is prevented.

It's intentionally that the page does not reload automatically as long as
articles are visible. If I'm in hurry, I only scroll through the articles to
spot something interesting. Most of the time I don't reach the last article.
If the page is reloaded while I'm away, I would have to scan from the top again.

If we're on a nothing_to_read page and have unread articles in the database, a
redirect to the unread page will be done.

The default update check interval is 10 minutes and can be changed on the
settings page. A zero value disables the update check entirely.

fixes #213
2015-01-28 05:26:55 +01:00
Mathias Kresin
8241177556 switch config table to key/value store 2015-01-28 05:26:36 +01:00
Mathias Kresin
525048bbb2 code cleanup
Add feeds only once to the feed_ids array (feed model), drop now unused select-db action.

Use $_SESSION['loggedin'] in favour of $_SESSION['user'] to reflect which information we do
expect from this session variable. Add nothing else than a flag, which indicates a logged in
user, to $_SESSION['loggedin'].

It's not necessary to know the current user name, since we do only have one user
per database. Same for the language setting. The database defines the front-end language.

Resolves bug where the password gets stored in the $_SESSION['user'] after a remember_me
login.
2015-01-28 05:24:17 +01:00
Frederic Guillot
d2cfc7fd15 Update vendor 2015-01-27 20:13:16 -05:00
Frederic Guillot
b0c1f57213 Update dependencies, enable temporary PicoFeed debug logs 2015-01-19 20:00:16 -05:00
Mathias Kresin
7c31b9fff0 update picoFeed to f3ed9fe and use icon from atom feeds as favicon 2015-01-18 15:23:11 +01:00
Mathias Kresin
76825cb673 use radio buttons to select the login database
allows one click logins to not default databases using passwordmanagers
like keefox.
2015-01-18 13:25:38 +01:00
Frederic Guillot
cd1a0115c2 Minor cleanups 2015-01-17 18:53:40 -05:00
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
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
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
Mathias Kresin
e349921322 remove orphaned functions
the functions are unused since f4efaad.
2015-01-03 23:17:13 +01:00