From c12bb9c8a152910c03a1dd2453042b3131ba3018 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 15 Sep 2018 11:23:13 +0200 Subject: [PATCH] :shirt: Collection of cosmetic improvements (#7) --- README.md | 7 +++---- tautulli/.README.j2 | 7 ++++--- tautulli/Dockerfile | 6 +++++- tautulli/rootfs/patches/{buymeacoffe => buymeacoffee} | 0 tautulli/rootfs/patches/support | 6 +++--- 5 files changed, 15 insertions(+), 11 deletions(-) rename tautulli/rootfs/patches/{buymeacoffe => buymeacoffee} (100%) diff --git a/README.md b/README.md index f62e133..f3f8ac2 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,10 @@ you are troubleshooting. ### Option: `username` -Username for authenticating with the Tautulli interface. Leaving the username -field empty, will disable the authentication mechanism entirely. +Username for authenticating with the Tautulli interface. Setting a username/password can be added as an extra line of defense, -to prevent users of using your installation for themselves. +to prevent users from using your installation for themselves. This option is HIGHLY recommended in case you expose this add-on to the outside world. @@ -142,7 +141,7 @@ using this option! USE AT YOUR OWN RISK!_ ### Option: `leave_front_door_open` Adding this option to the add-on configuration allows you to disable -authentication on the Web Terminal by setting it to `true` and leaving the +authentication on the add-on by setting it to `true` and leaving the username and password empty. **Note**: _We STRONGLY suggest, not to use this, even if this add-on is diff --git a/tautulli/.README.j2 b/tautulli/.README.j2 index ff85536..945556c 100644 --- a/tautulli/.README.j2 +++ b/tautulli/.README.j2 @@ -12,11 +12,12 @@ Monitoring and tracking tool for Plex Media Server. Tautulli is an application that you can run alongside your Plex Media Server to monitor activity, and track various statistics. + Most importantly, these statistics include what has been watched, who watched it, when and where they watched it, and how it was watched. -All statistics are presented in a nice and clean interface -with many tables and graphs, -which makes it easy to brag about your server to everyone else. + +All statistics are presented in a nice and clean interface with many tables and +graphs, which makes it easy to brag about your server to everyone else. [Click here for the full documentation][docs] diff --git a/tautulli/Dockerfile b/tautulli/Dockerfile index 09ccddf..0a25db1 100644 --- a/tautulli/Dockerfile +++ b/tautulli/Dockerfile @@ -20,11 +20,13 @@ RUN \ python2-dev=2.7.15-r1 \ libffi-dev=3.2.1-r4 \ libressl-dev=2.7.4-r0 \ + \ && apk add --no-cache \ git=2.18.0-r0 \ python2=2.7.15-r1 \ py2-pip=10.0.1-r0 \ wget=1.19.5-r0 \ + \ && pip install --no-cache-dir -U \ pip==18.0 \ && pip install --no-cache-dir -U \ @@ -32,9 +34,11 @@ RUN \ pycryptodomex==3.6.6 \ crudini==0.9 \ PyOpenSSL==18.0.0 \ + \ && git clone --branch $TAUTULLI_VERSION --depth=1 \ https://github.com/Tautulli/Tautulli.git /opt \ && apk del --purge .build-dependencies \ + \ && find /usr/lib/python2.7/ -type d -name tests -depth -exec rm -rf {} \; \ && find /usr/lib/python2.7/ -type d -name test -depth -exec rm -rf {} \; \ && find /usr/lib/python2.7/ -name __pycache__ -depth -exec rm -rf {} \; @@ -64,4 +68,4 @@ LABEL \ org.label-schema.usage="https://github.com/hassio-addons/addon-tautulli/tree/master/README.md" \ org.label-schema.vcs-ref=${BUILD_REF} \ org.label-schema.vcs-url="https://github.com/hassio-addons/addon-tautulli" \ - org.label-schema.vendor="Community Hass.io Add-ons" \ No newline at end of file + org.label-schema.vendor="Community Hass.io Add-ons" diff --git a/tautulli/rootfs/patches/buymeacoffe b/tautulli/rootfs/patches/buymeacoffee similarity index 100% rename from tautulli/rootfs/patches/buymeacoffe rename to tautulli/rootfs/patches/buymeacoffee diff --git a/tautulli/rootfs/patches/support b/tautulli/rootfs/patches/support index e93e41a..3b2db9c 100644 --- a/tautulli/rootfs/patches/support +++ b/tautulli/rootfs/patches/support @@ -29,10 +29,10 @@ + Add-on Support: + + Community Hass.io Add-ons Discord Server | -+ GitHub issues for this add-on | -+ Home-Assistant forum ++ GitHub issues for this add-on | ++ Home Assistant forum + + - +