From e99bc73e46e65a4a3c614944f6a711b793a41088 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 23 Apr 2016 01:02:37 -0700 Subject: [PATCH] Require authentication for all endpoints except API * And more minor UI changes --- data/interfaces/default/base.html | 6 +- data/interfaces/default/settings.html | 11 +-- plexpy/webauth.py | 12 ++- plexpy/webserve.py | 137 ++++++++++++++++++++++++-- plexpy/webstart.py | 3 - 5 files changed, 147 insertions(+), 22 deletions(-) diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index 9045eae7..526cdeb5 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -212,6 +212,8 @@ from plexpy.helpers import anon_url % endif diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 3a5b0033..2b82e0ad 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -132,7 +132,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents() https://gitter.im/drzoidberg33/plexpy - Donations: + Support PlexPy: Paypal | Bitcoin @@ -236,12 +236,11 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
-

Homepage

+

Sections

-

- Select the sections to show on the homepage.
+ Select the sections to show on the homepage. Drag the items below to reorder your homepage content.

@@ -281,7 +280,6 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
-

Select the cards to show in the watch statistics on the home page. Drag the items below to reorder your homepage content. @@ -386,7 +384,6 @@ available_notification_agents = sorted(notifiers.available_notification_agents()

-

Select the cards to show in the library statistics on the home page. Drag the items below to reorder your homepage content. @@ -433,7 +430,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents()

-

The base URL for the web server. Used for reverse proxies.

+

The base URL of the web server used for reverse proxies.