From 6b1a57e650b46308e05a482c7cbb350277b150fd Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 16 Aug 2015 22:52:08 +0200 Subject: [PATCH] Add "delete mode" on history table allows individual rows to be deleted permanently. Add user history purge option in edit user screen. Will remove all history for selected user. --- data/interfaces/default/edit_user.html | 21 +++++++ data/interfaces/default/history.html | 20 ++++++- data/interfaces/default/info.html | 4 +- .../default/js/tables/history_table.js | 60 +++++++++++++++---- data/interfaces/default/sync.html | 2 +- data/interfaces/default/user.html | 4 +- plexpy/datafactory.py | 46 +++++++++++++- plexpy/webserve.py | 29 +++++++++ 8 files changed, 165 insertions(+), 21 deletions(-) diff --git a/data/interfaces/default/edit_user.html b/data/interfaces/default/edit_user.html index 37aba8bb..0a266196 100644 --- a/data/interfaces/default/edit_user.html +++ b/data/interfaces/default/edit_user.html @@ -58,6 +58,12 @@ DOCUMENTATION :: END

Uncheck this if you do not want this keep any history on this user's activity.

+ % if data['user_id']: +
+ +

DANGER ZONE! Click the purge button to remote all history logged for this user. This is permanent!

+
+ % endif