SSilence/selfoss — pull request #532 by yDelouis (2014-07-04 12:49:35+00:00)
Title: REST API : Get only items updated since given time

Hi,

First of all, thanks for your great work.

I'm developing an Android client for Selfoss and I'm facing an issue for syncing articles.
At the moment, there is no way to know which items have been modified (new or marked read) since the last sync. So the client can't stay in sync with the server without downloading all articles at each sync.

This PR enables the server to track update of articles and add a REST parameter for items to get only the articles updated since a given timestamp. With this pieces of code, the client would be able to keep in sync efficiently with the server.

I have tested both upgrading and new install for each 3 database (sqlite, mysql and postgresql).

Let me know if there is something wrong.