Commit Graph

28 Commits

Author SHA1 Message Date
Frederic Guillot
d6d9368ab3 Do not overwrite existing favicons 2017-01-02 20:34:41 -05:00
Frederic Guillot
83608c050a Add new API call to remove users 2017-01-02 17:40:53 -05:00
Frederic Guillot
484878887c Update API documentation 2016-12-29 18:52:37 -05:00
Frederic Guillot
75808c5369 Add functional tests for Fever API 2016-12-29 18:04:56 -05:00
Frederic Guillot
818c501b07 Trim username and password 2016-12-29 17:53:46 -05:00
Frederic Guillot
56d21dc726 Add functional API tests 2016-12-29 15:45:09 -05:00
Frederic Guillot
7af9f93c8b Update translations 2016-12-28 20:52:58 -05:00
Frederic Guillot
fe614579ac Add support for Expires and Cache-Control headers 2016-12-28 20:24:00 -05:00
Frederic Guillot
834633e670 Improve favicons handling
- Make sure that deleted favicons on the filesystem are downloaded again
- Purge orphan icons
- Add unit tests
2016-12-26 16:54:44 -05:00
Frederic Guillot
fbe69b54dc Add Postgres database support 2016-12-26 15:07:18 -05:00
Frederic Guillot
82df35a59b Change the database structure to have a single database
This is a major change for the next release of Miniflux.

- There is now only one database that can supports multiple users
- There is no automated schema migration for this release
- A migration procedure is available in the ChangeLog file
2016-12-26 09:51:38 -05:00
Frederic Guillot
506503bbcd
Add Miniflux namespace everywhere 2016-08-24 21:17:58 -04:00
Frederic Guillot
0d96059945
Move csrf functions to Helper namespace 2016-08-17 22:05:11 -04:00
Frederic Guillot
8ac08649e8
Move generate_token() to Helper namespace 2016-08-17 21:41:14 -04:00
Frederic Guillot
55e4ab882c
Move get_ip_address() and get_user_agent() to Request namespace 2016-08-17 21:27:05 -04:00
Frederic Guillot
38b08719da
Setup unit tests 2016-08-17 21:06:43 -04:00
Eshin Kunishima
aabee67bdd
Tiny performance tweaks 2016-05-03 17:46:20 +09:00
Frederic Guillot
aaaafb263b Run php-cs-fixer on the code base 2016-04-17 19:44:45 -04:00
Mathias Kresin
475c71d107 fix race conditions in tests
Wait till the counter has the desired value, instead of assuming that
the counter already has the expected value. This fixes the tests on
slow browsers.

Furthermore, the wait isn't needed any more, now that the counter
queries are race ondition proof.

The waitForIconMarkReadInvisible was the wrong wait function here, since
the whole article will be hidden instead of the read icon. This could
lead into race condition related errors if the article is hidden before
the waitForIconMarkRead() functions runs. The article variable that is
used to address the child read icon can refer to an (DOM) object which
doesn't exist any longer => StaleElementReferenceException.

The correct wait function in such a case would be waitForArticleInvisible().
2015-08-13 23:06:33 +02:00
Mathias Kresin
7ea37a1790 remove unnecessary javascript actions
They do exactly the same as the non javascript version.
2015-04-23 23:37:33 +02: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
Mathias Kresin
3a65e5ee64 do mark-feed-as-read in javascript without reload
follow-up to 4809f736dc. Update
integration tests, to ensure that all articles are marked read, instead
of only visible.
2015-03-08 13:19:29 +01:00
Mathias Kresin
065805e485 disable shortcut tests for firefox
The key property isn't properly set with selenium.
2015-03-08 13:19:29 +01: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
972fa86357 update integration tests
- more flexibility and explicitly with the expected dataset
- use radio button to select unittest.db
- add tests:
    - previous/next article with arrow key left/right
    - no alerts are displayed by default
    - alert is displayed on first feed page if feed has parsing error
    - keyboard shortcuts are disabled with modifier keys shift, alt and control (except IE)
    - display logic on subscription page
2015-01-19 22:52:50 +01: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