Commit graph

134 commits

Author SHA1 Message Date
JonnyWong16
6e6de11aaa
Cache usernames for log filter
* Fixes #1705
2022-07-18 15:31:23 -07:00
JonnyWong16
285fa3a0f5
Clear user friendly name if equal to username 2022-07-03 15:22:25 -07:00
JonnyWong16
fffd936b0f
Change shared_libraries to list for get_user 2022-05-28 15:03:52 -07:00
JonnyWong16
bd83c8d55c
Remove server_token from get_users 2022-05-28 15:03:24 -07:00
JonnyWong16
b9b844dd38
Check for a blank user_id when retrieving user details 2022-05-25 11:37:32 -07:00
JonnyWong16
d4002b2e2b
Change values to int instead of "Checked" in users and libraries table
* get_users_table: allow_guest, do_notify, keep_history
* get_libraries_table: do_notify, do_notify_created, keep_history
2022-04-12 12:43:12 -07:00
JonnyWong16
a9860fe62a
Fix managed users no username 2022-04-11 15:10:53 -07:00
JonnyWong16
4862aee9a1
Add hidden user title (Full Name) column to users table 2022-04-08 20:03:05 -07:00
JonnyWong16
aa6592eec7
Fix importing Plex usernames
* Fixes #1710
* Also import the user title (Full Name)
2022-04-08 20:03:05 -07:00
JonnyWong16
73b94782f9
Add hidden username and email columns to users table 2022-04-01 21:31:06 -07:00
JonnyWong16
5c06accca0
Mask emails and longer usernames first 2022-04-01 10:19:41 -07:00
JonnyWong16
925a16e66d
Add total time result to user player stats 2022-01-03 12:55:42 -08:00
JonnyWong16
092d858b12
Update library and user watch time query to match homepage 2021-06-05 08:54:13 -07:00
JonnyWong16
8db75cf718 Add method to logout user sessions 2021-05-14 14:03:05 -07:00
JonnyWong16
da1c342971 Store JWT token in database 2021-05-14 14:03:05 -07:00
JonnyWong16
6086e84630
Migrate section_id to session_history table 2021-03-27 21:35:05 -07:00
JonnyWong16
7442e53c6c
Optimize user watch time query 2021-03-27 19:54:12 -07:00
JonnyWong16
88cae2b0dc
Add optional include_last_seen parameter to get_user 2021-03-27 18:03:07 -07:00
JonnyWong16
52fad05feb
Fix get_user when last_seen is null 2021-03-26 08:40:57 -07:00
JonnyWong16
b6f4c2e945
Add last_seen to get_user response 2021-03-25 19:07:46 -07:00
JonnyWong16
7ebed4ffd7
Reorganize get user/library details 2021-03-22 10:29:35 -07:00
JonnyWong16
e4bf0fb1c1
Make sure query days is a string before splitting 2021-03-15 13:14:53 -07:00
JonnyWong16
674966510d
Return empty list for datatable errors 2021-01-27 11:51:27 -08:00
JonnyWong16
a49d44c880
Add logger message for missing server identifier when refreshing users 2020-10-21 19:33:38 -07:00
JonnyWong16
739c977cd7
Merge branch 'v2.5-export' into nightly 2020-10-02 20:45:11 -07:00
JonnyWong16
c8b0ff22f6
Update guest access for collection and playlist changes 2020-10-02 11:11:15 -07:00
JonnyWong16
e3eca5af46
Change friendly name hover title text to username 2020-09-29 20:07:23 -07:00
JonnyWong16
67b452a461
Fix user and library recently played sorting order 2020-08-23 18:17:41 -07:00
JonnyWong16
172692ccca
Fix user IP table showing first played instead of last played 2020-07-12 12:54:42 -07:00
Sam Edwards
63656b73c2
Add first_seen to user ips and add title attr with full date/time 2020-07-11 15:23:26 -07:00
JonnyWong16
17a01d65aa
Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/version.py
#	plexpy/webserve.py
2020-05-16 16:22:10 -07:00
JonnyWong16
cbcad30a6c
Fix guest login filters 2020-05-09 16:19:30 -07:00
JonnyWong16
9d2be4b939
Fix typo 2020-05-04 14:29:46 -07:00
JonnyWong16
bfabbe3cdb
Fix library stuck as inactive in the database 2020-05-04 13:03:49 -07:00
JonnyWong16
d8f223327e
Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/activity_pinger.py
#	plexpy/activity_processor.py
#	plexpy/helpers.py
#	plexpy/notifiers.py
#	plexpy/version.py
#	plexpy/webserve.py
2020-04-27 18:19:48 -07:00
JonnyWong16
3ca4351aeb
Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/database.py
#	plexpy/version.py
2020-04-12 21:35:29 -07:00
JonnyWong16
523e6421be
Don't delete library history if server_id doesn't match 2020-04-12 20:49:45 -07:00
JonnyWong16
0ed4b69b8f
Fix deleting database rows with Python3 list(map()) 2020-04-12 19:17:57 -07:00
JonnyWong16
798c17706c
Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/database.py
#	plexpy/datafactory.py
#	plexpy/libraries.py
#	plexpy/users.py
2020-04-10 15:25:18 -07:00
JonnyWong16
f484604c69
Simplify user undelete function 2020-04-10 14:07:03 -07:00
JonnyWong16
899d2fbf9d
Make library delete server_id optional 2020-04-10 14:03:32 -07:00
JonnyWong16
6a87dc9c40
Improve library delete/purge function 2020-04-10 14:00:19 -07:00
JonnyWong16
104e2929df
Simplify user delete loop 2020-04-10 13:27:26 -07:00
JonnyWong16
faac6b11c2
Improve user delete/purge function 2020-04-10 13:15:29 -07:00
JonnyWong16
f366304c50
Show user active status on Users table 2020-04-10 00:02:30 -07:00
JonnyWong16
ce289995ff
Add user is_active to database 2020-04-09 23:15:08 -07:00
JonnyWong16
ca2b4085c9
Fix if bad query_days passed to API 2020-04-09 18:33:02 -07:00
JonnyWong16
1d08069162
Rename time_queries to query_days 2020-04-09 18:30:46 -07:00
Mitch
d1f1763919 Allow custom time_queries for get_watch_stats 2020-04-05 20:03:57 +02:00
JonnyWong16
9e0153e962
Set PYTHON2 global variable 2020-04-04 07:57:51 -07:00