owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

Limit number of unread news per user #908

Closed tflidd closed 8 years ago

tflidd commented 8 years ago

Problem:

User tries the news app, adds some news feeds and then forgets about this feature. Owncloud will continue to fetch news. I ended up with a user with over 300 000 unread news and a news_items-table of over 700 MB in size. I had a Maximum feed page size of 104857600 probably applies per feed?

Solutions?

As a admin, I'd like to define some limits (like quotas):

BernhardPosselt commented 8 years ago

Not a solution IMHO but I understand the issue. I've discussed it with @fossxplorer who has a similar issue and the proposed idea was to record inactive users, send them a warning and delete their feeds if they did not log into the news app after a specified time.

This can be done by creating a very simple app, any progress there @fossxplorer?

BernhardPosselt commented 8 years ago

Ok, I've written up a good bunch of instructions on how this should be done here: https://github.com/owncloud/news/wiki/delete-feeds-of-inactive-users and linked it on the plugins page https://github.com/owncloud/news/wiki#requested-and-needs-contributors

Closing this as this should be done in a separate app like mentioned in #708