From 88a56cb3122eef1dc3f5c1529f6d7d0d643347da Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 3 Jul 2018 14:22:19 +0200 Subject: Cleanup main readme --- README.md | 309 ++++---------------------------------------------- docs/configuration.md | 24 ++++ docs/faq/README.md | 166 +++++++++++++++++++++++++++ docs/install.md | 83 ++++++++++++++ 4 files changed, 294 insertions(+), 288 deletions(-) create mode 100644 docs/configuration.md create mode 100644 docs/faq/README.md create mode 100644 docs/install.md diff --git a/README.md b/README.md index ff88ed6f0..0121de833 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,27 @@ [![Build Status](https://travis-ci.org/nextcloud/news.svg?branch=master)](https://travis-ci.org/nextcloud/news) [![irc](https://img.shields.io/badge/irc%20channel-%23nextcloud--news%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-news) - - The News app is an RSS/Atom feed aggregator. It offers a [RESTful API](https://github.com/nextcloud/news/tree/master/docs/externalapi) for app developers. The source code is [available on GitHub](https://github.com/nextcloud/news) -![](https://raw.githubusercontent.com/nextcloud/news/master/screenshots/1.png) +## Install and configuration +See the [install document](https://github.com/nextcloud/news/blob/master/docs/install.md) and the [configuration overview](https://github.com/nextcloud/news/blob/master/docs/configuration.md) +## FAQ +* [My browser shows a mixed content warning](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#my-browser-shows-a-mixed-content-warning-connection-is-not-secure) +* [I am getting: Doctrine DBAL Exception InvalidFieldNameException: Column not found: 1054 Unknown column some_column Or BadFunctionCallException: someColumn is not a valid attribute](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#i-am-getting-doctrine-dbal-exception-invalidfieldnameexception-column-not-found-1054-unknown-column-some_column-or-badfunctioncallexception-somecolumn-is-not-a-valid-attribute) +* [I am getting: Exception: Some\\Class does not exist erros in my nextcloud.log](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#i-am-getting-exception-someclass-does-not-exist-erros-in-my-nextcloudlog) +* [How do I reset the News app](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#how-do-i-reset-the-news-app) +* [App is stuck in maintenance mode after failed update](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#app-is-stuck-in-maintenance-mode-after-failed-update) +* [Feeds are not updated](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#feeds-are-not-updated) +* [Adding feeds that use self-signed certificates](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#adding-feeds-that-use-self-signed-certificates) +* [Is There An Subscription URL To Easily Subscribe To Feeds](https://github.com/nextcloud/news/blob/master/docs/faq/README.md#is-there-an-subscription-url-to-easily-subscribe-to-feeds) -## Maintainers -Looking for a new maintainer :) +## Supported Browsers +* Newest Firefox (Desktop, Android, Firefox OS) +* Newest Chrome/Chromium (Desktop, Android) -* [Jan-Christoph Borchardt](https://github.com/jancborchardt) (Design) +## Bugs +Please read the [appropriate section in the contributing notices](https://github.com/nextcloud/news/blob/master/CONTRIBUTING.md#issues) ## Sync Clients Nextcloud News can be synced with the following apps: @@ -38,292 +48,15 @@ Nextcloud News can be synced with the following apps: Nextcloud News can look different with the following themes: * [Nextcloud News Themes](https://github.com/cwmke/nextcloud-news-themes) -## Dependencies -* PHP >= 5.6 -* Nextcloud 12 -* libxml >= 2.7.8 (2.9 recommended) -* php-curl -* iconv -* SimpleXML - -## Build Dependencies -These Dependencies are only relevant if you want to build the source code: -* make -* which -* Node.js >= 6 -* npm -* composer - -## Supported Browsers -* Newest Firefox (Desktop, Android, Firefox OS) -* Newest Chrome/Chromium (Desktop, Android) - -## Supported Databases -* PostgreSQL >= 9.4 (recommended) -* MariaDb >= 5.5 -* SQLite (discouraged) - -## Bugs -Please read the [appropriate section in the contributing notices](https://github.com/nextcloud/news/blob/master/CONTRIBUTING.md#issues) - -## Installation/Update - -### Before you install/update the News app -Before you install the app do the following: -* Check that your **nextcloud/data/** directory is owned by your web server user and that it is write/readable -* Check that your installation fulfills the [requirements listed in the README section](https://github.com/nextcloud/news#dependencies) -* [Set up Nextcloud Background Jobs](https://docs.nextcloud.com/server/10/admin_manual/configuration_server/background_jobs_configuration.html#cron) to enable feed updates. A recommended timespan for feed updates is 15-30 Minutes. - -Then proceed to install the app either from an archive (zip/tar.gz) or clone it from the repository using git - -### Installing from the app store -This is the easiest solution: Simply go the the apps page and enable the News app - -### Installing from archive -* Go to the [Nextcloud News GitHub releases page](https://github.com/nextcloud/news/releases) and download the latest release/archive to your server -* Starting with 8.0.0, there are two different releases: **news.tar.gz** and **Source code**. The first one requires no additional steps, the second one requires you to install the dependencies and compile the JavaScript. Choose the first one if you don't want to work on the code. If you want to install a version prior to 8.0.0, choose the **Source code** download. -* On your server, check if there is a folder called **nextcloud/apps/news**. If there is one, delete it. -* Extract the downloaded archive to the **nextcloud/apps/** folder. -* Remove the version from the extracted folder (e.g. rename **nextcloud/apps/news-4.0.3/** to **nextcloud/apps/news/** -* If you are a version greater than or equal to 8.0.0 and downloaded the **Source code** zip or tar.gz, you need to install the JavaScript and PHP dependencies and compile the JavaScript first. On your terminal, change into the **nextcloud/apps/news/** directory and run the following command (requires node >5.6, npm, curl, make and which): - - sudo -u www-data make # www-data might vary depending on your distribution - -* Finally make sure that the **nextcloud/apps/news** directory is owned by the web server user - - sudo chown -R www-data:www-data nextcloud/apps/news # www-data:www-data might vary depending on your distribution - -* Activate the **News** app in the apps menu - -### Installing from Git (development version) -* The master branch will always be stable in conjunction with the latest master branch from Nextcloud -* JavaScript and PHP libraries are not included anymore since 8.0.0 and will require you to run **make** after updating/installing the app -* In your terminal go into the **nextcloud/apps/** directory and then run the following command: - - git clone https://github.com/nextcloud/news.git - cd news - make - -* If you are using a stable Nextcloud release, stay with the [latest git tag release which is running on your version](https://github.com/nextcloud/news/releases). To get an overview over all existing tags run: - - git tag - - You can switch to a release which will be supported on your installation by running: - - git checkout tags/TAG - make # if News version >= 8.0.0 - - For instance to use the 5.2.8 release, run: - - git checkout tags/5.2.8 - -* Activate the **News** app in the apps menu - -To update the News app use change into the **nextcloud/apps/news/** directory using your terminal and then run: - - git pull --rebase origin master - make - -## Performance Notices -* Use MySQL or PostgreSQL for better database performance -* Use the [updater script to thread and speed up the update](https://github.com/nextcloud/news-updater) - ## Updating Notices - To receive notifications when a new News app version was released, simply add the following Atom feed in your currently installed News app: https://github.com/nextcloud/news/releases.atom -## FAQ - -### My browser shows a mixed content warning (Connection is Not Secure) -If you are serving your Nextcloud over HTTPS your browser will very likely warn you with a yellow warnings sign about your connection not being secure. - -Chrome will show no green HTTPS lock sign, Firefox will show you the following image -![Mixed Passive Content](https://ffp4g1ylyit3jdyti1hqcvtb-wpengine.netdna-ssl.com/security/files/2015/10/mixed-passive-click1-600x221.png) - -Note that this warning **is not red and won't block the page like the following images** which signal **a serious issue**: - -![Untrusted Cert](http://www.inmotionhosting.com/support/images/stories/website/errors/ssl/chrome-self-signed-ssl-warning.png) -![Mixed Active Content](http://www.howtogeek.com/wp-content/uploads/2014/02/650x367xchrome-mixed-content-https-problem.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.r_lQiZiq38.png) - -#### What is the cause of the (yellow) error message - -This warning is caused by [mixed passive content](https://developer.mozilla.org/en/docs/Security/MixedContent) and means that your page loads passive resources from non HTTPS resources, such as: -* Images -* Video/Audio - -This allows a possible attacker to perform a MITM (man-in-the-middle) attack by serving you different images or audio/video. - -#### Why doesn't the News app fix it - -The News app fully prevents mixed **active** content by only allowing HTTPS iframes from known locations; other possible mixed active content elements such as \