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 --- docs/configuration.md | 24 ++++++++ docs/faq/README.md | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++ docs/install.md | 83 +++++++++++++++++++++++++ 3 files changed, 273 insertions(+) create mode 100644 docs/configuration.md create mode 100644 docs/faq/README.md create mode 100644 docs/install.md (limited to 'docs') diff --git a/docs/configuration.md b/docs/configuration.md new file mode 100644 index 000000000..a2e2ee5fd --- /dev/null +++ b/docs/configuration.md @@ -0,0 +1,24 @@ +# Configuration + +All configuration values are set inside **nextcloud/data/news/config/config.ini** and can be edited in the admin panel. + +The configuration is in **INI** format and looks like this: + +```ini +autoPurgeMinimumInterval = 60 +autoPurgeCount = 200 +maxRedirects = 10 +maxSize = 104857600 +feedFetcherTimeout = 60 +useCronUpdates = true +exploreUrl = +``` + + +* **autoPurgeMinimumInterval**: Minimum amount of seconds after deleted feeds and folders are removed from the database. Values below 60 seconds are ignored +* **autoPurgeCount**: Defines the maximum amount of articles that can be read per feed which won't be deleted by the cleanup job; if old articles reappear after being read, increase this value; negative values such as -1 will turn this feature off completely +* **maxRedirects**: How many redirects the updater should follow +* **maxSize**: Maximum feed size in bytes. If the RSS/Atom page is bigger than this value, the update will be aborted +* **feedFetcherTimeout**: Maximum number of seconds to wait for an RSS or Atom feed to load. If a feed takes longer than that number of seconds to update, the update will be aborted +* **useCronUpdates**: To use a custom update/cron script you need to disable the cronjob which is run by Nextcloud by default by setting this to false +* **exploreUrl**: If given that url will be contacted for fetching content for the explore feed \ No newline at end of file diff --git a/docs/faq/README.md b/docs/faq/README.md new file mode 100644 index 000000000..d28aee601 --- /dev/null +++ b/docs/faq/README.md @@ -0,0 +1,166 @@ +## 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 \